Open julioz opened 6 months ago
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.
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 containsnodeId
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 degradation