2018-06-06 12:54:03 +00:00
{
"__inputs" : [
{
"name" : "DS_PROMETHEUS" ,
"label" : "prometheus" ,
"description" : "" ,
"type" : "datasource" ,
"pluginId" : "prometheus" ,
"pluginName" : "Prometheus"
}
] ,
"__requires" : [
{
"type" : "grafana" ,
"id" : "grafana" ,
"name" : "Grafana" ,
"version" : "5.1.1"
} ,
{
"type" : "panel" ,
"id" : "graph" ,
"name" : "Graph" ,
"version" : "5.0.0"
} ,
{
"type" : "datasource" ,
"id" : "prometheus" ,
"name" : "Prometheus" ,
"version" : "5.0.0"
} ,
{
"type" : "panel" ,
"id" : "singlestat" ,
"name" : "Singlestat" ,
"version" : "5.0.0"
}
] ,
"annotations" : {
"list" : [
{
"builtIn" : 1 ,
"datasource" : "-- Grafana --" ,
"enable" : true ,
"hide" : true ,
"iconColor" : "rgba(0, 211, 255, 1)" ,
"name" : "Annotations & Alerts" ,
"type" : "dashboard"
}
]
} ,
"description" : "Traefik dashboard prometheus" ,
"editable" : true ,
"gnetId" : 4475 ,
"graphTooltip" : 1 ,
"id" : null ,
"iteration" : 1527284418549 ,
"links" : [ ] ,
"panels" : [
{
"collapsed" : false ,
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
"y" : 0
} ,
"id" : 21 ,
"panels" : [ ] ,
"title" : "General" ,
"type" : "row"
} ,
{
"cacheTimeout" : null ,
"colorBackground" : false ,
"colorValue" : false ,
"colors" : [
"#d44a3a" ,
"rgba(237, 129, 40, 0.89)" ,
"#299c46"
] ,
"datasource" : "${DS_PROMETHEUS}" ,
"format" : "none" ,
"gauge" : {
"maxValue" : 100 ,
"minValue" : 0 ,
"show" : false ,
"thresholdLabels" : false ,
"thresholdMarkers" : true
} ,
"gridPos" : {
"h" : 7 ,
"w" : 3 ,
"x" : 0 ,
"y" : 1
} ,
"id" : 13 ,
"interval" : null ,
"links" : [ ] ,
"mappingType" : 1 ,
"mappingTypes" : [
{
"name" : "value to text" ,
"value" : 1
} ,
{
"name" : "range to text" ,
"value" : 2
}
] ,
"maxDataPoints" : 100 ,
"nullPointMode" : "connected" ,
"nullText" : null ,
"postfix" : "" ,
"postfixFontSize" : "50%" ,
"prefix" : "" ,
"prefixFontSize" : "50%" ,
"rangeMaps" : [
{
"from" : "null" ,
"text" : "N/A" ,
"to" : "null"
}
] ,
"sparkline" : {
"fillColor" : "rgba(31, 118, 189, 0.18)" ,
"full" : false ,
"lineColor" : "rgb(31, 120, 193)" ,
"show" : true
} ,
"tableColumn" : "" ,
"targets" : [
{
2020-08-27 09:38:03 +00:00
"expr" : "count(kube_pod_status_ready{condition=\"true\",pod=~\"traefik.*\"})" ,
2018-06-06 12:54:03 +00:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
"refId" : "A"
}
] ,
"thresholds" : "" ,
"title" : "Running Traefik instances" ,
"type" : "singlestat" ,
"valueFontSize" : "80%" ,
"valueMaps" : [
{
"op" : "=" ,
"text" : "N/A" ,
"value" : "null"
}
] ,
"valueName" : "current"
} ,
{
2020-08-27 09:38:03 +00:00
"aliasColors" : { } ,
2018-06-06 12:54:03 +00:00
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "${DS_PROMETHEUS}" ,
"fill" : 2 ,
"gridPos" : {
"h" : 7 ,
"w" : 21 ,
"x" : 3 ,
"y" : 1
} ,
"id" : 11 ,
"legend" : {
"avg" : true ,
"current" : false ,
"max" : true ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : true
} ,
"lines" : true ,
"linewidth" : 2 ,
"links" : [ ] ,
"nullPointMode" : "null as zero" ,
"percentage" : false ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
2020-08-27 09:38:03 +00:00
"seriesOverrides" : [ ] ,
2018-06-06 12:54:03 +00:00
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2020-08-27 09:38:03 +00:00
"expr" : "histogram_quantile(0.$percentiles, sum(rate(traefik_entrypoint_request_duration_seconds_bucket{code=~\"2..\"}[5m])) by (le))" ,
2018-06-06 12:54:03 +00:00
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
2020-08-27 09:38:03 +00:00
"legendFormat" : "Latency over 5 min" ,
2018-06-06 12:54:03 +00:00
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeShift" : null ,
"title" : "Global latency $percentiles th perc over 5 min" ,
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "s" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : "0" ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : false
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "${DS_PROMETHEUS}" ,
"fill" : 1 ,
"gridPos" : {
"h" : 7 ,
"w" : 24 ,
"x" : 0 ,
"y" : 8
} ,
"id" : 29 ,
"legend" : {
"alignAsTable" : true ,
"avg" : true ,
"current" : false ,
"max" : true ,
"min" : false ,
"rightSide" : true ,
"show" : true ,
"total" : false ,
"values" : true
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"percentage" : false ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2020-08-27 09:38:03 +00:00
"expr" : "histogram_quantile(0.$percentiles, sum(rate(traefik_entrypoint_request_duration_seconds_bucket{code=~\"2..\"}[5m])) by (instance, le))" ,
2018-06-06 12:54:03 +00:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{ instance }}" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeShift" : null ,
"title" : "Per node latency $percentiles th perc over 5 min" ,
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "s" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : "0" ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : false
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
{
"collapsed" : true ,
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
"y" : 15
} ,
"id" : 17 ,
"panels" : [
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2020-08-27 09:38:03 +00:00
"datasource" : "${DS_PROMETHEUS}" ,
2018-06-06 12:54:03 +00:00
"fill" : 7 ,
"gridPos" : {
"h" : 7 ,
"w" : 12 ,
"x" : 0 ,
"y" : 16
} ,
"id" : 19 ,
"legend" : {
"alignAsTable" : true ,
"avg" : true ,
"current" : true ,
"max" : true ,
"min" : false ,
"rightSide" : true ,
"show" : true ,
"sort" : "avg" ,
"sortDesc" : true ,
"total" : false ,
"values" : true
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"percentage" : false ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : true ,
"steppedLine" : false ,
"targets" : [
{
2020-08-27 09:38:03 +00:00
"expr" : "sum(traefik_entrypoint_open_connections) by (method)" ,
2018-06-06 12:54:03 +00:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{ method }}" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeShift" : null ,
"title" : "Open Connections" ,
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : false
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2020-08-27 09:38:03 +00:00
"datasource" : "${DS_PROMETHEUS}" ,
2018-06-06 12:54:03 +00:00
"fill" : 1 ,
"gridPos" : {
"h" : 7 ,
"w" : 12 ,
"x" : 12 ,
"y" : 16
} ,
"id" : 22 ,
"legend" : {
"alignAsTable" : true ,
"avg" : true ,
"current" : true ,
"max" : true ,
"min" : false ,
"rightSide" : true ,
"show" : true ,
"total" : false ,
"values" : true
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"percentage" : false ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2020-08-27 09:38:03 +00:00
"expr" : "(sum(rate(traefik_entrypoint_request_duration_seconds_bucket{le=\"0.1\",code=\"200\"}[5m])) by (job) + sum(rate(traefik_entrypoint_request_duration_seconds_bucket{le=\"0.3\",code=\"200\"}[5m])) by (job)) / 2 / sum(rate(traefik_entrypoint_request_duration_seconds_count{code=\"200\"}[5m])) by (job)" ,
2018-06-06 12:54:03 +00:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "Code 200" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeShift" : null ,
"title" : "Apdex score (over 5 min)" ,
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : false
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
2020-08-27 09:38:03 +00:00
} ,
{
"aliasColors" : { } ,
"bars" : true ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "${DS_PROMETHEUS}" ,
"fill" : 1 ,
"gridPos" : {
"h" : 10 ,
"w" : 24 ,
"x" : 0 ,
"y" : 23
} ,
"id" : 3 ,
"legend" : {
"alignAsTable" : true ,
"avg" : true ,
"current" : true ,
"max" : true ,
"min" : false ,
"rightSide" : false ,
"show" : true ,
"sort" : "avg" ,
"sortDesc" : true ,
"total" : false ,
"values" : true
} ,
"lines" : false ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"percentage" : false ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
"expr" : "sum(rate(traefik_entrypoint_requests_total[1m])) by (entrypoint)" ,
"format" : "time_series" ,
"intervalFactor" : 2 ,
"legendFormat" : "{{ entrypoint }}" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeShift" : null ,
"title" : "Service total requests over 1min per entrypoint" ,
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
2018-06-06 12:54:03 +00:00
}
] ,
2020-08-27 09:38:03 +00:00
"title" : "Entrypoints" ,
2018-06-06 12:54:03 +00:00
"type" : "row"
} ,
{
"collapsed" : true ,
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
2020-08-27 09:38:03 +00:00
"y" : 33
2018-06-06 12:54:03 +00:00
} ,
"id" : 24 ,
"panels" : [
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2020-08-27 09:38:03 +00:00
"datasource" : "${DS_PROMETHEUS}" ,
2018-06-06 12:54:03 +00:00
"fill" : 7 ,
"gridPos" : {
"h" : 7 ,
"w" : 12 ,
"x" : 0 ,
2020-08-27 09:38:03 +00:00
"y" : 34
2018-06-06 12:54:03 +00:00
} ,
"id" : 25 ,
"legend" : {
"alignAsTable" : true ,
"avg" : true ,
"current" : true ,
"max" : true ,
"min" : false ,
"rightSide" : true ,
"show" : true ,
"sort" : "avg" ,
"sortDesc" : true ,
"total" : false ,
"values" : true
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"percentage" : false ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : true ,
"steppedLine" : false ,
"targets" : [
{
2020-08-27 09:38:03 +00:00
"expr" : "sum(traefik_service_open_connections) by (method)" ,
2018-06-06 12:54:03 +00:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{ method }}" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeShift" : null ,
"title" : "Open Connections" ,
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : false
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2020-08-27 09:38:03 +00:00
"datasource" : "${DS_PROMETHEUS}" ,
2018-06-06 12:54:03 +00:00
"fill" : 1 ,
"gridPos" : {
"h" : 7 ,
"w" : 12 ,
"x" : 12 ,
2020-08-27 09:38:03 +00:00
"y" : 34
2018-06-06 12:54:03 +00:00
} ,
"id" : 26 ,
"legend" : {
"alignAsTable" : true ,
"avg" : true ,
"current" : true ,
"max" : true ,
"min" : false ,
"rightSide" : true ,
"show" : true ,
"total" : false ,
"values" : true
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"percentage" : false ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2020-08-27 09:38:03 +00:00
"expr" : "(sum(rate(traefik_service_request_duration_seconds_bucket{le=\"0.1\",code=\"200\"}[5m])) by (job) + sum(rate(traefik_service_request_duration_seconds_bucket{le=\"0.3\",code=\"200\"}[5m])) by (job)) / 2 / sum(rate(traefik_service_request_duration_seconds_count{code=\"200\"}[5m])) by (job)" ,
2018-06-06 12:54:03 +00:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "Code 200" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeShift" : null ,
"title" : "Apdex score (over 5 min)" ,
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : false
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
2020-08-27 09:38:03 +00:00
} ,
2018-06-06 12:54:03 +00:00
{
"aliasColors" : { } ,
"bars" : true ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "${DS_PROMETHEUS}" ,
"fill" : 1 ,
"gridPos" : {
2020-08-27 09:38:03 +00:00
"h" : 10 ,
"w" : 24 ,
2018-06-06 12:54:03 +00:00
"x" : 0 ,
2020-08-27 09:38:03 +00:00
"y" : 41
2018-06-06 12:54:03 +00:00
} ,
2020-08-27 09:38:03 +00:00
"id" : 4 ,
2018-06-06 12:54:03 +00:00
"legend" : {
"alignAsTable" : true ,
"avg" : true ,
"current" : true ,
"max" : true ,
"min" : false ,
2020-08-27 09:38:03 +00:00
"rightSide" : false ,
2018-06-06 12:54:03 +00:00
"show" : true ,
"sort" : "avg" ,
"sortDesc" : true ,
"total" : false ,
"values" : true
} ,
"lines" : false ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"percentage" : false ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
2020-08-27 09:38:03 +00:00
"stack" : false ,
2018-06-06 12:54:03 +00:00
"steppedLine" : false ,
"targets" : [
{
2020-08-27 09:38:03 +00:00
"expr" : "sum(rate(traefik_service_requests_total[1m])) by (service)" ,
2018-06-06 12:54:03 +00:00
"format" : "time_series" ,
"intervalFactor" : 2 ,
2020-08-27 09:38:03 +00:00
"legendFormat" : "{{ service }}" ,
2018-06-06 12:54:03 +00:00
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeShift" : null ,
2020-08-27 09:38:03 +00:00
"title" : "Service total requests over 1min per service" ,
2018-06-06 12:54:03 +00:00
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
2020-08-27 09:38:03 +00:00
}
] ,
"title" : "Services" ,
"type" : "row"
} ,
{
"collapsed" : true ,
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
"y" : 51
} ,
"id" : 15 ,
"panels" : [
2018-06-06 12:54:03 +00:00
{
"aliasColors" : { } ,
"bars" : true ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "${DS_PROMETHEUS}" ,
"fill" : 1 ,
"gridPos" : {
"h" : 9 ,
"w" : 12 ,
2020-08-27 09:38:03 +00:00
"x" : 0 ,
"y" : 52
2018-06-06 12:54:03 +00:00
} ,
2020-08-27 09:38:03 +00:00
"id" : 5 ,
2018-06-06 12:54:03 +00:00
"legend" : {
"alignAsTable" : true ,
2020-08-27 09:38:03 +00:00
"avg" : true ,
2018-06-06 12:54:03 +00:00
"current" : true ,
"max" : true ,
2020-08-27 09:38:03 +00:00
"min" : false ,
2018-06-06 12:54:03 +00:00
"rightSide" : true ,
"show" : true ,
2020-08-27 09:38:03 +00:00
"sort" : "avg" ,
"sortDesc" : true ,
2018-06-06 12:54:03 +00:00
"total" : false ,
"values" : true
} ,
"lines" : false ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"percentage" : false ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : true ,
"steppedLine" : false ,
"targets" : [
{
2020-08-27 09:38:03 +00:00
"expr" : "sum(rate(traefik_service_requests_total{code=~\"2..\"}[5m])) by (method, code)" ,
2018-06-06 12:54:03 +00:00
"format" : "time_series" ,
"intervalFactor" : 2 ,
"legendFormat" : "{{method}} : {{code}}" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeShift" : null ,
2020-08-27 09:38:03 +00:00
"title" : "Status code 2xx over 5min" ,
2018-06-06 12:54:03 +00:00
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
2020-08-27 09:38:03 +00:00
"show" : true
2018-06-06 12:54:03 +00:00
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
{
"aliasColors" : { } ,
"bars" : true ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "${DS_PROMETHEUS}" ,
"fill" : 1 ,
"gridPos" : {
"h" : 9 ,
"w" : 12 ,
2020-08-27 09:38:03 +00:00
"x" : 12 ,
"y" : 52
2018-06-06 12:54:03 +00:00
} ,
2020-08-27 09:38:03 +00:00
"id" : 27 ,
2018-06-06 12:54:03 +00:00
"legend" : {
"alignAsTable" : true ,
2020-08-27 09:38:03 +00:00
"avg" : false ,
2018-06-06 12:54:03 +00:00
"current" : true ,
"max" : true ,
2020-08-27 09:38:03 +00:00
"min" : true ,
2018-06-06 12:54:03 +00:00
"rightSide" : true ,
"show" : true ,
"total" : false ,
"values" : true
} ,
"lines" : false ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"percentage" : false ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
2020-08-27 09:38:03 +00:00
"stack" : true ,
2018-06-06 12:54:03 +00:00
"steppedLine" : false ,
"targets" : [
{
2020-08-27 09:38:03 +00:00
"expr" : "sum(rate(traefik_service_requests_total{code=~\"5..\"}[5m])) by (method, code)" ,
2018-06-06 12:54:03 +00:00
"format" : "time_series" ,
"intervalFactor" : 2 ,
2020-08-27 09:38:03 +00:00
"legendFormat" : "{{method}} : {{code}}" ,
2018-06-06 12:54:03 +00:00
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeShift" : null ,
2020-08-27 09:38:03 +00:00
"title" : "Status code 5xx over 5min" ,
2018-06-06 12:54:03 +00:00
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
2020-08-27 09:38:03 +00:00
"show" : false
2018-06-06 12:54:03 +00:00
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
{
"aliasColors" : { } ,
"bars" : true ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "${DS_PROMETHEUS}" ,
"fill" : 1 ,
"gridPos" : {
"h" : 9 ,
"w" : 12 ,
2020-08-27 09:38:03 +00:00
"x" : 0 ,
"y" : 61
2018-06-06 12:54:03 +00:00
} ,
"id" : 6 ,
"legend" : {
"alignAsTable" : true ,
"avg" : false ,
"current" : true ,
"max" : true ,
"min" : true ,
"rightSide" : true ,
"show" : true ,
"sortDesc" : false ,
"total" : false ,
"values" : true
} ,
"lines" : false ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"percentage" : false ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : true ,
"steppedLine" : false ,
"targets" : [
{
2020-08-27 09:38:03 +00:00
"expr" : "sum(rate(traefik_service_requests_total{code!~\"2..|5..\"}[5m])) by (method, code)" ,
2018-06-06 12:54:03 +00:00
"format" : "time_series" ,
"intervalFactor" : 2 ,
"legendFormat" : "{{ method }} : {{code}}" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeShift" : null ,
2020-08-27 09:38:03 +00:00
"title" : "Others statuses code over 5min" ,
2018-06-06 12:54:03 +00:00
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
}
] ,
2020-08-27 09:38:03 +00:00
"title" : "HTTP Codes stats" ,
2018-06-06 12:54:03 +00:00
"type" : "row"
} ,
{
"collapsed" : true ,
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
2020-08-27 09:38:03 +00:00
"y" : 70
2018-06-06 12:54:03 +00:00
} ,
"id" : 35 ,
"panels" : [
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2020-08-27 09:38:03 +00:00
"datasource" : "${DS_PROMETHEUS}" ,
2018-06-06 12:54:03 +00:00
"fill" : 1 ,
"gridPos" : {
"h" : 9 ,
"w" : 12 ,
"x" : 0 ,
2020-08-27 09:38:03 +00:00
"y" : 71
2018-06-06 12:54:03 +00:00
} ,
"id" : 31 ,
"legend" : {
"alignAsTable" : true ,
"avg" : true ,
"current" : true ,
"max" : true ,
"min" : false ,
"rightSide" : false ,
"show" : true ,
"total" : false ,
"values" : true
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"percentage" : false ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2020-08-27 09:38:03 +00:00
"expr" : "sum(container_memory_usage_bytes{container=\"traefik\"})" ,
2018-06-06 12:54:03 +00:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
2020-08-27 09:38:03 +00:00
"legendFormat" : "Memory used" ,
2018-06-06 12:54:03 +00:00
"refId" : "A"
} ,
{
2020-08-27 09:38:03 +00:00
"expr" : "sum(kube_pod_container_resource_requests_memory_bytes{container=\"traefik\"})" ,
2018-06-06 12:54:03 +00:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
2020-08-27 09:38:03 +00:00
"legendFormat" : "Requested memory" ,
2018-06-06 12:54:03 +00:00
"refId" : "B"
} ,
{
2020-08-27 09:38:03 +00:00
"expr" : "sum(kube_pod_container_resource_limits_memory_bytes{container=\"traefik\"})" ,
2018-06-06 12:54:03 +00:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "Limit memory usage" ,
"refId" : "C"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeShift" : null ,
2020-08-27 09:38:03 +00:00
"title" : "Traefik memory usage" ,
2018-06-06 12:54:03 +00:00
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "bytes" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : false
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2020-08-27 09:38:03 +00:00
"datasource" : "${DS_PROMETHEUS}" ,
2018-06-06 12:54:03 +00:00
"fill" : 1 ,
"gridPos" : {
"h" : 9 ,
"w" : 12 ,
"x" : 12 ,
2020-08-27 09:38:03 +00:00
"y" : 71
2018-06-06 12:54:03 +00:00
} ,
"id" : 33 ,
"legend" : {
"alignAsTable" : true ,
"avg" : true ,
"current" : true ,
"max" : true ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : true
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"percentage" : false ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2020-08-27 09:38:03 +00:00
"expr" : "sum(rate(container_cpu_usage_seconds_total{container=\"traefik\"}[2m]))" ,
2018-06-06 12:54:03 +00:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
2020-08-27 09:38:03 +00:00
"legendFormat" : "Cpu used" ,
2018-06-06 12:54:03 +00:00
"refId" : "A"
} ,
{
2020-08-27 09:38:03 +00:00
"expr" : "sum(kube_pod_container_resource_requests_cpu_cores{container=\"traefik\"})" ,
2018-06-06 12:54:03 +00:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
2020-08-27 09:38:03 +00:00
"legendFormat" : "Requested cpu" ,
2018-06-06 12:54:03 +00:00
"refId" : "B"
} ,
{
2020-08-27 09:38:03 +00:00
"expr" : "sum(kube_pod_container_resource_limits_cpu_cores{container=\"traefik\"})" ,
2018-06-06 12:54:03 +00:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "Limit cpu usage" ,
"refId" : "C"
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeShift" : null ,
2020-08-27 09:38:03 +00:00
"title" : "Traefik CPU usage" ,
2018-06-06 12:54:03 +00:00
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
}
] ,
2020-08-27 09:38:03 +00:00
"title" : "Pods resources" ,
2018-06-06 12:54:03 +00:00
"type" : "row"
}
] ,
"schemaVersion" : 16 ,
"style" : "dark" ,
"tags" : [
"traefik"
] ,
"templating" : {
"list" : [
{
"allValue" : null ,
"current" : {
"selected" : true ,
"tags" : [ ] ,
"text" : "99" ,
"value" : "99"
} ,
"hide" : 0 ,
"includeAll" : false ,
"label" : null ,
"multi" : false ,
"name" : "percentiles" ,
"options" : [
{
"selected" : false ,
"text" : "95" ,
"value" : "95"
} ,
{
"selected" : true ,
"text" : "99" ,
"value" : "99"
}
] ,
"query" : "95,99" ,
"type" : "custom"
}
]
} ,
"time" : {
"from" : "now-24h" ,
"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" : "Traefik" ,
"uid" : "traefik-kubernetes" ,
2020-08-27 09:38:03 +00:00
"version" : 2
2018-06-06 12:54:03 +00:00
}