|
814 | 814 | "pointradius": 5,
|
815 | 815 | "points": false,
|
816 | 816 | "renderer": "flot",
|
817 |
| - "seriesOverrides": [], |
| 817 | + "seriesOverrides": [ |
| 818 | + { |
| 819 | + "$$hashKey": "object:211", |
| 820 | + "alias": "/mvcc_ratio/", |
| 821 | + "yaxis": 2 |
| 822 | + } |
| 823 | + ], |
818 | 824 | "spaceLength": 10,
|
819 | 825 | "stack": false,
|
820 | 826 | "steppedLine": false,
|
821 | 827 | "targets": [
|
822 | 828 | {
|
823 |
| - "expr": "histogram_quantile(0.90, sum(rate(tidb_server_slow_query_process_duration_seconds_bucket{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\"}[1m])) by (le,sql_type))", |
| 829 | + "expr": "histogram_quantile(0.90, sum(rate(tidb_server_slow_query_process_duration_seconds_bucket{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\", sql_type=\"general\"}[1m])) by (le,sql_type))", |
824 | 830 | "format": "time_series",
|
825 | 831 | "intervalFactor": 2,
|
826 |
| - "legendFormat": "all_proc_{{sql_type}}", |
| 832 | + "legendFormat": "all_proc", |
827 | 833 | "refId": "A"
|
828 | 834 | },
|
829 | 835 | {
|
830 |
| - "expr": "histogram_quantile(0.90, sum(rate(tidb_server_slow_query_cop_duration_seconds_bucket{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\"}[1m])) by (le,sql_type))", |
| 836 | + "expr": "histogram_quantile(0.90, sum(rate(tidb_server_slow_query_cop_duration_seconds_bucket{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\", sql_type=\"general\"}[1m])) by (le,sql_type))", |
831 | 837 | "format": "time_series",
|
832 | 838 | "intervalFactor": 2,
|
833 |
| - "legendFormat": "all_cop_proc_{{sql_type}}", |
| 839 | + "legendFormat": "all_cop_proc", |
834 | 840 | "refId": "B"
|
835 | 841 | },
|
836 | 842 | {
|
837 |
| - "expr": "histogram_quantile(0.90, sum(rate(tidb_server_slow_query_wait_duration_seconds_bucket{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\"}[1m])) by (le,sql_type))", |
| 843 | + "expr": "histogram_quantile(0.90, sum(rate(tidb_server_slow_query_wait_duration_seconds_bucket{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\", sql_type=\"general\"}[1m])) by (le,sql_type))", |
838 | 844 | "format": "time_series",
|
839 | 845 | "intervalFactor": 2,
|
840 |
| - "legendFormat": "all_cop_wait_{{sql_type}}", |
| 846 | + "legendFormat": "all_cop_wait", |
841 | 847 | "refId": "C"
|
| 848 | + }, |
| 849 | + { |
| 850 | + "expr": "histogram_quantile(0.90, sum(rate(tidb_server_slow_query_cop_mvcc_ratio_bucket{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\", sql_type=\"general\"}[1m])) by (le,sql_type))", |
| 851 | + "format": "time_series", |
| 852 | + "intervalFactor": 2, |
| 853 | + "legendFormat": "mvcc_ratio", |
| 854 | + "refId": "D" |
842 | 855 | }
|
843 | 856 | ],
|
844 | 857 | "thresholds": [],
|
|
861 | 874 | },
|
862 | 875 | "yaxes": [
|
863 | 876 | {
|
| 877 | + "$$hashKey": "object:119", |
864 | 878 | "format": "s",
|
865 | 879 | "label": null,
|
866 | 880 | "logBase": 2,
|
|
869 | 883 | "show": true
|
870 | 884 | },
|
871 | 885 | {
|
| 886 | + "$$hashKey": "object:120", |
872 | 887 | "format": "short",
|
873 | 888 | "label": null,
|
874 | 889 | "logBase": 1,
|
|
0 commit comments