Browse Source

Merge "Fix typos in linux/meta/prometheus.yml"

pull/117/head
Jakub Josef 7 years ago
parent
commit
a13f931b0b
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      linux/meta/prometheus.yml

+ 2
- 2
linux/meta/prometheus.yml View File

service: system service: system
annotations: annotations:
summary: 'Too many received packets dropped on {{ $labels.host }} for interface {{ $labels.interface }}' summary: 'Too many received packets dropped on {{ $labels.host }} for interface {{ $labels.interface }}'
description: 'The rate of received packets which are dropped is too high on node {{ $labels.host }} for interface {{ $label.interface }} (current value={{ $value }}/sec, threshold={% endraw %}{{ net_rx_dropped_threshold }}/sec)'
description: 'The rate of received packets which are dropped is too high on node {{ $labels.host }} for interface {{ $labels.interface }} (current value={{ $value }}/sec, threshold={% endraw %}{{ net_rx_dropped_threshold }}/sec)'
SystemTxPacketsDroppedTooHigh: SystemTxPacketsDroppedTooHigh:
{%- set net_tx_dropped_threshold = monitoring.tx_packets_dropped_rate.warn %} {%- set net_tx_dropped_threshold = monitoring.tx_packets_dropped_rate.warn %}
if: rate(net_drop_out[1m]) > {{ net_tx_dropped_threshold }} if: rate(net_drop_out[1m]) > {{ net_tx_dropped_threshold }}
service: system service: system
annotations: annotations:
summary: 'Too many transmitted packets dropped on {{ $labels.host }} for interface {{ $labels.interface }}' summary: 'Too many transmitted packets dropped on {{ $labels.host }} for interface {{ $labels.interface }}'
description: 'The rate of transmitted packets which are dropped is too high on node {{ $labels.host }} for interface {{ $label.interface }} (current value={{ $value }}/sec, threshold={% endraw %}{{ net_tx_dropped_threshold }}/sec)'
description: 'The rate of transmitted packets which are dropped is too high on node {{ $labels.host }} for interface {{ $labels.interface }} (current value={{ $value }}/sec, threshold={% endraw %}{{ net_tx_dropped_threshold }}/sec)'
SystemSwapUsed: SystemSwapUsed:
{%- set swap_used_threshold = monitoring.swap.warn.strip('%')|float %} {%- set swap_used_threshold = monitoring.swap.warn.strip('%')|float %}
if: avg_over_time(swap_used_percent[1m]) > {{ swap_used_threshold }} if: avg_over_time(swap_used_percent[1m]) > {{ swap_used_threshold }}

Loading…
Cancel
Save