feat: enable built in Prometheus servlet#695
Conversation
This reverts commit 3f0d9a3.
Release NotesThe built-in Prometheus servlet is now enabled by default and metrics are available under the |
There was a problem hiding this comment.
Just found a small typo, otherwise LGTM once the test passes (seems to be hanging because of external problems?).
Nit pick, feel free to ignore since it doesn't seem to cause problems:
The items in the expected_metrics list are used as regular expressions, it works, but it would be "more correct" if the curly braces were escaped.
Alternative: Maybe assert metric in response.text would also work, then re would not be needed at all. It's less strict though since it doesn't require the string to be at the beginning of the line.
Co-authored-by: Lukas Krug <lukas@luvosys.de>
Yeah I saw that and forgot about it but now that you mentioned it ... I geeked out a little. |
|
I ran the tests locally because it was faster: |
Description
Fixes #694
CI https://testing.stackable.tech/view/02%20Operator%20Tests%20(custom)/job/hdfs-operator-it-custom/24/
Definition of Done Checklist
Author
Reviewer
Acceptance
type/deprecationlabel & add to the deprecation scheduletype/experimentallabel & add to the experimental features tracker