Skip to content

Prometheus metric leak #950

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 2 commits into from
Jan 25, 2024
Merged

Conversation

GavinBurris42
Copy link
Contributor

Issue #, if available:
#925 #665

Description of changes:
NTH's prometheus metric, "actions_node", has a high cardinality due to its "node_name" and "node_event_id" labels. This causes each event to be tracked as its own time-series, which can cause a large amount of memory to be consumed over time.

A new metric, "actions", has been created without the "node_name" and "node_event_id" labels, greatly reducing the cardinality of the metric. The "actions_node" metric has been deprecated and the "actions" metric is recommended for use instead. The "actions_node" metric is planned for removal in later releases.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@GavinBurris42 GavinBurris42 requested a review from a team as a code owner January 25, 2024 16:52
@cjerad cjerad merged commit 2b50c31 into aws:main Jan 25, 2024
@GavinBurris42 GavinBurris42 deleted the Prometheus_Metric_Leak branch January 25, 2024 18:38
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants