2023-12-21 18:31:46 +00:00
{
"__inputs" : [
{
"name" : "DS_PROMETHEUS" ,
2023-12-22 12:13:44 +00:00
"label" : "datasource" ,
2023-12-21 18:31:46 +00:00
"description" : "" ,
"type" : "datasource" ,
"pluginId" : "prometheus" ,
"pluginName" : "Prometheus"
}
] ,
"__elements" : { } ,
"__requires" : [
{
"type" : "panel" ,
"id" : "bargauge" ,
"name" : "Bar gauge" ,
"version" : ""
} ,
{
"type" : "grafana" ,
"id" : "grafana" ,
"name" : "Grafana" ,
2024-04-26 12:37:50 +00:00
"version" : "10.4.0"
2023-12-21 18:31:46 +00:00
} ,
{
"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" : ""
}
] ,
"annotations" : {
"list" : [
{
"builtIn" : 1 ,
"datasource" : {
"type" : "datasource" ,
"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"
}
]
} ,
"description" : "upda" ,
"editable" : true ,
"fiscalYearStartMonth" : 0 ,
"gnetId" : 13240 ,
"graphTooltip" : 0 ,
"id" : null ,
"links" : [ ] ,
"liveNow" : false ,
"panels" : [
{
"collapsed" : false ,
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
"y" : 0
} ,
"id" : 36 ,
"panels" : [ ] ,
"title" : "upda" ,
"type" : "row"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
}
]
} ,
"unit" : "none"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
2024-04-26 12:37:50 +00:00
"h" : 5 ,
"w" : 8 ,
2023-12-21 18:31:46 +00:00
"x" : 0 ,
"y" : 1
} ,
"id" : 37 ,
"options" : {
"colorMode" : "value" ,
2024-04-26 12:37:50 +00:00
"graphMode" : "none" ,
"justifyMode" : "center" ,
"orientation" : "horizontal" ,
2023-12-21 18:31:46 +00:00
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
} ,
2024-04-26 12:37:50 +00:00
"showPercentChange" : false ,
"textMode" : "auto" ,
"wideLayout" : true
2023-12-21 18:31:46 +00:00
} ,
2024-04-26 12:37:50 +00:00
"pluginVersion" : "10.4.0" ,
2023-12-21 18:31:46 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"editorMode" : "code" ,
"expr" : "upda_updates_all{job=\"$job\", instance=~\"$instance\"}" ,
"instant" : false ,
"legendFormat" : "Total" ,
"range" : true ,
"refId" : "A"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"editorMode" : "code" ,
"expr" : "upda_updates_pending{job=\"$job\", instance=~\"$instance\"}" ,
"hide" : false ,
"instant" : false ,
"legendFormat" : "Pending" ,
"range" : true ,
"refId" : "C"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"editorMode" : "code" ,
"expr" : "upda_updates_approved{job=\"$job\", instance=~\"$instance\"}" ,
"hide" : false ,
"instant" : false ,
"legendFormat" : "Approved" ,
"range" : true ,
"refId" : "B"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"editorMode" : "code" ,
"expr" : "upda_updates_ignored{job=\"$job\", instance=~\"$instance\"}" ,
"hide" : false ,
"instant" : false ,
"legendFormat" : "Ignored" ,
"range" : true ,
"refId" : "D"
}
] ,
"title" : "Updates" ,
"type" : "stat"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"fieldConfig" : {
"defaults" : {
2024-04-26 12:37:50 +00:00
"color" : {
"mode" : "thresholds"
} ,
"mappings" : [ ] ,
2023-12-21 18:31:46 +00:00
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-04-26 12:37:50 +00:00
"color" : "green" ,
2023-12-21 18:31:46 +00:00
"value" : null
}
]
} ,
2024-04-26 12:37:50 +00:00
"unit" : "none"
2023-12-21 18:31:46 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
2024-04-26 12:37:50 +00:00
"h" : 5 ,
"w" : 2 ,
"x" : 8 ,
2023-12-21 18:31:46 +00:00
"y" : 1
} ,
2024-04-26 12:37:50 +00:00
"id" : 38 ,
2023-12-21 18:31:46 +00:00
"options" : {
2024-04-26 12:37:50 +00:00
"colorMode" : "value" ,
"graphMode" : "area" ,
2023-12-21 18:31:46 +00:00
"justifyMode" : "auto" ,
"orientation" : "auto" ,
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
} ,
2024-04-26 12:37:50 +00:00
"showPercentChange" : false ,
"textMode" : "auto" ,
"wideLayout" : true
2023-12-21 18:31:46 +00:00
} ,
2024-04-26 12:37:50 +00:00
"pluginVersion" : "10.4.0" ,
2023-12-21 18:31:46 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"editorMode" : "code" ,
2024-04-26 12:37:50 +00:00
"expr" : "upda_events{job=\"$job\", instance=~\"$instance\"}" ,
"instant" : false ,
"legendFormat" : "Total" ,
2023-12-21 18:31:46 +00:00
"range" : true ,
"refId" : "A"
}
] ,
2024-04-26 12:37:50 +00:00
"title" : "Events" ,
2023-12-21 18:31:46 +00:00
"type" : "stat"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
}
]
} ,
"unit" : "none"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
2024-04-26 12:37:50 +00:00
"h" : 5 ,
2023-12-21 18:31:46 +00:00
"w" : 2 ,
2024-04-26 12:37:50 +00:00
"x" : 10 ,
"y" : 1
2023-12-21 18:31:46 +00:00
} ,
2024-04-26 12:37:50 +00:00
"id" : 39 ,
2023-12-21 18:31:46 +00:00
"options" : {
"colorMode" : "value" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "auto" ,
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
} ,
2024-04-26 12:37:50 +00:00
"showPercentChange" : false ,
"textMode" : "auto" ,
"wideLayout" : true
2023-12-21 18:31:46 +00:00
} ,
2024-04-26 12:37:50 +00:00
"pluginVersion" : "10.4.0" ,
2023-12-21 18:31:46 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"editorMode" : "code" ,
2024-04-26 12:37:50 +00:00
"expr" : "upda_webhooks{job=\"$job\", instance=~\"$instance\"}" ,
2023-12-21 18:31:46 +00:00
"instant" : false ,
"legendFormat" : "Total" ,
"range" : true ,
"refId" : "A"
}
] ,
2024-04-26 12:37:50 +00:00
"title" : "Webhooks" ,
2023-12-21 18:31:46 +00:00
"type" : "stat"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
}
]
} ,
"unit" : "none"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
2024-04-26 12:37:50 +00:00
"h" : 5 ,
2023-12-21 18:31:46 +00:00
"w" : 2 ,
2024-04-26 12:37:50 +00:00
"x" : 12 ,
"y" : 1
2023-12-21 18:31:46 +00:00
} ,
2024-04-26 12:37:50 +00:00
"id" : 53 ,
2023-12-21 18:31:46 +00:00
"options" : {
"colorMode" : "value" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "auto" ,
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
} ,
2024-04-26 12:37:50 +00:00
"showPercentChange" : false ,
"textMode" : "auto" ,
"wideLayout" : true
2023-12-21 18:31:46 +00:00
} ,
2024-04-26 12:37:50 +00:00
"pluginVersion" : "10.4.0" ,
2023-12-21 18:31:46 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"editorMode" : "code" ,
2024-04-26 12:37:50 +00:00
"expr" : "upda_actions{job=\"$job\", instance=~\"$instance\"}" ,
2023-12-21 18:31:46 +00:00
"instant" : false ,
"legendFormat" : "Total" ,
"range" : true ,
"refId" : "A"
}
] ,
2024-04-26 12:37:50 +00:00
"title" : "Actions" ,
2023-12-21 18:31:46 +00:00
"type" : "stat"
} ,
{
"collapsed" : false ,
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
2024-04-26 12:37:50 +00:00
"y" : 6
2023-12-21 18:31:46 +00:00
} ,
"id" : 34 ,
"panels" : [ ] ,
"title" : "HTTP" ,
"type" : "row"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
}
]
} ,
"unit" : "none"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 9 ,
"x" : 0 ,
2024-04-26 12:37:50 +00:00
"y" : 7
2023-12-21 18:31:46 +00:00
} ,
"id" : 28 ,
"options" : {
2023-12-22 12:13:44 +00:00
"colorMode" : "value" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "auto" ,
2023-12-21 18:31:46 +00:00
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
} ,
2024-04-26 12:37:50 +00:00
"showPercentChange" : false ,
"textMode" : "auto" ,
"wideLayout" : true
2023-12-21 18:31:46 +00:00
} ,
2024-04-26 12:37:50 +00:00
"pluginVersion" : "10.4.0" ,
2023-12-21 18:31:46 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"editorMode" : "code" ,
"expr" : "promhttp_metric_handler_requests_total{job=\"$job\", instance=~\"$instance\"}" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
2023-12-22 12:13:44 +00:00
"legendFormat" : "{{code}}" ,
2023-12-21 18:31:46 +00:00
"range" : true ,
"refId" : "A"
}
] ,
2023-12-22 12:13:44 +00:00
"title" : "Request Count per status code" ,
"type" : "stat"
2023-12-21 18:31:46 +00:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "none"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 15 ,
"x" : 9 ,
2024-04-26 12:37:50 +00:00
"y" : 7
2023-12-21 18:31:46 +00:00
} ,
2024-04-26 12:37:50 +00:00
"id" : 31 ,
2023-12-21 18:31:46 +00:00
"options" : {
"displayMode" : "gradient" ,
2024-04-26 12:37:50 +00:00
"maxVizHeight" : 300 ,
2023-12-21 18:31:46 +00:00
"minVizHeight" : 10 ,
"minVizWidth" : 0 ,
2024-04-26 12:37:50 +00:00
"namePlacement" : "auto" ,
2023-12-21 18:31:46 +00:00
"orientation" : "horizontal" ,
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
} ,
"showUnfilled" : true ,
2024-04-26 12:37:50 +00:00
"sizing" : "auto" ,
2023-12-21 18:31:46 +00:00
"valueMode" : "color"
} ,
2024-04-26 12:37:50 +00:00
"pluginVersion" : "10.4.0" ,
2023-12-21 18:31:46 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"editorMode" : "code" ,
2024-04-26 12:37:50 +00:00
"expr" : "upda_requests_total{job=\"$job\", instance=~\"$instance\"}" ,
2023-12-21 18:31:46 +00:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
2024-04-26 12:37:50 +00:00
"legendFormat" : "{{code}} | {{method}} | {{path}}" ,
2023-12-21 18:31:46 +00:00
"range" : true ,
"refId" : "A"
}
] ,
2024-04-26 12:37:50 +00:00
"title" : "Request Total" ,
2023-12-21 18:31:46 +00:00
"type" : "bargauge"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
}
]
} ,
2023-12-22 12:13:44 +00:00
"unit" : "bytes"
2023-12-21 18:31:46 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 4 ,
"w" : 3 ,
"x" : 0 ,
2024-04-26 12:37:50 +00:00
"y" : 15
2023-12-21 18:31:46 +00:00
} ,
"id" : 29 ,
"options" : {
"colorMode" : "value" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "auto" ,
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
} ,
2024-04-26 12:37:50 +00:00
"showPercentChange" : false ,
"textMode" : "auto" ,
"wideLayout" : true
2023-12-21 18:31:46 +00:00
} ,
2024-04-26 12:37:50 +00:00
"pluginVersion" : "10.4.0" ,
2023-12-21 18:31:46 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"editorMode" : "code" ,
"expr" : "upda_request_size_bytes_sum{job=\"$job\", instance=~\"$instance\"}" ,
"instant" : false ,
"legendFormat" : "__auto" ,
"range" : true ,
"refId" : "A"
}
] ,
"title" : "Sum Request Size" ,
"type" : "stat"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
}
]
} ,
2023-12-22 12:13:44 +00:00
"unit" : "bytes"
2023-12-21 18:31:46 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 4 ,
"w" : 3 ,
"x" : 3 ,
2024-04-26 12:37:50 +00:00
"y" : 15
2023-12-21 18:31:46 +00:00
} ,
"id" : 27 ,
"options" : {
"colorMode" : "value" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "auto" ,
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
} ,
2024-04-26 12:37:50 +00:00
"showPercentChange" : false ,
"textMode" : "auto" ,
"wideLayout" : true
2023-12-21 18:31:46 +00:00
} ,
2024-04-26 12:37:50 +00:00
"pluginVersion" : "10.4.0" ,
2023-12-21 18:31:46 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"editorMode" : "code" ,
"expr" : "upda_response_size_bytes_sum{job=\"$job\", instance=~\"$instance\"}" ,
"instant" : false ,
"legendFormat" : "__auto" ,
"range" : true ,
"refId" : "A"
}
] ,
"title" : "Sum Response Size" ,
"type" : "stat"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
}
]
} ,
"unit" : "none"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 4 ,
"w" : 3 ,
"x" : 6 ,
2024-04-26 12:37:50 +00:00
"y" : 15
2023-12-21 18:31:46 +00:00
} ,
"id" : 30 ,
"options" : {
"colorMode" : "value" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "auto" ,
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
} ,
2024-04-26 12:37:50 +00:00
"showPercentChange" : false ,
"textMode" : "auto" ,
"wideLayout" : true
2023-12-21 18:31:46 +00:00
} ,
2024-04-26 12:37:50 +00:00
"pluginVersion" : "10.4.0" ,
2023-12-21 18:31:46 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"editorMode" : "code" ,
"expr" : "promhttp_metric_handler_requests_in_flight{job=\"$job\", instance=~\"$instance\"}" ,
"instant" : false ,
"legendFormat" : "__auto" ,
"range" : true ,
"refId" : "A"
}
] ,
"title" : "Requests in flight" ,
"type" : "stat"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "none"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 15 ,
"x" : 9 ,
2024-04-26 12:37:50 +00:00
"y" : 15
2023-12-21 18:31:46 +00:00
} ,
2024-04-26 12:37:50 +00:00
"id" : 40 ,
2023-12-21 18:31:46 +00:00
"options" : {
"displayMode" : "gradient" ,
2024-04-26 12:37:50 +00:00
"maxVizHeight" : 300 ,
2023-12-21 18:31:46 +00:00
"minVizHeight" : 10 ,
"minVizWidth" : 0 ,
2024-04-26 12:37:50 +00:00
"namePlacement" : "auto" ,
2023-12-21 18:31:46 +00:00
"orientation" : "horizontal" ,
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
} ,
"showUnfilled" : true ,
2024-04-26 12:37:50 +00:00
"sizing" : "auto" ,
2023-12-21 18:31:46 +00:00
"valueMode" : "color"
} ,
2024-04-26 12:37:50 +00:00
"pluginVersion" : "10.4.0" ,
2023-12-21 18:31:46 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"editorMode" : "code" ,
2024-04-26 12:37:50 +00:00
"expr" : "upda_request_duration_count{job=\"$job\", instance=~\"$instance\"}" ,
2023-12-21 18:31:46 +00:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
2024-04-26 12:37:50 +00:00
"legendFormat" : "{{method}} | {{path}}" ,
2023-12-21 18:31:46 +00:00
"range" : true ,
"refId" : "A"
}
] ,
2024-04-26 12:37:50 +00:00
"title" : "Request Duration Count" ,
2023-12-21 18:31:46 +00:00
"type" : "bargauge"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
}
]
} ,
"unit" : "bytes"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 4 ,
"w" : 3 ,
"x" : 0 ,
2024-04-26 12:37:50 +00:00
"y" : 19
2023-12-21 18:31:46 +00:00
} ,
"id" : 33 ,
"options" : {
"colorMode" : "value" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "auto" ,
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
} ,
2024-04-26 12:37:50 +00:00
"showPercentChange" : false ,
"textMode" : "auto" ,
"wideLayout" : true
2023-12-21 18:31:46 +00:00
} ,
2024-04-26 12:37:50 +00:00
"pluginVersion" : "10.4.0" ,
2023-12-21 18:31:46 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"editorMode" : "code" ,
"expr" : "(upda_request_size_bytes_sum{job=\"$job\", instance=~\"$instance\"})/upda_request_size_bytes_count{job=\"$job\", instance=~\"$instance\"}" ,
"instant" : false ,
"legendFormat" : "__auto" ,
"range" : true ,
"refId" : "A"
}
] ,
"title" : "Avg. Size / Request" ,
"type" : "stat"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
}
]
} ,
"unit" : "bytes"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 4 ,
"w" : 3 ,
"x" : 3 ,
2024-04-26 12:37:50 +00:00
"y" : 19
2023-12-21 18:31:46 +00:00
} ,
"id" : 32 ,
"options" : {
"colorMode" : "value" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "auto" ,
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
} ,
2024-04-26 12:37:50 +00:00
"showPercentChange" : false ,
"textMode" : "auto" ,
"wideLayout" : true
2023-12-21 18:31:46 +00:00
} ,
2024-04-26 12:37:50 +00:00
"pluginVersion" : "10.4.0" ,
2023-12-21 18:31:46 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"editorMode" : "code" ,
"expr" : "(upda_response_size_bytes_sum{job=\"$job\", instance=~\"$instance\"})/upda_response_size_bytes_count{job=\"$job\", instance=~\"$instance\"}" ,
"instant" : false ,
"legendFormat" : "__auto" ,
"range" : true ,
"refId" : "A"
}
] ,
"title" : "Avg. Size / Response" ,
"type" : "stat"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
}
]
} ,
"unit" : "none"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 4 ,
"w" : 3 ,
"x" : 6 ,
2024-04-26 12:37:50 +00:00
"y" : 19
2023-12-21 18:31:46 +00:00
} ,
"id" : 41 ,
"options" : {
"colorMode" : "value" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "auto" ,
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
} ,
2024-04-26 12:37:50 +00:00
"showPercentChange" : false ,
"textMode" : "auto" ,
"wideLayout" : true
2023-12-21 18:31:46 +00:00
} ,
2024-04-26 12:37:50 +00:00
"pluginVersion" : "10.4.0" ,
2023-12-21 18:31:46 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"editorMode" : "code" ,
"expr" : "promhttp_metric_handler_errors_total{job=\"$job\", instance=~\"$instance\"}" ,
"instant" : false ,
"legendFormat" : "__auto" ,
"range" : true ,
"refId" : "A"
}
] ,
"title" : "Requests with error" ,
"type" : "stat"
} ,
2024-04-26 12:37:50 +00:00
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"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" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "decbytes"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 24 ,
"x" : 0 ,
"y" : 23
} ,
"id" : 46 ,
"options" : {
"legend" : {
"calcs" : [
"last" ,
"min" ,
"max" ,
"mean"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
} ,
"pluginVersion" : "10.1.5" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"expr" : "go_memstats_sys_bytes{job=\"$job\", instance=~\"$instance\"}" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"refId" : "A"
}
] ,
"title" : "Total Used Memory" ,
"type" : "timeseries"
} ,
2023-12-21 18:31:46 +00:00
{
"collapsed" : false ,
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
2024-04-26 12:37:50 +00:00
"y" : 31
2023-12-21 18:31:46 +00:00
} ,
"id" : 42 ,
"panels" : [ ] ,
"title" : "Runtime" ,
"type" : "row"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-04-26 12:37:50 +00:00
"axisBorderShow" : false ,
2023-12-21 18:31:46 +00:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"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" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-04-26 12:37:50 +00:00
"color" : "green"
2023-12-21 18:31:46 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-04-26 12:37:50 +00:00
"unit" : "decbytes" ,
"unitScale" : true
2023-12-21 18:31:46 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2024-04-26 12:37:50 +00:00
"y" : 32
2023-12-21 18:31:46 +00:00
} ,
"id" : 43 ,
"options" : {
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
} ,
"pluginVersion" : "10.1.5" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"expr" : "go_memstats_mspan_inuse_bytes{job=\"$job\", instance=~\"$instance\"}" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"refId" : "A"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"expr" : "go_memstats_mspan_sys_bytes{job=\"$job\", instance=~\"$instance\"}" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"refId" : "B"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"expr" : "go_memstats_mcache_inuse_bytes{job=\"$job\", instance=~\"$instance\"}" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"refId" : "C"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"expr" : "go_memstats_mcache_sys_bytes{job=\"$job\", instance=~\"$instance\"}" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"refId" : "D"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"expr" : "go_memstats_buck_hash_sys_bytes{job=\"$job\", instance=~\"$instance\"}" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"refId" : "E"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"expr" : "go_memstats_gc_sys_bytes{job=\"$job\", instance=~\"$instance\"}" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"refId" : "F"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"expr" : "go_memstats_other_sys_bytes{job=\"$job\", instance=~\"$instance\"} - go_memstats_other_sys_bytes{job=\"$job\", instance=~\"$instance\"}" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "bytes of memory are used for other runtime allocations {instance={{instance}}}" ,
"refId" : "G"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"expr" : "go_memstats_next_gc_bytes{job=\"$job\", instance=~\"$instance\"}" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"refId" : "H"
}
] ,
"title" : "Memory in Off-Heap" ,
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-04-26 12:37:50 +00:00
"axisBorderShow" : false ,
2023-12-21 18:31:46 +00:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"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" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-04-26 12:37:50 +00:00
"color" : "green"
2023-12-21 18:31:46 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-04-26 12:37:50 +00:00
"unit" : "decbytes" ,
"unitScale" : true
2023-12-21 18:31:46 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2024-04-26 12:37:50 +00:00
"y" : 32
2023-12-21 18:31:46 +00:00
} ,
"id" : 44 ,
"options" : {
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
} ,
"pluginVersion" : "10.1.5" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"expr" : "go_memstats_heap_alloc_bytes{job=\"$job\", instance=~\"$instance\"}" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"refId" : "B"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"expr" : "go_memstats_heap_sys_bytes{job=\"$job\", instance=~\"$instance\"}" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"refId" : "A"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"expr" : "go_memstats_heap_idle_bytes{job=\"$job\", instance=~\"$instance\"}" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"refId" : "C"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"expr" : "go_memstats_heap_inuse_bytes{job=\"$job\", instance=~\"$instance\"}" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "" ,
"refId" : "D"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"expr" : "go_memstats_heap_released_bytes{job=\"$job\", instance=~\"$instance\"}" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"refId" : "E"
}
] ,
"title" : "Memory in Heap" ,
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-04-26 12:37:50 +00:00
"axisBorderShow" : false ,
2023-12-21 18:31:46 +00:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"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" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green"
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-04-26 12:37:50 +00:00
"unit" : "decbytes" ,
"unitScale" : true
2023-12-21 18:31:46 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2024-04-26 12:37:50 +00:00
"y" : 40
2023-12-21 18:31:46 +00:00
} ,
"id" : 45 ,
"options" : {
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
} ,
"pluginVersion" : "10.1.5" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"expr" : "go_memstats_stack_inuse_bytes{job=\"$job\", instance=~\"$instance\"}" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"refId" : "A"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"expr" : "go_memstats_stack_sys_bytes{job=\"$job\", instance=~\"$instance\"}" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"refId" : "B"
}
] ,
"title" : "Memory in Stack" ,
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
2024-04-26 12:37:50 +00:00
"description" : "shows how many heap objects are allocated. This is a counter value so you can use rate() to objects allocated/s." ,
2023-12-21 18:31:46 +00:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-04-26 12:37:50 +00:00
"axisBorderShow" : false ,
2023-12-21 18:31:46 +00:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"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" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green"
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-04-26 12:37:50 +00:00
"unit" : "short" ,
"unitScale" : true
2023-12-21 18:31:46 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2024-04-26 12:37:50 +00:00
"y" : 40
2023-12-21 18:31:46 +00:00
} ,
2024-04-26 12:37:50 +00:00
"id" : 48 ,
2023-12-21 18:31:46 +00:00
"options" : {
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
} ,
"pluginVersion" : "10.1.5" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
2024-04-26 12:37:50 +00:00
"editorMode" : "code" ,
"expr" : "rate(go_memstats_mallocs_total{job=\"$job\", instance=~\"$instance\"}[1m])" ,
2023-12-21 18:31:46 +00:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
2024-04-26 12:37:50 +00:00
"range" : true ,
2023-12-21 18:31:46 +00:00
"refId" : "A"
}
] ,
2024-04-26 12:37:50 +00:00
"title" : "Rate of Objects Allocated" ,
2023-12-21 18:31:46 +00:00
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-04-26 12:37:50 +00:00
"axisBorderShow" : false ,
2023-12-21 18:31:46 +00:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"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" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green"
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-04-26 12:37:50 +00:00
"unit" : "short" ,
"unitScale" : true
2023-12-21 18:31:46 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2024-04-26 12:37:50 +00:00
"y" : 48
2023-12-21 18:31:46 +00:00
} ,
"id" : 47 ,
"options" : {
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
} ,
"pluginVersion" : "10.1.5" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"expr" : "go_memstats_mallocs_total{job=\"$job\", instance=~\"$instance\"} - go_memstats_frees_total{job=\"$job\", instance=~\"$instance\"}" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"refId" : "A"
}
] ,
"title" : "Number of Live Objects" ,
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-04-26 12:37:50 +00:00
"axisBorderShow" : false ,
2023-12-21 18:31:46 +00:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"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" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green"
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-04-26 12:37:50 +00:00
"unit" : "short" ,
"unitScale" : true
2023-12-21 18:31:46 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2024-04-26 12:37:50 +00:00
"y" : 48
2023-12-21 18:31:46 +00:00
} ,
2024-04-26 12:37:50 +00:00
"id" : 50 ,
2023-12-21 18:31:46 +00:00
"options" : {
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
} ,
"pluginVersion" : "10.1.5" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
2024-04-26 12:37:50 +00:00
"expr" : "go_goroutines{job=\"$job\", instance=~\"$instance\"}" ,
2023-12-21 18:31:46 +00:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
"refId" : "A"
}
] ,
2024-04-26 12:37:50 +00:00
"title" : "Goroutines" ,
2023-12-21 18:31:46 +00:00
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"description" : "go_memstats_lookups_total – counts how many pointer dereferences happened. This is a counter value so you can use rate() to lookups/s." ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-04-26 12:37:50 +00:00
"axisBorderShow" : false ,
2023-12-21 18:31:46 +00:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"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" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green"
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-04-26 12:37:50 +00:00
"unit" : "ops" ,
"unitScale" : true
2023-12-21 18:31:46 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2024-04-26 12:37:50 +00:00
"y" : 56
2023-12-21 18:31:46 +00:00
} ,
"id" : 49 ,
"options" : {
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
} ,
"pluginVersion" : "10.1.5" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"expr" : "rate(go_memstats_lookups_total{job=\"$job\", instance=~\"$instance\"}[1m])" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"refId" : "A"
}
] ,
"title" : "Rate of a Pointer Dereferences" ,
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-04-26 12:37:50 +00:00
"axisBorderShow" : false ,
2023-12-21 18:31:46 +00:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"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" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green"
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-04-26 12:37:50 +00:00
"unit" : "ms" ,
"unitScale" : true
2023-12-21 18:31:46 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2024-04-26 12:37:50 +00:00
"y" : 56
2023-12-21 18:31:46 +00:00
} ,
2024-04-26 12:37:50 +00:00
"id" : 52 ,
2023-12-21 18:31:46 +00:00
"options" : {
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
} ,
"pluginVersion" : "10.1.5" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
2024-04-26 12:37:50 +00:00
"expr" : "go_gc_duration_seconds{job=\"$job\", instance=~\"$instance\"}" ,
2023-12-21 18:31:46 +00:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
"refId" : "A"
}
] ,
2024-04-26 12:37:50 +00:00
"title" : "GC duration quantile" ,
2023-12-21 18:31:46 +00:00
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-04-26 12:37:50 +00:00
"axisBorderShow" : false ,
2023-12-21 18:31:46 +00:00
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 4 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "always" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green"
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
2024-04-26 12:37:50 +00:00
"unit" : "Bps" ,
"unitScale" : true
2023-12-21 18:31:46 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2024-04-26 12:37:50 +00:00
"y" : 64
2023-12-21 18:31:46 +00:00
} ,
"id" : 51 ,
"options" : {
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
} ,
"pluginVersion" : "10.1.5" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"expr" : "rate(go_memstats_alloc_bytes_total{job=\"$job\", instance=~\"$instance\"}[1m])" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"refId" : "A"
}
] ,
"title" : "Rates of Allocation" ,
"type" : "timeseries"
}
] ,
"refresh" : "5s" ,
2024-04-26 12:37:50 +00:00
"schemaVersion" : 39 ,
2023-12-21 18:31:46 +00:00
"tags" : [ ] ,
"templating" : {
"list" : [
{
2024-04-26 12:37:50 +00:00
"current" : {
"selected" : false ,
"text" : "ando" ,
"value" : "c6248fc9-eab1-4c9b-ab39-127642bc3879"
} ,
2023-12-21 18:31:46 +00:00
"hide" : 0 ,
"includeAll" : false ,
"label" : "datasource" ,
"multi" : false ,
"name" : "DS_PROMETHEUS" ,
"options" : [ ] ,
"query" : "prometheus" ,
"queryValue" : "" ,
"refresh" : 1 ,
"regex" : "" ,
"skipUrlSync" : false ,
"type" : "datasource"
} ,
{
"current" : { } ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"definition" : "label_values(go_goroutines, job)" ,
"hide" : 0 ,
"includeAll" : false ,
"label" : "job" ,
"multi" : false ,
"name" : "job" ,
"options" : [ ] ,
"query" : "label_values(go_goroutines, job)" ,
"refresh" : 1 ,
"regex" : "" ,
"skipUrlSync" : false ,
"sort" : 0 ,
"tagValuesQuery" : "" ,
"tagsQuery" : "" ,
"type" : "query" ,
"useTags" : false
} ,
{
"current" : { } ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"definition" : "label_values(go_goroutines{job=\"$job\"}, instance)" ,
"hide" : 0 ,
"includeAll" : true ,
"label" : "instance" ,
"multi" : true ,
"name" : "instance" ,
"options" : [ ] ,
"query" : "label_values(go_goroutines{job=\"$job\"}, instance)" ,
"refresh" : 1 ,
"regex" : "" ,
"skipUrlSync" : false ,
"sort" : 0 ,
"tagValuesQuery" : "" ,
"tagsQuery" : "" ,
"type" : "query" ,
"useTags" : false
}
]
} ,
"time" : {
2024-04-26 12:37:50 +00:00
"from" : "now-1h" ,
2023-12-21 18:31:46 +00:00
"to" : "now"
} ,
"timepicker" : {
"refresh_intervals" : [
"5s" ,
"10s" ,
"30s" ,
"1m" ,
"5m" ,
"15m" ,
"30m" ,
"1h" ,
"2h" ,
"1d"
] ,
"time_options" : [
"5m" ,
"15m" ,
"1h" ,
"6h" ,
"12h" ,
"24h" ,
"2d" ,
"7d" ,
"30d"
]
} ,
"timezone" : "" ,
"title" : "upda" ,
"uid" : "CgCw8jKZ8" ,
2024-04-26 12:37:50 +00:00
"version" : 16 ,
2023-12-21 18:31:46 +00:00
"weekStart" : ""
}