3030 "editable" : true ,
3131 "fiscalYearStartMonth" : 0 ,
3232 "graphTooltip" : 2 ,
33- "id" : 9 ,
33+ "id" : 0 ,
3434 "links" : [],
3535 "panels" : [
3636 {
8282 "textMode" : " auto" ,
8383 "wideLayout" : true
8484 },
85- "pluginVersion" : " 12.2.0-16711121739 " ,
85+ "pluginVersion" : " 12.2.0" ,
8686 "targets" : [
8787 {
8888 "datasource" : {
8989 "type" : " prometheus" ,
9090 "uid" : " edqp0a73uh2bka"
9191 },
9292 "editorMode" : " code" ,
93- "expr" : " 1 - (sum(rate(sms_push_retries_total{outcome='max_attempts'} [$__rate_interval])) / (sum(rate(sms_push_enqueued_total[$__rate_interval])) OR vector(0)))" ,
93+ "expr" : " 1 - (sum(rate(sms_push_retries_total[$__rate_interval])) / (sum(rate(sms_push_enqueued_total[$__rate_interval])) OR vector(0)))" ,
9494 "range" : true ,
9595 "refId" : " A" ,
9696 "unit" : " percentunit"
133133 "type" : " linear"
134134 },
135135 "showPoints" : " auto" ,
136+ "showValues" : false ,
136137 "spanNulls" : false ,
137138 "stacking" : {
138139 "group" : " A" ,
180181 "sort" : " none"
181182 }
182183 },
183- "pluginVersion" : " 12.2.0-16711121739 " ,
184+ "pluginVersion" : " 12.2.0" ,
184185 "targets" : [
185186 {
186187 "datasource" : {
187188 "type" : " prometheus" ,
188189 "uid" : " edqp0a73uh2bka"
189190 },
190- "expr" : " rate(sms_push_enqueued_total{event=~\" $event_type\" }[$__rate_interval])" ,
191+ "editorMode" : " code" ,
192+ "expr" : " sum by (event) (rate(sms_push_enqueued_total{event=~\" $event_type\" }[$__rate_interval]))" ,
191193 "legendFormat" : " {{event}}" ,
194+ "range" : true ,
192195 "refId" : " A"
193196 }
194197 ],
229232 "type" : " linear"
230233 },
231234 "showPoints" : " auto" ,
235+ "showValues" : false ,
232236 "spanNulls" : false ,
233237 "stacking" : {
234238 "group" : " A" ,
276280 "sort" : " none"
277281 }
278282 },
279- "pluginVersion" : " 12.2.0-16711121739 " ,
283+ "pluginVersion" : " 12.2.0" ,
280284 "targets" : [
281285 {
282286 "datasource" : {
283287 "type" : " prometheus" ,
284288 "uid" : " edqp0a73uh2bka"
285289 },
290+ "editorMode" : " code" ,
286291 "expr" : " sum(rate(sms_push_blacklist_total{operation=~\" added|skipped\" }[$__rate_interval])) by (operation)" ,
287292 "legend" : " {{operation}}" ,
293+ "legendFormat" : " __auto" ,
294+ "range" : true ,
288295 "refId" : " A"
289296 }
290297 ],
322329 "id" : 3 ,
323330 "options" : {
324331 "legend" : {
325- "displayMode" : " list " ,
332+ "displayMode" : " table " ,
326333 "placement" : " bottom" ,
327- "showLegend" : true
334+ "showLegend" : true ,
335+ "values" : [
336+ " percent"
337+ ]
328338 },
329339 "pieType" : " pie" ,
330340 "reduceOptions" : {
334344 "fields" : " " ,
335345 "values" : false
336346 },
347+ "sort" : " desc" ,
337348 "tooltip" : {
338349 "hideZeros" : false ,
339350 "mode" : " single" ,
340351 "sort" : " none"
341352 }
342353 },
343- "pluginVersion" : " 12.2.0-16711121739 " ,
354+ "pluginVersion" : " 12.2.0" ,
344355 "targets" : [
345356 {
346357 "datasource" : {
347358 "type" : " prometheus" ,
348359 "uid" : " edqp0a73uh2bka"
349360 },
350361 "editorMode" : " code" ,
362+ "exemplar" : false ,
351363 "expr" : " sum by (event) (sms_push_enqueued_total)" ,
364+ "instant" : false ,
365+ "legendFormat" : " __auto" ,
352366 "range" : true ,
353367 "refId" : " A"
354368 }
390404 "type" : " linear"
391405 },
392406 "showPoints" : " auto" ,
407+ "showValues" : false ,
393408 "spanNulls" : false ,
394409 "stacking" : {
395410 "group" : " A" ,
429444 "calcs" : [],
430445 "displayMode" : " list" ,
431446 "placement" : " bottom" ,
432- "showLegend" : true
447+ "showLegend" : false
433448 },
434449 "tooltip" : {
435450 "hideZeros" : false ,
436451 "mode" : " single" ,
437452 "sort" : " none"
438453 }
439454 },
440- "pluginVersion" : " 12.2.0-16711121739 " ,
455+ "pluginVersion" : " 12.2.0" ,
441456 "targets" : [
442457 {
443458 "datasource" : {
444459 "type" : " prometheus" ,
445460 "uid" : " edqp0a73uh2bka"
446461 },
447- "expr" : " rate(sms_push_retries_total[$__rate_interval])" ,
462+ "editorMode" : " code" ,
463+ "expr" : " sum(rate(sms_push_retries_total[$__rate_interval]))" ,
448464 "legendFormat" : " {{outcome}}" ,
465+ "range" : true ,
449466 "refId" : " A"
450467 }
451468 ],
486503 "type" : " linear"
487504 },
488505 "showPoints" : " auto" ,
506+ "showValues" : false ,
489507 "spanNulls" : false ,
490508 "stacking" : {
491509 "group" : " A" ,
525543 "calcs" : [],
526544 "displayMode" : " list" ,
527545 "placement" : " bottom" ,
528- "showLegend" : true
546+ "showLegend" : false
529547 },
530548 "tooltip" : {
531549 "hideZeros" : false ,
532550 "mode" : " single" ,
533551 "sort" : " none"
534552 }
535553 },
536- "pluginVersion" : " 12.2.0-16711121739 " ,
554+ "pluginVersion" : " 12.2.0" ,
537555 "targets" : [
538556 {
539557 "datasource" : {
540558 "type" : " prometheus" ,
541559 "uid" : " edqp0a73uh2bka"
542560 },
543561 "editorMode" : " code" ,
544- "expr" : " rate(sms_push_errors_total[$__rate_interval])" ,
562+ "expr" : " sum( rate(sms_push_errors_total[$__rate_interval]) )" ,
545563 "legendFormat" : " {{error}}" ,
546564 "range" : true ,
547565 "refId" : " A"
553571 ],
554572 "preload" : false ,
555573 "refresh" : " auto" ,
556- "schemaVersion" : 41 ,
574+ "schemaVersion" : 42 ,
557575 "tags" : [
558576 " sms" ,
559577 " push"
563581 {
564582 "current" : {
565583 "text" : " All" ,
566- "value" : [
567- " $__all"
568- ]
584+ "value" : " $__all"
569585 },
570586 "datasource" : {
571587 "type" : " prometheus" ,
582598 "query" : " label_values(sms_push_enqueued_total, event)" ,
583599 "refId" : " PrometheusVariableQueryEditor-VariableQuery"
584600 },
585- "refresh" : 1 ,
601+ "refresh" : 2 ,
586602 "regex" : " " ,
587603 "type" : " query"
588604 }
596612 "timezone" : " " ,
597613 "title" : " SMS Push Throughput" ,
598614 "uid" : " 17c2b3f3-e85b-4aaf-bba4-8aaa85b46569" ,
599- "version" : 16
615+ "version" : 22
600616}
0 commit comments