Date
1 - 6 of 6
Operate with JMX metrics and measurements units. What metrics to observe for read queries?
vincent....@...
I have setup JanusGraph and enabled JMX. I have a JMX exported to Prometheus which allows me to query the metrics and generate graphs in Grafana. There is probably a hundred different metrics available. What I find hard to understand is: - what unit are they in (microseconds, milliseconds?) - which ones are useful to observe for read queries? One example: I have Cassandra as backend and a Spring boot API to run queries and an UI in front of it. I have metrics and graphs for Cassandra and the API component. But I would like to know how many queries Janus is handling and the time queries take to run at a 99th percentile. There is a metric called `metrics_org_janusgraph_query_graph_execute_time_99thPercentile`. Is the the right one to observe? What unit is it in? Microseconds or milliseconds? I get values such as `400`. What metrics do you look at to observe read performance? |
|
v.sure...@...
Hi Vincent, We were configuring the jmx to report the JanusGraph (JG) metrics on to Prometheus, here's the sample JMX yaml file:
Started the Gremlin Server with java agent:
And added the jmx reporter on graph properties file:
Thanks, Suresh V On Tuesday, June 26, 2018 at 9:50:53 AM UTC+5:30, vin...@... wrote:
|
|
Florian Hockmann <f...@...>
Did you enable the jmxReporter in the gremlin-server.yaml? Am Dienstag, 13. August 2019 13:19:52 UTC+2 schrieb v....@...:
|
|
v.sure...@...
Nope I didn't add jmxReporter reporter in gremlin-server.yaml, however the following properties were added in respective graph.properties file
BTW, was able to resolve this by adding prometheus jmx java agent and jmx VM args in gremlin-server.sh:
Added some metrics in jg_jmx.yml file
On Friday, September 6, 2019 at 1:53:58 PM UTC+5:30, Florian Hockmann wrote:
|
|
Florian Hockmann <f...@...>
Good to hear that you solved the problem already! If you have the time and want to contribute to JanusGraph, then you could document the necessary steps to configure JanusGraph to get metrics into Prometheus: https://github.com/JanusGraph/janusgraph/issues/1087 Am Freitag, 6. September 2019 13:57:06 UTC+2 schrieb v....@...:
|
|
Ronnie
Hi,
Please can someone clarify the default unit for the time relates metrics? Couldnt find this from any of the docs or on the internet. Thanks! Ronnie |
|