Skip to content

[9.3] Use LongUpDownCounter for Linked Project Error Metrics (#139657)#140480

Closed
JeremyDahlgren wants to merge 1 commit intoelastic:9.3from
JeremyDahlgren:backport/9.3/pr-139657
Closed

[9.3] Use LongUpDownCounter for Linked Project Error Metrics (#139657)#140480
JeremyDahlgren wants to merge 1 commit intoelastic:9.3from
JeremyDahlgren:backport/9.3/pr-139657

Conversation

@JeremyDahlgren
Copy link
Contributor

Backport

This will backport the following commits from main to 9.3:

Questions ?

Please refer to the Backport tool documentation

Replaces LongCounter with LongUpDownCounter for the metric
used for linked project connection errors.  Since the metric
may not be incremented for long periods of time it was not
appearing in the mappings of the current index of the APM
datastream.  This results in 'not found' errors when developing
dashboards and alerts.  The change required adding an initial
zero value so the metric will be collected every polling cycle.

Relates: ES-12696
(cherry picked from commit b1aa31a)
@JeremyDahlgren
Copy link
Contributor Author

Closing, the metric will be removed in 9.4 in favor of using logging for dashboards/alerts.

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.

2 participants