2024-02-18 19:27:51 +01:00
{
2024-02-23 21:33:53 +01:00
"__inputs" : [
{
"name" : "DS_PROMETHEUS" ,
"label" : "Prometheus" ,
"description" : "" ,
"type" : "datasource" ,
"pluginId" : "prometheus" ,
"pluginName" : "Prometheus"
}
] ,
"__elements" : { } ,
"__requires" : [
{
"type" : "panel" ,
"id" : "gauge" ,
"name" : "Gauge" ,
"version" : ""
} ,
{
"type" : "grafana" ,
"id" : "grafana" ,
"name" : "Grafana" ,
"version" : "10.3.3"
} ,
{
"type" : "datasource" ,
"id" : "prometheus" ,
"name" : "Prometheus" ,
"version" : "1.0.0"
} ,
{
"type" : "panel" ,
"id" : "stat" ,
"name" : "Stat" ,
"version" : ""
} ,
{
"type" : "panel" ,
"id" : "timeseries" ,
"name" : "Time series" ,
"version" : ""
}
] ,
2024-02-18 19:27:51 +01:00
"annotations" : {
"list" : [
{
"builtIn" : 1 ,
"datasource" : {
"type" : "grafana" ,
"uid" : "-- Grafana --"
} ,
"enable" : true ,
"hide" : true ,
"iconColor" : "rgba(0, 211, 255, 1)" ,
"name" : "Annotations & Alerts" ,
"target" : {
"limit" : 100 ,
"matchAny" : false ,
"tags" : [ ] ,
"type" : "dashboard"
} ,
"type" : "dashboard"
}
]
} ,
"editable" : true ,
"fiscalYearStartMonth" : 0 ,
"graphTooltip" : 0 ,
2024-02-23 21:33:53 +01:00
"id" : null ,
2024-02-18 19:27:51 +01:00
"links" : [ ] ,
"liveNow" : false ,
"panels" : [
{
"datasource" : {
"type" : "prometheus" ,
2024-02-23 21:33:53 +01:00
"uid" : "${DS_PROMETHEUS}"
2024-02-18 19:27:51 +01:00
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
} ,
"mappings" : [ ] ,
"max" : 100 ,
"min" : 0 ,
"thresholds" : {
"mode" : "percentage" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "#EAB839" ,
"value" : 80
} ,
{
"color" : "red" ,
"value" : 90
}
]
} ,
"unitScale" : true
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 4 ,
2024-02-23 21:33:53 +01:00
"w" : 2 ,
2024-02-18 19:27:51 +01:00
"x" : 0 ,
"y" : 0
} ,
"id" : 8 ,
"options" : {
"minVizHeight" : 75 ,
"minVizWidth" : 75 ,
"orientation" : "auto" ,
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
} ,
"showThresholdLabels" : false ,
"showThresholdMarkers" : true ,
"sizing" : "auto"
} ,
"pluginVersion" : "10.3.3" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
2024-02-23 21:33:53 +01:00
"uid" : "${DS_PROMETHEUS}"
2024-02-18 19:27:51 +01:00
} ,
"editorMode" : "code" ,
"expr" : "(sum by (instance) (irate(node_cpu_seconds_total{instance=\"host.docker.internal:9100\",job=\"node\",mode!=\"idle\"}[$__rate_interval]))/ sum by (instance) ((irate(node_cpu_seconds_total{instance=\"host.docker.internal:9100\",job=\"node\"}[$__rate_interval]))))*100" ,
"instant" : false ,
"legendFormat" : "__auto" ,
"range" : true ,
"refId" : "A"
}
] ,
"title" : "CPU Load" ,
"type" : "gauge"
} ,
{
"datasource" : {
"type" : "prometheus" ,
2024-02-23 21:33:53 +01:00
"uid" : "${DS_PROMETHEUS}"
2024-02-18 19:27:51 +01:00
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
} ,
"mappings" : [ ] ,
"max" : 100 ,
"min" : 0 ,
"thresholds" : {
"mode" : "percentage" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "#EAB839" ,
"value" : 80
} ,
{
"color" : "red" ,
"value" : 90
}
]
} ,
"unitScale" : true
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 4 ,
2024-02-23 21:33:53 +01:00
"w" : 2 ,
"x" : 2 ,
2024-02-18 19:27:51 +01:00
"y" : 0
} ,
"id" : 9 ,
"options" : {
"minVizHeight" : 75 ,
"minVizWidth" : 75 ,
"orientation" : "auto" ,
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
} ,
"showThresholdLabels" : false ,
"showThresholdMarkers" : true ,
"sizing" : "auto"
} ,
"pluginVersion" : "10.3.3" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
2024-02-23 21:33:53 +01:00
"uid" : "${DS_PROMETHEUS}"
2024-02-18 19:27:51 +01:00
} ,
"editorMode" : "code" ,
"expr" : "100 - ((avg_over_time(node_memory_MemAvailable_bytes{instance=\"host.docker.internal:9100\",job=\"node\"}[$__rate_interval]) * 100) / avg_over_time(node_memory_MemTotal_bytes{instance=\"host.docker.internal:9100\",job=\"node\"}[$__rate_interval]))" ,
"instant" : false ,
"legendFormat" : "__auto" ,
"range" : true ,
"refId" : "A"
}
] ,
"title" : "Ram Usage" ,
"type" : "gauge"
} ,
2024-02-18 21:00:39 +01:00
{
"datasource" : {
"type" : "prometheus" ,
2024-02-23 21:33:53 +01:00
"uid" : "${DS_PROMETHEUS}"
2024-02-18 21:00:39 +01:00
} ,
2024-02-19 01:40:44 +01:00
"description" : "" ,
2024-02-18 21:00:39 +01:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
} ,
"mappings" : [ ] ,
"thresholds" : {
2024-02-19 01:40:44 +01:00
"mode" : "percentage" ,
2024-02-18 21:00:39 +01:00
"steps" : [
{
"color" : "green" ,
"value" : null
2024-02-19 01:40:44 +01:00
} ,
{
"color" : "#EAB839" ,
"value" : 80
} ,
{
"color" : "dark-red" ,
"value" : 90
2024-02-18 21:00:39 +01:00
}
]
} ,
2024-02-19 01:40:44 +01:00
"unit" : "percent" ,
2024-02-18 21:00:39 +01:00
"unitScale" : true
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 4 ,
2024-02-23 21:33:53 +01:00
"w" : 2 ,
"x" : 4 ,
2024-02-18 21:00:39 +01:00
"y" : 0
} ,
2024-02-19 01:40:44 +01:00
"id" : 15 ,
"links" : [ ] ,
2024-02-18 21:00:39 +01:00
"options" : {
2024-02-19 01:40:44 +01:00
"minVizHeight" : 75 ,
"minVizWidth" : 75 ,
2024-02-18 21:00:39 +01:00
"orientation" : "auto" ,
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
} ,
2024-02-19 01:40:44 +01:00
"showThresholdLabels" : false ,
"showThresholdMarkers" : true ,
"sizing" : "auto"
2024-02-18 21:00:39 +01:00
} ,
"pluginVersion" : "10.3.3" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
2024-02-23 21:33:53 +01:00
"uid" : "${DS_PROMETHEUS}"
2024-02-18 21:00:39 +01:00
} ,
"editorMode" : "code" ,
2024-02-19 01:40:44 +01:00
"expr" : "100 * (node_filesystem_size_bytes{mountpoint='/4t'}-node_filesystem_free_bytes{mountpoint='/4t'})/(node_filesystem_size_bytes{mountpoint='/4t'})" ,
2024-02-18 21:00:39 +01:00
"instant" : false ,
"legendFormat" : "__auto" ,
"range" : true ,
"refId" : "A"
}
] ,
2024-02-23 21:33:53 +01:00
"title" : "Disk usage" ,
2024-02-19 01:40:44 +01:00
"type" : "gauge"
2024-02-18 21:00:39 +01:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
2024-02-23 21:33:53 +01:00
"uid" : "${DS_PROMETHEUS}"
} ,
"description" : "" ,
"fieldConfig" : {
"defaults" : {
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
}
]
} ,
"unit" : "decbytes" ,
"unitScale" : true
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 4 ,
"w" : 4 ,
"x" : 6 ,
"y" : 0
} ,
"id" : 7 ,
"links" : [ ] ,
"options" : {
"colorMode" : "value" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "auto" ,
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
} ,
"showPercentChange" : false ,
"textMode" : "auto" ,
"wideLayout" : true
} ,
"pluginVersion" : "10.3.3" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"editorMode" : "code" ,
"expr" : "node_filesystem_size_bytes{mountpoint='/4t'}-node_filesystem_free_bytes{mountpoint='/4t'}" ,
"instant" : false ,
"legendFormat" : "__auto" ,
"range" : true ,
"refId" : "A"
}
] ,
"title" : "Disk usage" ,
"type" : "stat"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
2024-02-18 21:00:39 +01:00
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
} ,
"mappings" : [ ] ,
"thresholds" : {
2024-02-23 21:33:53 +01:00
"mode" : "percentage" ,
2024-02-18 21:00:39 +01:00
"steps" : [
{
2024-02-23 21:33:53 +01:00
"color" : "red" ,
2024-02-18 21:00:39 +01:00
"value" : null
2024-02-19 19:18:40 +01:00
} ,
{
2024-02-23 21:33:53 +01:00
"color" : "#EAB839" ,
"value" : 25
2024-02-19 19:18:40 +01:00
} ,
{
2024-02-23 20:44:06 +01:00
"color" : "purple" ,
2024-02-23 21:33:53 +01:00
"value" : 50
2024-02-23 20:44:06 +01:00
} ,
{
2024-02-23 21:33:53 +01:00
"color" : "blue" ,
"value" : 75
} ,
{
"color" : "green" ,
"value" : 90
2024-02-18 21:00:39 +01:00
}
]
} ,
2024-02-23 21:33:53 +01:00
"unit" : "repo/h" ,
2024-02-18 21:00:39 +01:00
"unitScale" : true
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 4 ,
2024-02-19 19:18:40 +01:00
"w" : 3 ,
2024-02-18 21:00:39 +01:00
"x" : 10 ,
"y" : 0
} ,
2024-02-19 19:18:40 +01:00
"id" : 16 ,
"options" : {
2024-02-23 21:33:53 +01:00
"minVizHeight" : 75 ,
"minVizWidth" : 75 ,
2024-02-19 19:18:40 +01:00
"orientation" : "auto" ,
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
} ,
2024-02-23 21:33:53 +01:00
"showThresholdLabels" : false ,
"showThresholdMarkers" : true ,
"sizing" : "auto"
2024-02-19 19:18:40 +01:00
} ,
"pluginVersion" : "10.3.3" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
2024-02-23 21:33:53 +01:00
"uid" : "${DS_PROMETHEUS}"
2024-02-19 19:18:40 +01:00
} ,
"editorMode" : "code" ,
2024-02-23 21:33:53 +01:00
"expr" : "rate(repos_fully_indexed{job=\"db\"}[$rate_interval])*60*60" ,
2024-02-19 19:18:40 +01:00
"instant" : false ,
"legendFormat" : "__auto" ,
"range" : true ,
"refId" : "A"
}
] ,
2024-02-23 21:33:53 +01:00
"title" : "Repo indexing speed" ,
"type" : "gauge"
2024-02-19 19:18:40 +01:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
2024-02-23 21:33:53 +01:00
"uid" : "${DS_PROMETHEUS}"
2024-02-19 19:18:40 +01:00
} ,
"fieldConfig" : {
"defaults" : {
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-02-23 21:33:53 +01:00
"color" : "blue" ,
2024-02-19 19:18:40 +01:00
"value" : null
}
]
} ,
2024-02-23 21:33:53 +01:00
"unit" : "short" ,
2024-02-19 19:18:40 +01:00
"unitScale" : true
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 4 ,
"w" : 3 ,
"x" : 13 ,
"y" : 0
} ,
2024-02-23 21:33:53 +01:00
"id" : 23 ,
2024-02-18 21:00:39 +01:00
"options" : {
"colorMode" : "value" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "auto" ,
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
} ,
"showPercentChange" : false ,
"textMode" : "auto" ,
"wideLayout" : true
} ,
"pluginVersion" : "10.3.3" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
2024-02-23 21:33:53 +01:00
"uid" : "${DS_PROMETHEUS}"
2024-02-18 21:00:39 +01:00
} ,
"editorMode" : "code" ,
"expr" : "repos_fully_indexed{job=\"db\"}" ,
"instant" : false ,
"legendFormat" : "__auto" ,
"range" : true ,
"refId" : "A"
}
] ,
2024-02-23 21:33:53 +01:00
"title" : "Repos indexed" ,
2024-02-18 21:00:39 +01:00
"type" : "stat"
} ,
2024-02-18 22:33:57 +01:00
{
"datasource" : {
"type" : "prometheus" ,
2024-02-23 21:33:53 +01:00
"uid" : "${DS_PROMETHEUS}"
2024-02-18 22:33:57 +01:00
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
} ,
"mappings" : [ ] ,
"thresholds" : {
2024-02-19 01:40:44 +01:00
"mode" : "absolute" ,
2024-02-18 22:33:57 +01:00
"steps" : [
{
"color" : "green" ,
"value" : null
}
]
} ,
2024-02-19 01:40:44 +01:00
"unit" : "none" ,
2024-02-18 22:33:57 +01:00
"unitScale" : true
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 4 ,
2024-02-23 21:33:53 +01:00
"w" : 2 ,
2024-02-19 19:18:40 +01:00
"x" : 16 ,
2024-02-18 22:33:57 +01:00
"y" : 0
} ,
2024-02-19 01:40:44 +01:00
"id" : 12 ,
2024-02-18 22:33:57 +01:00
"options" : {
2024-02-19 01:40:44 +01:00
"colorMode" : "value" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
2024-02-18 22:33:57 +01:00
"orientation" : "auto" ,
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
} ,
2024-02-19 01:40:44 +01:00
"showPercentChange" : false ,
"textMode" : "auto" ,
"wideLayout" : true
2024-02-18 22:33:57 +01:00
} ,
"pluginVersion" : "10.3.3" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
2024-02-23 21:33:53 +01:00
"uid" : "${DS_PROMETHEUS}"
2024-02-18 22:33:57 +01:00
} ,
"editorMode" : "code" ,
2024-02-19 01:40:44 +01:00
"expr" : "repos_seen{job=\"db\"}" ,
2024-02-18 22:33:57 +01:00
"instant" : false ,
"legendFormat" : "__auto" ,
"range" : true ,
"refId" : "A"
}
] ,
2024-02-19 01:40:44 +01:00
"title" : "Repos seen" ,
"type" : "stat"
2024-02-18 22:33:57 +01:00
} ,
2024-02-18 19:27:51 +01:00
{
"datasource" : {
"type" : "prometheus" ,
2024-02-23 21:33:53 +01:00
"uid" : "${DS_PROMETHEUS}"
} ,
"fieldConfig" : {
"defaults" : {
"mappings" : [ ] ,
"max" : 100 ,
"min" : 0 ,
"thresholds" : {
"mode" : "percentage" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "orange" ,
"value" : 70
} ,
{
"color" : "red" ,
"value" : 85
}
]
} ,
"unit" : "percent" ,
"unitScale" : true
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 4 ,
"w" : 3 ,
"x" : 18 ,
"y" : 0
} ,
"id" : 11 ,
"options" : {
"minVizHeight" : 75 ,
"minVizWidth" : 75 ,
"orientation" : "auto" ,
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
} ,
"showThresholdLabels" : false ,
"showThresholdMarkers" : true ,
"sizing" : "auto"
} ,
"pluginVersion" : "10.3.3" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"editorMode" : "code" ,
"expr" : "(repos_fully_indexed)/(repos_seen)*100" ,
"instant" : false ,
"legendFormat" : "__auto" ,
"range" : true ,
"refId" : "A"
}
] ,
"title" : "Indexed/seen" ,
"type" : "gauge"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
2024-02-18 19:27:51 +01:00
} ,
"fieldConfig" : {
"defaults" : {
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
2024-02-23 21:33:53 +01:00
} ,
{
"color" : "red" ,
"value" : 80
2024-02-18 19:27:51 +01:00
}
]
} ,
2024-02-23 21:33:53 +01:00
"unit" : "h" ,
2024-02-18 19:27:51 +01:00
"unitScale" : true
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 4 ,
2024-02-23 21:33:53 +01:00
"w" : 3 ,
"x" : 21 ,
2024-02-18 19:27:51 +01:00
"y" : 0
} ,
2024-02-23 21:33:53 +01:00
"id" : 24 ,
2024-02-18 19:27:51 +01:00
"options" : {
2024-02-23 21:33:53 +01:00
"colorMode" : "background" ,
"graphMode" : "none" ,
2024-02-18 19:27:51 +01:00
"justifyMode" : "auto" ,
"orientation" : "auto" ,
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
} ,
2024-02-23 21:33:53 +01:00
"showPercentChange" : true ,
2024-02-18 19:27:51 +01:00
"textMode" : "auto" ,
"wideLayout" : true
} ,
"pluginVersion" : "10.3.3" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
2024-02-23 21:33:53 +01:00
"uid" : "${DS_PROMETHEUS}"
2024-02-18 19:27:51 +01:00
} ,
2024-02-23 21:33:53 +01:00
"editorMode" : "builder" ,
"expr" : "5000000/(rate(repos_fully_indexed{job=\"db\"}[$rate_interval])*60*60)" ,
2024-02-18 19:27:51 +01:00
"instant" : false ,
"legendFormat" : "__auto" ,
"range" : true ,
"refId" : "A"
}
] ,
2024-02-23 21:33:53 +01:00
"title" : "Time to 5mil" ,
2024-02-18 19:27:51 +01:00
"type" : "stat"
} ,
2024-02-19 19:59:23 +01:00
{
"datasource" : {
"type" : "prometheus" ,
2024-02-23 21:33:53 +01:00
"uid" : "${DS_PROMETHEUS}"
2024-02-19 19:59:23 +01:00
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
2024-02-23 21:33:53 +01:00
"mode" : "palette-classic"
2024-02-19 19:59:23 +01:00
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "left" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
2024-02-23 21:33:53 +01:00
"fillOpacity" : 0 ,
2024-02-19 19:59:23 +01:00
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
2024-02-23 21:33:53 +01:00
"pointSize" : 4 ,
2024-02-19 19:59:23 +01:00
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "auto" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
2024-02-23 21:33:53 +01:00
"mode" : "none"
2024-02-19 19:59:23 +01:00
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
}
]
} ,
2024-02-23 21:33:53 +01:00
"unit" : "s" ,
2024-02-19 19:59:23 +01:00
"unitScale" : true
} ,
2024-02-23 21:33:53 +01:00
"overrides" : [
{
"matcher" : {
"id" : "byFrameRefID" ,
"options" : "B"
} ,
"properties" : [
{
"id" : "custom.axisPlacement" ,
"value" : "right"
} ,
{
"id" : "unit" ,
"value" : "s/s"
}
]
}
]
2024-02-19 19:59:23 +01:00
} ,
"gridPos" : {
2024-02-23 21:33:53 +01:00
"h" : 8 ,
2024-02-19 19:59:23 +01:00
"w" : 12 ,
"x" : 0 ,
"y" : 4
} ,
2024-02-23 21:33:53 +01:00
"id" : 13 ,
2024-02-19 19:59:23 +01:00
"options" : {
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
2024-02-23 21:33:53 +01:00
"showLegend" : true
2024-02-19 19:59:23 +01:00
} ,
"timezone" : [
""
] ,
"tooltip" : {
"mode" : "multi" ,
2024-02-23 21:33:53 +01:00
"sort" : "none"
2024-02-19 19:59:23 +01:00
}
} ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
2024-02-23 21:33:53 +01:00
"uid" : "${DS_PROMETHEUS}"
2024-02-19 19:59:23 +01:00
} ,
"disableTextWrap" : false ,
2024-02-23 21:33:53 +01:00
"editorMode" : "code" ,
"expr" : "label_replace(time() - repo_commit_received_timestamp, \"remote\", \"delay-$1\", \"remote\", \"https://(.*).us-(west|east).host.bsky.network\")" ,
"fullMetaSearch" : false ,
"hide" : false ,
"includeNullMetadata" : true ,
"instant" : false ,
"legendFormat" : "{{remote}}" ,
"range" : true ,
"refId" : "A" ,
"useBackend" : false
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"disableTextWrap" : false ,
"editorMode" : "code" ,
"expr" : "label_replace(deriv(repo_commit_received_timestamp[$rate_interval]), \"remote\", \"catchup-$1\", \"remote\", \"https://(.*).us-(west|east).host.bsky.network\")" ,
2024-02-19 19:59:23 +01:00
"fullMetaSearch" : false ,
"hide" : false ,
"includeNullMetadata" : true ,
"instant" : false ,
"legendFormat" : "{{remote}}" ,
"range" : true ,
"refId" : "B" ,
"useBackend" : false
}
] ,
2024-02-23 21:33:53 +01:00
"title" : "Delay-Catchup" ,
2024-02-19 19:59:23 +01:00
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
2024-02-23 21:33:53 +01:00
"uid" : "${DS_PROMETHEUS}"
2024-02-19 19:59:23 +01:00
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
2024-02-23 21:33:53 +01:00
"mode" : "palette-classic"
2024-02-19 19:59:23 +01:00
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
2024-02-23 21:33:53 +01:00
"axisPlacement" : "auto" ,
"axisSoftMin" : 0 ,
2024-02-19 19:59:23 +01:00
"barAlignment" : 0 ,
"drawStyle" : "line" ,
2024-02-23 21:33:53 +01:00
"fillOpacity" : 0 ,
2024-02-19 19:59:23 +01:00
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "auto" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
2024-02-23 21:33:53 +01:00
"mode" : "none"
2024-02-19 19:59:23 +01:00
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
2024-02-23 21:33:53 +01:00
} ,
{
"color" : "red" ,
"value" : 80
2024-02-19 19:59:23 +01:00
}
]
} ,
2024-02-23 21:33:53 +01:00
"unit" : "records/s" ,
2024-02-19 19:59:23 +01:00
"unitScale" : true
} ,
"overrides" : [ ]
} ,
"gridPos" : {
2024-02-23 21:33:53 +01:00
"h" : 8 ,
2024-02-19 19:59:23 +01:00
"w" : 12 ,
"x" : 12 ,
"y" : 4
} ,
2024-02-23 21:33:53 +01:00
"id" : 4 ,
2024-02-19 19:59:23 +01:00
"options" : {
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
2024-02-23 21:33:53 +01:00
"showLegend" : true
2024-02-19 19:59:23 +01:00
} ,
"tooltip" : {
"mode" : "multi" ,
2024-02-23 21:33:53 +01:00
"sort" : "none"
2024-02-19 19:59:23 +01:00
}
} ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
2024-02-23 21:33:53 +01:00
"uid" : "${DS_PROMETHEUS}"
2024-02-19 19:59:23 +01:00
} ,
2024-02-23 21:33:53 +01:00
"editorMode" : "code" ,
"expr" : "sum(rate(indexer_records_fetched_count[$rate_interval]))" ,
2024-02-19 19:59:23 +01:00
"instant" : false ,
2024-02-23 21:33:53 +01:00
"legendFormat" : "__auto" ,
2024-02-19 19:59:23 +01:00
"range" : true ,
2024-02-23 21:33:53 +01:00
"refId" : "A"
2024-02-19 19:59:23 +01:00
}
] ,
2024-02-23 21:33:53 +01:00
"title" : "Record indexing" ,
2024-02-19 19:59:23 +01:00
"type" : "timeseries"
} ,
2024-02-18 19:27:51 +01:00
{
"datasource" : {
"type" : "prometheus" ,
2024-02-23 21:33:53 +01:00
"uid" : "${DS_PROMETHEUS}"
2024-02-18 19:27:51 +01:00
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
2024-02-23 21:33:53 +01:00
"mode" : "palette-classic" ,
"seriesBy" : "max"
2024-02-18 19:27:51 +01:00
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
2024-02-19 19:18:40 +01:00
"axisPlacement" : "left" ,
2024-02-18 19:27:51 +01:00
"barAlignment" : 0 ,
"drawStyle" : "line" ,
2024-02-23 21:33:53 +01:00
"fillOpacity" : 43 ,
2024-02-18 19:27:51 +01:00
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
2024-02-23 21:33:53 +01:00
"lineStyle" : {
"fill" : "solid"
} ,
2024-02-18 19:27:51 +01:00
"lineWidth" : 1 ,
2024-02-23 21:33:53 +01:00
"pointSize" : 5 ,
2024-02-18 19:27:51 +01:00
"scaleDistribution" : {
2024-02-23 21:33:53 +01:00
"linearThreshold" : 4 ,
2024-02-18 19:27:51 +01:00
"type" : "linear"
} ,
"showPoints" : "auto" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
2024-02-23 21:33:53 +01:00
"mode" : "normal"
2024-02-18 19:27:51 +01:00
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
2024-02-23 21:33:53 +01:00
"fieldMinMax" : false ,
2024-02-18 19:27:51 +01:00
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
}
]
} ,
2024-02-23 21:33:53 +01:00
"unit" : "commits/s" ,
2024-02-18 19:27:51 +01:00
"unitScale" : true
} ,
2024-02-23 21:33:53 +01:00
"overrides" : [ ]
2024-02-18 19:27:51 +01:00
} ,
"gridPos" : {
2024-02-23 21:33:53 +01:00
"h" : 9 ,
2024-02-18 19:27:51 +01:00
"w" : 12 ,
"x" : 0 ,
2024-02-23 21:33:53 +01:00
"y" : 12
2024-02-18 19:27:51 +01:00
} ,
2024-02-23 21:33:53 +01:00
"id" : 14 ,
2024-02-18 19:27:51 +01:00
"options" : {
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
2024-02-23 21:33:53 +01:00
"showLegend" : true ,
"width" : 0
2024-02-18 19:27:51 +01:00
} ,
2024-02-19 19:18:40 +01:00
"timezone" : [
""
] ,
2024-02-18 19:27:51 +01:00
"tooltip" : {
"mode" : "multi" ,
2024-02-23 21:33:53 +01:00
"sort" : "desc"
2024-02-18 19:27:51 +01:00
}
} ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
2024-02-23 21:33:53 +01:00
"uid" : "${DS_PROMETHEUS}"
2024-02-18 19:27:51 +01:00
} ,
2024-02-19 19:18:40 +01:00
"disableTextWrap" : false ,
2024-02-23 21:33:53 +01:00
"editorMode" : "builder" ,
"exemplar" : false ,
"expr" : "label_replace(sum by(remote) (rate(repo_commits_received_counter{remote=~\"https://amanita.us-east.host.bsky.network|https://enoki.us-east.host.bsky.network|https://inkcap.us-east.host.bsky.network|https://lionsmane.us-east.host.bsky.network|https://morel.us-east.host.bsky.network|https://oyster.us-east.host.bsky.network|https://porcini.us-east.host.bsky.network|https://puffball.us-east.host.bsky.network|https://shiitake.us-east.host.bsky.network|https://shimeji.us-east.host.bsky.network\"}[$rate_interval])), \"remote\", \"$1\", \"remote\", \"https://(.*).us-(west|east).host.bsky.network\")" ,
"format" : "time_series" ,
2024-02-19 19:18:40 +01:00
"fullMetaSearch" : false ,
2024-02-18 19:27:51 +01:00
"hide" : false ,
2024-02-19 19:18:40 +01:00
"includeNullMetadata" : true ,
2024-02-18 19:27:51 +01:00
"instant" : false ,
2024-02-23 21:33:53 +01:00
"interval" : "" ,
2024-02-19 19:18:40 +01:00
"legendFormat" : "{{remote}}" ,
2024-02-18 19:27:51 +01:00
"range" : true ,
2024-02-19 19:18:40 +01:00
"refId" : "B" ,
"useBackend" : false
2024-02-18 19:27:51 +01:00
}
] ,
2024-02-23 21:33:53 +01:00
"title" : "Firehose us-east (old)" ,
2024-02-18 19:27:51 +01:00
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
2024-02-23 21:33:53 +01:00
"uid" : "${DS_PROMETHEUS}"
2024-02-18 19:27:51 +01:00
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
2024-02-23 21:33:53 +01:00
"mode" : "palette-classic" ,
"seriesBy" : "max"
2024-02-18 19:27:51 +01:00
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
2024-02-23 21:33:53 +01:00
"axisPlacement" : "left" ,
2024-02-18 19:27:51 +01:00
"barAlignment" : 0 ,
"drawStyle" : "line" ,
2024-02-23 21:33:53 +01:00
"fillOpacity" : 43 ,
2024-02-18 19:27:51 +01:00
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
2024-02-23 21:33:53 +01:00
"lineStyle" : {
"fill" : "solid"
} ,
2024-02-18 19:27:51 +01:00
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
2024-02-23 21:33:53 +01:00
"linearThreshold" : 4 ,
2024-02-18 19:27:51 +01:00
"type" : "linear"
} ,
2024-02-19 19:18:40 +01:00
"showPoints" : "auto" ,
2024-02-18 19:27:51 +01:00
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
2024-02-23 21:33:53 +01:00
"mode" : "normal"
2024-02-18 19:27:51 +01:00
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
2024-02-23 21:33:53 +01:00
"fieldMinMax" : false ,
2024-02-18 19:27:51 +01:00
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
}
]
} ,
2024-02-23 21:33:53 +01:00
"unit" : "commits/s" ,
2024-02-18 19:27:51 +01:00
"unitScale" : true
} ,
2024-02-19 19:18:40 +01:00
"overrides" : [ ]
} ,
"gridPos" : {
2024-02-23 21:33:53 +01:00
"h" : 9 ,
2024-02-19 19:18:40 +01:00
"w" : 12 ,
"x" : 12 ,
2024-02-23 21:33:53 +01:00
"y" : 12
2024-02-19 19:18:40 +01:00
} ,
2024-02-23 21:33:53 +01:00
"id" : 17 ,
2024-02-19 19:18:40 +01:00
"options" : {
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
2024-02-23 21:33:53 +01:00
"showLegend" : true ,
"width" : 0
2024-02-19 19:18:40 +01:00
} ,
2024-02-23 21:33:53 +01:00
"timezone" : [
""
] ,
2024-02-19 19:18:40 +01:00
"tooltip" : {
"mode" : "multi" ,
2024-02-23 21:33:53 +01:00
"sort" : "desc"
2024-02-19 19:18:40 +01:00
}
} ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
2024-02-23 21:33:53 +01:00
"uid" : "${DS_PROMETHEUS}"
2024-02-18 19:27:51 +01:00
} ,
2024-02-23 21:33:53 +01:00
"disableTextWrap" : false ,
"editorMode" : "builder" ,
"exemplar" : false ,
"expr" : "label_replace(sum by(remote) (rate(repo_commits_received_counter{remote=~\"https://agaric.us-west.host.bsky.network|https://blewit.us-west.host.bsky.network|https://boletus.us-west.host.bsky.network|https://chaga.us-west.host.bsky.network|https://conocybe.us-west.host.bsky.network|https://hydnum.us-west.host.bsky.network|https://lepista.us-west.host.bsky.network|https://maitake.us-west.host.bsky.network|https://russula.us-west.host.bsky.network|https://verpa.us-west.host.bsky.network\"}[$rate_interval])), \"remote\", \"$1\", \"remote\", \"https://(.*).us-(west|east).host.bsky.network\")" ,
"format" : "time_series" ,
"fullMetaSearch" : false ,
"hide" : false ,
"includeNullMetadata" : true ,
2024-02-19 19:18:40 +01:00
"instant" : false ,
2024-02-23 21:33:53 +01:00
"interval" : "" ,
"legendFormat" : "{{remote}}" ,
2024-02-19 19:18:40 +01:00
"range" : true ,
2024-02-23 21:33:53 +01:00
"refId" : "B" ,
"useBackend" : false
2024-02-19 19:18:40 +01:00
}
] ,
2024-02-23 21:33:53 +01:00
"title" : "Firehose us-west (new)" ,
2024-02-19 19:18:40 +01:00
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
2024-02-23 21:33:53 +01:00
"uid" : "${DS_PROMETHEUS}"
2024-02-19 19:18:40 +01:00
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 40 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "normal"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "bps" ,
"unitScale" : true
} ,
"overrides" : [
{
"matcher" : {
"id" : "byName" ,
"options" : "Recv_bytes_eth2"
} ,
"properties" : [
{
"id" : "color" ,
"value" : {
"fixedColor" : "#7EB26D" ,
"mode" : "fixed"
}
}
]
} ,
{
"matcher" : {
"id" : "byName" ,
"options" : "Recv_bytes_lo"
} ,
"properties" : [
{
"id" : "color" ,
"value" : {
"fixedColor" : "#0A50A1" ,
"mode" : "fixed"
}
}
]
} ,
{
"matcher" : {
"id" : "byName" ,
"options" : "Recv_drop_eth2"
} ,
"properties" : [
{
"id" : "color" ,
2024-02-18 19:27:51 +01:00
"value" : {
"fixedColor" : "#6ED0E0" ,
"mode" : "fixed"
}
}
]
} ,
{
"matcher" : {
"id" : "byName" ,
"options" : "Recv_drop_lo"
} ,
"properties" : [
{
"id" : "color" ,
"value" : {
"fixedColor" : "#E0F9D7" ,
"mode" : "fixed"
}
}
]
} ,
{
"matcher" : {
"id" : "byName" ,
"options" : "Recv_errs_eth2"
} ,
"properties" : [
{
"id" : "color" ,
"value" : {
"fixedColor" : "#BF1B00" ,
"mode" : "fixed"
}
}
]
} ,
{
"matcher" : {
"id" : "byName" ,
"options" : "Recv_errs_lo"
} ,
"properties" : [
{
"id" : "color" ,
"value" : {
"fixedColor" : "#CCA300" ,
"mode" : "fixed"
}
}
]
} ,
{
"matcher" : {
"id" : "byName" ,
"options" : "Trans_bytes_eth2"
} ,
"properties" : [
{
"id" : "color" ,
"value" : {
"fixedColor" : "#7EB26D" ,
"mode" : "fixed"
}
}
]
} ,
{
"matcher" : {
"id" : "byName" ,
"options" : "Trans_bytes_lo"
} ,
"properties" : [
{
"id" : "color" ,
"value" : {
"fixedColor" : "#0A50A1" ,
"mode" : "fixed"
}
}
]
} ,
{
"matcher" : {
"id" : "byName" ,
"options" : "Trans_drop_eth2"
} ,
"properties" : [
{
"id" : "color" ,
"value" : {
"fixedColor" : "#6ED0E0" ,
"mode" : "fixed"
}
}
]
} ,
{
"matcher" : {
"id" : "byName" ,
"options" : "Trans_drop_lo"
} ,
"properties" : [
{
"id" : "color" ,
"value" : {
"fixedColor" : "#E0F9D7" ,
"mode" : "fixed"
}
}
]
} ,
{
"matcher" : {
"id" : "byName" ,
"options" : "Trans_errs_eth2"
} ,
"properties" : [
{
"id" : "color" ,
"value" : {
"fixedColor" : "#BF1B00" ,
"mode" : "fixed"
}
}
]
} ,
{
"matcher" : {
"id" : "byName" ,
"options" : "Trans_errs_lo"
} ,
"properties" : [
{
"id" : "color" ,
"value" : {
"fixedColor" : "#CCA300" ,
"mode" : "fixed"
}
}
]
} ,
{
"matcher" : {
"id" : "byName" ,
"options" : "recv_bytes_lo"
} ,
"properties" : [
{
"id" : "color" ,
"value" : {
"fixedColor" : "#0A50A1" ,
"mode" : "fixed"
}
}
]
} ,
{
"matcher" : {
"id" : "byName" ,
"options" : "recv_drop_eth0"
} ,
"properties" : [
{
"id" : "color" ,
"value" : {
"fixedColor" : "#99440A" ,
"mode" : "fixed"
}
}
]
} ,
{
"matcher" : {
"id" : "byName" ,
"options" : "recv_drop_lo"
} ,
"properties" : [
{
"id" : "color" ,
"value" : {
"fixedColor" : "#967302" ,
"mode" : "fixed"
}
}
]
} ,
{
"matcher" : {
"id" : "byName" ,
"options" : "recv_errs_eth0"
} ,
"properties" : [
{
"id" : "color" ,
"value" : {
"fixedColor" : "#BF1B00" ,
"mode" : "fixed"
}
}
]
} ,
{
"matcher" : {
"id" : "byName" ,
"options" : "recv_errs_lo"
} ,
"properties" : [
{
"id" : "color" ,
"value" : {
"fixedColor" : "#890F02" ,
"mode" : "fixed"
}
}
]
} ,
{
"matcher" : {
"id" : "byName" ,
"options" : "trans_bytes_eth0"
} ,
"properties" : [
{
"id" : "color" ,
"value" : {
"fixedColor" : "#7EB26D" ,
"mode" : "fixed"
}
}
]
} ,
{
"matcher" : {
"id" : "byName" ,
"options" : "trans_bytes_lo"
} ,
"properties" : [
{
"id" : "color" ,
"value" : {
"fixedColor" : "#0A50A1" ,
"mode" : "fixed"
}
}
]
} ,
{
"matcher" : {
"id" : "byName" ,
"options" : "trans_drop_eth0"
} ,
"properties" : [
{
"id" : "color" ,
"value" : {
"fixedColor" : "#99440A" ,
"mode" : "fixed"
}
}
]
} ,
{
"matcher" : {
"id" : "byName" ,
"options" : "trans_drop_lo"
} ,
"properties" : [
{
"id" : "color" ,
"value" : {
"fixedColor" : "#967302" ,
"mode" : "fixed"
}
}
]
} ,
{
"matcher" : {
"id" : "byName" ,
"options" : "trans_errs_eth0"
} ,
"properties" : [
{
"id" : "color" ,
"value" : {
"fixedColor" : "#BF1B00" ,
"mode" : "fixed"
}
}
]
} ,
{
"matcher" : {
"id" : "byName" ,
"options" : "trans_errs_lo"
} ,
"properties" : [
{
"id" : "color" ,
"value" : {
"fixedColor" : "#890F02" ,
"mode" : "fixed"
}
}
]
} ,
{
"matcher" : {
"id" : "byRegexp" ,
"options" : "/.*trans.*/"
} ,
"properties" : [
{
"id" : "custom.transform" ,
"value" : "negative-Y"
}
]
}
]
} ,
"gridPos" : {
2024-02-19 19:18:40 +01:00
"h" : 8 ,
2024-02-18 19:27:51 +01:00
"w" : 12 ,
2024-02-19 19:18:40 +01:00
"x" : 0 ,
2024-02-19 19:59:23 +01:00
"y" : 21
2024-02-18 19:27:51 +01:00
} ,
"id" : 10 ,
"options" : {
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
2024-02-19 19:18:40 +01:00
"mode" : "multi" ,
2024-02-18 19:27:51 +01:00
"sort" : "none"
}
} ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
2024-02-23 21:33:53 +01:00
"uid" : "${DS_PROMETHEUS}"
2024-02-18 19:27:51 +01:00
} ,
"editorMode" : "code" ,
"expr" : "irate(node_network_receive_bytes_total{instance=\"host.docker.internal:9100\",job=\"node\"}[$__rate_interval])*8" ,
"instant" : false ,
"legendFormat" : "recv {{device}}" ,
"range" : true ,
"refId" : "A"
} ,
{
"datasource" : {
"type" : "prometheus" ,
2024-02-23 21:33:53 +01:00
"uid" : "${DS_PROMETHEUS}"
2024-02-18 19:27:51 +01:00
} ,
"editorMode" : "code" ,
"expr" : "irate(node_network_transmit_bytes_total{instance=\"host.docker.internal:9100\",job=\"node\"}[$__rate_interval])*8" ,
"hide" : false ,
"instant" : false ,
"legendFormat" : "trans {{device}}" ,
"range" : true ,
"refId" : "B"
}
] ,
"title" : "Network Traffic" ,
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
2024-02-23 21:33:53 +01:00
"uid" : "${DS_PROMETHEUS}"
2024-02-18 19:27:51 +01:00
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
2024-02-19 19:18:40 +01:00
"axisPlacement" : "auto" ,
2024-02-18 19:27:51 +01:00
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
2024-02-19 19:18:40 +01:00
"pointSize" : 5 ,
2024-02-18 19:27:51 +01:00
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "auto" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
}
]
} ,
2024-02-19 19:59:23 +01:00
"unit" : "repos/min" ,
2024-02-18 19:27:51 +01:00
"unitScale" : true
} ,
2024-02-19 19:59:23 +01:00
"overrides" : [
{
"matcher" : {
"id" : "byFrameRefID" ,
"options" : "A"
} ,
"properties" : [
{
"id" : "custom.stacking" ,
"value" : {
"group" : "A" ,
"mode" : "normal"
}
} ,
{
"id" : "custom.fillOpacity" ,
"value" : 28
}
]
}
]
2024-02-18 19:27:51 +01:00
} ,
"gridPos" : {
2024-02-18 22:18:39 +01:00
"h" : 8 ,
2024-02-18 19:27:51 +01:00
"w" : 12 ,
2024-02-19 19:18:40 +01:00
"x" : 12 ,
2024-02-19 19:59:23 +01:00
"y" : 21
2024-02-18 19:27:51 +01:00
} ,
2024-02-19 19:59:23 +01:00
"id" : 6 ,
2024-02-18 19:27:51 +01:00
"options" : {
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
2024-02-19 19:59:23 +01:00
"sort" : "desc"
2024-02-18 19:27:51 +01:00
}
} ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
2024-02-23 21:33:53 +01:00
"uid" : "${DS_PROMETHEUS}"
2024-02-18 19:27:51 +01:00
} ,
2024-02-19 19:59:23 +01:00
"disableTextWrap" : false ,
2024-02-19 19:18:40 +01:00
"editorMode" : "code" ,
2024-02-19 19:59:23 +01:00
"expr" : "label_replace(sum by(remote, success) (rate(indexer_repos_fetched_count{success=\"true\"}[$rate_interval])), \"remote\", \"$1\", \"remote\", \"https://(.*).us-(west|east).host.bsky.network\")*60" ,
"fullMetaSearch" : false ,
"includeNullMetadata" : true ,
2024-02-19 01:39:29 +01:00
"instant" : false ,
2024-02-19 19:59:23 +01:00
"legendFormat" : "{{remote}}" ,
2024-02-19 01:39:29 +01:00
"range" : true ,
2024-02-19 19:59:23 +01:00
"refId" : "A" ,
"useBackend" : false
} ,
{
"datasource" : {
"type" : "prometheus" ,
2024-02-23 21:33:53 +01:00
"uid" : "${DS_PROMETHEUS}"
2024-02-19 19:59:23 +01:00
} ,
"editorMode" : "code" ,
"expr" : "sum(rate(indexer_repos_fetched_count{success=\"false\"}[$rate_interval]))" ,
"hide" : false ,
"instant" : false ,
"legendFormat" : "{{remote}}" ,
"range" : true ,
"refId" : "B"
}
] ,
"title" : "Repo fetch rate" ,
"transformations" : [
{
"id" : "renameByRegex" ,
"options" : {
"regex" : "true https://([^.]*).*" ,
"renamePattern" : "$1"
}
} ,
{
"id" : "renameByRegex" ,
"options" : {
"regex" : "false https://([^.]*).*" ,
"renamePattern" : "$1:fail"
}
2024-02-18 19:27:51 +01:00
}
] ,
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
2024-02-23 21:33:53 +01:00
"uid" : "${DS_PROMETHEUS}"
2024-02-18 19:27:51 +01:00
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
2024-02-19 19:18:40 +01:00
"axisSoftMin" : 0 ,
2024-02-18 19:27:51 +01:00
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "auto" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
}
]
} ,
"unitScale" : true
} ,
"overrides" : [
{
"matcher" : {
"id" : "byFrameRefID" ,
"options" : "A"
} ,
"properties" : [
2024-02-19 19:18:40 +01:00
{
"id" : "custom.axisPlacement" ,
"value" : "right"
} ,
2024-02-18 19:27:51 +01:00
{
"id" : "custom.stacking" ,
"value" : {
"group" : "A" ,
"mode" : "normal"
}
} ,
{
"id" : "custom.fillOpacity" ,
2024-02-19 19:18:40 +01:00
"value" : 33
}
]
} ,
{
"matcher" : {
"id" : "byFrameRefID" ,
"options" : "B"
} ,
"properties" : [
{
"id" : "unit" ,
"value" : "repos/s"
}
]
} ,
{
"matcher" : {
"id" : "byName" ,
"options" : "Fail rate"
} ,
"properties" : [
{
"id" : "color" ,
"value" : {
"fixedColor" : "red" ,
"mode" : "fixed"
}
}
]
} ,
{
"matcher" : {
"id" : "byName" ,
"options" : "Success rate"
} ,
"properties" : [
{
"id" : "color" ,
"value" : {
"fixedColor" : "green" ,
"mode" : "fixed"
}
2024-02-18 19:27:51 +01:00
}
]
}
]
} ,
"gridPos" : {
2024-02-18 22:18:39 +01:00
"h" : 8 ,
2024-02-18 19:27:51 +01:00
"w" : 12 ,
2024-02-19 19:18:40 +01:00
"x" : 0 ,
2024-02-19 19:59:23 +01:00
"y" : 29
2024-02-18 19:27:51 +01:00
} ,
2024-02-19 19:18:40 +01:00
"id" : 2 ,
2024-02-18 19:27:51 +01:00
"options" : {
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
2024-02-19 19:18:40 +01:00
"sort" : "none"
2024-02-18 19:27:51 +01:00
}
} ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
2024-02-23 21:33:53 +01:00
"uid" : "${DS_PROMETHEUS}"
2024-02-18 19:27:51 +01:00
} ,
2024-02-19 19:18:40 +01:00
"editorMode" : "code" ,
"expr" : "sum by(state) (indexer_queue_length)" ,
2024-02-18 19:27:51 +01:00
"instant" : false ,
2024-02-19 19:18:40 +01:00
"legendFormat" : "{{state}}" ,
2024-02-18 19:27:51 +01:00
"range" : true ,
2024-02-19 19:18:40 +01:00
"refId" : "A"
2024-02-18 19:27:51 +01:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
2024-02-23 21:33:53 +01:00
"uid" : "${DS_PROMETHEUS}"
2024-02-18 19:27:51 +01:00
} ,
"editorMode" : "code" ,
2024-02-19 19:18:40 +01:00
"expr" : "sum by(success) (rate(indexer_repos_indexed_count[$rate_interval]))" ,
2024-02-18 19:27:51 +01:00
"hide" : false ,
"instant" : false ,
2024-02-19 19:18:40 +01:00
"legendFormat" : "__auto" ,
2024-02-18 19:27:51 +01:00
"range" : true ,
"refId" : "B"
}
] ,
2024-02-19 19:18:40 +01:00
"title" : "Indexing queue" ,
2024-02-18 19:27:51 +01:00
"transformations" : [
{
"id" : "renameByRegex" ,
"options" : {
2024-02-19 19:18:40 +01:00
"regex" : "false" ,
"renamePattern" : "Fail rate"
2024-02-18 19:27:51 +01:00
}
} ,
{
"id" : "renameByRegex" ,
"options" : {
2024-02-19 19:18:40 +01:00
"regex" : "true" ,
"renamePattern" : "Success rate"
2024-02-18 19:27:51 +01:00
}
}
] ,
"type" : "timeseries"
2024-02-23 20:44:06 +01:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
2024-02-23 21:33:53 +01:00
"uid" : "${DS_PROMETHEUS}"
2024-02-23 20:44:06 +01:00
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 14 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 4 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "auto" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "normal"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-02-23 21:33:53 +01:00
"unit" : "posts/h" ,
2024-02-23 20:44:06 +01:00
"unitScale" : true
} ,
"overrides" : [
{
"matcher" : {
"id" : "byFrameRefID" ,
"options" : "B"
} ,
"properties" : [
{
"id" : "custom.axisPlacement" ,
"value" : "right"
} ,
{
"id" : "custom.fillOpacity" ,
"value" : 0
} ,
{
"id" : "custom.lineWidth" ,
"value" : 4
} ,
{
"id" : "custom.lineStyle" ,
"value" : {
"dash" : [
0 ,
10
] ,
"fill" : "dot"
}
}
]
}
]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
"y" : 29
} ,
"id" : 18 ,
"options" : {
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
2024-02-23 21:33:53 +01:00
"uid" : "${DS_PROMETHEUS}"
2024-02-23 20:44:06 +01:00
} ,
"disableTextWrap" : false ,
"editorMode" : "code" ,
2024-02-23 21:33:53 +01:00
"expr" : "sum by(lang) (rate(indexer_posts_by_language_count[$rate_interval])*60*60)" ,
2024-02-23 20:44:06 +01:00
"fullMetaSearch" : false ,
"hide" : false ,
"includeNullMetadata" : true ,
"instant" : false ,
"legendFormat" : "{{lang}}" ,
"range" : true ,
"refId" : "A" ,
"useBackend" : false
} ,
{
"datasource" : {
"type" : "prometheus" ,
2024-02-23 21:33:53 +01:00
"uid" : "${DS_PROMETHEUS}"
2024-02-23 20:44:06 +01:00
} ,
"disableTextWrap" : false ,
"editorMode" : "builder" ,
"expr" : "label_replace(sum by(remote) (rate(indexer_posts_by_language_count{lang=\"uk\"}[$rate_interval])), \"\", \"$1\", \"\", \"(.*)\")" ,
"fullMetaSearch" : false ,
"hide" : true ,
"includeNullMetadata" : true ,
"instant" : false ,
"legendFormat" : "__auto" ,
"range" : true ,
"refId" : "B" ,
"useBackend" : false
}
] ,
"title" : "Posts by language" ,
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
2024-02-23 21:33:53 +01:00
"uid" : "${DS_PROMETHEUS}"
2024-02-23 20:44:06 +01:00
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 14 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 4 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "auto" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "normal"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-02-23 21:33:53 +01:00
"unit" : "posts/h" ,
2024-02-23 20:44:06 +01:00
"unitScale" : true
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
"y" : 37
} ,
"id" : 19 ,
"options" : {
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
2024-02-23 21:33:53 +01:00
"uid" : "${DS_PROMETHEUS}"
2024-02-23 20:44:06 +01:00
} ,
"disableTextWrap" : false ,
"editorMode" : "code" ,
2024-02-23 21:33:53 +01:00
"expr" : "label_replace(sum by(remote) (rate(indexer_posts_by_language_count{lang=\"uk\", remote=~\"https://amanita.us-east.host.bsky.network|https://enoki.us-east.host.bsky.network|https://inkcap.us-east.host.bsky.network|https://lionsmane.us-east.host.bsky.network|https://morel.us-east.host.bsky.network|https://oyster.us-east.host.bsky.network|https://porcini.us-east.host.bsky.network|https://puffball.us-east.host.bsky.network|https://shiitake.us-east.host.bsky.network\"}[$rate_interval])*60*60), \"remote\", \"$1\", \"remote\", \"https://(.*).us-(west|east).host.bsky.network\")" ,
2024-02-23 20:44:06 +01:00
"fullMetaSearch" : false ,
"hide" : false ,
"includeNullMetadata" : true ,
"instant" : false ,
"legendFormat" : "__auto" ,
"range" : true ,
"refId" : "B" ,
"useBackend" : false
}
] ,
"title" : "Language by [old] PDS (uk)" ,
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
2024-02-23 21:33:53 +01:00
"uid" : "${DS_PROMETHEUS}"
2024-02-23 20:44:06 +01:00
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 14 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 4 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "auto" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "normal"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-02-23 21:33:53 +01:00
"unit" : "posts/h" ,
2024-02-23 20:44:06 +01:00
"unitScale" : true
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
"y" : 37
} ,
"id" : 21 ,
"options" : {
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
2024-02-23 21:33:53 +01:00
"uid" : "${DS_PROMETHEUS}"
2024-02-23 20:44:06 +01:00
} ,
"disableTextWrap" : false ,
"editorMode" : "code" ,
2024-02-23 21:33:53 +01:00
"expr" : "label_replace(sum by(remote) (rate(indexer_posts_by_language_count{lang=\"uk\", remote!~\"https://amanita.us-east.host.bsky.network|https://enoki.us-east.host.bsky.network|https://inkcap.us-east.host.bsky.network|https://lionsmane.us-east.host.bsky.network|https://oyster.us-east.host.bsky.network|https://morel.us-east.host.bsky.network|https://porcini.us-east.host.bsky.network|https://puffball.us-east.host.bsky.network|https://shiitake.us-east.host.bsky.network\"}[$rate_interval])*60*60), \"remote\", \"$1\", \"remote\", \"https://(.*).us-(west|east).host.bsky.network\")" ,
2024-02-23 20:44:06 +01:00
"fullMetaSearch" : false ,
"hide" : false ,
"includeNullMetadata" : true ,
"instant" : false ,
"legendFormat" : "__auto" ,
"range" : true ,
"refId" : "B" ,
"useBackend" : false
}
] ,
"title" : "Language by [new] PDS (uk)" ,
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
2024-02-23 21:33:53 +01:00
"uid" : "${DS_PROMETHEUS}"
2024-02-23 20:44:06 +01:00
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 14 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 4 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "auto" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "normal"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-02-23 21:33:53 +01:00
"unit" : "posts/h" ,
2024-02-23 20:44:06 +01:00
"unitScale" : true
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
"y" : 45
} ,
"id" : 20 ,
"options" : {
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
2024-02-23 21:33:53 +01:00
"uid" : "${DS_PROMETHEUS}"
2024-02-23 20:44:06 +01:00
} ,
"disableTextWrap" : false ,
2024-02-23 21:33:53 +01:00
"editorMode" : "code" ,
"expr" : "label_replace(sum by(remote) (rate(indexer_posts_by_language_count{lang=\"ru\", remote=~\"https://amanita.us-east.host.bsky.network|https://enoki.us-east.host.bsky.network|https://inkcap.us-east.host.bsky.network|https://lionsmane.us-east.host.bsky.network|https://oyster.us-east.host.bsky.network|https://morel.us-east.host.bsky.network|https://porcini.us-east.host.bsky.network|https://puffball.us-east.host.bsky.network|https://shiitake.us-east.host.bsky.network\"}[$rate_interval])*60*60), \"remote\", \"$1\", \"remote\", \"https://(.*).us-(west|east).host.bsky.network\")" ,
2024-02-23 20:44:06 +01:00
"fullMetaSearch" : false ,
"hide" : false ,
"includeNullMetadata" : true ,
"instant" : false ,
"legendFormat" : "__auto" ,
"range" : true ,
"refId" : "B" ,
"useBackend" : false
}
] ,
"title" : "Language by [old] PDS (ru)" ,
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
2024-02-23 21:33:53 +01:00
"uid" : "${DS_PROMETHEUS}"
2024-02-23 20:44:06 +01:00
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 14 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 4 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "auto" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "normal"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-02-23 21:33:53 +01:00
"unit" : "posts/h" ,
2024-02-23 20:44:06 +01:00
"unitScale" : true
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
"y" : 45
} ,
"id" : 22 ,
"options" : {
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
2024-02-23 21:33:53 +01:00
"uid" : "${DS_PROMETHEUS}"
2024-02-23 20:44:06 +01:00
} ,
"disableTextWrap" : false ,
2024-02-23 21:33:53 +01:00
"editorMode" : "code" ,
"expr" : "label_replace(sum by(remote) (rate(indexer_posts_by_language_count{lang=\"ru\", remote!~\"https://amanita.us-east.host.bsky.network|https://enoki.us-east.host.bsky.network|https://inkcap.us-east.host.bsky.network|https://lionsmane.us-east.host.bsky.network|https://morel.us-east.host.bsky.network|https://oyster.us-east.host.bsky.network|https://porcini.us-east.host.bsky.network|https://puffball.us-east.host.bsky.network|https://shiitake.us-east.host.bsky.network\"}[$rate_interval])*60*60), \"remote\", \"$1\", \"remote\", \"https://(.*).us-(west|east).host.bsky.network\")" ,
2024-02-23 20:44:06 +01:00
"fullMetaSearch" : false ,
"hide" : false ,
"includeNullMetadata" : true ,
"instant" : false ,
"legendFormat" : "__auto" ,
"range" : true ,
"refId" : "B" ,
"useBackend" : false
}
] ,
"title" : "Language by [new] PDS (ru)" ,
"type" : "timeseries"
2024-02-18 19:27:51 +01:00
}
] ,
2024-02-23 20:44:06 +01:00
"refresh" : "5s" ,
2024-02-18 19:27:51 +01:00
"revision" : 1 ,
"schemaVersion" : 39 ,
"tags" : [ ] ,
"templating" : {
"list" : [
{
"auto" : false ,
"auto_count" : 30 ,
"auto_min" : "10s" ,
"current" : {
"selected" : false ,
2024-02-19 19:18:40 +01:00
"text" : "5m" ,
"value" : "5m"
2024-02-18 19:27:51 +01:00
} ,
"hide" : 0 ,
"label" : "Rate interval" ,
"name" : "rate_interval" ,
"options" : [
{
"selected" : false ,
"text" : "1m" ,
"value" : "1m"
} ,
{
2024-02-19 19:18:40 +01:00
"selected" : true ,
2024-02-18 19:27:51 +01:00
"text" : "5m" ,
"value" : "5m"
} ,
{
"selected" : false ,
"text" : "10m" ,
"value" : "10m"
} ,
{
2024-02-19 19:18:40 +01:00
"selected" : false ,
2024-02-18 19:27:51 +01:00
"text" : "30m" ,
"value" : "30m"
} ,
{
"selected" : false ,
"text" : "1h" ,
"value" : "1h"
} ,
{
"selected" : false ,
"text" : "6h" ,
"value" : "6h"
} ,
{
"selected" : false ,
"text" : "12h" ,
"value" : "12h"
} ,
{
"selected" : false ,
"text" : "1d" ,
"value" : "1d"
}
] ,
"query" : "1m,5m,10m,30m,1h,6h,12h,1d" ,
"queryValue" : "" ,
"refresh" : 2 ,
"skipUrlSync" : false ,
"type" : "interval"
}
]
} ,
"time" : {
2024-02-23 21:33:53 +01:00
"from" : "now-3h" ,
2024-02-18 19:27:51 +01:00
"to" : "now"
} ,
"timepicker" : { } ,
"timezone" : "" ,
"title" : "Bluesky indexer" ,
"uid" : "aXw6dQhSz" ,
2024-02-23 21:33:53 +01:00
"version" : 39 ,
2024-02-18 19:27:51 +01:00
"weekStart" : ""
}