Uh oh!
There was an error while loading. Please reload this page.
HBASE-27435 Make Prometheus metrics queryable - #4879
Conversation
Notes: - Made the code more compact
Apache-HBase
commented
Nov 12, 2022
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Nov 12, 2022
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Nov 12, 2022
💔 -1 overall
This message was automatically generated. |
Notes: - Fixed FindBugs issues
Apache-HBase
commented
Nov 12, 2022
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Nov 12, 2022
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Nov 12, 2022
🎊 +1 overall
This message was automatically generated. |
| private boolean descriptionEnabled; | ||
| private String queryParam; |
There was a problem hiding this comment.
Servlets should be stateless. There is only one PrometheusHadoopServlet in the JVM, so it can lead to concurrency issues when multiple requests are coming in the same time.
There was a problem hiding this comment.
Should've paid more attention to it, thank you for your suggestion!
I fixed it in the next commit.
Notes: - Removed the states of PrometheusHadoopServlet - Description and query are now passed as parameters of the writeMetrics() method
Apache-HBase
commented
Nov 16, 2022
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Nov 16, 2022
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Nov 16, 2022
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Nov 23, 2022
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Nov 23, 2022
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Nov 23, 2022
🎊 +1 overall
This message was automatically generated. |
Signed-off-by: Balazs Meszaros <meszibalu@apache.org>
In this change I implemented the query feature for the Prometheus metrics
Apache JIRA:https://issues.apache.org/jira/browse/HBASE-27435