提交 f01d3a3a 编写于 作者: W wangzelin.wzl

add query_response_time metrics

上级 1c828289
...@@ -90,6 +90,14 @@ obInputBasic: &obInputBasic ...@@ -90,6 +90,14 @@ obInputBasic: &obInputBasic
metrics: metrics:
wait_total: total_waits wait_total: total_waits
wait_seconds_total: time_waited wait_seconds_total: time_waited
- sql: select /*+ MONITOR_AGENT READ_CONSISTENCY(WEAK) */ tenant_name, response_time / 1000000 as response_time, count, total from __all_virtual_query_response_time join __all_tenant on __all_virtual_query_response_time.tenant_id = __all_tenant.tenant_id
name: ob_query_response_time
tags:
tenant_name: tenant_name
le: response_time
metrics:
count: count
total: total
obInputExtra: &obInputExtra obInputExtra: &obInputExtra
plugin: mysqlTableInput plugin: mysqlTableInput
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册