Skip to content

Commit

Permalink
Update metrics chart name (#1364)
Browse files Browse the repository at this point in the history
* update chart name

* update
  • Loading branch information
YiniXu9506 authored Jul 21, 2022
1 parent b4aa03a commit 1001142
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ const metricsItems = [
type: 'bar_stacked'
},
{
title: 'Database Time by Steps of SQL Phase',
title: 'Database Time by SQL Phase',
queries: [
{
query: `sum(rate(tidb_session_parse_duration_seconds_sum{sql_type="general"}[$__rate_interval]))`,
Expand All @@ -101,7 +101,7 @@ const metricsItems = [
type: 'bar_stacked'
},
{
title: 'Database Execute Time',
title: 'SQL Execute Time Overview',
queries: [
{
query:
Expand Down Expand Up @@ -192,8 +192,8 @@ const metricsItems = [
queries: [
{
query:
'sum(rate(tidb_server_query_total[$__rate_interval])) by (result)',
name: 'query {result}'
'sum(rate(tidb_server_query_total[$__rate_interval])) by (type)',
name: '{type}'
}
],
nullValue: TransformNullValue.AS_ZERO,
Expand Down Expand Up @@ -322,7 +322,7 @@ const metricsItems = [
type: 'line'
},
{
title: 'Execution Duraion',
title: 'Execute Duration',
queries: [
{
query:
Expand Down

0 comments on commit 1001142

Please sign in to comment.