ROX-29523: Custom Prometheus metrics minimal UI#15782
Conversation
|
Skipping CI for Draft Pull Request. |
|
Images are ready for the commit at 16ce174. To use with deploy scripts, first |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #15782 +/- ##
==========================================
- Coverage 48.83% 48.82% -0.01%
==========================================
Files 2714 2715 +1
Lines 203120 203177 +57
==========================================
+ Hits 99197 99205 +8
- Misses 96113 96154 +41
- Partials 7810 7818 +8
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
5a90e41 to
c6131d8
Compare
9430e5c to
fe18a4b
Compare
7dba6d0 to
4565760
Compare
5f58398 to
680ac3e
Compare
c6131d8 to
9e23e45
Compare
34dd9b3 to
00495ca
Compare
be121cd to
a9275a7
Compare
ui/apps/platform/src/Containers/SystemConfig/Details/components/PrometheusMetricsCard.tsx
Outdated
Show resolved
Hide resolved
ui/apps/platform/src/Containers/SystemConfig/Details/components/PrometheusMetricsCard.tsx
Outdated
Show resolved
Hide resolved
pedrottimark
left a comment
There was a problem hiding this comment.
Tables are excellent improvement!
Two suggested changes to solve zero problem.
a9275a7 to
640330c
Compare
stehessel
left a comment
There was a problem hiding this comment.
LGTM 🚀. Note: I didn't review the typescript code, just the screenshots.
ui/apps/platform/src/Containers/SystemConfig/Details/SystemConfigDetails.tsx
Outdated
Show resolved
Hide resolved
|
/retest |
|
Caution There are some errors in your PipelineRun template.
|
Description
This PR introduces some basic configuration for the custom Prometheus metrics feature.
A small set of predefined metrics is hardcoded in the frontend, and compared with the current configuration. The real configuration may have a random set of metrics, created via API or selected from the UI.
User-facing documentation
Testing and quality
Automated testing
How I validated my change
Manual tests.
One of the predefined metric is enabled

One predefined and one custom metrics are enabled

No metrics enabled

Edit mode

No custom metrics:
One custom metric:

One custom, one enabled predefined and one overridden predefined metrics:

Current dependencies on/for this PR: