File tree Expand file tree Collapse file tree 2 files changed +103
-9
lines changed Expand file tree Collapse file tree 2 files changed +103
-9
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ This demo uses Prometheus / Grafana to visualize the metrics data.
3131
32321 . Go to [ ` localhost:3000 ` ] ( http://localhost:3000 ) and login to Grafana using credentials admin, admin
3333
34- 2 . Then, show ` demo > Basic Service Trace ` in [ dashboard] ( http://localhost:3000/dashboards ) .
34+ 2 . Then, show ` demo > OpenTelemetry ` in [ dashboard] ( http://localhost:3000/dashboards ) .
3535
3636![ dashboard] ( ./assets/dashboard.png )
3737
Original file line number Diff line number Diff line change 2424 "editable" : true ,
2525 "fiscalYearStartMonth" : 0 ,
2626 "graphTooltip" : 0 ,
27- "id" : 2 ,
27+ "id" : 3 ,
2828 "links" : [],
2929 "panels" : [
3030 {
6161 "type" : " linear"
6262 },
6363 "showPoints" : " auto" ,
64+ "showValues" : false ,
6465 "spanNulls" : false ,
6566 "stacking" : {
6667 "group" : " A" ,
7677 "steps" : [
7778 {
7879 "color" : " green" ,
79- "value" : null
80+ "value" : 0
8081 },
8182 {
8283 "color" : " red" ,
107108 "sort" : " none"
108109 }
109110 },
110- "pluginVersion" : " 11.5.2 " ,
111+ "pluginVersion" : " 12.2.0 " ,
111112 "targets" : [
112113 {
113114 "datasource" : {
126127 "useBackend" : false
127128 }
128129 ],
129- "title" : " Basic Service" ,
130+ "title" : " Application metrics" ,
131+ "type" : " timeseries"
132+ },
133+ {
134+ "datasource" : {
135+ "type" : " prometheus" ,
136+ "uid" : " PBFA97CFB590B2093"
137+ },
138+ "fieldConfig" : {
139+ "defaults" : {
140+ "color" : {
141+ "mode" : " palette-classic"
142+ },
143+ "custom" : {
144+ "axisBorderShow" : false ,
145+ "axisCenteredZero" : false ,
146+ "axisColorMode" : " text" ,
147+ "axisLabel" : " " ,
148+ "axisPlacement" : " auto" ,
149+ "barAlignment" : 0 ,
150+ "barWidthFactor" : 0.6 ,
151+ "drawStyle" : " line" ,
152+ "fillOpacity" : 0 ,
153+ "gradientMode" : " none" ,
154+ "hideFrom" : {
155+ "legend" : false ,
156+ "tooltip" : false ,
157+ "viz" : false
158+ },
159+ "insertNulls" : false ,
160+ "lineInterpolation" : " linear" ,
161+ "lineWidth" : 1 ,
162+ "pointSize" : 5 ,
163+ "scaleDistribution" : {
164+ "type" : " linear"
165+ },
166+ "showPoints" : " auto" ,
167+ "showValues" : false ,
168+ "spanNulls" : false ,
169+ "stacking" : {
170+ "group" : " A" ,
171+ "mode" : " none"
172+ },
173+ "thresholdsStyle" : {
174+ "mode" : " off"
175+ }
176+ },
177+ "mappings" : [],
178+ "thresholds" : {
179+ "mode" : " absolute" ,
180+ "steps" : [
181+ {
182+ "color" : " green" ,
183+ "value" : 0
184+ },
185+ {
186+ "color" : " red" ,
187+ "value" : 80
188+ }
189+ ]
190+ }
191+ },
192+ "overrides" : []
193+ },
194+ "gridPos" : {
195+ "h" : 8 ,
196+ "w" : 12 ,
197+ "x" : 0 ,
198+ "y" : 9
199+ },
200+ "id" : 3 ,
201+ "options" : {
202+ "legend" : {
203+ "calcs" : [],
204+ "displayMode" : " list" ,
205+ "placement" : " bottom" ,
206+ "showLegend" : true
207+ },
208+ "tooltip" : {
209+ "hideZeros" : false ,
210+ "mode" : " single" ,
211+ "sort" : " none"
212+ }
213+ },
214+ "pluginVersion" : " 12.2.0" ,
215+ "targets" : [
216+ {
217+ "editorMode" : " code" ,
218+ "expr" : " {__name__=~\" ^fluentd_.*\" }" ,
219+ "legendFormat" : " __auto" ,
220+ "range" : true ,
221+ "refId" : " A"
222+ }
223+ ],
224+ "title" : " Fluentd metrics" ,
130225 "type" : " timeseries"
131226 }
132227 ],
133228 "preload" : false ,
134229 "refresh" : " 5s" ,
135- "schemaVersion" : 40 ,
230+ "schemaVersion" : 42 ,
136231 "tags" : [],
137232 "templating" : {
138233 "list" : []
143238 },
144239 "timepicker" : {},
145240 "timezone" : " " ,
146- "title" : " Basic Service Traces " ,
241+ "title" : " OpenTelemetry " ,
147242 "uid" : " y36s8FHVz" ,
148- "version" : 1 ,
149- "weekStart" : " "
243+ "version" : 2
150244}
You can’t perform that action at this time.
0 commit comments