-
Notifications
You must be signed in to change notification settings - Fork 37
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
Metrics on background tasks #129
Labels
Comments
Makes sense to me. I'll see if I get a chance to look at implementing this. PRs are always welcomed |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Feature Description
Artifactory exposes an API to list the scheduled, running, stopped and cancelled background tasks. It would be helpful to get extra observability on these by exposing metrics as part of this exporter.
I can imagine that for very heavy-usage the list can get long, so I propose we include new metrics as optional.
Sample output for the API is:
In order to keep Prometheus cardinality as low as possible while still providing value, I suggest we skip the
description
andid
fields when registering metrics, and provide aggregates ontype
andstate
.Not every entry in the list contains
nodeId
orstarted
, so for the ones that do, it would be interesting to have separate timeseries for tracking.Of course, I leave it up to you to define what best fits the model of metrics that already exist in this repository.
Use Case(s)
ArtifactCleanupJob
s that could correlate to server performance degradationThe text was updated successfully, but these errors were encountered: