Skip to content

Commit

Permalink
Marked charts exposed when labels change
Browse files Browse the repository at this point in the history
  • Loading branch information
stelfrag authored and tkatsoulas committed Oct 30, 2023
1 parent e47836a commit 644d432
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion collectors/plugins.d/pluginsd_parser.c
Expand Up @@ -1311,7 +1311,7 @@ static inline PARSER_RC pluginsd_clabel_commit(char **words __maybe_unused, size

rrdset_flag_set(st, RRDSET_FLAG_METADATA_UPDATE);
rrdhost_flag_set(st->rrdhost, RRDHOST_FLAG_METADATA_UPDATE);

rrdset_flag_clear(st, RRDSET_FLAG_UPSTREAM_EXPOSED);
parser->user.chart_rrdlabels_linked_temporarily = NULL;
return PARSER_RC_OK;
}
Expand Down
1 change: 1 addition & 0 deletions database/rrdlabels.c
Expand Up @@ -1307,6 +1307,7 @@ void rrdset_update_rrdlabels(RRDSET *st, RRDLABELS *new_rrdlabels) {

rrdset_flag_set(st, RRDSET_FLAG_METADATA_UPDATE);
rrdhost_flag_set(st->rrdhost, RRDHOST_FLAG_METADATA_UPDATE);
rrdset_flag_clear(st, RRDSET_FLAG_UPSTREAM_EXPOSED);
}


Expand Down

0 comments on commit 644d432

Please sign in to comment.