You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Able to query the metrics by using JXM schema and JXM metric tables in presto sql.
select "completedqueries.totalcount" from jmx.current."com.facebook.presto.execution:name=querymanager";
result: 106
And as per README.md, have tried other metrics like od level, gc metrics, they are working as expected except "query_manager_metrics".
Please look into this issue, and share if you have any fix or quick workaround.
The text was updated successfully, but these errors were encountered:
presto-metrics 0.3.12 works with EMR to pull Presto query_manager_metrics.
In higher versions, JMX tables are updated from com.facebook.presto.* to presto.*, which are not exist under jmx schema in presto. https://prestodb.io/docs/current/connector/jmx.html
Am trying the below code to pull AWS EMR Presto query manager metrics, but its always return empty.
require 'presto/metrics'
require 'pp'
client = Presto::Metrics::Client.new(:host => 'localhost', :port=>8889)
client.query_manager_metrics(["abandoned_queries.total_count", "canceled_queries.total_count", "completed_queries.total_count", "execution_time.five_minutes.avg", "failed_queries.total_count", "queued_queries", "queued_time.five_minutes.avg", "running_queries"]).values
client.query_manager_metrics(["executor.active_count", "executor.completed_task_count"])
Presto SQL:
Able to query the metrics by using JXM schema and JXM metric tables in presto sql.
select "completedqueries.totalcount" from jmx.current."com.facebook.presto.execution:name=querymanager";
result: 106
And as per README.md, have tried other metrics like od level, gc metrics, they are working as expected except "query_manager_metrics".
Please look into this issue, and share if you have any fix or quick workaround.
The text was updated successfully, but these errors were encountered: