Skip to content

Conversation

@sysadmind
Copy link
Contributor

Improve the error handling for watermark metrics. When we have an error, do not report a 0 value for the metric.

Adds tests for parsing the ratio/percentage and the human readable bytes in watermark data.

Functionality originally added in #611

@sysadmind sysadmind requested a review from SuperQ July 21, 2023 19:23
@sysadmind
Copy link
Contributor Author

cc @tomachine

Improve the error handling for watermark metrics. When we have an error, do not report a 0 value for the metric.

Adds tests for parsing the ratio/percentage and the human readable bytes in watermark data.

Functionality originally added in prometheus-community#611

Signed-off-by: Joe Adams <github@joeadams.io>
Copy link
Contributor

@SuperQ SuperQ left a comment

Choose a reason for hiding this comment

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

Thanks

@sysadmind sysadmind merged commit c3b7d97 into prometheus-community:master Oct 15, 2023
@sysadmind sysadmind added this to the Test Cleanup milestone Oct 16, 2023
@sysadmind sysadmind deleted the 611-cleanup branch October 16, 2023 12:43
jaimeyh pushed a commit to sysdiglabs/elasticsearch_exporter that referenced this pull request Jun 14, 2024
…etheus-community#752)

Improve the error handling for watermark metrics. When we have an error, do not report a 0 value for the metric.

Adds tests for parsing the ratio/percentage and the human readable bytes in watermark data.

Functionality originally added in prometheus-community#611

Signed-off-by: Joe Adams <github@joeadams.io>
jaimeyh added a commit to sysdiglabs/elasticsearch_exporter that referenced this pull request Jun 14, 2024
jaimeyh added a commit to sysdiglabs/elasticsearch_exporter that referenced this pull request Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants