feat(feed): add duration metrics for feed updates, retrieval, and availability in v1 and v2#574
feat(feed): add duration metrics for feed updates, retrieval, and availability in v1 and v2#574akrem-chabchoub wants to merge 11 commits intomasterfrom
Conversation
…n v1 and v2 checks
|
Most of the checks in the codebase are tracking successes and failures, so maybe add counter metrics:
|
Yes I agree, but for the purpose of this PR is to have performance metrics. |
|
Also,
If there is an issue for this please attach it and create separate PR then. If there is not, do how you prefer. |
|
@akrem-chabchoub do we need to measure the |
Feed check metrics
Adds Prometheus metrics to the feed checks (feed-v1 and feed) so their runs are observable like the other beekeeper checks.
Metrics
Changes
pkg/check/feed/metrics.gowith two histogramsmetrics.Reporterand register collectors with the check runnercheck_feed_v1for feed-v1,check_feed_v2for feed