Skip to content

Commit

Permalink
remove instrumentation.name for golden metrics selection
Browse files Browse the repository at this point in the history
  • Loading branch information
gsanchezgavier authored and marcsanmi committed Jun 22, 2023
1 parent e894aaf commit 9890e28
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions definitions/infra-container/golden_metrics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,37 +3,37 @@ cpuUsage:
queries:
newRelic:
select: max(docker.container.cpuUsedCores) or max(k8s.container.cpuUsedCores) as 'CPU used cores'
opentelemetry/otelcol/dockerstatsreceiver:
opentelemetry:
select: rate(sum(container.cpu.usage.total) / 1E9, 1 second) AS 'CPU used cores'
cpuUtilization:
title: CPU utilization (%)
unit: PERCENTAGE
queries:
newRelic:
select: max(docker.container.cpuPercent) or max(k8s.container.cpuCoresUtilization) AS 'CPU Utilization (%)'
opentelemetry/otelcol/dockerstatsreceiver:
opentelemetry:
select: max(container.cpu.percent) AS 'CPU Utilization (%)'
memoryUsage:
title: Memory usage (bytes)
unit: BYTES
queries:
newRelic:
select: max(docker.container.memoryUsageBytes) or max(k8s.container.memoryWorkingSetBytes) AS 'Memory used (bytes)'
opentelemetry/otelcol/dockerstatsreceiver:
opentelemetry:
select: max(container.memory.usage.total) AS 'Memory used (bytes)'
storageUsage:
title: Storage usage (bytes)
unit: BYTES
queries:
newRelic:
select: max(docker.container.ioTotalBytes) or max(k8s.container.fsUsedPercent) AS 'Storage used (bytes)'
opentelemetry/otelcol/dockerstatsreceiver:
opentelemetry:
select: max(container.blockio.io_service_bytes_recursive) AS 'Storage used (bytes)'
networkTrafficTotal:
title: Network traffic (bytes per second)
unit: BYTES_PER_SECOND
queries:
newRelic:
select: max(docker.container.networkRxBytesPerSecond) + max(docker.container.networkTxBytesPerSecond) AS 'Network traffic (bytes per second)'
opentelemetry/otelcol/dockerstatsreceiver:
opentelemetry:
select: rate(sum(container.network.io.usage.tx_bytes), 1 second) + rate(sum(container.network.io.usage.rx_bytes), 1 second) AS 'Network traffic (bytes per second)'

0 comments on commit 9890e28

Please sign in to comment.