+ "traffic_alerts.yaml": "apiVersion: 1\ngroups:\n - orgId: 1\n name: traffic\n folder: canton-network\n interval: 1m\n rules:\n - uid: adw5rd048zf9ca\n title: Wasted Traffic\n condition: wasted_traffic_threshold\n data:\n - refId: wasted_traffic\n relativeTimeRange:\n from: 600\n to: 0\n datasourceUid: prometheus\n model:\n editorMode: code\n expr: max by (member) (delta(daml_sequencer_traffic_control_wasted_traffic_total{member=~\"PAR::.*\",member!~\"PAR::Dummy-SV-1::.*\",member!~\"PAR::Dummy-SV-2::.*\"}[5m]))\n instant: true\n intervalMs: 1000\n legendFormat: __auto\n maxDataPoints: 43200\n range: false\n refId: wasted_traffic\n - refId: wasted_traffic_threshold\n relativeTimeRange:\n from: 600\n to: 0\n datasourceUid: __expr__\n model:\n conditions:\n - evaluator:\n params:\n - 1024\n type: gt\n operator:\n type: and\n query:\n params:\n - C\n reducer:\n params: []\n type: last\n type: query\n datasource:\n type: __expr__\n uid: __expr__\n expression: wasted_traffic\n intervalMs: 1000\n maxDataPoints: 43200\n refId: wasted_traffic_threshold\n type: threshold\n dashboardUid: fdnphvrryfq4gf\n panelId: 6\n noDataState: OK\n execErrState: Alerting\n for: 1m\n annotations:\n __dashboardUid__: fdnphvrryfq4gf\n __panelId__: \"6\"\n description: The rate of traffic wasted by member {{ $labels.member }} exceeded the threshold with a value of {{ humanize1024 $values.wasted_traffic.Value }} in the last 5m\n severity: critical\n summary: Traffic wasted by {{ $labels.member }} exceeded threshold ({{ humanize1024 1024 }}b over 5m)\n labels: {}\n isPaused: false\n - uid: 5dcddc9a5487\n title: Confirmation Requests Total\n condition: confirmation_requests_total_threshold\n data:\n - refId: confirmation_requests_total\n relativeTimeRange:\n from: 600\n to: 0\n datasourceUid: prometheus\n model:\n editorMode: code\n expr: max by (migration_id) (sum by (namespace, migration_id) (rate(daml_sequencer_block_events_total{type=\"send-confirmation-request\"}[5m])))\n instant: true\n intervalMs: 1000\n legendFormat: __auto\n maxDataPoints: 43200\n range: false\n refId: confirmation_requests_total\n - refId: confirmation_requests_total_threshold\n datasourceUid: __expr__\n model:\n conditions:\n - evaluator:\n params:\n - 10\n type: gt\n operator:\n type: and\n query:\n params: []\n reducer:\n params: []\n type: avg\n type: query\n datasource:\n name: Expression\n type: __expr__\n uid: __expr__\n expression: confirmation_requests_total\n hide: false\n refId: confirmation_requests_total_threshold\n type: threshold\n dashboardUid: fdjrxql2alblsd\n panelId: 1\n noDataState: OK\n execErrState: Alerting\n for: 1m\n annotations:\n __dashboardUid__: fdjrxql2alblsd\n __panelId__: \"1\"\n description: The total confirmation requests send rate on migration ID {{ $labels.migration_id }} exceeded the threshold with a value of {{ 10 }} in the last 5m\n severity: critical\n summary: Total confirmation requests on migration ID {{ $labels.migration_id }} exceeded the threshold (10 in the last 5m)\n labels: {}\n isPaused: false\n - uid: 88b8827c8d09\n title: Confirmation Requests By Member\n condition: confirmation_requests_by_member_threshold\n data:\n - refId: confirmation_requests_by_member\n relativeTimeRange:\n from: 600\n to: 0\n datasourceUid: prometheus\n model:\n editorMode: code\n expr: max by (member, migration_id) (rate(daml_sequencer_block_events_total{type=\"send-confirmation-request\"}[5m]))\n instant: true\n intervalMs: 1000\n legendFormat: __auto\n maxDataPoints: 43200\n range: false\n refId: confirmation_requests_by_member\n - refId: confirmation_requests_by_member_threshold\n datasourceUid: __expr__\n model:\n conditions:\n - evaluator:\n params:\n - 10\n type: gt\n operator:\n type: and\n query:\n params: []\n reducer:\n params: []\n type: avg\n type: query\n datasource:\n name: Expression\n type: __expr__\n uid: __expr__\n expression: confirmation_requests_by_member\n hide: false\n refId: confirmation_requests_by_member_threshold\n type: threshold\n dashboardUid: fdjrxql2alblsd\n panelId: 1\n noDataState: OK\n execErrState: Alerting\n for: 1m\n annotations:\n __dashboardUid__: fdjrxql2alblsd\n __panelId__: \"1\"\n description: The confirmation requests send rate of member {{ $labels.member }} on migration ID {{ $labels.migration_id }} exceeded the threshold with a value of {{ 10 }} in the last 5m\n severity: critical\n summary: Confirmation requests by member {{ $labels.member }} on migration ID {{ $labels.migration_id }} exceeded the threshold (10 in the last 5m)\n labels: {}\n isPaused: false\n"
0 commit comments