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

Improve metrics collection #3982

Merged
merged 2 commits into from Feb 26, 2024
Merged

Improve metrics collection #3982

merged 2 commits into from Feb 26, 2024

Conversation

dominiklohmann
Copy link
Member

This rewrites the metrics collector component from the ground up to be much simpler. Metrics plugins can now specify the frequency at which they want to emit metrics, defaulting to one second, and the metrics are collected every thirty seconds. Previously, metrics were collected every ten seconds and then immediately sent out in batches of exactly one event.

Additionally, this implements memory metrics on macOS.

@dominiklohmann dominiklohmann added engine Core pipeline and storage engine improvement An incremental enhancement of an existing feature labels Feb 24, 2024
This rewrites the _metrics collector_ component from the ground up to be
much simpler. Metrics plugins can now specify the frequency at which
they want to emit metrics, defaulting to one second, and the metrics are
collected every thirty seconds. Previously, metrics were collected every
ten seconds and then immediately sent out in batches of exactly one
event.

Additionally, this implements memory metrics on macOS.
Copy link
Member

@mavam mavam left a comment

Choose a reason for hiding this comment

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

Paired on this with Dominik.

@jachris jachris self-requested a review February 26, 2024 08:44
Copy link
Contributor

@jachris jachris left a comment

Choose a reason for hiding this comment

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

Tested this on macOS. Looks good!

Co-authored-by: Jannis Christopher Köhl <mail@koehl.dev>
@dominiklohmann dominiklohmann merged commit b4d8a2d into main Feb 26, 2024
58 checks passed
@dominiklohmann dominiklohmann deleted the topic/redo-metrics branch February 26, 2024 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
engine Core pipeline and storage engine improvement An incremental enhancement of an existing feature
Projects
None yet
3 participants