--- prometheus_server_rules_chrony_extra: [] prometheus_server_rules_chrony: - record: instance:chrony_clock_error_seconds:abs expr: abs(chrony_tracking_last_offset_seconds) + chrony_tracking_root_dispersion_seconds + (0.5 * chrony_tracking_root_delay_seconds) - alert: ChronyUnreachable expr: chrony_up == 0 for: 0m labels: severity: critical annotations: summary: Unable to scrape chrony metrics (instance {{ '{{' }} $labels.instance {{ '}}' }}) description: "The chrony process might have crashed.\n VALUE = {{ '{{' }} $value {{ '}}' }}\n LABELS = {{ '{{' }} $labels {{ '}}' }}"