Skip to content

Commit

Permalink
in_node_exporter_metrics: update metrics_idx for thermal_zone.
Browse files Browse the repository at this point in the history
Signed-off-by: Phillip Whelan <[email protected]>
  • Loading branch information
pwhelan committed Oct 23, 2023
1 parent e8f95c1 commit 763495b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/in_node_exporter_metrics/ne.c
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,7 @@ static int in_ne_init(struct flb_input_instance *in,
else if (strncmp(entry->str, "thermal_zone", 12) == 0) {
if (ctx->thermalzone_scrape_interval == 0) {
flb_plg_debug(ctx->ins, "enabled metrics %s", entry->str);
metric_idx = 14;
metric_idx = 15;
}
else if (ctx->thermalzone_scrape_interval > 0) {
/* Create the thermalzone collector */
Expand Down

0 comments on commit 763495b

Please sign in to comment.