Change CPU percentage dashboard to CPU Core according to new otel metric (#2028)

This commit is contained in:
Zeynel 2026-04-06 19:30:11 +02:00 committed by GitHub
parent 1bcca2cde6
commit 2570ff844c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 2 deletions

View file

@ -0,0 +1,5 @@
---
"@hyperdx/app": patch
---
fix: Change K8s CPU chart format from percentage to number to support both old and new OTel collector metric names

View file

@ -373,8 +373,8 @@ export const ERROR_RATE_PERCENTAGE_NUMBER_FORMAT: NumberFormat = {
};
export const K8S_CPU_PERCENTAGE_NUMBER_FORMAT: NumberFormat = {
output: 'percent',
mantissa: 0,
output: 'number',
mantissa: 2,
};
export const K8S_FILESYSTEM_NUMBER_FORMAT: NumberFormat = {