-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Problem Description:
I just update crucible a few minutes ago, and the "... breakout hostname" is no longer an option.
Info:
Enpoint type is k8s
Repro:
[root@dhcp-10-26-9-237 run-RDS-tues-thunder-2024-11-05-01:08:29]# c get metric --source mpstat --type Busy-CPU --period $PP
Checking for httpd...appears to be running
Checking for OpenSearch...appears to be running
Available breakouts: core,csid,cstype,die,num,package,thread,type
05-11-2024
source type 06:21:25
---------------------------
mpstat Busy-CPU 15.20
[root@dhcp-10-26-9-237 run-RDS-tues-thunder-2024-11-05-01:08:29]# c get metric --source mpstat --type Busy-CPU --period $PP --breakout hostname <========== It errored out when being attempted
Checking for httpd...appears to be running
Checking for OpenSearch...appears to be running
/opt/crucible/repos/[https:github.com](https://app.slack.com/client/E030G10V24F/github.com):perftool-incubator/CommonDataModel/queries/cdmq/get-metric-data.js:83
if (Object.keys(metric_data.values).length == 0) {
^
TypeError: Cannot convert undefined or null to object
at Function.keys (<anonymous>)
at Object.<anonymous> (/opt/crucible/repos/[https:github.com](https://app.slack.com/client/E030G10V24F/github.com):perftool-incubator/CommonDataModel/queries/cdmq/get-metric-data.js:83:12)
at Module._compile (node:internal/modules/cjs/loader:1369:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1427:10)
at Module.load (node:internal/modules/cjs/loader:1206:32)
at Module._load (node:internal/modules/cjs/loader:1022:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12)
at node:internal/main/run_main_module:28:49
Node.js v20.12.2
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Queued