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

MicrometerMetricsConfig add UptimeMetrics to standard meterBinders #4579

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

SIMULATAN
Copy link
Contributor

Subsystem
Server - Plugin Micrometer

Motivation
Lots of standard dashboards include the JVM process uptime / start time. The default Ktor Micrometer Plugin doesn't include this metric, causing panels referencing it to be empty.

Solution
Add the incredibly simple UptimeMetrics MeterBinder. It adds the process.uptime and process.start.time metrics.

SIMULATAN added a commit to SnotyMe/snoty-backend that referenced this pull request Jan 4, 2025
Can be reverted once ktorio/ktor#4579 is merged
SIMULATAN added a commit to SnotyMe/snoty-backend that referenced this pull request Jan 4, 2025
Can be reverted once ktorio/ktor#4579 is merged
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.

1 participant