Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
fb55436
Enable systemd collector in node-exporter and add SONiC service alerts
Sven-Ric Apr 7, 2026
77e23f5
Add sflow configuration support to SONiC config-db role
Sven-Ric Apr 8, 2026
f714b5b
Add sflow collection and processing pipeline with Grafana dashboard
Sven-Ric Apr 8, 2026
a7d9c74
Add geo-IP enrichment and geolocation panel to flow pipeline
Sven-Ric Apr 8, 2026
6d1f532
Add weathermap dashboard
Sven-Ric Apr 15, 2026
de354e5
Export Interface to VRF Mapping using promtail
Sven-Ric Apr 21, 2026
29ae820
Fix promtail not seeing vrf-to-interface mapping updates
Sven-Ric Apr 22, 2026
3718f49
Add vrf enrichment for flow samples.
Sven-Ric Apr 22, 2026
64c7b3c
Change log enrichment vrf name to default when no other name can be f…
Sven-Ric Apr 23, 2026
6ee94fd
Enable filtering flows by vrf in sflow dashboard
Sven-Ric Apr 23, 2026
6b0a283
Move pre enrichment logs from disk to memory
Sven-Ric Apr 26, 2026
a94940f
Add documentation for goflow/vector and sflow collector
Sven-Ric Apr 26, 2026
4b3c9a9
Move pre enrichment logs to fifo pipe to prevent oomkilled
Sven-Ric Apr 27, 2026
7a92244
Added traffic breakdown by AS number
Sven-Ric May 4, 2026
b9a5110
Added detailed documentation
Sven-Ric May 4, 2026
8dc6599
READMEs for lldp-weathermap and sonic-config
Sven-Ric May 15, 2026
3b5fa56
Move enrichment pipeline from controlplane to partition
Sven-Ric May 18, 2026
16367e7
expose more debug information in lldp weathermap
Sven-Ric May 26, 2026
1d0c195
Fix spelling
Sven-Ric May 28, 2026
d4558f6
remove outdated documentation
Sven-Ric May 28, 2026
4feeee4
Fix formatting
Sven-Ric May 28, 2026
1d71511
Added basic alerts
Sven-Ric May 28, 2026
0c17132
Try loki structured meta-data
Sven-Ric Jun 29, 2026
e78875d
Move Interface Mapper from Promtail to Alloy
Sven-Ric Jul 2, 2026
79d3620
Added Tenant Dashboard
Sven-Ric Jul 2, 2026
3db110a
Optimize Disk Usage by Reducing Record Body
Sven-Ric Jul 2, 2026
88dd140
Added Port to Port List
Sven-Ric Jul 2, 2026
85a3991
Move lldp-weathermap role to its own branch
Sven-Ric Jul 10, 2026
9f6c6fb
Fix ansible lint
Sven-Ric Jul 10, 2026
a7bcdd9
Added meta file
Sven-Ric Jul 10, 2026
b30bf33
Fix file permissions
Sven-Ric Jul 10, 2026
b318a3e
Add more granular control over what parts of the pipeline get deployed
Sven-Ric Jul 13, 2026
a7ce5fd
Move loki v3 changes to separate branch
Sven-Ric Jul 13, 2026
68d8e3b
Merge branch 'master' into sflow-integration
Sven-Ric Jul 13, 2026
d263d6e
Update partition/roles/sflow-collector/files/vrf-port-export.py
Sven-Ric Jul 13, 2026
4ea5c68
Apply suggestion from @iljarotar
Sven-Ric Jul 13, 2026
b6fb303
Merge branch 'master' into sflow-integration
iljarotar Jul 13, 2026
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 common/roles/partition-prometheus-rules/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ Contains default variables for partition prometheus alert manager rules. This wa
| partition_prometheus_rules_node_exporter | | node-exporter alert rules |
| partition_prometheus_rules_pixiecore | | pixiecore alert rules |
| partition_prometheus_rules_sonic_exporter | | sonic-exporter alert rules |
| partition_prometheus_rules_goflow2 | | goflow2 sFlow collector rules |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

partition_prometheus_rules_sonic_systemd is missing.

35 changes: 35 additions & 0 deletions common/roles/partition-prometheus-rules/defaults/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -343,3 +343,38 @@ partition_prometheus_rules_sonic_exporter: |
annotations:
description: "Sonic switch {{$labels.instance}} in partition {{$externalLabels.partition}} could not be scraped for more than 10 minutes."
{% endraw %}

partition_prometheus_rules_sonic_systemd: |
{% raw %}
- name: sonic-systemd.rules
rules:
- record: sonic:systemd_service_uptime_seconds
expr: time() - node_systemd_unit_start_time_seconds{name=~"(swss|bgp).service"}
- alert: SonicServiceNotActive
expr: node_systemd_unit_state{name=~"(swss|bgp).service", state="active"} == 0
for: 5m
labels:
severity: critical
annotations:
description: "SONiC service {{ $labels.name }} on {{ $labels.instance }} is not active."
- alert: SonicServiceRestarted
expr: changes(node_systemd_unit_start_time_seconds{name=~"(swss|bgp).service"}[8h]) > 0
labels:
severity: critical
annotations:
description: "SONiC service {{ $labels.name }} on {{ $labels.instance }} has restarted in the last 8 hours."
{% endraw %}

partition_prometheus_rules_goflow2: |
{% raw %}
- name: goflow2-collector.rules
rules:
- alert: GoflowCollectorDown
expr: up{job="goflow2"} == 0
for: 2m
labels:
severity: critical
annotations:
summary: "goflow2 sFlow collector down ({{ $labels.instance }})"
description: "goflow2 instance {{ $labels.instance }} has been unreachable for more than 2 minutes. sFlow ingestion is halted."
{% endraw %}
2 changes: 2 additions & 0 deletions control-plane/roles/monitoring/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@
- rethinkdb.yaml
- alertmanager.yaml
- sonic-exporter.yaml
- goflow2-north-south.yaml
- goflow2-east-west.yaml
when: monitoring_grafana_enabled

- name: Deploy Grafana dashboards for Gardener
Expand Down
Loading
Loading