You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/quick-start/docker-compose/quick-start.en-US.md
+37-31Lines changed: 37 additions & 31 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,13 +29,25 @@ Configure the OTLP exporter of the SDK as `http://localhost:4317` to send data t
29
29
30
30
## Query Data
31
31
32
+
Visit http://localhost:3000/ to see the grafana login page. Both the username and password are admin.
33
+
32
34
### Trace
33
35
34
-
#### Configure Jaeger Data Source
36
+
#### Query Trace Data
35
37
36
-
We have implemented an API that supports the Jaeger query protocol, so you can configure the Jaeger data source directly in Grafana.
38
+
We have implemented an API that supports the Jaeger query protocol, so you can configure mocha as a Jaeger data source in Grafana to query Trace data.
37
39
38
-
Visit http://localhost:3000/ to see the grafana login page. Both the username and password are admin.
40
+
The Jaeger data source has been pre-configured in `docker/grafana/provisioning/datasources/mocha-datasources.yaml`.
41
+
42
+
Click the menu on the left, select Explore, and then select the mocha-tracing data source to see the Trace data.
43
+
44
+

45
+
46
+

47
+
48
+
#### Configure Jaeger Data Source
49
+
50
+
If you need to manually configure the Trace data source, you can refer to the following steps.
39
51
40
52
After logging in, click the menu on the left, select Data Sources, and then click Add data source.
41
53
@@ -61,21 +73,35 @@ If no data has been sent to the distributor yet, the following warning message w
61
73
62
74

63
75
64
-
#### Query Trace Data
76
+
###Metrics
65
77
66
-
Click the menu on the left, select Explore, and then select the mocha-tracing data source to see the Trace data.
78
+
#### Query Metrics Data
67
79
68
-

80
+
We have implemented an API that supports the PromQL query protocol, so you can configure mocha as a Prometheus data source in Grafana to query Metrics data.
69
81
70
-

82
+
The Prometheus data source has been pre-configured in `docker/grafana/provisioning/datasources/mocha-datasources.yaml`.
71
83
72
-
### Metrics
84
+
Click the menu on the left, select Explore, and then select the Prometheus data source to see the Metrics data.
73
85
74
-
#### Configure Prometheus Data Source
86
+

75
87
76
-
We have implemented an API that supports the PromQL query protocol, so you can configure the Prometheus data source directly in Grafana.
88
+
Click the menu on the left, select Dashboards, and then create a new dashboard.
77
89
78
-
Visit http://localhost:3000/ to see the grafana login page. Both the username and password are admin.
90
+

91
+
92
+

93
+
94
+
Select the mocha-metrics data source that we just created.
95
+
96
+

97
+
98
+
After that, you can add panels as needed to display Metrics data.
99
+
100
+

101
+
102
+
#### Configure Prometheus Data Source
103
+
104
+
If you need to manually configure the Metrics data source, you can refer to the following steps.
79
105
80
106
After logging in, click the menu on the left, select Data Sources, and then click Add data source.
81
107
@@ -96,23 +122,3 @@ Configure the HTTP Method as POST.
96
122
Click Save & Test. If the following information is displayed, the configuration is successful.
97
123
98
124

99
-
100
-
#### Query Metrics Data
101
-
102
-
Click the menu on the left, select Explore, and then select the Prometheus data source to see the Metrics data.
103
-
104
-

105
-
106
-
Click the menu on the left, select Dashboards, and then create a new dashboard.
107
-
108
-

109
-
110
-

111
-
112
-
Select the mocha-metrics data source that we just created.
113
-
114
-

115
-
116
-
After that, you can add panels as needed to display Metrics data.
0 commit comments