Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Grafana/log-analyser not working after fresh setup with docker on Ubuntu24 #1991

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
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
1 change: 1 addition & 0 deletions grafana.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ services:
volumes:
- ./log-analyser/grafana:/var/lib/grafana
- ./log-analyser/grafana-provisioning/dashboards/:/etc/grafana/provisioning/dashboards/
- ./log-analyser/grafana-provisioning/datasources/:/etc/grafana/provisioning/datasources/
ports:
- "3000:3000"
networks:
Expand Down
36 changes: 18 additions & 18 deletions log-analyser/grafana-provisioning/dashboards/docker-statistics.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "d301145e-8c4e-4027-bf6e-43e81f095020"
"uid": "Prometheus"
},
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -74,7 +74,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "d301145e-8c4e-4027-bf6e-43e81f095020"
"uid": "Prometheus"
},
"editorMode": "code",
"expr": "container_memory_percent_ratio * 100",
Expand All @@ -90,7 +90,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "d301145e-8c4e-4027-bf6e-43e81f095020"
"uid": "Prometheus"
},
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -140,7 +140,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "d301145e-8c4e-4027-bf6e-43e81f095020"
"uid": "Prometheus"
},
"editorMode": "code",
"exemplar": false,
Expand All @@ -158,7 +158,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "d301145e-8c4e-4027-bf6e-43e81f095020"
"uid": "Prometheus"
},
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -237,7 +237,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "d301145e-8c4e-4027-bf6e-43e81f095020"
"uid": "Prometheus"
},
"editorMode": "code",
"expr": "sum(rate(container_blockio_io_service_bytes_recursive_total{operation=\"read\"}[5m])) ",
Expand All @@ -250,7 +250,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "d301145e-8c4e-4027-bf6e-43e81f095020"
"uid": "Prometheus"
},
"editorMode": "code",
"expr": "sum(rate(container_blockio_io_service_bytes_recursive_total{operation=\"write\"}[5m])) ",
Expand All @@ -267,7 +267,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "d301145e-8c4e-4027-bf6e-43e81f095020"
"uid": "Prometheus"
},
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -347,7 +347,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "d301145e-8c4e-4027-bf6e-43e81f095020"
"uid": "Prometheus"
},
"editorMode": "code",
"expr": "rate(container_cpu_usage_kernelmode_nanoseconds_total[5m])",
Expand All @@ -359,7 +359,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "d301145e-8c4e-4027-bf6e-43e81f095020"
"uid": "Prometheus"
},
"editorMode": "code",
"expr": "rate(container_cpu_usage_usermode_nanoseconds_total[5m])",
Expand All @@ -376,7 +376,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "d301145e-8c4e-4027-bf6e-43e81f095020"
"uid": "Prometheus"
},
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -456,7 +456,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "d301145e-8c4e-4027-bf6e-43e81f095020"
"uid": "Prometheus"
},
"editorMode": "code",
"expr": "(container_memory_usage_total_bytes / container_memory_usage_limit_bytes) * 100",
Expand All @@ -472,7 +472,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "d301145e-8c4e-4027-bf6e-43e81f095020"
"uid": "Prometheus"
},
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -551,7 +551,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "d301145e-8c4e-4027-bf6e-43e81f095020"
"uid": "Prometheus"
},
"editorMode": "code",
"exemplar": false,
Expand All @@ -564,7 +564,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "d301145e-8c4e-4027-bf6e-43e81f095020"
"uid": "Prometheus"
},
"editorMode": "code",
"expr": "rate(container_network_io_usage_tx_bytes_total{interface=\"eth0\"}[5m])",
Expand All @@ -581,7 +581,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "d301145e-8c4e-4027-bf6e-43e81f095020"
"uid": "Prometheus"
},
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -660,7 +660,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "d301145e-8c4e-4027-bf6e-43e81f095020"
"uid": "Prometheus"
},
"editorMode": "code",
"expr": "rate(container_network_io_usage_rx_dropped_total{interface=\"eth0\"}[5m])",
Expand All @@ -672,7 +672,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "d301145e-8c4e-4027-bf6e-43e81f095020"
"uid": "Prometheus"
},
"editorMode": "code",
"expr": "rate(container_network_io_usage_tx_dropped_total{interface=\"eth0\"}[5m])",
Expand Down
22 changes: 11 additions & 11 deletions log-analyser/grafana-provisioning/dashboards/jicofo.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
{
"datasource": {
"type": "loki",
"uid": "a4bdfb3e-762a-46e5-a79f-2e7bbe88d444"
"uid": "Loki"
},
"gridPos": {
"h": 8,
Expand All @@ -47,7 +47,7 @@
{
"datasource": {
"type": "loki",
"uid": "a4bdfb3e-762a-46e5-a79f-2e7bbe88d444"
"uid": "Loki"
},
"editorMode": "code",
"expr": "{exporter=\"OTLP\"} | json | attributes_attrs_service=\"jitsi-jicofo\"",
Expand All @@ -61,7 +61,7 @@
{
"datasource": {
"type": "loki",
"uid": "a4bdfb3e-762a-46e5-a79f-2e7bbe88d444"
"uid": "Loki"
},
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -114,7 +114,7 @@
{
"datasource": {
"type": "loki",
"uid": "b8130a28-4867-4668-917d-539c93852857"
"uid": "Loki"
},
"editorMode": "code",
"expr": "sum by (attributes_level) (\n rate({exporter=\"OTLP\"} | json|attributes_attrs_service=\"jitsi-jicofo\"| line_format \"{{.log}}\" | logfmt | pattern \"[<_>] <_level>: <_>\"[5m])\n)",
Expand All @@ -129,7 +129,7 @@
{
"datasource": {
"type": "loki",
"uid": "a4bdfb3e-762a-46e5-a79f-2e7bbe88d444"
"uid": "Loki"
},
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -181,7 +181,7 @@
{
"datasource": {
"type": "loki",
"uid": "b8130a28-4867-4668-917d-539c93852857"
"uid": "Loki"
},
"editorMode": "code",
"expr": "sum by (attributes_level, attributes_attrs_service) (\n rate({exporter=\"OTLP\"} | json|attributes_attrs_service=\"jitsi-jicofo\"| line_format \"{{.attributes_message}}\" | logfmt | pattern \"[<_>] <attributes_level>#<attributes_attrs_service>: <_>\"[5m]))",
Expand All @@ -197,7 +197,7 @@
{
"datasource": {
"type": "loki",
"uid": "a4bdfb3e-762a-46e5-a79f-2e7bbe88d444"
"uid": "Loki"
},
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -291,7 +291,7 @@
{
"datasource": {
"type": "loki",
"uid": "a4bdfb3e-762a-46e5-a79f-2e7bbe88d444"
"uid": "Loki"
},
"description": "This panel shows the number of conference requests over time.",
"fieldConfig": {
Expand Down Expand Up @@ -372,7 +372,7 @@
{
"datasource": {
"type": "loki",
"uid": "a4bdfb3e-762a-46e5-a79f-2e7bbe88d444"
"uid": "Loki"
},
"editorMode": "code",
"expr": "count_over_time({exporter=\"OTLP\"} | json | attributes_attrs_service=\"jitsi-jicofo\" |= \"Conference request\" [1m])",
Expand All @@ -386,7 +386,7 @@
{
"datasource": {
"type": "loki",
"uid": "a4bdfb3e-762a-46e5-a79f-2e7bbe88d444"
"uid": "Loki"
},
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -429,7 +429,7 @@
{
"datasource": {
"type": "loki",
"uid": "a4bdfb3e-762a-46e5-a79f-2e7bbe88d444"
"uid": "Loki"
},
"editorMode": "code",
"expr": "sum(count_over_time({exporter=\"OTLP\"} | json | attributes_attrs_service=\"jitsi-jicofo\" |~ \"Member left|Terminating|Removed participant\" [1m]))",
Expand Down
8 changes: 4 additions & 4 deletions log-analyser/grafana-provisioning/dashboards/jitsi-all.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
{
"datasource": {
"type": "loki",
"uid": "a4bdfb3e-762a-46e5-a79f-2e7bbe88d444"
"uid": "Loki"
},
"description": "",
"fieldConfig": {
Expand Down Expand Up @@ -104,7 +104,7 @@
{
"datasource": {
"type": "loki",
"uid": "b8130a28-4867-4668-917d-539c93852857"
"uid": "Loki"
},
"editorMode": "code",
"expr": "sum by (attributes_attrs_service) (\n rate({exporter=\"OTLP\"} | json | line_format \"{{.attributes_message}}\" | logfmt | pattern \"[<_>] <_level>: <_>\"[5m]))",
Expand All @@ -119,7 +119,7 @@
{
"datasource": {
"type": "loki",
"uid": "a4bdfb3e-762a-46e5-a79f-2e7bbe88d444"
"uid": "Loki"
},
"gridPos": {
"h": 8,
Expand All @@ -142,7 +142,7 @@
{
"datasource": {
"type": "loki",
"uid": "a4bdfb3e-762a-46e5-a79f-2e7bbe88d444"
"uid": "Loki"
},
"editorMode": "code",
"expr": "{exporter=\"OTLP\"} ",
Expand Down
16 changes: 8 additions & 8 deletions log-analyser/grafana-provisioning/dashboards/jitsi-web.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
{
"datasource": {
"type": "loki",
"uid": "a4bdfb3e-762a-46e5-a79f-2e7bbe88d444"
"uid": "Loki"
},
"gridPos": {
"h": 8,
Expand All @@ -48,7 +48,7 @@
{
"datasource": {
"type": "loki",
"uid": "a4bdfb3e-762a-46e5-a79f-2e7bbe88d444"
"uid": "Loki"
},
"editorMode": "code",
"expr": "{exporter=\"OTLP\"} | json | attributes_attrs_service=\"jitsi-web\"",
Expand All @@ -62,7 +62,7 @@
{
"datasource": {
"type": "loki",
"uid": "a4bdfb3e-762a-46e5-a79f-2e7bbe88d444"
"uid": "Loki"
},
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -115,7 +115,7 @@
{
"datasource": {
"type": "loki",
"uid": "a4bdfb3e-762a-46e5-a79f-2e7bbe88d444"
"uid": "Loki"
},
"editorMode": "code",
"expr": "sum by (attributes_level) (\n rate({exporter=\"OTLP\"} | json|attributes_attrs_service=\"jitsi-web\"| line_format \"{{.log}}\" | logfmt | pattern \"[<_>] <_level>: <_>\"[5m])\n)",
Expand All @@ -130,7 +130,7 @@
{
"datasource": {
"type": "loki",
"uid": "a4bdfb3e-762a-46e5-a79f-2e7bbe88d444"
"uid": "Loki"
},
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -182,7 +182,7 @@
{
"datasource": {
"type": "loki",
"uid": "a4bdfb3e-762a-46e5-a79f-2e7bbe88d444"
"uid": "Loki"
},
"editorMode": "code",
"expr": "sum by (attributes_level, attributes_attrs_service) (\n rate({exporter=\"OTLP\"} | json|attributes_attrs_service=\"jitsi-web\"| line_format \"{{.attributes_message}}\" | logfmt | pattern \"[<_>] <attributes_level>#<attributes_attrs_service>: <_>\"[5m]))",
Expand All @@ -197,7 +197,7 @@
{
"datasource": {
"type": "loki",
"uid": "a4bdfb3e-762a-46e5-a79f-2e7bbe88d444"
"uid": "Loki"
},
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -244,7 +244,7 @@
{
"datasource": {
"type": "loki",
"uid": "a4bdfb3e-762a-46e5-a79f-2e7bbe88d444"
"uid": "Loki"
},
"editorMode": "code",
"expr": "sum(count_over_time({exporter=\"OTLP\"} | json | attributes_attrs_service=\"jitsi-web\" |= \"GET\" [5m])) by (instance)",
Expand Down
Loading