mirror of
https://github.com/hyperdxio/hyperdx
synced 2026-04-21 13:37:15 +00:00
Change CPU percentage dashboard to CPU Core according to new otel metric (#2028)
This commit is contained in:
parent
1bcca2cde6
commit
2570ff844c
2 changed files with 7 additions and 2 deletions
5
.changeset/fix-k8s-cpu-dashboard.md
Normal file
5
.changeset/fix-k8s-cpu-dashboard.md
Normal 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
|
||||
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue