File tree Expand file tree Collapse file tree 2 files changed +110
-10
lines changed
docker/assets/grafana/dashboards Expand file tree Collapse file tree 2 files changed +110
-10
lines changed Original file line number Diff line number Diff line change 12331233 "title" : " Name depth" ,
12341234 "type" : " barchart"
12351235 },
1236+ {
1237+ "datasource" : {
1238+ "type" : " prometheus" ,
1239+ "uid" : " prometheus"
1240+ },
1241+ "fieldConfig" : {
1242+ "defaults" : {
1243+ "color" : {
1244+ "mode" : " palette-classic"
1245+ },
1246+ "custom" : {
1247+ "axisBorderShow" : false ,
1248+ "axisCenteredZero" : false ,
1249+ "axisColorMode" : " text" ,
1250+ "axisLabel" : " " ,
1251+ "axisPlacement" : " auto" ,
1252+ "fillOpacity" : 80 ,
1253+ "gradientMode" : " none" ,
1254+ "hideFrom" : {
1255+ "legend" : false ,
1256+ "tooltip" : false ,
1257+ "viz" : false
1258+ },
1259+ "lineWidth" : 1 ,
1260+ "scaleDistribution" : {
1261+ "type" : " linear"
1262+ },
1263+ "thresholdsStyle" : {
1264+ "mode" : " off"
1265+ }
1266+ },
1267+ "mappings" : [],
1268+ "thresholds" : {
1269+ "mode" : " absolute" ,
1270+ "steps" : [
1271+ {
1272+ "color" : " green"
1273+ },
1274+ {
1275+ "color" : " red" ,
1276+ "value" : 80
1277+ }
1278+ ]
1279+ }
1280+ },
1281+ "overrides" : []
1282+ },
1283+ "gridPos" : {
1284+ "h" : 6 ,
1285+ "w" : 8 ,
1286+ "x" : 0 ,
1287+ "y" : 30
1288+ },
1289+ "id" : 24 ,
1290+ "options" : {
1291+ "barRadius" : 0 ,
1292+ "barWidth" : 0.97 ,
1293+ "fullHighlight" : false ,
1294+ "groupWidth" : 0.7 ,
1295+ "legend" : {
1296+ "calcs" : [],
1297+ "displayMode" : " list" ,
1298+ "placement" : " bottom" ,
1299+ "showLegend" : false
1300+ },
1301+ "orientation" : " auto" ,
1302+ "showValue" : " auto" ,
1303+ "stacking" : " none" ,
1304+ "text" : {
1305+ "valueSize" : 30
1306+ },
1307+ "tooltip" : {
1308+ "hideZeros" : false ,
1309+ "mode" : " single" ,
1310+ "sort" : " none"
1311+ },
1312+ "xField" : " key" ,
1313+ "xTickLabelRotation" : 0 ,
1314+ "xTickLabelSpacing" : 0
1315+ },
1316+ "pluginVersion" : " 12.0.2" ,
1317+ "targets" : [
1318+ {
1319+ "disableTextWrap" : false ,
1320+ "editorMode" : " builder" ,
1321+ "exemplar" : false ,
1322+ "expr" : " user_data_distribution" ,
1323+ "format" : " table" ,
1324+ "fullMetaSearch" : false ,
1325+ "includeNullMetadata" : true ,
1326+ "instant" : true ,
1327+ "legendFormat" : " __auto" ,
1328+ "range" : false ,
1329+ "refId" : " A" ,
1330+ "useBackend" : false
1331+ }
1332+ ],
1333+ "title" : " User data keys" ,
1334+ "type" : " barchart"
1335+ },
12361336 {
12371337 "collapsed" : false ,
12381338 "gridPos" : {
12391339 "h" : 1 ,
12401340 "w" : 24 ,
12411341 "x" : 0 ,
1242- "y" : 30
1342+ "y" : 36
12431343 },
12441344 "id" : 8 ,
12451345 "panels" : [],
13101410 "h" : 7 ,
13111411 "w" : 8 ,
13121412 "x" : 0 ,
1313- "y" : 31
1413+ "y" : 37
13141414 },
13151415 "id" : 15 ,
13161416 "options" : {
14051505 "h" : 7 ,
14061506 "w" : 8 ,
14071507 "x" : 8 ,
1408- "y" : 31
1508+ "y" : 37
14091509 },
14101510 "id" : 18 ,
14111511 "options" : {
14711571 "h" : 7 ,
14721572 "w" : 8 ,
14731573 "x" : 16 ,
1474- "y" : 31
1574+ "y" : 37
14751575 },
14761576 "id" : 19 ,
14771577 "options" : {
15751675 "h" : 7 ,
15761676 "w" : 8 ,
15771677 "x" : 0 ,
1578- "y" : 38
1678+ "y" : 44
15791679 },
15801680 "id" : 4 ,
15811681 "options" : {
17111811 "h" : 7 ,
17121812 "w" : 8 ,
17131813 "x" : 8 ,
1714- "y" : 38
1814+ "y" : 44
17151815 },
17161816 "id" : 14 ,
17171817 "options" : {
17831883 "h" : 7 ,
17841884 "w" : 8 ,
17851885 "x" : 16 ,
1786- "y" : 38
1886+ "y" : 44
17871887 },
17881888 "id" : 22 ,
17891889 "options" : {
18761976 "h" : 7 ,
18771977 "w" : 8 ,
18781978 "x" : 0 ,
1879- "y" : 45
1979+ "y" : 51
18801980 },
18811981 "id" : 23 ,
18821982 "options" : {
19622062 "timezone" : " browser" ,
19632063 "title" : " IOTA-Names" ,
19642064 "uid" : " 1fd4a3ec-9556-42b6-8589-7eec88d04011" ,
1965- "version" : 1
2065+ "version" : 2
19662066}
Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ impl IotaNamesMetrics {
116116 user_data_distribution : register_int_gauge_vec_with_registry ! (
117117 "user_data_distribution" ,
118118 "Distribution of user data" ,
119- & [ "depth " ] ,
119+ & [ "key " ] ,
120120 registry,
121121 )
122122 . unwrap ( ) ,
You can’t perform that action at this time.
0 commit comments