Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Push handler metrics to main service when exiting #565

Merged
merged 6 commits into from
Dec 21, 2023

Conversation

biglittlebigben
Copy link
Contributor

@biglittlebigben biglittlebigben commented Dec 20, 2023

This PR prevents the last prometheus metrics to be lost at the end of an egress by pushing them in a new ipc message to the main service process. This is particularly important since the last set of metrics contains file and manifest upload information.

The metrics pushed by the handler on exit are stored in an array in the Service object. They are appended to the other metrics in the prometheus gatherer.

@biglittlebigben biglittlebigben merged commit 147775b into main Dec 21, 2023
2 checks passed
@biglittlebigben biglittlebigben deleted the benjamin/storage_metric_push branch December 21, 2023 22:53
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