Polycrate API 0.11.0 released: Downtime Detection und Notification System
ayedo Redaktion 2 Minuten Lesezeit

Polycrate API 0.11.0 released: Downtime Detection und Notification System

Polycrate API 0.11.0 führt automatische Downtime Detection mit SLA-Tracking und ein Multi-Provider Notification System für Mattermost, Slack und Email ein.
polycrate kubernetes monitoring alerting sla notifications

Mit Version 0.11.0 erhält die Polycrate API zwei zentrale neue Features: Downtime Detection & Logging für automatische Erfassung und SLA-Tracking von Service-Ausfällen, sowie ein Notification System für Multi-Provider-Benachrichtigungen.

Downtime Detection & Logging

Zentrale Erfassung und Tracking von Service-Downtimes mit vollständiger SLA-Integration.

Highlights:

  • Automatische Downtime-Erkennung – Downtimes werden erstellt wenn ManagedObjects in einen unhealthy State wechseln
  • SLA-Tracking – Berechnung der tatsächlichen Verfügbarkeit basierend auf Target-SLA
  • Multi-Object Support – Eine Downtime kann mehrere betroffene Objekte tracken
  • Activity-Aggregation – Alle Activities während einer Downtime werden automatisch verknüpft
  • Post-Mortem via Notes – Integration mit dem Notes-System für Dokumentation

Downtime-Kinds:

Kind Beschreibung SLA-Relevant
generic Generische Downtime ✅ Ja
planned-maintenance Geplante Wartung ❌ Nein
emergency-maintenance Notfall-Wartung ❌ Nein
customer-caused Kundenverursacht ❌ Nein
upstream-provider Provider-Problem ❌ Nein
force-majeure Höhere Gewalt ❌ Nein
false-positive Fehlalarm ❌ Nein

Vorteile: Automatisches SLA-Tracking, historische Verfügbarkeitsdaten und vollständige Audit-Trail für Compliance-Anforderungen.

Notification System

Zentrales Benachrichtigungssystem mit Multi-Provider-Support via Apprise.

Unterstützte Provider:

Provider Konfiguration
Mattermost Webhook URL
Slack Webhook URL
Microsoft Teams Webhook URL
Email SMTP-Konfiguration

Features:

  • Notification Sinks – Konfigurierbare Benachrichtigungs-Ziele pro Workspace oder Organization
  • Template-System – Jinja2-Templates für verschiedene Notification-Typen
  • Multiplexing – Eine Notification kann an mehrere Sinks gesendet werden
  • Retry-Logik – Automatische Wiederholung bei fehlgeschlagenen Benachrichtigungen

Automatische Notifications:

  • Downtime gestartet
  • Downtime beendet
  • Status-Änderungen (optional)

Workspace Template API Extensions

Erweiterungen der Workspace-API für Template-basierte Workspace-Erstellung:

  • Template-Support – Workspaces können aus Templates erstellt werden
  • secrets_poly_raw – Zugriff auf verschlüsselte Secrets via API
  • Template-Validierung – Automatische Validierung von Organization-spezifischen und System-weiten Templates

SystemConfig-Erweiterungen

Neue Konfigurationsoptionen:

{
    # Downtime
    "DEFAULT_TARGET_AVAILABILITY": 99.9,
    "AVAILABILITY_CALCULATION_PERIOD_DAYS": 365,
    "DOWNTIME_AUTO_CLOSE_AFTER_HOURS": 24,
    
    # Notifications
    "NOTIFICATIONS_ENABLED": true,
    "NOTIFICATION_MAX_RETRIES": 3,
}

Vollständige Release Notes

Voraussetzungen

Dieses Release erfordert Polycrate CLI >= 0.29.2 für korrekte Workspace-Synchronisation.

polycrate-api Block

Der polycrate-api Kubernetes-Deployment-Block wurde auf Version 0.3.0 aktualisiert:

polycrate pull cargo.ayedo.cloud/ayedo/k8s/polycrate-api
polycrate run polycrate-api deploy

Polycrate ist das Infrastructure-as-Code Tool von ayedo für deklaratives Multi-Cluster-Management. Mehr erfahren →

Ähnliche Artikel