1+ {
2+ "__inputs" : [],
3+ "annotations" : {
4+ "list" : []
5+ },
6+ "editable" : true ,
7+ "fiscalYearStartMonth" : 0 ,
8+ "graphTooltip" : 1 ,
9+ "id" : null ,
10+ "links" : [],
11+ "panels" : [
12+ {
13+ "datasource" : { "uid" : " ${DS_PROMETHEUS}" },
14+ "fieldConfig" : {
15+ "defaults" : {
16+ "color" : { "mode" : " thresholds" },
17+ "custom" : {
18+ "drawStyle" : " line" ,
19+ "fillOpacity" : 10 ,
20+ "lineWidth" : 2 ,
21+ "pointSize" : 5 ,
22+ "showPoints" : " never" ,
23+ "spanNulls" : true
24+ },
25+ "thresholds" : {
26+ "mode" : " absolute" ,
27+ "steps" : [
28+ { "color" : " green" , "value" : null },
29+ { "color" : " orange" , "value" : 25 },
30+ { "color" : " red" , "value" : 50 }
31+ ]
32+ },
33+ "unit" : " ledgers"
34+ },
35+ "overrides" : []
36+ },
37+ "gridPos" : { "h" : 8 , "w" : 12 , "x" : 0 , "y" : 0 },
38+ "id" : 1 ,
39+ "options" : {
40+ "legend" : { "calcs" : [" last" ], "displayMode" : " list" , "placement" : " bottom" },
41+ "tooltip" : { "mode" : " multi" , "sort" : " desc" }
42+ },
43+ "targets" : [{ "expr" : " indexer_lag_ledgers" , "legendFormat" : " lag" }],
44+ "title" : " Indexer Lag (ledgers behind network head)" ,
45+ "type" : " timeseries"
46+ },
47+ {
48+ "datasource" : { "uid" : " ${DS_PROMETHEUS}" },
49+ "fieldConfig" : {
50+ "defaults" : {
51+ "color" : { "mode" : " palette-classic" },
52+ "custom" : {
53+ "drawStyle" : " line" ,
54+ "fillOpacity" : 0 ,
55+ "lineWidth" : 2 ,
56+ "showPoints" : " never" ,
57+ "spanNulls" : true
58+ },
59+ "unit" : " short"
60+ },
61+ "overrides" : []
62+ },
63+ "gridPos" : { "h" : 8 , "w" : 12 , "x" : 12 , "y" : 0 },
64+ "id" : 2 ,
65+ "options" : {
66+ "legend" : { "calcs" : [" last" ], "displayMode" : " list" , "placement" : " bottom" },
67+ "tooltip" : { "mode" : " multi" , "sort" : " none" }
68+ },
69+ "targets" : [
70+ { "expr" : " indexer_ledger_head" , "legendFormat" : " indexer head" },
71+ { "expr" : " network_ledger_head" , "legendFormat" : " network head" }
72+ ],
73+ "title" : " Ledger Heads" ,
74+ "type" : " timeseries"
75+ },
76+ {
77+ "datasource" : { "uid" : " ${DS_PROMETHEUS}" },
78+ "fieldConfig" : {
79+ "defaults" : {
80+ "color" : { "mode" : " palette-classic" },
81+ "custom" : {
82+ "drawStyle" : " bars" ,
83+ "fillOpacity" : 40 ,
84+ "lineWidth" : 1 ,
85+ "showPoints" : " never"
86+ },
87+ "unit" : " events/s"
88+ },
89+ "overrides" : []
90+ },
91+ "gridPos" : { "h" : 8 , "w" : 12 , "x" : 0 , "y" : 8 },
92+ "id" : 3 ,
93+ "options" : {
94+ "legend" : { "calcs" : [" lastNotNone" ], "displayMode" : " table" , "placement" : " bottom" },
95+ "tooltip" : { "mode" : " multi" , "sort" : " desc" }
96+ },
97+ "targets" : [
98+ {
99+ "expr" : " sum by (event_name) (rate(events_indexed_total[5m]))" ,
100+ "legendFormat" : " {{event_name}}"
101+ }
102+ ],
103+ "title" : " Ingestion Rate by Event Type (events/s)" ,
104+ "type" : " timeseries"
105+ },
106+ {
107+ "datasource" : { "uid" : " ${DS_PROMETHEUS}" },
108+ "fieldConfig" : {
109+ "defaults" : {
110+ "color" : { "mode" : " thresholds" },
111+ "custom" : { "fillOpacity" : 80 },
112+ "min" : 0 ,
113+ "thresholds" : {
114+ "mode" : " absolute" ,
115+ "steps" : [
116+ { "color" : " green" , "value" : null },
117+ { "color" : " red" , "value" : 1 }
118+ ]
119+ },
120+ "unit" : " ledgers"
121+ },
122+ "overrides" : []
123+ },
124+ "gridPos" : { "h" : 8 , "w" : 7 , "x" : 12 , "y" : 8 },
125+ "id" : 4 ,
126+ "options" : {
127+ "orientation" : " horizontal" ,
128+ "reduceOptions" : { "calcs" : [" lastNotNull" ], "fields" : " " , "values" : false },
129+ "showThresholdLabels" : false ,
130+ "showThresholdMarkers" : true
131+ },
132+ "targets" : [{ "expr" : " indexer_lag_ledgers" , "legendFormat" : " current lag" }],
133+ "title" : " Current Lag" ,
134+ "type" : " gauge"
135+ }
136+ ],
137+ "refresh" : " 30s" ,
138+ "schemaVersion" : 39 ,
139+ "tags" : [" indexer" , " sorotask" , " stellar" ],
140+ "templating" : {
141+ "list" : []
142+ },
143+ "time" : { "from" : " now-6h" , "to" : " now" },
144+ "timepicker" : {},
145+ "timezone" : " browser" ,
146+ "title" : " SoroTask Indexer" ,
147+ "uid" : " sorotask-indexer" ,
148+ "version" : 1 ,
149+ "weekStart" : " "
150+ }
0 commit comments