|
1922 | 1922 | "steppedLine": false, |
1923 | 1923 | "targets": [ |
1924 | 1924 | { |
1925 | | - "expr": "process_resident_memory_bytes{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\",job=~\".*(pd|tso|scheduling).*\"}", |
| 1925 | + "expr": "process_resident_memory_bytes{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", job=~\".*(pd|tso|scheduling).*\"}", |
1926 | 1926 | "format": "time_series", |
1927 | 1927 | "hide": false, |
1928 | 1928 | "interval": "", |
|
1932 | 1932 | "step": 4 |
1933 | 1933 | }, |
1934 | 1934 | { |
1935 | | - "expr": "go_memstats_heap_sys_bytes{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\",job=~\".*(pd|tso|scheduling).*\"}", |
| 1935 | + "expr": "go_memstats_heap_sys_bytes{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", job=~\".*(pd|tso|scheduling).*\"}", |
1936 | 1936 | "hide": true, |
1937 | 1937 | "interval": "", |
1938 | 1938 | "legendFormat": "HeapSys-{{job}}-{{instance}}", |
1939 | 1939 | "refId": "B" |
1940 | 1940 | }, |
1941 | 1941 | { |
1942 | | - "expr": "go_memstats_heap_inuse_bytes{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\",job=~\".*(pd|tso|scheduling).*\"}", |
| 1942 | + "expr": "go_memstats_heap_inuse_bytes{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", job=~\".*(pd|tso|scheduling).*\"}", |
1943 | 1943 | "hide": false, |
1944 | 1944 | "interval": "", |
1945 | 1945 | "legendFormat": "HeapInuse-{{job}}-{{instance}}", |
1946 | 1946 | "refId": "C" |
1947 | 1947 | }, |
1948 | 1948 | { |
1949 | | - "expr": "go_memstats_heap_alloc_bytes{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\",job=~\".*(pd|tso|scheduling).*\"}", |
| 1949 | + "expr": "go_memstats_heap_alloc_bytes{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", job=~\".*(pd|tso|scheduling).*\"}", |
1950 | 1950 | "hide": true, |
1951 | 1951 | "interval": "", |
1952 | 1952 | "legendFormat": "HeapAlloc-{{job}}-{{instance}}", |
1953 | 1953 | "refId": "D" |
1954 | 1954 | }, |
1955 | 1955 | { |
1956 | | - "expr": "go_memstats_heap_idle_bytes{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\",job=~\".*(pd|tso|scheduling).*\"}", |
| 1956 | + "expr": "go_memstats_heap_idle_bytes{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", job=~\".*(pd|tso|scheduling).*\"}", |
1957 | 1957 | "hide": true, |
1958 | 1958 | "interval": "", |
1959 | 1959 | "legendFormat": "HeapIdle-{{job}}-{{instance}}", |
1960 | 1960 | "refId": "E" |
1961 | 1961 | }, |
1962 | 1962 | { |
1963 | | - "expr": "go_memstats_heap_released_bytes{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\",job=~\".*(pd|tso|scheduling).*\"}", |
| 1963 | + "expr": "go_memstats_heap_released_bytes{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", job=~\".*(pd|tso|scheduling).*\"}", |
1964 | 1964 | "hide": true, |
1965 | 1965 | "interval": "", |
1966 | 1966 | "legendFormat": "HeapReleased-{{job}}-{{instance}}", |
1967 | 1967 | "refId": "F" |
1968 | 1968 | }, |
1969 | 1969 | { |
1970 | | - "expr": "go_memstats_next_gc_bytes{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\",job=~\".*(pd|tso|scheduling).*\"}", |
| 1970 | + "expr": "go_memstats_next_gc_bytes{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", job=~\".*(pd|tso|scheduling).*\"}", |
1971 | 1971 | "hide": true, |
1972 | 1972 | "interval": "", |
1973 | 1973 | "legendFormat": "GCTrigger-{{job}}-{{instance}}", |
1974 | 1974 | "refId": "G" |
1975 | 1975 | }, |
1976 | 1976 | { |
1977 | | - "expr": "pd_service_memory_quota_bytes{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\",job=~\".*pd.*\"}", |
| 1977 | + "expr": "pd_service_memory_quota_bytes{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", job=~\".*(pd|tso|scheduling).*\"}", |
1978 | 1978 | "hide": false, |
1979 | 1979 | "interval": "", |
1980 | 1980 | "legendFormat": "quota-{{job}}-{{instance}}", |
|
2289 | 2289 | "tableColumn": "tso", |
2290 | 2290 | "targets": [ |
2291 | 2291 | { |
2292 | | - "expr": "max(pd_cluster_tso{type=\"tso\", dc=\"global\"})by(type)", |
| 2292 | + "expr": "max(pd_cluster_tso{type=\"tso\"})by(type)", |
2293 | 2293 | "format": "time_series", |
2294 | 2294 | "instant": true, |
2295 | 2295 | "interval": "", |
|
2592 | 2592 | "tableColumn": "tso", |
2593 | 2593 | "targets": [ |
2594 | 2594 | { |
2595 | | - "expr": "max(pd_cluster_tso{type=\"tso\", dc=\"global\"})by(type)", |
| 2595 | + "expr": "max(pd_cluster_tso{type=\"tso\"})by(type)", |
2596 | 2596 | "format": "time_series", |
2597 | 2597 | "instant": true, |
2598 | 2598 | "interval": "", |
|
4587 | 4587 | "alignLevel": null |
4588 | 4588 | } |
4589 | 4589 | }, |
4590 | | - { |
4591 | | - "aliasColors": {}, |
4592 | | - "bars": false, |
4593 | | - "dashLength": 10, |
4594 | | - "dashes": false, |
4595 | | - "datasource": "tidb-cluster", |
4596 | | - "decimals": 3, |
4597 | | - "description": "The witness count of each TiKV instance", |
4598 | | - "fieldConfig": { |
4599 | | - "defaults": {}, |
4600 | | - "overrides": [] |
4601 | | - }, |
4602 | | - "fill": 0, |
4603 | | - "fillGradient": 0, |
4604 | | - "gridPos": { |
4605 | | - "h": 6, |
4606 | | - "w": 12, |
4607 | | - "x": 12, |
4608 | | - "y": 111 |
4609 | | - }, |
4610 | | - "hiddenSeries": false, |
4611 | | - "id": 411, |
4612 | | - "legend": { |
4613 | | - "alignAsTable": true, |
4614 | | - "avg": false, |
4615 | | - "current": true, |
4616 | | - "hideEmpty": true, |
4617 | | - "hideZero": true, |
4618 | | - "max": true, |
4619 | | - "min": false, |
4620 | | - "rightSide": true, |
4621 | | - "show": true, |
4622 | | - "sortDesc": true, |
4623 | | - "total": false, |
4624 | | - "values": true |
4625 | | - }, |
4626 | | - "lines": true, |
4627 | | - "linewidth": 2, |
4628 | | - "links": [], |
4629 | | - "nullPointMode": "null", |
4630 | | - "options": { |
4631 | | - "alertThreshold": true |
4632 | | - }, |
4633 | | - "paceLength": 10, |
4634 | | - "percentage": false, |
4635 | | - "pluginVersion": "7.5.11", |
4636 | | - "pointradius": 5, |
4637 | | - "points": false, |
4638 | | - "renderer": "flot", |
4639 | | - "seriesOverrides": [], |
4640 | | - "spaceLength": 10, |
4641 | | - "stack": false, |
4642 | | - "steppedLine": false, |
4643 | | - "targets": [ |
4644 | | - { |
4645 | | - "exemplar": true, |
4646 | | - "expr": "pd_scheduler_store_status{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", store=~\"$store\", type=\"witness_count\"}", |
4647 | | - "format": "time_series", |
4648 | | - "interval": "", |
4649 | | - "intervalFactor": 2, |
4650 | | - "legendFormat": "{{address}}-store-{{store}}", |
4651 | | - "refId": "A", |
4652 | | - "step": 4 |
4653 | | - } |
4654 | | - ], |
4655 | | - "thresholds": [], |
4656 | | - "timeFrom": null, |
4657 | | - "timeRegions": [], |
4658 | | - "timeShift": null, |
4659 | | - "title": "Store witness count", |
4660 | | - "tooltip": { |
4661 | | - "shared": true, |
4662 | | - "sort": 0, |
4663 | | - "value_type": "individual" |
4664 | | - }, |
4665 | | - "type": "graph", |
4666 | | - "xaxis": { |
4667 | | - "buckets": null, |
4668 | | - "mode": "time", |
4669 | | - "name": null, |
4670 | | - "show": true, |
4671 | | - "values": [] |
4672 | | - }, |
4673 | | - "yaxes": [ |
4674 | | - { |
4675 | | - "format": "short", |
4676 | | - "label": null, |
4677 | | - "logBase": 1, |
4678 | | - "max": null, |
4679 | | - "min": null, |
4680 | | - "show": true |
4681 | | - }, |
4682 | | - { |
4683 | | - "format": "short", |
4684 | | - "label": null, |
4685 | | - "logBase": 1, |
4686 | | - "max": null, |
4687 | | - "min": null, |
4688 | | - "show": false |
4689 | | - } |
4690 | | - ], |
4691 | | - "yaxis": { |
4692 | | - "align": false, |
4693 | | - "alignLevel": null |
4694 | | - } |
4695 | | - }, |
4696 | 4590 | { |
4697 | 4591 | "aliasColors": {}, |
4698 | 4592 | "bars": false, |
|
7862 | 7756 | "steppedLine": false, |
7863 | 7757 | "targets": [ |
7864 | 7758 | { |
7865 | | - "expr": "sum(rate(pd_schedule_source_filter{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", store=~\"$store\", action=\"filter-source\", type!=\"store-state-tombstone-filter\"}[1m])*60) by (source, type, scope)", |
| 7759 | + "expr": "sum(rate(pd_schedule_source_filter{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", store=~\"$store\", type!=\"store-state-tombstone-filter\"}[1m])*60) by (source, type, scope)", |
7866 | 7760 | "format": "time_series", |
7867 | 7761 | "intervalFactor": 2, |
7868 | 7762 | "legendFormat": "{{scope}}-store-{{source}}-{{type}}", |
|
7957 | 7851 | "steppedLine": false, |
7958 | 7852 | "targets": [ |
7959 | 7853 | { |
7960 | | - "expr": "sum(rate(pd_schedule_target_filter{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", store=~\"$store\", action=\"filter-target\", type!=\"store-state-tombstone-filter\"}[1m])*60) by (target, type, scope)", |
| 7854 | + "expr": "sum(rate(pd_schedule_target_filter{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", store=~\"$store\", type!=\"store-state-tombstone-filter\"}[1m])*60) by (target, type, scope)", |
7961 | 7855 | "format": "time_series", |
7962 | 7856 | "intervalFactor": 2, |
7963 | 7857 | "legendFormat": "{{scope}}-store-{{target}}-{{type}}", |
|
0 commit comments