Skip to content

fix health emphemerality labels src#14105

Merged
ilyam8 merged 3 commits into
netdata:masterfrom
ilyam8:fix_health_ephemerality_labels_src
Dec 8, 2022
Merged

fix health emphemerality labels src#14105
ilyam8 merged 3 commits into
netdata:masterfrom
ilyam8:fix_health_ephemerality_labels_src

Conversation

@ilyam8
Copy link
Copy Markdown
Member

@ilyam8 ilyam8 commented Dec 7, 2022

Summary

Fixes: #14084

_is_ephemeral and _has_unstable_connection labels src is config

Exporting configured labels is enabled by default.

It causes problems even though the format is correct (🤷)

my.series;tag1=value1;tag2=value2

I doubt we were going to export those labels anyway. I am not sure my fix is correct, but I think it is acceptable as a quick fix.

Test Plan

Build docker images, configure graphite exporter, and check exporter metrics.

Additional Information
For users: How does this change affect me?

@ilyam8 ilyam8 marked this pull request as ready for review December 7, 2022 18:34
thiagoftsm
thiagoftsm previously approved these changes Dec 7, 2022
Copy link
Copy Markdown
Contributor

@thiagoftsm thiagoftsm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have previous scenario set:

netdata.hades.logind.sessions_state.active 1 1670440689
netdata.hades.logind.users_state.offline 0 1670440689
netdata.hades.logind.users_state.closing 0 1670440689
netdata.hades.logind.users_state.online 0 1670440689
netdata.hades.logind.users_state.lingering 0 167044068

Graphite was also showing names again:

Screenshot_20221207_192205

MrZammler
MrZammler previously approved these changes Dec 8, 2022
Copy link
Copy Markdown
Contributor

@MrZammler MrZammler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's ok, even if when set by the user and exports they would have the problem again.

What we discussed in slack, maybe set them as AUTO or use another to indicate set by user but really internal.

@ilyam8 ilyam8 dismissed stale reviews from MrZammler and thiagoftsm via e269357 December 8, 2022 09:03
@ilyam8 ilyam8 merged commit e25b5cc into netdata:master Dec 8, 2022
@ilyam8 ilyam8 deleted the fix_health_ephemerality_labels_src branch December 8, 2022 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Graphite-Exporter does not work since v1.37.0

3 participants