2018-06-06 12:54:03 +00:00
{
"__inputs" : [
{
"name" : "DS_PROMETHEUS" ,
2022-11-08 14:32:06 +00:00
"label" : "Prometheus" ,
2018-06-06 12:54:03 +00:00
"description" : "" ,
"type" : "datasource" ,
"pluginId" : "prometheus" ,
"pluginName" : "Prometheus"
}
] ,
2022-11-08 14:32:06 +00:00
"__elements" : { } ,
2018-06-06 12:54:03 +00:00
"__requires" : [
{
"type" : "grafana" ,
"id" : "grafana" ,
"name" : "Grafana" ,
2022-11-08 14:32:06 +00:00
"version" : "9.2.2"
2018-06-06 12:54:03 +00:00
} ,
{
"type" : "panel" ,
2022-11-08 14:32:06 +00:00
"id" : "piechart" ,
"name" : "Pie chart" ,
"version" : ""
2018-06-06 12:54:03 +00:00
} ,
{
"type" : "datasource" ,
"id" : "prometheus" ,
"name" : "Prometheus" ,
2022-11-08 14:32:06 +00:00
"version" : "1.0.0"
} ,
{
"type" : "panel" ,
"id" : "stat" ,
"name" : "Stat" ,
"version" : ""
} ,
{
"type" : "panel" ,
"id" : "timeseries" ,
"name" : "Time series" ,
"version" : ""
2018-06-06 12:54:03 +00:00
}
] ,
"annotations" : {
"list" : [
{
"builtIn" : 1 ,
2022-11-08 14:32:06 +00:00
"datasource" : {
"type" : "grafana" ,
"uid" : "-- Grafana --"
} ,
2018-06-06 12:54:03 +00:00
"enable" : true ,
"hide" : true ,
"iconColor" : "rgba(0, 211, 255, 1)" ,
"name" : "Annotations & Alerts" ,
2022-11-08 14:32:06 +00:00
"target" : {
"limit" : 100 ,
"matchAny" : false ,
"tags" : [ ] ,
"type" : "dashboard"
} ,
2018-06-06 12:54:03 +00:00
"type" : "dashboard"
}
]
} ,
"editable" : true ,
2022-11-08 14:32:06 +00:00
"fiscalYearStartMonth" : 0 ,
"graphTooltip" : 0 ,
2018-06-06 12:54:03 +00:00
"id" : null ,
"links" : [ ] ,
2022-11-08 14:32:06 +00:00
"liveNow" : false ,
2018-06-06 12:54:03 +00:00
"panels" : [
{
"collapsed" : false ,
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
"y" : 0
} ,
2022-11-08 14:32:06 +00:00
"id" : 9 ,
2018-06-06 12:54:03 +00:00
"panels" : [ ] ,
"title" : "General" ,
"type" : "row"
} ,
{
2022-11-08 14:32:06 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"description" : "" ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
}
} ,
"overrides" : [ ]
} ,
2018-06-06 12:54:03 +00:00
"gridPos" : {
2022-11-08 14:32:06 +00:00
"h" : 2 ,
"w" : 5 ,
2018-06-06 12:54:03 +00:00
"x" : 0 ,
"y" : 1
} ,
2022-11-08 14:32:06 +00:00
"id" : 13 ,
"options" : {
"colorMode" : "value" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "auto" ,
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
} ,
"textMode" : "auto"
2018-06-06 12:54:03 +00:00
} ,
2022-11-08 14:32:06 +00:00
"pluginVersion" : "9.2.2" ,
2018-06-06 12:54:03 +00:00
"targets" : [
{
2022-11-08 14:32:06 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"editorMode" : "code" ,
"expr" : "count(traefik_config_reloads_total)" ,
"legendFormat" : "__auto" ,
"range" : true ,
2018-06-06 12:54:03 +00:00
"refId" : "A"
}
] ,
2022-11-08 14:32:06 +00:00
"title" : "Traefik Instances" ,
"type" : "stat"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"description" : "" ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : 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
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "reqps"
} ,
"overrides" : [ ]
2018-06-06 12:54:03 +00:00
} ,
2022-11-08 14:32:06 +00:00
"gridPos" : {
"h" : 8 ,
"w" : 7 ,
"x" : 5 ,
"y" : 1
2018-06-06 12:54:03 +00:00
} ,
2022-11-08 14:32:06 +00:00
"id" : 7 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Max" ,
"sortDesc" : true
2018-06-06 12:54:03 +00:00
} ,
2022-11-08 14:32:06 +00:00
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"targets" : [
2018-06-06 12:54:03 +00:00
{
2022-11-08 14:32:06 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"editorMode" : "code" ,
"expr" : "sum(rate(traefik_entrypoint_requests_total{entrypoint=~\"$entrypoint\"}[1m])) by (entrypoint)" ,
"legendFormat" : "{{entrypoint}}" ,
"range" : true ,
"refId" : "A"
2018-06-06 12:54:03 +00:00
}
] ,
2022-11-08 14:32:06 +00:00
"title" : "Requests per Entrypoint" ,
"type" : "timeseries"
2018-06-06 12:54:03 +00:00
} ,
{
2022-11-08 14:32:06 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"description" : "https://medium.com/@tristan_96324/prometheus-apdex-alerting-d17a065e39d0" ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : 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
} ,
{
"color" : "red" ,
"value" : 80
}
]
}
} ,
"overrides" : [ ]
} ,
2018-06-06 12:54:03 +00:00
"gridPos" : {
2022-11-08 14:32:06 +00:00
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
"y" : 1
2018-06-06 12:54:03 +00:00
} ,
2022-11-08 14:32:06 +00:00
"id" : 6 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true ,
"sortBy" : "Max" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
2018-06-06 12:54:03 +00:00
} ,
"targets" : [
{
2022-11-08 14:32:06 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"editorMode" : "code" ,
"expr" : "(sum(rate(traefik_entrypoint_request_duration_seconds_bucket{le=\"0.3\",code=\"200\",entrypoint=~\"$entrypoint\"}[5m])) by (method) + \n sum(rate(traefik_entrypoint_request_duration_seconds_bucket{le=\"1.2\",code=\"200\",entrypoint=~\"$entrypoint\"}[5m])) by (method)) / 2 / \n sum(rate(traefik_entrypoint_request_duration_seconds_count{code=\"200\",entrypoint=~\"$entrypoint\"}[5m])) by (method)\n" ,
"legendFormat" : "{{method}}" ,
"range" : true ,
2018-06-06 12:54:03 +00:00
"refId" : "A"
}
] ,
2022-11-08 14:32:06 +00:00
"title" : "Apdex score" ,
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
2018-06-06 12:54:03 +00:00
} ,
2022-11-08 14:32:06 +00:00
"description" : "Mean Distribution" ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
}
} ,
"mappings" : [ ] ,
"unit" : "reqps"
} ,
"overrides" : [ ]
2018-06-06 12:54:03 +00:00
} ,
2022-11-08 14:32:06 +00:00
"gridPos" : {
"h" : 6 ,
"w" : 5 ,
"x" : 0 ,
"y" : 3
} ,
"id" : 14 ,
"options" : {
"legend" : {
"displayMode" : "list" ,
"placement" : "right" ,
"showLegend" : true ,
"values" : [
"percent"
]
2018-06-06 12:54:03 +00:00
} ,
2022-11-08 14:32:06 +00:00
"pieType" : "pie" ,
"reduceOptions" : {
"calcs" : [
"mean"
] ,
"fields" : "" ,
"values" : false
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "asc"
}
} ,
"targets" : [
2018-06-06 12:54:03 +00:00
{
2022-11-08 14:32:06 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"editorMode" : "code" ,
"expr" : "sum(rate(traefik_service_requests_total{service=~\"$service.*\",protocol=\"http\"}[1m])) by (method, code)" ,
"legendFormat" : "{{method}}[{{code}}]" ,
"range" : true ,
"refId" : "A"
2018-06-06 12:54:03 +00:00
}
] ,
2022-11-08 14:32:06 +00:00
"title" : "Http Code " ,
"type" : "piechart"
2018-06-06 12:54:03 +00:00
} ,
{
2022-11-08 14:32:06 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
2018-06-06 12:54:03 +00:00
} ,
2022-11-08 14:32:06 +00:00
"description" : "" ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
2018-06-06 12:54:03 +00:00
} ,
2022-11-08 14:32:06 +00:00
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "auto" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
2018-06-06 12:54:03 +00:00
}
} ,
2022-11-08 14:32:06 +00:00
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
2018-06-06 12:54:03 +00:00
} ,
2022-11-08 14:32:06 +00:00
"unit" : "ms"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
"y" : 9
} ,
"id" : 23 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"max"
2018-06-06 12:54:03 +00:00
] ,
2022-11-08 14:32:06 +00:00
"displayMode" : "table" ,
"placement" : "right" ,
"showLegend" : true ,
"sortBy" : "Mean" ,
"sortDesc" : true
2018-06-06 12:54:03 +00:00
} ,
2022-11-08 14:32:06 +00:00
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"targets" : [
2018-06-06 12:54:03 +00:00
{
2022-11-08 14:32:06 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
2018-06-06 12:54:03 +00:00
} ,
2022-11-08 14:32:06 +00:00
"editorMode" : "code" ,
"expr" : "topk(15,\n label_replace(\n traefik_service_request_duration_seconds_sum{service=~\"$service.*\",protocol=\"http\"} / \n traefik_service_request_duration_seconds_count{service=~\"$service.*\",protocol=\"http\"},\n \"service\", \"$1\", \"service\", \"([^-]+-[^-]+).*\")\n)\n\n" ,
"legendFormat" : "{{method}}[{{code}}] on {{service}}" ,
"range" : true ,
"refId" : "A"
}
] ,
"title" : "Top slow services" ,
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"description" : "" ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
2018-06-06 12:54:03 +00:00
} ,
2022-11-08 14:32:06 +00:00
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "auto" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
2018-06-06 12:54:03 +00:00
}
} ,
2022-11-08 14:32:06 +00:00
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
2018-06-06 12:54:03 +00:00
} ,
2022-11-08 14:32:06 +00:00
"unit" : "reqps"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
"y" : 9
} ,
"id" : 5 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"max"
2018-06-06 12:54:03 +00:00
] ,
2022-11-08 14:32:06 +00:00
"displayMode" : "table" ,
"placement" : "right" ,
"showLegend" : true ,
"sortBy" : "Mean" ,
"sortDesc" : true
2020-08-27 09:38:03 +00:00
} ,
2022-11-08 14:32:06 +00:00
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"targets" : [
2020-08-27 09:38:03 +00:00
{
2022-11-08 14:32:06 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
2020-08-27 09:38:03 +00:00
} ,
2022-11-08 14:32:06 +00:00
"editorMode" : "code" ,
"expr" : "topk(15,\n label_replace(\n sum by (service,code) \n (rate(traefik_service_requests_total{service=~\"$service.*\",protocol=\"http\"}[5m])) > 0,\n \"service\", \"$1\", \"service\", \"([^-]+-[^-]+).*\")\n)" ,
"legendFormat" : "[{{code}}] on {{service}}" ,
"range" : true ,
"refId" : "A"
2018-06-06 12:54:03 +00:00
}
] ,
2022-11-08 14:32:06 +00:00
"title" : "Most requested services" ,
"type" : "timeseries"
2018-06-06 12:54:03 +00:00
} ,
{
"collapsed" : true ,
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
2022-11-08 14:32:06 +00:00
"y" : 17
2018-06-06 12:54:03 +00:00
} ,
2022-11-08 14:32:06 +00:00
"id" : 11 ,
2018-06-06 12:54:03 +00:00
"panels" : [
{
2022-11-08 14:32:06 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"description" : "" ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : 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
}
]
} ,
"unit" : "percentunit"
} ,
"overrides" : [ ]
} ,
2018-06-06 12:54:03 +00:00
"gridPos" : {
2022-11-08 14:32:06 +00:00
"h" : 8 ,
2018-06-06 12:54:03 +00:00
"w" : 12 ,
"x" : 0 ,
2022-11-08 14:32:06 +00:00
"y" : 18
2018-06-06 12:54:03 +00:00
} ,
2022-11-08 14:32:06 +00:00
"id" : 3 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "right" ,
"showLegend" : true ,
"sortBy" : "Max" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
2018-06-06 12:54:03 +00:00
} ,
"targets" : [
{
2022-11-08 14:32:06 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"editorMode" : "code" ,
"expr" : "label_replace(\n 1 - (sum by (service)\n (rate(traefik_service_request_duration_seconds_bucket{le=\"1.2\",service=~\"$service.*\"}[5m])) / sum by (service) \n (rate(traefik_service_request_duration_seconds_count{service=~\"$service.*\"}[5m]))\n ) > 0,\n \"service\", \"$1\", \"service\", \"([^-]+-[^-]+).*\"\n)" ,
"legendFormat" : "{{service}}" ,
"range" : true ,
2018-06-06 12:54:03 +00:00
"refId" : "A"
}
] ,
2022-11-08 14:32:06 +00:00
"title" : "Services failing SLO of 1200ms" ,
"type" : "timeseries"
2018-06-06 12:54:03 +00:00
} ,
{
2022-11-08 14:32:06 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"description" : "" ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : 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
}
]
} ,
"unit" : "percentunit"
} ,
"overrides" : [ ]
} ,
2018-06-06 12:54:03 +00:00
"gridPos" : {
2022-11-08 14:32:06 +00:00
"h" : 8 ,
2018-06-06 12:54:03 +00:00
"w" : 12 ,
"x" : 12 ,
2022-11-08 14:32:06 +00:00
"y" : 18
2018-06-06 12:54:03 +00:00
} ,
2022-11-08 14:32:06 +00:00
"id" : 4 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "right" ,
"showLegend" : true ,
"sortBy" : "Max" ,
"sortDesc" : true
2018-06-06 12:54:03 +00:00
} ,
2022-11-08 14:32:06 +00:00
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
2018-06-06 12:54:03 +00:00
}
} ,
"targets" : [
{
2022-11-08 14:32:06 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"editorMode" : "code" ,
"expr" : "label_replace(\n 1 - (sum by (service)\n (rate(traefik_service_request_duration_seconds_bucket{le=\"0.3\",service=~\"$service.*\"}[5m])) / sum by (service) \n (rate(traefik_service_request_duration_seconds_count{service=~\"$service.*\"}[5m]))\n ) > 0,\n \"service\", \"$1\", \"service\", \"([^-]+-[^-]+).*\"\n)" ,
"legendFormat" : "{{service}}" ,
"range" : true ,
2018-06-06 12:54:03 +00:00
"refId" : "A"
}
] ,
2022-11-08 14:32:06 +00:00
"title" : "Services failing SLO of 300ms" ,
"type" : "timeseries"
2020-08-27 09:38:03 +00:00
}
] ,
2022-11-08 14:32:06 +00:00
"title" : "SLO" ,
2020-08-27 09:38:03 +00:00
"type" : "row"
} ,
{
"collapsed" : true ,
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
2022-11-08 14:32:06 +00:00
"y" : 18
2020-08-27 09:38:03 +00:00
} ,
2022-11-08 14:32:06 +00:00
"id" : 16 ,
2020-08-27 09:38:03 +00:00
"panels" : [
2018-06-06 12:54:03 +00:00
{
2022-11-08 14:32:06 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"description" : "" ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : 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
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "reqps"
} ,
"overrides" : [ ]
} ,
2018-06-06 12:54:03 +00:00
"gridPos" : {
2022-11-08 14:32:06 +00:00
"h" : 8 ,
2018-06-06 12:54:03 +00:00
"w" : 12 ,
2020-08-27 09:38:03 +00:00
"x" : 0 ,
2022-11-08 14:32:06 +00:00
"y" : 27
2018-06-06 12:54:03 +00:00
} ,
2022-11-08 14:32:06 +00:00
"id" : 17 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "right" ,
"showLegend" : true ,
"sortBy" : "Mean" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
2018-06-06 12:54:03 +00:00
} ,
"targets" : [
{
2022-11-08 14:32:06 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"editorMode" : "code" ,
"expr" : "topk(15,\n label_replace(\n sum by (service,method,code) \n (rate(traefik_service_requests_total{service=~\"$service.*\",code=~\"2..\",protocol=\"http\"}[5m])) > 0,\n \"service\", \"$1\", \"service\", \"([^-]+-[^-]+).*\")\n)" ,
"legendFormat" : "{{method}}[{{code}}] on {{service}}" ,
"range" : true ,
2018-06-06 12:54:03 +00:00
"refId" : "A"
}
] ,
2022-11-08 14:32:06 +00:00
"title" : "2xx over 5 min" ,
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
2018-06-06 12:54:03 +00:00
} ,
2022-11-08 14:32:06 +00:00
"description" : "" ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisGridShow" : true ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : 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
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "reqps"
} ,
"overrides" : [ ]
2018-06-06 12:54:03 +00:00
} ,
2022-11-08 14:32:06 +00:00
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
"y" : 27
} ,
"id" : 18 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "right" ,
"showLegend" : true ,
"sortBy" : "Mean" ,
"sortDesc" : true
2018-06-06 12:54:03 +00:00
} ,
2022-11-08 14:32:06 +00:00
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"targets" : [
2018-06-06 12:54:03 +00:00
{
2022-11-08 14:32:06 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"editorMode" : "code" ,
"expr" : "topk(15,\n label_replace(\n sum by (service,method,code) \n (rate(traefik_service_requests_total{service=~\"$service.*\",code=~\"5..\",protocol=\"http\"}[5m])) > 0,\n \"service\", \"$1\", \"service\", \"([^-]+-[^-]+).*\")\n)" ,
"legendFormat" : "{{method}}[{{code}}] on {{service}}" ,
"range" : true ,
"refId" : "A"
2018-06-06 12:54:03 +00:00
}
] ,
2022-11-08 14:32:06 +00:00
"title" : "5xx over 5 min" ,
"type" : "timeseries"
2018-06-06 12:54:03 +00:00
} ,
{
2022-11-08 14:32:06 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"description" : "" ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisGridShow" : true ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : 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
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "reqps"
} ,
"overrides" : [ ]
} ,
2018-06-06 12:54:03 +00:00
"gridPos" : {
2022-11-08 14:32:06 +00:00
"h" : 8 ,
2018-06-06 12:54:03 +00:00
"w" : 12 ,
2022-11-08 14:32:06 +00:00
"x" : 0 ,
"y" : 35
2018-06-06 12:54:03 +00:00
} ,
2022-11-08 14:32:06 +00:00
"id" : 19 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "right" ,
"showLegend" : true ,
"sortBy" : "Mean" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
2018-06-06 12:54:03 +00:00
} ,
"targets" : [
{
2022-11-08 14:32:06 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"editorMode" : "code" ,
"expr" : "topk(15,\n label_replace(\n sum by (service,method,code) \n (rate(traefik_service_requests_total{service=~\"$service.*\",code!~\"2..|5..\",protocol=\"http\"}[5m])) > 0,\n \"service\", \"$1\", \"service\", \"([^-]+-[^-]+).*\")\n)" ,
"legendFormat" : "{{method}}[{{code}}] on {{service}}" ,
"range" : true ,
2018-06-06 12:54:03 +00:00
"refId" : "A"
}
] ,
2022-11-08 14:32:06 +00:00
"title" : "Other codes over 5 min" ,
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
2018-06-06 12:54:03 +00:00
} ,
2022-11-08 14:32:06 +00:00
"description" : "" ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisGridShow" : true ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : 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
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "binBps"
} ,
"overrides" : [ ]
2018-06-06 12:54:03 +00:00
} ,
2022-11-08 14:32:06 +00:00
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
"y" : 35
} ,
"id" : 20 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "right" ,
"showLegend" : true ,
"sortBy" : "Mean" ,
"sortDesc" : true
2018-06-06 12:54:03 +00:00
} ,
2022-11-08 14:32:06 +00:00
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"targets" : [
2018-06-06 12:54:03 +00:00
{
2022-11-08 14:32:06 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"editorMode" : "code" ,
"expr" : "topk(15,\n label_replace(\n sum by (service,method) \n (rate(traefik_service_requests_bytes_total{service=~\"$service.*\",protocol=\"http\"}[1m])) > 0,\n \"service\", \"$1\", \"service\", \"([^-]+-[^-]+).*\")\n)" ,
"legendFormat" : "{{method}} on {{service}}" ,
"range" : true ,
"refId" : "A"
2018-06-06 12:54:03 +00:00
}
] ,
2022-11-08 14:32:06 +00:00
"title" : "Requests Size" ,
"type" : "timeseries"
2018-06-06 12:54:03 +00:00
} ,
{
2022-11-08 14:32:06 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"description" : "" ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : 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
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
} ,
"overrides" : [ ]
} ,
2018-06-06 12:54:03 +00:00
"gridPos" : {
2022-11-08 14:32:06 +00:00
"h" : 8 ,
2018-06-06 12:54:03 +00:00
"w" : 12 ,
2020-08-27 09:38:03 +00:00
"x" : 0 ,
2022-11-08 14:32:06 +00:00
"y" : 43
2018-06-06 12:54:03 +00:00
} ,
2022-11-08 14:32:06 +00:00
"id" : 2 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "right" ,
"showLegend" : true ,
"sortBy" : "Max" ,
"sortDesc" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
2018-06-06 12:54:03 +00:00
} ,
"targets" : [
{
2022-11-08 14:32:06 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"editorMode" : "code" ,
"expr" : "label_replace(\n sum(traefik_service_open_connections{service=~\"$service.*\"}) by (service),\n \"service\", \"$1\", \"service\", \"([^-]+-[^-]+).*\")" ,
"legendFormat" : "{{service}}" ,
"range" : true ,
2018-06-06 12:54:03 +00:00
"refId" : "A"
}
] ,
2022-11-08 14:32:06 +00:00
"title" : "Connections per Service" ,
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
2018-06-06 12:54:03 +00:00
} ,
2022-11-08 14:32:06 +00:00
"description" : "" ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : 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
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
} ,
"overrides" : [ ]
2018-06-06 12:54:03 +00:00
} ,
2022-11-08 14:32:06 +00:00
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
"y" : 43
} ,
"id" : 21 ,
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"max"
] ,
"displayMode" : "table" ,
"placement" : "right" ,
"showLegend" : true ,
"sortBy" : "Max" ,
"sortDesc" : true
2018-06-06 12:54:03 +00:00
} ,
2022-11-08 14:32:06 +00:00
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"targets" : [
2018-06-06 12:54:03 +00:00
{
2022-11-08 14:32:06 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"editorMode" : "code" ,
"expr" : "sum(traefik_entrypoint_open_connections{entrypoint=~\"$entrypoint\"}) by (entrypoint)\n" ,
"legendFormat" : "{{entrypoint}}" ,
"range" : true ,
"refId" : "A"
2018-06-06 12:54:03 +00:00
}
] ,
2022-11-08 14:32:06 +00:00
"title" : "Connections per Entrypoint" ,
"type" : "timeseries"
2018-06-06 12:54:03 +00:00
}
] ,
2022-11-08 14:32:06 +00:00
"title" : "HTTP Details" ,
2018-06-06 12:54:03 +00:00
"type" : "row"
}
] ,
2022-11-08 14:32:06 +00:00
"refresh" : false ,
"schemaVersion" : 37 ,
2018-06-06 12:54:03 +00:00
"style" : "dark" ,
2022-11-08 14:32:06 +00:00
"tags" : [ ] ,
2018-06-06 12:54:03 +00:00
"templating" : {
"list" : [
{
"current" : {
2022-11-08 14:32:06 +00:00
"selected" : false ,
"text" : "Prometheus" ,
"value" : "Prometheus"
2018-06-06 12:54:03 +00:00
} ,
"hide" : 0 ,
"includeAll" : false ,
"multi" : false ,
2022-11-08 14:32:06 +00:00
"name" : "datasource" ,
"options" : [ ] ,
"query" : "prometheus" ,
"refresh" : 1 ,
"regex" : "" ,
"skipUrlSync" : false ,
"type" : "datasource"
} ,
{
"current" : { } ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"definition" : "label_values(traefik_entrypoint_open_connections, entrypoint)" ,
"hide" : 0 ,
"includeAll" : true ,
"multi" : false ,
"name" : "entrypoint" ,
"options" : [ ] ,
"query" : {
"query" : "label_values(traefik_entrypoint_open_connections, entrypoint)" ,
"refId" : "StandardVariableQuery"
} ,
"refresh" : 1 ,
"regex" : "" ,
"skipUrlSync" : false ,
"sort" : 0 ,
"type" : "query"
} ,
{
"current" : { } ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"definition" : "label_values(traefik_service_open_connections, service)" ,
"hide" : 0 ,
"includeAll" : true ,
"multi" : false ,
"name" : "service" ,
"options" : [ ] ,
"query" : {
"query" : "label_values(traefik_service_open_connections, service)" ,
"refId" : "StandardVariableQuery"
} ,
"refresh" : 2 ,
"regex" : "/([^-]+-[^-]+).*/" ,
"skipUrlSync" : false ,
"sort" : 1 ,
"type" : "query"
2018-06-06 12:54:03 +00:00
}
]
} ,
"time" : {
2022-11-08 14:32:06 +00:00
"from" : "now-6h" ,
2018-06-06 12:54:03 +00:00
"to" : "now"
} ,
2022-11-08 14:32:06 +00:00
"timepicker" : { } ,
2018-06-06 12:54:03 +00:00
"timezone" : "" ,
2022-11-08 14:32:06 +00:00
"title" : "Traefik Official Standalone Dashboard" ,
"uid" : "n5bu_kv4k" ,
"version" : 3 ,
"weekStart" : ""
2018-06-06 12:54:03 +00:00
}