You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the pulled values never goes down (why should it), so counter is the correct type. mabye you missing the rate or irate function.
Of course, harbor_artifact_pulled should be counter type,
but the metric harbor exposed is Gauge, code definition
Gypsying
changed the title
Metric harbor_artifact_pulled is Counter type, not Gauge
Metric harbor_artifact_pulled should be Counter type, not Gauge
Apr 25, 2024
You may notice that the harbor_artifact_pulled is a metric crawled by the harbor exporter component, so the value is fetched from the database query, and the Counter type we should call the Inc() method if the artifact to be pulled each time, here the scenario is not that case, as the value in fact is a momentary value queried from database, so here this type we used the Guage type.
The text was updated successfully, but these errors were encountered: