Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

in_node_exporter_metrics: fix size of core_throttles_set #9476

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion plugins/in_node_exporter_metrics/ne_cpu_linux.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ static int cpu_thermal_update(struct flb_ne *ctx, uint64_t ts)
struct flb_slist_entry *entry;
const char *pattern = "/devices/system/cpu/cpu[0-9]*";
/* Status arrays */
uint64_t core_throttles_set[32][256];
uint64_t core_throttles_set[256][256];
uint64_t package_throttles_set[32];

ret = ne_utils_path_scan(ctx, ctx->path_sysfs, pattern, NE_SCAN_DIR, &list);
Expand Down
Loading