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