2018-07-11 13:29:46 +00:00
{
"__inputs" : [
{
"name" : "DS_PROMETHEUS" ,
"label" : "Prometheus" ,
"description" : "" ,
"type" : "datasource" ,
"pluginId" : "prometheus" ,
"pluginName" : "Prometheus"
}
] ,
2024-06-02 08:26:37 +00:00
"__elements" : { } ,
2018-07-11 13:29:46 +00:00
"__requires" : [
{
"type" : "grafana" ,
"id" : "grafana" ,
"name" : "Grafana" ,
2024-06-02 08:26:37 +00:00
"version" : "10.4.3"
} ,
{
"type" : "panel" ,
"id" : "heatmap" ,
"name" : "Heatmap" ,
"version" : ""
2018-07-11 13:29:46 +00:00
} ,
{
"type" : "datasource" ,
"id" : "prometheus" ,
"name" : "Prometheus" ,
2024-06-02 08:26:37 +00:00
"version" : "1.0.0"
} ,
{
"type" : "panel" ,
"id" : "stat" ,
"name" : "Stat" ,
"version" : ""
} ,
{
"type" : "panel" ,
"id" : "table" ,
"name" : "Table" ,
"version" : ""
2018-07-11 13:29:46 +00:00
} ,
{
"type" : "panel" ,
2024-06-02 08:26:37 +00:00
"id" : "timeseries" ,
"name" : "Time series" ,
"version" : ""
2018-07-11 13:29:46 +00:00
}
] ,
"annotations" : {
"list" : [
{
"builtIn" : 1 ,
2024-06-02 08:26:37 +00:00
"datasource" : {
"type" : "datasource" ,
"uid" : "grafana"
} ,
2018-07-11 13:29:46 +00:00
"enable" : true ,
"hide" : true ,
"iconColor" : "rgba(0, 211, 255, 1)" ,
"name" : "Annotations & Alerts" ,
"type" : "dashboard"
} ,
{
2024-06-02 08:26:37 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
2018-07-11 13:29:46 +00:00
"enable" : true ,
"expr" : "sum(changes(nginx_ingress_controller_config_last_reload_successful_timestamp_seconds{instance!=\"unknown\",controller_class=~\"$controller_class\",namespace=~\"$namespace\"}[30s])) by (controller_class)" ,
"hide" : false ,
"iconColor" : "rgba(255, 96, 96, 1)" ,
"limit" : 100 ,
"name" : "Config Reloads" ,
"showIn" : 0 ,
"step" : "30s" ,
"tagKeys" : "controller_class" ,
"tags" : [ ] ,
"titleFormat" : "Config Reloaded" ,
"type" : "tags"
}
]
} ,
"editable" : true ,
2024-06-02 08:26:37 +00:00
"fiscalYearStartMonth" : 0 ,
2018-07-11 13:29:46 +00:00
"graphTooltip" : 0 ,
2024-06-02 08:26:37 +00:00
"id" : null ,
2018-07-11 13:29:46 +00:00
"links" : [ ] ,
"panels" : [
{
2024-06-02 08:26:37 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
2018-07-11 13:29:46 +00:00
} ,
2024-06-02 08:26:37 +00:00
"fieldConfig" : {
"defaults" : {
"color" : {
"fixedColor" : "rgb(31, 120, 193)" ,
"mode" : "fixed"
} ,
"mappings" : [
{
"options" : {
"match" : "null" ,
"result" : {
"text" : "N/A"
}
} ,
"type" : "special"
}
] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "ops"
} ,
"overrides" : [ ]
2018-07-11 13:29:46 +00:00
} ,
"id" : 20 ,
"maxDataPoints" : 100 ,
2024-06-02 08:26:37 +00:00
"options" : {
"colorMode" : "none" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "horizontal" ,
"reduceOptions" : {
"calcs" : [
"mean"
] ,
"fields" : "" ,
"values" : false
} ,
"showPercentChange" : false ,
"textMode" : "auto" ,
"wideLayout" : true
2018-07-11 13:29:46 +00:00
} ,
2024-06-02 08:26:37 +00:00
"pluginVersion" : "10.4.3" ,
2018-07-11 13:29:46 +00:00
"targets" : [
{
2024-06-02 08:26:37 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
2018-08-02 10:15:37 +00:00
"expr" : "round(sum(irate(nginx_ingress_controller_requests{controller_pod=~\"$controller\",controller_class=~\"$controller_class\",namespace=~\"$namespace\"}[2m])), 0.001)" ,
2018-07-11 13:29:46 +00:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
"refId" : "A" ,
"step" : 4
}
] ,
"title" : "Controller Request Volume" ,
2024-06-02 08:26:37 +00:00
"type" : "stat"
2018-07-11 13:29:46 +00:00
} ,
{
2024-06-02 08:26:37 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"fixedColor" : "rgb(31, 120, 193)" ,
"mode" : "fixed"
} ,
"mappings" : [
{
"options" : {
"match" : "null" ,
"result" : {
"text" : "N/A"
}
} ,
"type" : "special"
}
] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "none"
} ,
"overrides" : [ ]
2018-07-11 13:29:46 +00:00
} ,
"gridPos" : {
"h" : 3 ,
"w" : 6 ,
"x" : 6 ,
"y" : 0
} ,
"id" : 82 ,
"maxDataPoints" : 100 ,
2024-06-02 08:26:37 +00:00
"options" : {
"colorMode" : "none" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "horizontal" ,
"reduceOptions" : {
"calcs" : [
"mean"
] ,
"fields" : "" ,
"values" : false
} ,
"showPercentChange" : false ,
"textMode" : "auto" ,
"wideLayout" : true
2018-07-11 13:29:46 +00:00
} ,
2024-06-02 08:26:37 +00:00
"pluginVersion" : "10.4.3" ,
2018-07-11 13:29:46 +00:00
"targets" : [
{
2024-06-02 08:26:37 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
2020-11-16 17:25:29 +00:00
"expr" : "sum(avg_over_time(nginx_ingress_controller_nginx_process_connections{controller_pod=~\"$controller\",controller_class=~\"$controller_class\",controller_namespace=~\"$namespace\",state=\"active\"}[2m]))" ,
2018-07-11 13:29:46 +00:00
"format" : "time_series" ,
"instant" : false ,
"intervalFactor" : 1 ,
"refId" : "A" ,
"step" : 4
}
] ,
"title" : "Controller Connections" ,
2024-06-02 08:26:37 +00:00
"type" : "stat"
2018-07-11 13:29:46 +00:00
} ,
{
2024-06-02 08:26:37 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"fixedColor" : "rgb(31, 120, 193)" ,
"mode" : "fixed"
} ,
"mappings" : [
{
"options" : {
"match" : "null" ,
"result" : {
"text" : "N/A"
}
} ,
"type" : "special"
}
] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "rgba(245, 54, 54, 0.9)" ,
"value" : null
} ,
{
"color" : "rgba(237, 129, 40, 0.89)" ,
"value" : 95
} ,
{
"color" : "rgba(50, 172, 45, 0.97)" ,
"value" : 99
}
]
} ,
"unit" : "percentunit"
} ,
"overrides" : [ ]
2018-07-11 13:29:46 +00:00
} ,
"gridPos" : {
"h" : 3 ,
"w" : 6 ,
"x" : 12 ,
"y" : 0
} ,
"id" : 21 ,
"maxDataPoints" : 100 ,
2024-06-02 08:26:37 +00:00
"options" : {
"colorMode" : "none" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "horizontal" ,
"reduceOptions" : {
"calcs" : [
"mean"
] ,
"fields" : "" ,
"values" : false
} ,
"showPercentChange" : false ,
"textMode" : "auto" ,
"wideLayout" : true
2018-07-11 13:29:46 +00:00
} ,
2024-06-02 08:26:37 +00:00
"pluginVersion" : "10.4.3" ,
2018-07-11 13:29:46 +00:00
"targets" : [
{
2024-06-02 08:26:37 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
2018-08-02 10:15:37 +00:00
"expr" : "sum(rate(nginx_ingress_controller_requests{controller_pod=~\"$controller\",controller_class=~\"$controller_class\",namespace=~\"$namespace\",status!~\"[4-5].*\"}[2m])) / sum(rate(nginx_ingress_controller_requests{controller_pod=~\"$controller\",controller_class=~\"$controller_class\",namespace=~\"$namespace\"}[2m]))" ,
2018-07-11 13:29:46 +00:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
"refId" : "A" ,
"step" : 4
}
] ,
"title" : "Controller Success Rate (non-4|5xx responses)" ,
2024-06-02 08:26:37 +00:00
"type" : "stat"
2018-07-11 13:29:46 +00:00
} ,
{
2024-06-02 08:26:37 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"fixedColor" : "rgb(31, 120, 193)" ,
"mode" : "fixed"
} ,
"decimals" : 0 ,
"mappings" : [
{
"options" : {
"match" : "null" ,
"result" : {
"text" : "N/A"
}
} ,
"type" : "special"
}
] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "none"
} ,
"overrides" : [ ]
2018-07-11 13:29:46 +00:00
} ,
"gridPos" : {
"h" : 3 ,
"w" : 3 ,
"x" : 18 ,
"y" : 0
} ,
"id" : 81 ,
"maxDataPoints" : 100 ,
2024-06-02 08:26:37 +00:00
"options" : {
"colorMode" : "none" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "horizontal" ,
"reduceOptions" : {
"calcs" : [
"sum"
] ,
"fields" : "" ,
"values" : false
} ,
"showPercentChange" : false ,
"textMode" : "auto" ,
"wideLayout" : true
2018-07-11 13:29:46 +00:00
} ,
2024-06-02 08:26:37 +00:00
"pluginVersion" : "10.4.3" ,
2018-07-11 13:29:46 +00:00
"targets" : [
{
2024-06-02 08:26:37 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
2019-09-05 12:41:25 +00:00
"expr" : "avg(irate(nginx_ingress_controller_success{controller_pod=~\"$controller\",controller_class=~\"$controller_class\",controller_namespace=~\"$namespace\"}[1m])) * 60" ,
2018-07-11 13:29:46 +00:00
"format" : "time_series" ,
2019-09-05 12:41:25 +00:00
"instant" : false ,
2018-07-11 13:29:46 +00:00
"intervalFactor" : 1 ,
"refId" : "A" ,
"step" : 4
}
] ,
"title" : "Config Reloads" ,
2024-06-02 08:26:37 +00:00
"type" : "stat"
2018-07-11 13:29:46 +00:00
} ,
{
2024-06-02 08:26:37 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"fixedColor" : "rgb(31, 120, 193)" ,
"mode" : "fixed"
} ,
"decimals" : 0 ,
"mappings" : [
{
"options" : {
"match" : "null" ,
"result" : {
"text" : "N/A"
}
} ,
"type" : "special"
}
] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "none"
} ,
"overrides" : [ ]
2018-07-11 13:29:46 +00:00
} ,
"gridPos" : {
"h" : 3 ,
"w" : 3 ,
"x" : 21 ,
"y" : 0
} ,
"id" : 83 ,
"maxDataPoints" : 100 ,
2024-06-02 08:26:37 +00:00
"options" : {
"colorMode" : "none" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "horizontal" ,
"reduceOptions" : {
"calcs" : [
"mean"
] ,
"fields" : "" ,
"values" : false
} ,
"showPercentChange" : false ,
"textMode" : "auto" ,
"wideLayout" : true
2018-07-11 13:29:46 +00:00
} ,
2024-06-02 08:26:37 +00:00
"pluginVersion" : "10.4.3" ,
2018-07-11 13:29:46 +00:00
"targets" : [
{
2024-06-02 08:26:37 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
2018-08-15 19:07:26 +00:00
"expr" : "count(nginx_ingress_controller_config_last_reload_successful{controller_pod=~\"$controller\",controller_namespace=~\"$namespace\"} == 0)" ,
2018-07-11 13:29:46 +00:00
"format" : "time_series" ,
"instant" : true ,
"intervalFactor" : 1 ,
"refId" : "A" ,
"step" : 4
}
] ,
"title" : "Last Config Failed" ,
2024-06-02 08:26:37 +00:00
"type" : "stat"
2018-07-11 13:29:46 +00:00
} ,
2018-09-06 11:37:00 +00:00
{
2024-06-02 08:26:37 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
2018-09-06 11:37:00 +00:00
} ,
2024-06-02 08:26:37 +00:00
"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" : 2 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : true ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "reqps"
} ,
"overrides" : [
{
"matcher" : {
"id" : "byValue" ,
"options" : {
"op" : "gte" ,
"reducer" : "allIsZero" ,
"value" : 0
}
} ,
"properties" : [
{
"id" : "custom.hideFrom" ,
"value" : {
"legend" : true ,
"tooltip" : true ,
"viz" : false
}
}
]
}
]
} ,
"gridPos" : {
"h" : 7 ,
2018-09-06 11:37:00 +00:00
"w" : 12 ,
2024-06-02 08:26:37 +00:00
"x" : 0 ,
2018-09-06 11:37:00 +00:00
"y" : 3
} ,
2024-06-02 08:26:37 +00:00
"id" : 86 ,
"options" : {
"legend" : {
"calcs" : [
"mean"
] ,
"displayMode" : "table" ,
"placement" : "right" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
} ,
"pluginVersion" : "10.4.3" ,
"repeatDirection" : "h" ,
2018-09-06 11:37:00 +00:00
"targets" : [
{
2024-06-02 08:26:37 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"expr" : "round(sum(irate(nginx_ingress_controller_requests{controller_pod=~\"$controller\",controller_class=~\"$controller_class\",controller_namespace=~\"$namespace\",exported_namespace=~\"$exported_namespace\",ingress=~\"$ingress\"}[2m])) by (ingress), 0.001)" ,
2018-09-06 11:37:00 +00:00
"format" : "time_series" ,
2024-06-02 08:26:37 +00:00
"hide" : false ,
2018-09-06 11:37:00 +00:00
"instant" : false ,
2024-06-02 08:26:37 +00:00
"interval" : "" ,
2018-09-06 11:37:00 +00:00
"intervalFactor" : 1 ,
"legendFormat" : "{{ ingress }}" ,
2024-06-02 08:26:37 +00:00
"metric" : "network" ,
2018-09-06 11:37:00 +00:00
"refId" : "A" ,
"step" : 10
}
] ,
2024-06-02 08:26:37 +00:00
"title" : "Ingress Request Volume" ,
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
2018-09-06 11:37:00 +00:00
} ,
2024-06-02 08:26:37 +00:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 2 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : true ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "percentunit"
} ,
"overrides" : [
{
"matcher" : {
"id" : "byName" ,
"options" : "max - istio-proxy"
} ,
"properties" : [
{
"id" : "color" ,
"value" : {
"fixedColor" : "#890f02" ,
"mode" : "fixed"
}
}
]
} ,
{
"matcher" : {
"id" : "byName" ,
"options" : "max - master"
} ,
"properties" : [
{
"id" : "color" ,
"value" : {
"fixedColor" : "#bf1b00" ,
"mode" : "fixed"
}
}
]
} ,
{
"matcher" : {
"id" : "byName" ,
"options" : "max - prometheus"
} ,
"properties" : [
{
"id" : "color" ,
"value" : {
"fixedColor" : "#bf1b00" ,
"mode" : "fixed"
}
}
]
} ,
{
"matcher" : {
"id" : "byValue" ,
"options" : {
"op" : "gte" ,
"reducer" : "allIsNull" ,
"value" : 0
}
} ,
"properties" : [
{
"id" : "custom.hideFrom" ,
"value" : {
"legend" : true ,
"tooltip" : true ,
"viz" : false
}
}
]
}
]
2018-09-06 11:37:00 +00:00
} ,
2024-06-02 08:26:37 +00:00
"gridPos" : {
"h" : 7 ,
"w" : 12 ,
"x" : 12 ,
"y" : 3
} ,
"id" : 87 ,
"options" : {
"legend" : {
"calcs" : [
"mean"
] ,
"displayMode" : "table" ,
"placement" : "right" ,
"showLegend" : true
2018-09-06 11:37:00 +00:00
} ,
2024-06-02 08:26:37 +00:00
"tooltip" : {
"mode" : "multi" ,
"sort" : "asc"
}
} ,
"pluginVersion" : "10.4.3" ,
"targets" : [
2018-09-06 11:37:00 +00:00
{
2024-06-02 08:26:37 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"expr" : "sum(rate(nginx_ingress_controller_requests{controller_pod=~\"$controller\",controller_class=~\"$controller_class\",namespace=~\"$namespace\",exported_namespace=~\"$exported_namespace\",ingress=~\"$ingress\",status!~\"[4-5].*\"}[2m])) by (ingress) / sum(rate(nginx_ingress_controller_requests{controller_pod=~\"$controller\",controller_class=~\"$controller_class\",namespace=~\"$namespace\",exported_namespace=~\"$exported_namespace\",ingress=~\"$ingress\"}[2m])) by (ingress)" ,
"format" : "time_series" ,
"instant" : false ,
"interval" : "10s" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{ ingress }}" ,
"metric" : "container_memory_usage:sort_desc" ,
"refId" : "A" ,
"step" : 10
2018-09-06 11:37:00 +00:00
}
] ,
2024-06-02 08:26:37 +00:00
"title" : "Ingress Success Rate (non-4|5xx responses)" ,
"type" : "timeseries"
2018-09-06 11:37:00 +00:00
} ,
2018-07-11 13:29:46 +00:00
{
2024-06-02 08:26:37 +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" : 2 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : true ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "Bps"
} ,
"overrides" : [ ]
} ,
2018-07-11 13:29:46 +00:00
"gridPos" : {
"h" : 6 ,
"w" : 8 ,
"x" : 0 ,
2018-09-06 11:37:00 +00:00
"y" : 10
2018-07-11 13:29:46 +00:00
} ,
"id" : 32 ,
2024-06-02 08:26:37 +00:00
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull"
] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : false ,
"width" : 200
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
} ,
"pluginVersion" : "10.4.3" ,
2018-07-11 13:29:46 +00:00
"targets" : [
{
2024-06-02 08:26:37 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
2018-08-02 10:15:37 +00:00
"expr" : "sum (irate (nginx_ingress_controller_request_size_sum{controller_pod=~\"$controller\",controller_class=~\"$controller_class\",controller_namespace=~\"$namespace\"}[2m]))" ,
2018-07-11 13:29:46 +00:00
"format" : "time_series" ,
"instant" : false ,
"interval" : "10s" ,
"intervalFactor" : 1 ,
"legendFormat" : "Received" ,
"metric" : "network" ,
"refId" : "A" ,
"step" : 10
} ,
{
2024-06-02 08:26:37 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
2018-08-02 10:15:37 +00:00
"expr" : "- sum (irate (nginx_ingress_controller_response_size_sum{controller_pod=~\"$controller\",controller_class=~\"$controller_class\",controller_namespace=~\"$namespace\"}[2m]))" ,
2018-07-11 13:29:46 +00:00
"format" : "time_series" ,
"hide" : false ,
"interval" : "10s" ,
"intervalFactor" : 1 ,
"legendFormat" : "Sent" ,
"metric" : "network" ,
"refId" : "B" ,
"step" : 10
}
] ,
"title" : "Network I/O pressure" ,
2024-06-02 08:26:37 +00:00
"type" : "timeseries"
2018-07-11 13:29:46 +00:00
} ,
{
2024-06-02 08:26:37 +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" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 2 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : true ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "bytes"
} ,
"overrides" : [
{
"matcher" : {
"id" : "byName" ,
"options" : "max - istio-proxy"
} ,
"properties" : [
{
"id" : "color" ,
"value" : {
"fixedColor" : "#890f02" ,
"mode" : "fixed"
}
}
]
} ,
{
"matcher" : {
"id" : "byName" ,
"options" : "max - master"
} ,
"properties" : [
{
"id" : "color" ,
"value" : {
"fixedColor" : "#bf1b00" ,
"mode" : "fixed"
}
}
]
} ,
{
"matcher" : {
"id" : "byName" ,
"options" : "max - prometheus"
} ,
"properties" : [
{
"id" : "color" ,
"value" : {
"fixedColor" : "#bf1b00" ,
"mode" : "fixed"
}
}
]
}
]
} ,
2018-07-11 13:29:46 +00:00
"gridPos" : {
"h" : 6 ,
"w" : 8 ,
"x" : 8 ,
2018-09-06 11:37:00 +00:00
"y" : 10
2018-07-11 13:29:46 +00:00
} ,
"id" : 77 ,
2024-06-02 08:26:37 +00:00
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull"
] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : false ,
"width" : 200
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "10.4.3" ,
2018-07-11 13:29:46 +00:00
"targets" : [
{
2024-06-02 08:26:37 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
2018-08-15 19:07:26 +00:00
"expr" : "avg(nginx_ingress_controller_nginx_process_resident_memory_bytes{controller_pod=~\"$controller\",controller_class=~\"$controller_class\",controller_namespace=~\"$namespace\"}) " ,
2018-07-11 13:29:46 +00:00
"format" : "time_series" ,
"instant" : false ,
"interval" : "10s" ,
"intervalFactor" : 1 ,
"legendFormat" : "nginx" ,
"metric" : "container_memory_usage:sort_desc" ,
"refId" : "A" ,
"step" : 10
}
] ,
"title" : "Average Memory Usage" ,
2024-06-02 08:26:37 +00:00
"type" : "timeseries"
2018-07-11 13:29:46 +00:00
} ,
{
2024-06-02 08:26:37 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "cores" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 2 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : true ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "line+area"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "transparent" ,
"value" : null
}
]
} ,
"unit" : "none"
} ,
"overrides" : [ ]
} ,
2018-07-11 13:29:46 +00:00
"gridPos" : {
"h" : 6 ,
"w" : 8 ,
"x" : 16 ,
2018-09-06 11:37:00 +00:00
"y" : 10
2018-07-11 13:29:46 +00:00
} ,
"id" : 79 ,
2024-06-02 08:26:37 +00:00
"options" : {
"legend" : {
"calcs" : [
"mean" ,
"lastNotNull"
] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : false
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"pluginVersion" : "10.4.3" ,
2018-07-11 13:29:46 +00:00
"targets" : [
{
2024-06-02 08:26:37 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
2021-01-14 11:51:02 +00:00
"expr" : "avg (rate (nginx_ingress_controller_nginx_process_cpu_seconds_total{controller_pod=~\"$controller\",controller_class=~\"$controller_class\",controller_namespace=~\"$namespace\"}[2m])) " ,
2018-07-11 13:29:46 +00:00
"format" : "time_series" ,
"interval" : "10s" ,
"intervalFactor" : 1 ,
"legendFormat" : "nginx" ,
"metric" : "container_cpu" ,
"refId" : "A" ,
"step" : 10
}
] ,
"title" : "Average CPU Usage" ,
2024-06-02 08:26:37 +00:00
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
2018-07-11 13:29:46 +00:00
} ,
2024-06-02 08:26:37 +00:00
"description" : "This data is real time, independent of dashboard time range" ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
} ,
"custom" : {
"align" : "auto" ,
"cellOptions" : {
"type" : "auto"
} ,
"inspect" : false
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
}
2018-07-11 13:29:46 +00:00
} ,
2024-06-02 08:26:37 +00:00
"overrides" : [
{
"matcher" : {
"id" : "byName" ,
"options" : "ingress"
} ,
"properties" : [
{
"id" : "displayName" ,
"value" : "Ingress"
} ,
{
"id" : "unit" ,
"value" : "short"
} ,
{
"id" : "decimals" ,
"value" : 2
} ,
{
"id" : "custom.align"
}
]
} ,
{
"matcher" : {
"id" : "byName" ,
"options" : "Value #A"
} ,
"properties" : [
{
"id" : "displayName" ,
"value" : "P50 Latency"
} ,
{
"id" : "unit" ,
"value" : "dtdurations"
} ,
{
"id" : "custom.align"
}
]
} ,
{
"matcher" : {
"id" : "byName" ,
"options" : "Value #B"
} ,
"properties" : [
{
"id" : "displayName" ,
"value" : "P90 Latency"
} ,
{
"id" : "unit" ,
"value" : "dtdurations"
} ,
{
"id" : "custom.align"
}
]
} ,
{
"matcher" : {
"id" : "byName" ,
"options" : "Value #C"
} ,
"properties" : [
{
"id" : "displayName" ,
"value" : "P99 Latency"
} ,
{
"id" : "unit" ,
"value" : "dtdurations"
} ,
{
"id" : "custom.align"
}
]
} ,
{
"matcher" : {
"id" : "byName" ,
"options" : "Value #D"
} ,
"properties" : [
{
"id" : "displayName" ,
"value" : "IN"
} ,
{
"id" : "unit" ,
"value" : "Bps"
} ,
{
"id" : "decimals" ,
"value" : 2
} ,
{
"id" : "custom.align"
} ,
{
"id" : "thresholds" ,
"value" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "rgba(245, 54, 54, 0.9)" ,
"value" : null
} ,
{
"color" : "rgba(237, 129, 40, 0.89)"
}
]
}
}
]
} ,
{
"matcher" : {
"id" : "byName" ,
"options" : "Time"
} ,
"properties" : [
{
"id" : "unit" ,
"value" : "short"
} ,
{
"id" : "decimals" ,
"value" : 2
} ,
{
"id" : "custom.align"
} ,
{
"id" : "custom.hidden" ,
"value" : true
}
]
} ,
{
"matcher" : {
"id" : "byName" ,
"options" : "Value #E"
} ,
"properties" : [
{
"id" : "displayName" ,
"value" : "OUT"
} ,
{
"id" : "unit" ,
"value" : "Bps"
} ,
{
"id" : "decimals" ,
"value" : 2
} ,
{
"id" : "custom.align"
}
]
}
]
} ,
2018-07-11 13:29:46 +00:00
"gridPos" : {
"h" : 8 ,
"w" : 24 ,
"x" : 0 ,
2018-09-06 11:37:00 +00:00
"y" : 16
2018-07-11 13:29:46 +00:00
} ,
"hideTimeOverride" : false ,
"id" : 75 ,
2024-06-02 08:26:37 +00:00
"options" : {
"cellHeight" : "sm" ,
"footer" : {
"countRows" : false ,
"fields" : "" ,
"reducer" : [
"sum"
2018-07-11 13:29:46 +00:00
] ,
2024-06-02 08:26:37 +00:00
"show" : false
2018-07-11 13:29:46 +00:00
} ,
2024-06-02 08:26:37 +00:00
"showHeader" : true
} ,
"pluginVersion" : "10.4.3" ,
"repeatDirection" : "h" ,
2018-07-11 13:29:46 +00:00
"targets" : [
{
2024-06-02 08:26:37 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
2024-02-27 13:58:42 +00:00
"expr" : "histogram_quantile(0.50, sum(rate(nginx_ingress_controller_request_duration_seconds_bucket{ingress!=\"\",controller_pod=~\"$controller\",controller_class=~\"$controller_class\",controller_namespace=~\"$namespace\",ingress=~\"$ingress\",exported_namespace=~\"$exported_namespace\"}[2m])) by (le, ingress))" ,
2018-07-11 13:29:46 +00:00
"format" : "table" ,
"hide" : false ,
"instant" : true ,
"intervalFactor" : 1 ,
"legendFormat" : "{{ ingress }}" ,
2024-06-02 08:26:37 +00:00
"refId" : "A"
2018-07-11 13:29:46 +00:00
} ,
{
2024-06-02 08:26:37 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
2024-02-27 13:58:42 +00:00
"expr" : "histogram_quantile(0.90, sum(rate(nginx_ingress_controller_request_duration_seconds_bucket{ingress!=\"\",controller_pod=~\"$controller\",controller_class=~\"$controller_class\",controller_namespace=~\"$namespace\",ingress=~\"$ingress\",exported_namespace=~\"$exported_namespace\"}[2m])) by (le, ingress))" ,
2018-07-11 13:29:46 +00:00
"format" : "table" ,
"hide" : false ,
"instant" : true ,
"intervalFactor" : 1 ,
"legendFormat" : "{{ ingress }}" ,
2024-06-02 08:26:37 +00:00
"refId" : "B"
2018-07-11 13:29:46 +00:00
} ,
{
2024-06-02 08:26:37 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
2024-02-27 13:58:42 +00:00
"expr" : "histogram_quantile(0.99, sum(rate(nginx_ingress_controller_request_duration_seconds_bucket{ingress!=\"\",controller_pod=~\"$controller\",controller_class=~\"$controller_class\",controller_namespace=~\"$namespace\",ingress=~\"$ingress\",exported_namespace=~\"$exported_namespace\"}[2m])) by (le, ingress))" ,
2018-07-11 13:29:46 +00:00
"format" : "table" ,
"hide" : false ,
"instant" : true ,
"intervalFactor" : 1 ,
"legendFormat" : "{{ destination_service }}" ,
2024-06-02 08:26:37 +00:00
"refId" : "C"
2018-07-11 13:29:46 +00:00
} ,
{
2024-06-02 08:26:37 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
2024-02-27 13:58:42 +00:00
"expr" : "sum(irate(nginx_ingress_controller_request_size_sum{ingress!=\"\",controller_pod=~\"$controller\",controller_class=~\"$controller_class\",controller_namespace=~\"$namespace\",ingress=~\"$ingress\",exported_namespace=~\"$exported_namespace\"}[2m])) by (ingress)" ,
2018-07-11 13:29:46 +00:00
"format" : "table" ,
"hide" : false ,
"instant" : true ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{ ingress }}" ,
2024-06-02 08:26:37 +00:00
"refId" : "D"
2018-07-11 13:29:46 +00:00
} ,
{
2024-06-02 08:26:37 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
2024-02-27 13:58:42 +00:00
"expr" : "sum(irate(nginx_ingress_controller_response_size_sum{ingress!=\"\",controller_pod=~\"$controller\",controller_class=~\"$controller_class\",controller_namespace=~\"$namespace\",ingress=~\"$ingress\",exported_namespace=~\"$exported_namespace\"}[2m])) by (ingress)" ,
2018-07-11 13:29:46 +00:00
"format" : "table" ,
"instant" : true ,
"intervalFactor" : 1 ,
"legendFormat" : "{{ ingress }}" ,
2024-06-02 08:26:37 +00:00
"refId" : "E"
2018-07-11 13:29:46 +00:00
}
] ,
"title" : "Ingress Percentile Response Times and Transfer Rates" ,
2024-06-02 08:26:37 +00:00
"transformations" : [
{
"id" : "merge" ,
"options" : {
"reducers" : [ ]
}
}
] ,
2018-07-11 13:29:46 +00:00
"type" : "table"
} ,
2022-05-16 13:24:17 +00:00
{
2024-06-02 08:26:37 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
2022-05-16 13:24:17 +00:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
2024-06-02 08:26:37 +00:00
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
2022-05-16 13:24:17 +00:00
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
2024-06-02 08:26:37 +00:00
"insertNulls" : false ,
2022-05-16 13:24:17 +00:00
"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" : "s"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 7 ,
"w" : 12 ,
"x" : 0 ,
"y" : 24
} ,
"hideTimeOverride" : false ,
"id" : 91 ,
"options" : {
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
2024-06-02 08:26:37 +00:00
"placement" : "bottom" ,
"showLegend" : true
2022-05-16 13:24:17 +00:00
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
} ,
"pluginVersion" : "8.3.4" ,
"repeatDirection" : "h" ,
"targets" : [
{
2024-06-02 08:26:37 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
2022-05-16 13:24:17 +00:00
"exemplar" : true ,
2024-02-27 13:58:42 +00:00
"expr" : "histogram_quantile(0.80, sum(rate(nginx_ingress_controller_request_duration_seconds_bucket{ingress!=\"\",controller_pod=~\"$controller\",controller_class=~\"$controller_class\",controller_namespace=~\"$namespace\",ingress=~\"$ingress\",exported_namespace=~\"$exported_namespace\"}[2m])) by (le))" ,
2022-05-16 13:24:17 +00:00
"format" : "time_series" ,
"hide" : false ,
"instant" : false ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "P80" ,
"refId" : "C"
} ,
{
2024-06-02 08:26:37 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
2022-05-16 13:24:17 +00:00
"exemplar" : true ,
2024-02-27 13:58:42 +00:00
"expr" : "histogram_quantile(0.90, sum(rate(nginx_ingress_controller_request_duration_seconds_bucket{ingress!=\"\",controller_pod=~\"$controller\",controller_class=~\"$controller_class\",controller_namespace=~\"$namespace\",ingress=~\"$ingress\",exported_namespace=~\"$exported_namespace\"}[2m])) by (le))" ,
2022-05-16 13:24:17 +00:00
"format" : "time_series" ,
"hide" : false ,
"instant" : false ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "P90" ,
"refId" : "D"
} ,
{
2024-06-02 08:26:37 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
2022-05-16 13:24:17 +00:00
"editorMode" : "code" ,
"exemplar" : true ,
2024-02-27 13:58:42 +00:00
"expr" : "histogram_quantile(0.99, sum(rate(nginx_ingress_controller_request_duration_seconds_bucket{ingress!=\"\",controller_pod=~\"$controller\",controller_class=~\"$controller_class\",controller_namespace=~\"$namespace\",ingress=~\"$ingress\",exported_namespace=~\"$exported_namespace\"}[2m])) by (le))" ,
2022-05-16 13:24:17 +00:00
"format" : "time_series" ,
"hide" : false ,
"instant" : false ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "P99" ,
"refId" : "E"
}
] ,
2024-02-27 13:58:42 +00:00
"title" : "Ingress Percentile Response Times (Ingress Namespaces)" ,
2022-05-16 13:24:17 +00:00
"type" : "timeseries"
} ,
{
"cards" : { } ,
"color" : {
"cardColor" : "#b4ff00" ,
"colorScale" : "sqrt" ,
"colorScheme" : "interpolateWarm" ,
"exponent" : 0.5 ,
"mode" : "spectrum"
} ,
"dataFormat" : "tsbuckets" ,
2024-06-02 08:26:37 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
2022-05-16 13:24:17 +00:00
"description" : "" ,
2024-06-02 08:26:37 +00:00
"fieldConfig" : {
"defaults" : {
"custom" : {
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"scaleDistribution" : {
"type" : "linear"
}
}
} ,
"overrides" : [ ]
} ,
2022-05-16 13:24:17 +00:00
"gridPos" : {
"h" : 7 ,
"w" : 12 ,
"x" : 12 ,
"y" : 24
} ,
"heatmap" : { } ,
"hideZeroBuckets" : false ,
"highlightCards" : true ,
"id" : 89 ,
"legend" : {
"show" : true
} ,
2024-06-02 08:26:37 +00:00
"options" : {
"calculate" : false ,
"calculation" : { } ,
"cellGap" : 2 ,
"cellValues" : { } ,
"color" : {
"exponent" : 0.5 ,
"fill" : "#b4ff00" ,
"mode" : "scheme" ,
"reverse" : false ,
"scale" : "exponential" ,
"scheme" : "Warm" ,
"steps" : 128
} ,
"exemplars" : {
"color" : "rgba(255,0,255,0.7)"
} ,
"filterValues" : {
"le" : 1e-9
} ,
"legend" : {
"show" : true
} ,
"rowsFrame" : {
"layout" : "auto"
} ,
"showValue" : "never" ,
"tooltip" : {
"mode" : "single" ,
"showColorScale" : false ,
"yHistogram" : true
} ,
"yAxis" : {
"axisPlacement" : "left" ,
"reverse" : false ,
"unit" : "s"
}
} ,
"pluginVersion" : "10.4.3" ,
2022-05-16 13:24:17 +00:00
"reverseYBuckets" : false ,
"targets" : [
{
2024-06-02 08:26:37 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
2022-05-16 13:24:17 +00:00
"exemplar" : true ,
2024-02-27 13:58:42 +00:00
"expr" : "sum(increase(nginx_ingress_controller_request_duration_seconds_bucket{ingress!=\"\",controller_pod=~\"$controller\",controller_class=~\"$controller_class\",controller_namespace=~\"$namespace\",ingress=~\"$ingress\",exported_namespace=~\"$exported_namespace\"}[2m])) by (le)" ,
2022-05-16 13:24:17 +00:00
"format" : "heatmap" ,
"interval" : "" ,
"legendFormat" : "{{le}}" ,
"refId" : "A"
}
] ,
2024-02-27 13:58:42 +00:00
"title" : "Ingress Request Latency Heatmap (Ingress Namespaces)" ,
2022-05-16 13:24:17 +00:00
"tooltip" : {
"show" : true ,
"showHistogram" : true
} ,
"type" : "heatmap" ,
"xAxis" : {
"show" : true
} ,
"yAxis" : {
"format" : "s" ,
"logBase" : 1 ,
"show" : true
} ,
"yBucketBound" : "auto"
} ,
2018-07-11 13:29:46 +00:00
{
2024-06-02 08:26:37 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
} ,
"custom" : {
"align" : "auto" ,
"cellOptions" : {
"type" : "auto"
} ,
"inspect" : false
} ,
"decimals" : 2 ,
"displayName" : "" ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
} ,
"overrides" : [
{
"matcher" : {
"id" : "byName" ,
"options" : "Last *"
} ,
"properties" : [
{
"id" : "displayName" ,
"value" : "TTL"
} ,
{
"id" : "unit" ,
"value" : "s"
} ,
{
"id" : "custom.cellOptions" ,
"value" : {
"type" : "color-background"
}
} ,
{
"id" : "thresholds" ,
"value" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "rgba(245, 54, 54, 0.9)" ,
"value" : null
} ,
{
"color" : "rgba(237, 129, 40, 0.89)" ,
"value" : 0
} ,
{
"color" : "rgba(50, 172, 45, 0.97)" ,
"value" : 691200
}
]
}
}
]
} ,
{
"matcher" : {
"id" : "byName" ,
"options" : "Field"
} ,
"properties" : [
{
"id" : "displayName" ,
"value" : "Host"
}
]
}
]
} ,
2018-07-11 13:29:46 +00:00
"gridPos" : {
"h" : 8 ,
"w" : 24 ,
"x" : 0 ,
2022-05-16 13:24:17 +00:00
"y" : 31
2018-07-11 13:29:46 +00:00
} ,
"id" : 85 ,
2024-06-02 08:26:37 +00:00
"options" : {
"cellHeight" : "sm" ,
"footer" : {
"countRows" : false ,
"enablePagination" : false ,
"fields" : "" ,
"reducer" : [
"sum"
2018-07-11 13:29:46 +00:00
] ,
2024-06-02 08:26:37 +00:00
"show" : false
2018-07-11 13:29:46 +00:00
} ,
2024-06-02 08:26:37 +00:00
"showHeader" : true
} ,
"pluginVersion" : "10.4.3" ,
2018-07-11 13:29:46 +00:00
"targets" : [
{
2024-06-02 08:26:37 +00:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
2018-09-06 11:37:00 +00:00
"expr" : "avg(nginx_ingress_controller_ssl_expire_time_seconds{kubernetes_pod_name=~\"$controller\",namespace=~\"$namespace\",ingress=~\"$ingress\"}) by (host) - time()" ,
2018-07-11 13:29:46 +00:00
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{ host }}" ,
"metric" : "gke_letsencrypt_cert_expiration" ,
"refId" : "A" ,
"step" : 1
}
] ,
"title" : "Ingress Certificate Expiry" ,
2024-06-02 08:26:37 +00:00
"transformations" : [
{
"id" : "reduce" ,
"options" : {
"includeTimeField" : false ,
"labelsToFields" : false ,
"reducers" : [
"lastNotNull"
]
}
}
] ,
2018-07-11 13:29:46 +00:00
"type" : "table"
}
] ,
"refresh" : "5s" ,
2024-06-02 08:26:37 +00:00
"schemaVersion" : 39 ,
2018-07-11 13:29:46 +00:00
"tags" : [
"nginx"
] ,
"templating" : {
"list" : [
2019-11-30 13:01:14 +00:00
{
2024-06-02 08:26:37 +00:00
"current" : {
"selected" : false ,
"text" : "Prometheus" ,
"value" : "${DS_PROMETHEUS}"
} ,
2019-11-30 13:01:14 +00:00
"hide" : 0 ,
2024-06-02 08:26:37 +00:00
"includeAll" : false ,
2019-11-30 13:01:14 +00:00
"label" : "datasource" ,
2024-06-02 08:26:37 +00:00
"multi" : false ,
2019-11-30 13:01:14 +00:00
"name" : "DS_PROMETHEUS" ,
"options" : [ ] ,
"query" : "prometheus" ,
2024-06-02 08:26:37 +00:00
"queryValue" : "" ,
2019-11-30 13:01:14 +00:00
"refresh" : 1 ,
"regex" : "" ,
2024-06-02 08:26:37 +00:00
"skipUrlSync" : false ,
2019-11-30 13:01:14 +00:00
"type" : "datasource"
} ,
2018-07-11 13:29:46 +00:00
{
"allValue" : ".*" ,
2024-06-02 08:26:37 +00:00
"current" : { } ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
2018-07-11 13:29:46 +00:00
} ,
2024-06-02 08:26:37 +00:00
"definition" : "" ,
2018-07-11 13:29:46 +00:00
"hide" : 0 ,
"includeAll" : true ,
"label" : "Namespace" ,
"multi" : false ,
"name" : "namespace" ,
"options" : [ ] ,
2018-08-15 19:07:26 +00:00
"query" : "label_values(nginx_ingress_controller_config_hash, controller_namespace)" ,
2018-07-11 13:29:46 +00:00
"refresh" : 1 ,
"regex" : "" ,
2024-06-02 08:26:37 +00:00
"skipUrlSync" : false ,
2018-07-11 13:29:46 +00:00
"sort" : 0 ,
"tagValuesQuery" : "" ,
"tagsQuery" : "" ,
"type" : "query" ,
"useTags" : false
} ,
{
"allValue" : ".*" ,
2024-06-02 08:26:37 +00:00
"current" : { } ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
2018-07-11 13:29:46 +00:00
} ,
2024-06-02 08:26:37 +00:00
"definition" : "" ,
2018-07-11 13:29:46 +00:00
"hide" : 0 ,
"includeAll" : true ,
"label" : "Controller Class" ,
"multi" : false ,
"name" : "controller_class" ,
"options" : [ ] ,
"query" : "label_values(nginx_ingress_controller_config_hash{namespace=~\"$namespace\"}, controller_class) " ,
"refresh" : 1 ,
"regex" : "" ,
2024-06-02 08:26:37 +00:00
"skipUrlSync" : false ,
2018-07-11 13:29:46 +00:00
"sort" : 0 ,
"tagValuesQuery" : "" ,
"tagsQuery" : "" ,
"type" : "query" ,
"useTags" : false
} ,
{
"allValue" : ".*" ,
2024-06-02 08:26:37 +00:00
"current" : { } ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
2018-07-11 13:29:46 +00:00
} ,
2024-06-02 08:26:37 +00:00
"definition" : "" ,
2018-07-11 13:29:46 +00:00
"hide" : 0 ,
"includeAll" : true ,
"label" : "Controller" ,
"multi" : false ,
"name" : "controller" ,
"options" : [ ] ,
"query" : "label_values(nginx_ingress_controller_config_hash{namespace=~\"$namespace\",controller_class=~\"$controller_class\"}, controller_pod) " ,
"refresh" : 1 ,
"regex" : "" ,
2024-06-02 08:26:37 +00:00
"skipUrlSync" : false ,
2024-02-27 13:58:42 +00:00
"sort" : 1 ,
"tagValuesQuery" : "" ,
"tagsQuery" : "" ,
"type" : "query" ,
"useTags" : false
} ,
{
"allValue" : ".*" ,
2024-06-02 08:26:37 +00:00
"current" : { } ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
2024-02-27 13:58:42 +00:00
} ,
2024-06-02 08:26:37 +00:00
"definition" : "" ,
2024-02-27 13:58:42 +00:00
"hide" : 0 ,
"includeAll" : true ,
"label" : "Ingress Namespace" ,
"multi" : false ,
"name" : "exported_namespace" ,
"options" : [ ] ,
"query" : "label_values(nginx_ingress_controller_requests{namespace=~\"$namespace\",controller_class=~\"$controller_class\",controller_pod=~\"$controller\"}, exported_namespace) " ,
"refresh" : 1 ,
"regex" : "" ,
2024-06-02 08:26:37 +00:00
"skipUrlSync" : false ,
2024-02-27 13:58:42 +00:00
"sort" : 1 ,
2018-07-11 13:29:46 +00:00
"tagValuesQuery" : "" ,
"tagsQuery" : "" ,
"type" : "query" ,
"useTags" : false
2018-09-06 11:37:00 +00:00
} ,
{
"allValue" : ".*" ,
2024-06-02 08:26:37 +00:00
"current" : { } ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
2018-09-06 11:37:00 +00:00
} ,
2024-06-02 08:26:37 +00:00
"definition" : "" ,
2018-09-06 11:37:00 +00:00
"hide" : 0 ,
"includeAll" : true ,
"label" : "Ingress" ,
"multi" : false ,
"name" : "ingress" ,
"options" : [ ] ,
2024-02-27 13:58:42 +00:00
"query" : "label_values(nginx_ingress_controller_requests{namespace=~\"$namespace\",controller_class=~\"$controller_class\",controller_pod=~\"$controller\",exported_namespace=~\"$exported_namespace\"}, ingress) " ,
2018-09-06 11:37:00 +00:00
"refresh" : 1 ,
"regex" : "" ,
2024-06-02 08:26:37 +00:00
"skipUrlSync" : false ,
2024-02-27 13:58:42 +00:00
"sort" : 1 ,
2018-09-06 11:37:00 +00:00
"tagValuesQuery" : "" ,
"tagsQuery" : "" ,
"type" : "query" ,
"useTags" : false
2018-07-11 13:29:46 +00:00
}
]
} ,
"time" : {
"from" : "now-1h" ,
"to" : "now"
} ,
"timepicker" : {
"refresh_intervals" : [
"5s" ,
"10s" ,
"30s" ,
2018-08-02 10:15:37 +00:00
"2m" ,
2018-07-11 13:29:46 +00:00
"5m" ,
"15m" ,
"30m" ,
"1h" ,
"2h" ,
"1d"
] ,
"time_options" : [
"5m" ,
"15m" ,
"1h" ,
"6h" ,
"12h" ,
"24h" ,
"2d" ,
"7d" ,
"30d"
]
} ,
"timezone" : "browser" ,
2018-07-14 22:20:35 +00:00
"title" : "NGINX Ingress controller" ,
2018-07-11 13:29:46 +00:00
"uid" : "nginx" ,
2024-06-02 08:26:37 +00:00
"version" : 1 ,
"weekStart" : ""
}