Skip to content

Instantly share code, notes, and snippets.

@kahowell
Created April 27, 2023 19:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kahowell/ecaa66021d55e3c14a9cc4f56a494ffe to your computer and use it in GitHub Desktop.
Save kahowell/ecaa66021d55e3c14a9cc4f56a494ffe to your computer and use it in GitHub Desktop.
tagprofile2.1.yaml
# RHEL/RHEL for x86.yaml
---
platform: RHEL
id: RHEL for x86
fingerprint:
engineering_ids:
- 68 # Red Hat Enterprise Linux Desktop
- 69 # Red Hat Enterprise Linux Server
- 71 # Red Hat Enterprise Linux Workstation
- 76 # Red Hat Enterprise Linux for Scientific Computing
- 479 # Red Hat Enterprise Linux for x86_64 (RHEL8)
arches:
- i386
- x86_64
variants:
- tag: RHEL Desktop
engineering_ids:
- 68
roles:
- RHEL Desktop
- tag: RHEL Server
engineering_ids:
- 69
roles:
- RHEL Server
- tag: RHEL Workstation
engineering_ids:
- 71
roles:
- RHEL Workstation
- tag: RHEL Compute Node
engineering_ids:
- 76
roles:
- RHEL Compute Node
defaults:
variant: RHEL Server
# sla: PREMIUM
# usage: PRODUCTION
metrics:
- id: SOCKETS
# Satellite/Satellite Server.yaml
---
platform: Satellite
id: Satellite Server
included_subscriptions:
- RHEL for x86
fingerprint:
engineering_ids:
- 250 # Red Hat Satellite
variants:
- tag: Satellite Server
metrics:
- id: SOCKETS
# defaults:
# variant: (implied by there being a single variant)
# RHEL/RHEL HA.yaml
---
platform: RHEL
id: RHEL HA
required_subscriptions:
- RHEL for x86
fingerprint:
engineering_ids:
- 83 # Red Hat Satellite
variants:
- tag: Satellite Server
metrics:
- id: SOCKETS
# OpenShift/rhosak.yaml
---
platform: OpenShift
id: rhosak
# fingerprint: {}
variants:
- tag: rhosak
roles:
- rhosak
product_names:
- OpenShift Streams for Apache Kafka
defaults:
# variant: (implied by there being a single variant)
sla: PREMIUM
usage: PRODUCTION
billingWindow: MONTHLY
metrics:
- id: redhat.com:rhosak:storage_gib_months
rhm_metric_id: redhat.com:rhosak:storage_gb
aws_dimension: storage_gb
prometheus:
# queryKey: default
queryParams:
product: rhosak
metric: kafka_id:kafka_broker_quota_totalstorageusedbytes:max_over_time1h_gibibytes
metadata_metric: subscription_labels
# ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment