-
-
Couldn't load subscription status.
- Fork 4
chore: ensure metrics are correctly exposed #701
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks mostly good to me, just some minor suggestions and a few questions.
I only looked at the Rust code - let me know if I should look at the docs as well.
Co-authored-by: Techassi <[email protected]>
Co-authored-by: Techassi <[email protected]>
Co-authored-by: Techassi <[email protected]>
| /// Name of the port used by the Web UI, which depends on HTTPS usage | ||
| pub fn ui_port_name(hbase: &v1alpha1::HbaseCluster) -> &str { | ||
| if hbase.has_https_enabled() { | ||
| HBASE_UI_PORT_NAME_HTTPS | ||
| } else { | ||
| HBASE_UI_PORT_NAME_HTTP | ||
| } | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
note: This feels weird being implemented on HbaseRole, as the role is not needed at all here (just the HbaseClsuter). Therefore it makes sense to move it back to where it was before.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is static, i see your point but rather have it at one point in the code (i could move it out of the role though - and maybe use a boolean instead of the cluster....)?
Co-authored-by: Techassi <[email protected]>
Description
Part of stackabletech/issues#747
This PR adds a metrics service with the additional Prometheus annotations. It also adds some documentation on monitoring for the TLS case since, similar to NiFi, HBase also exposes metrics behind a port which gets secured by TLS
Follow up monitoring Stack PR because moving to the metrics service, the port name changed: stackabletech/demos#316
Definition of Done Checklist
Author
Reviewer
Acceptance
type/deprecationlabel & add to the deprecation scheduletype/experimentallabel & add to the experimental features tracker