Skip to content

feat(ui): Prometheus metrics viewer#18285

Draft
parametalol wants to merge 3 commits intomichael/api_counter_metricfrom
michael/prometheus-system-health
Draft

feat(ui): Prometheus metrics viewer#18285
parametalol wants to merge 3 commits intomichael/api_counter_metricfrom
michael/prometheus-system-health

Conversation

@parametalol
Copy link
Contributor

@parametalol parametalol commented Dec 18, 2025

Description

A PoC of a Prometheus metrics snapshot viewer (no history, no queries, no Prometheus server).

The code has been initially AI-generated, and then humanized.

Metric selection:
image

A table with API requests metric data:
image

User-facing documentation

Testing and quality

  • the change is production ready: the change is GA, or otherwise the functionality is gated by a feature flag
  • CI results are inspected

Automated testing

  • added unit tests
  • added e2e tests
  • added regression tests
  • added compatibility tests
  • modified existing tests

How I validated my change

CI, manual.

Current dependencies on/for this PR:

@openshift-ci
Copy link

openshift-ci bot commented Dec 18, 2025

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@rhacs-bot
Copy link
Contributor

rhacs-bot commented Dec 18, 2025

Images are ready for the commit at f9f75b9.

To use with deploy scripts, first export MAIN_IMAGE_TAG=4.11.x-26-gf9f75b9ae9.

@codecov
Copy link

codecov bot commented Dec 18, 2025

Codecov Report

❌ Patch coverage is 66.38655% with 40 lines in your changes missing coverage. Please review.
✅ Project coverage is 48.93%. Comparing base (d56ff85) to head (f968090).
⚠️ Report is 5 commits behind head on michael/api_counter_metric.

Files with missing lines Patch % Lines
central/metrics/custom_registry.go 19.35% 22 Missing and 3 partials ⚠️
central/apirequestlog/interceptor.go 69.23% 8 Missing ⚠️
central/metrics/custom/tracker/tracker_base.go 89.09% 3 Missing and 3 partials ⚠️
pkg/telemetry/phonehome/client.go 50.00% 1 Missing ⚠️
Additional details and impacted files
@@                     Coverage Diff                      @@
##           michael/api_counter_metric   #18285    +/-   ##
============================================================
  Coverage                       48.93%   48.93%            
============================================================
  Files                            2619     2620     +1     
  Lines                          197549   197654   +105     
============================================================
+ Hits                            96664    96731    +67     
- Misses                          93506    93539    +33     
- Partials                         7379     7384     +5     
Flag Coverage Δ
go-unit-tests 48.93% <66.38%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@parametalol parametalol force-pushed the michael/prometheus-system-health branch from 64fa2c6 to f9f75b9 Compare February 2, 2026 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants