Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
149 changes: 75 additions & 74 deletions production/loki-mixin-compiled-ssd/dashboards/loki-bloom-build.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

59 changes: 30 additions & 29 deletions production/loki-mixin-compiled-ssd/dashboards/loki-chunks.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -657,16 +657,17 @@
"type": "datasource"
},
{
"allValue": null,
"allValue": ".+",
"current": {
"text": "prod",
"value": "prod"
"selected": true,
"text": "All",
"value": "$__all"
},
"datasource": "$datasource",
"hide": 0,
"includeAll": false,
"includeAll": true,
"label": "cluster",
"multi": false,
"multi": true,
"name": "cluster",
"options": [ ],
"query": "label_values(loki_build_info, cluster)",
Expand Down
33 changes: 17 additions & 16 deletions production/loki-mixin-compiled-ssd/dashboards/loki-logs.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"steppedLine": false,
"targets": [
{
"expr": "sum by (pod)(go_goroutines{cluster=\"$cluster\", namespace=\"$namespace\", container=~\"$container\" })",
"expr": "sum by (pod)(go_goroutines{cluster=~\"$cluster\", namespace=\"$namespace\", container=~\"$container\" })",
"refId": "A"
}
],
Expand Down Expand Up @@ -154,7 +154,7 @@
"steppedLine": false,
"targets": [
{
"expr": "sum(go_gc_duration_seconds{cluster=\"$cluster\", namespace=\"$namespace\", container=~\"$container\"}) by (quantile)",
"expr": "sum(go_gc_duration_seconds{cluster=~\"$cluster\", namespace=\"$namespace\", container=~\"$container\"}) by (quantile)",
"legendFormat": "{{quantile}}",
"refId": "A"
}
Expand Down Expand Up @@ -241,7 +241,7 @@
"steppedLine": false,
"targets": [
{
"expr": "sum by (pod)(rate(container_cpu_usage_seconds_total{cluster=\"$cluster\", namespace=\"$namespace\", container=~\"$container\"}[$__rate_interval]))",
"expr": "sum by (pod)(rate(container_cpu_usage_seconds_total{cluster=~\"$cluster\", namespace=\"$namespace\", container=~\"$container\"}[$__rate_interval]))",
"refId": "A"
}
],
Expand Down Expand Up @@ -332,7 +332,7 @@
"steppedLine": false,
"targets": [
{
"expr": "sum by (pod)(container_memory_working_set_bytes{cluster=\"$cluster\", namespace=\"$namespace\", container=~\"$container\"})",
"expr": "sum by (pod)(container_memory_working_set_bytes{cluster=~\"$cluster\", namespace=\"$namespace\", container=~\"$container\"})",
"refId": "A"
}
],
Expand Down Expand Up @@ -423,7 +423,7 @@
"steppedLine": false,
"targets": [
{
"expr": "sum by (pod)(rate(container_network_transmit_bytes_total{cluster=\"$cluster\", namespace=\"$namespace\", container=~\"$container\"}[$__rate_interval]))",
"expr": "sum by (pod)(rate(container_network_transmit_bytes_total{cluster=~\"$cluster\", namespace=\"$namespace\", container=~\"$container\"}[$__rate_interval]))",
"refId": "A"
}
],
Expand Down Expand Up @@ -514,7 +514,7 @@
"steppedLine": false,
"targets": [
{
"expr": "sum by (pod)(rate(container_network_receive_bytes_total{cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval]))",
"expr": "sum by (pod)(rate(container_network_receive_bytes_total{cluster=~\"$cluster\", namespace=\"$namespace\"}[$__rate_interval]))",
"refId": "A"
}
],
Expand Down Expand Up @@ -600,7 +600,7 @@
"steppedLine": false,
"targets": [
{
"expr": "increase(kube_pod_container_status_last_terminated_reason{cluster=\"$cluster\", namespace=\"$namespace\", container=~\"$container\"}[30m]) > 0",
"expr": "increase(kube_pod_container_status_last_terminated_reason{cluster=~\"$cluster\", namespace=\"$namespace\", container=~\"$container\"}[30m]) > 0",
"legendFormat": "{{reason}}",
"refId": "A"
}
Expand Down Expand Up @@ -692,7 +692,7 @@
"steppedLine": false,
"targets": [
{
"expr": "sum(rate(promtail_custom_bad_words_total{cluster=\"$cluster\", exported_namespace=\"$namespace\", container=~\"$container\"}[$__rate_interval])) by (level)",
"expr": "sum(rate(promtail_custom_bad_words_total{cluster=~\"$cluster\", exported_namespace=\"$namespace\", container=~\"$container\"}[$__rate_interval])) by (level)",
"legendFormat": "{{level}}",
"refId": "A"
}
Expand Down Expand Up @@ -801,7 +801,7 @@
"steppedLine": false,
"targets": [
{
"expr": "sum(rate({cluster=\"$cluster\", namespace=\"$namespace\", container=~\"$container\" } |logfmt| level=~\"$level\" |= \"$filter\" | __error__=\"\" [$__auto])) by (level)",
"expr": "sum(rate({cluster=~\"$cluster\", namespace=\"$namespace\", container=~\"$container\" } |logfmt| level=~\"$level\" |= \"$filter\" | __error__=\"\" [$__auto])) by (level)",
"intervalFactor": 3,
"legendFormat": "{{level}}",
"refId": "A"
Expand Down Expand Up @@ -866,7 +866,7 @@
},
"targets": [
{
"expr": "{cluster=\"$cluster\", namespace=\"$namespace\", container=~\"$container\"} | logfmt | level=~\"$level\" |= \"$filter\"",
"expr": "{cluster=~\"$cluster\", namespace=\"$namespace\", container=~\"$container\"} | logfmt | level=~\"$level\" |= \"$filter\"",
"refId": "A"
}
],
Expand Down Expand Up @@ -900,16 +900,17 @@
"type": "datasource"
},
{
"allValue": null,
"allValue": ".+",
"current": {
"text": "prod",
"value": "prod"
"selected": true,
"text": "All",
"value": "$__all"
},
"datasource": "$datasource",
"hide": 0,
"includeAll": false,
"includeAll": true,
"label": "cluster",
"multi": false,
"multi": true,
"name": "cluster",
"options": [ ],
"query": "label_values(loki_build_info, cluster)",
Expand Down Expand Up @@ -965,7 +966,7 @@
"multi": true,
"name": "container",
"options": [ ],
"query": "label_values(kube_pod_container_info{cluster=\"$cluster\", namespace=\"$namespace\"}, container)",
"query": "label_values(kube_pod_container_info{cluster=~\"$cluster\", namespace=\"$namespace\"}, container)",
"refresh": 0,
"regex": "",
"sort": 1,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -610,16 +610,17 @@
"type": "datasource"
},
{
"allValue": null,
"allValue": ".+",
"current": {
"text": "prod",
"value": "prod"
"selected": true,
"text": "All",
"value": "$__all"
},
"datasource": "$datasource",
"hide": 0,
"includeAll": false,
"includeAll": true,
"label": "cluster",
"multi": false,
"multi": true,
Comment thread
cursor[bot] marked this conversation as resolved.
"name": "cluster",
"options": [ ],
"query": "label_values(loki_build_info, cluster)",
Expand Down Expand Up @@ -675,7 +676,7 @@
"multi": false,
"name": "tenant",
"options": [ ],
"query": "query_result(sum by (id) (grafanacloud_logs_instance_info) and sum(label_replace(loki_tenant:active_streams{cluster=\"$cluster\",namespace=\"$namespace\"},\"id\",\"$1\",\"tenant\",\"(.*)\")) by(id))",
"query": "query_result(sum by (id) (grafanacloud_logs_instance_info) and sum(label_replace(loki_tenant:active_streams{cluster=~\"$cluster\",namespace=\"$namespace\"},\"id\",\"$1\",\"tenant\",\"(.*)\")) by(id))",
"refresh": 0,
"regex": "/\"([^\"]+)\"/",
"sort": 1,
Expand Down
Loading
Loading