|
1762 | 1762 | "steppedLine": false, |
1763 | 1763 | "targets": [ |
1764 | 1764 | { |
1765 | | - "expr": "histogram_quantile(0.99, sum(rate(tici_grpc_handle_duration_bucket{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\"}[1m])) by (le, type))", |
| 1765 | + "expr": "histogram_quantile(0.99, sum(rate(tici_grpc_handle_duration_bucket{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\", service=~\"meta.*\"}[1m])) by (le, type))", |
1766 | 1766 | "format": "time_series", |
1767 | 1767 | "intervalFactor": 2, |
1768 | 1768 | "legendFormat": "{{type}}-99%", |
|
1804 | 1804 | "show": true |
1805 | 1805 | } |
1806 | 1806 | ] |
| 1807 | + }, |
| 1808 | + { |
| 1809 | + "aliasColors": { }, |
| 1810 | + "bars": false, |
| 1811 | + "dashLength": 10, |
| 1812 | + "dashes": false, |
| 1813 | + "datasource": "tidb-cluster", |
| 1814 | + "fill": 1, |
| 1815 | + "fillGradient": 0, |
| 1816 | + "gridPos": { |
| 1817 | + "h": 7, |
| 1818 | + "w": 12, |
| 1819 | + "x": 12, |
| 1820 | + "y": 0 |
| 1821 | + }, |
| 1822 | + "id": 26, |
| 1823 | + "legend": { |
| 1824 | + "alignAsTable": false, |
| 1825 | + "avg": false, |
| 1826 | + "current": false, |
| 1827 | + "max": false, |
| 1828 | + "min": false, |
| 1829 | + "rightSide": true, |
| 1830 | + "show": true, |
| 1831 | + "sideWidth": null, |
| 1832 | + "total": false, |
| 1833 | + "values": false |
| 1834 | + }, |
| 1835 | + "lines": true, |
| 1836 | + "linewidth": 1, |
| 1837 | + "links": [ ], |
| 1838 | + "nullPointMode": "null", |
| 1839 | + "percentage": false, |
| 1840 | + "pointradius": 5, |
| 1841 | + "points": false, |
| 1842 | + "renderer": "flot", |
| 1843 | + "repeat": null, |
| 1844 | + "seriesOverrides": [ ], |
| 1845 | + "spaceLength": 10, |
| 1846 | + "stack": false, |
| 1847 | + "steppedLine": false, |
| 1848 | + "targets": [ |
| 1849 | + { |
| 1850 | + "expr": "sum by (service, type, result) (rate(tici_grpc_handle_count{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\", service=~\"meta.*\"}[1m]))", |
| 1851 | + "format": "time_series", |
| 1852 | + "intervalFactor": 2, |
| 1853 | + "legendFormat": "{{service}}-{{type}}-{{result}}", |
| 1854 | + "refId": "A" |
| 1855 | + } |
| 1856 | + ], |
| 1857 | + "thresholds": [ ], |
| 1858 | + "timeFrom": null, |
| 1859 | + "timeShift": null, |
| 1860 | + "title": "Grpc Request OPS", |
| 1861 | + "tooltip": { |
| 1862 | + "shared": true, |
| 1863 | + "sort": 0, |
| 1864 | + "value_type": "individual" |
| 1865 | + }, |
| 1866 | + "type": "graph", |
| 1867 | + "xaxis": { |
| 1868 | + "buckets": null, |
| 1869 | + "mode": "time", |
| 1870 | + "name": null, |
| 1871 | + "show": true, |
| 1872 | + "values": [ ] |
| 1873 | + }, |
| 1874 | + "yaxes": [ |
| 1875 | + { |
| 1876 | + "format": "ops", |
| 1877 | + "label": null, |
| 1878 | + "logBase": 1, |
| 1879 | + "max": null, |
| 1880 | + "min": null, |
| 1881 | + "show": true |
| 1882 | + }, |
| 1883 | + { |
| 1884 | + "format": "ops", |
| 1885 | + "label": null, |
| 1886 | + "logBase": 1, |
| 1887 | + "max": null, |
| 1888 | + "min": null, |
| 1889 | + "show": true |
| 1890 | + } |
| 1891 | + ] |
| 1892 | + }, |
| 1893 | + { |
| 1894 | + "aliasColors": { }, |
| 1895 | + "bars": false, |
| 1896 | + "dashLength": 10, |
| 1897 | + "dashes": false, |
| 1898 | + "datasource": "tidb-cluster", |
| 1899 | + "fill": 1, |
| 1900 | + "fillGradient": 0, |
| 1901 | + "gridPos": { |
| 1902 | + "h": 7, |
| 1903 | + "w": 12, |
| 1904 | + "x": 0, |
| 1905 | + "y": 0 |
| 1906 | + }, |
| 1907 | + "id": 27, |
| 1908 | + "legend": { |
| 1909 | + "alignAsTable": false, |
| 1910 | + "avg": false, |
| 1911 | + "current": false, |
| 1912 | + "max": false, |
| 1913 | + "min": false, |
| 1914 | + "rightSide": true, |
| 1915 | + "show": true, |
| 1916 | + "sideWidth": null, |
| 1917 | + "total": false, |
| 1918 | + "values": false |
| 1919 | + }, |
| 1920 | + "lines": true, |
| 1921 | + "linewidth": 1, |
| 1922 | + "links": [ ], |
| 1923 | + "nullPointMode": "null", |
| 1924 | + "percentage": false, |
| 1925 | + "pointradius": 5, |
| 1926 | + "points": false, |
| 1927 | + "renderer": "flot", |
| 1928 | + "repeat": null, |
| 1929 | + "seriesOverrides": [ ], |
| 1930 | + "spaceLength": 10, |
| 1931 | + "stack": false, |
| 1932 | + "steppedLine": false, |
| 1933 | + "targets": [ |
| 1934 | + { |
| 1935 | + "expr": "sum by (service, type) (tici_grpc_handle_inflight{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\", service=~\"meta.*\"})", |
| 1936 | + "format": "time_series", |
| 1937 | + "intervalFactor": 2, |
| 1938 | + "legendFormat": "{{service}}-{{type}}", |
| 1939 | + "refId": "A" |
| 1940 | + } |
| 1941 | + ], |
| 1942 | + "thresholds": [ ], |
| 1943 | + "timeFrom": null, |
| 1944 | + "timeShift": null, |
| 1945 | + "title": "Grpc Request Inflight", |
| 1946 | + "tooltip": { |
| 1947 | + "shared": true, |
| 1948 | + "sort": 0, |
| 1949 | + "value_type": "individual" |
| 1950 | + }, |
| 1951 | + "type": "graph", |
| 1952 | + "xaxis": { |
| 1953 | + "buckets": null, |
| 1954 | + "mode": "time", |
| 1955 | + "name": null, |
| 1956 | + "show": true, |
| 1957 | + "values": [ ] |
| 1958 | + }, |
| 1959 | + "yaxes": [ |
| 1960 | + { |
| 1961 | + "format": "none", |
| 1962 | + "label": null, |
| 1963 | + "logBase": 1, |
| 1964 | + "max": null, |
| 1965 | + "min": null, |
| 1966 | + "show": true |
| 1967 | + }, |
| 1968 | + { |
| 1969 | + "format": "none", |
| 1970 | + "label": null, |
| 1971 | + "logBase": 1, |
| 1972 | + "max": null, |
| 1973 | + "min": null, |
| 1974 | + "show": true |
| 1975 | + } |
| 1976 | + ] |
1807 | 1977 | } |
1808 | 1978 | ], |
1809 | 1979 | "repeat": null, |
|
1823 | 1993 | "x": 0, |
1824 | 1994 | "y": 0 |
1825 | 1995 | }, |
1826 | | - "id": 26, |
| 1996 | + "id": 28, |
1827 | 1997 | "panels": [ |
1828 | 1998 | { |
1829 | 1999 | "aliasColors": { }, |
|
1840 | 2010 | "x": 0, |
1841 | 2011 | "y": 0 |
1842 | 2012 | }, |
1843 | | - "id": 27, |
| 2013 | + "id": 29, |
1844 | 2014 | "legend": { |
1845 | 2015 | "alignAsTable": false, |
1846 | 2016 | "avg": false, |
|
0 commit comments