ai
Segment Routing Metric Collection — เก็บ Metrics

Segment Routing Metrics

Segment Routing SR-MPLS SRv6 Metric Collection Telemetry Prometheus Grafana Monitoring Network Production
| Metric Category | Examples | Collection Method | Interval |
|---|---|---|---|
| Interface | Bandwidth, Errors, Drops | SNMP / Telemetry | 10-60s |
| SR Policy | Active Path, Segment List | Telemetry / CLI | 30-60s |
| Latency | per-Link, per-Path delay | TWAMP / PM | 10-30s |
| IGP | Adjacency, Cost, Topology | Telemetry / SNMP | Event-driven |
| TE | Tunnel Util, Reserved BW | Telemetry / SNMP | 30-60s |
| PCE | Computation Time, Failures | PCE API / Logs | Per-request |

เคล็ดลับ
- Telemetry: ใช้ Streaming Telemetry แทน SNMP ข้อมูลละเอียดกว่า
- gNMI: ใช้ gNMI สำหรับ Router รุ่นใหม่ ประสิทธิภาพสูงกว่า
- Kafka: ใช้ Kafka เป็น Buffer เมื่อมี Router หลายพันตัว
- Alert: ตั้ง Alert Link Utilization > 80% Latency > Threshold
- Automation: ใช้ Ansible Python ทำ Validation หลัง Config Change
Segment Routing คืออะไร
SR-MPLS SRv6 Segment Label SID Routing Architecture IGP OSPF IS-IS Traffic Engineering Fast Reroute SR-PCE Controller ISP Data Center WAN





