internal/

directory
v1.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 8, 2026 License: Apache-2.0

Directories

Path Synopsis
Package authz holds the small auth primitives shared by the HTTP endpoints served on the metrics address - the Alertmanager receiver and the read-only /api/alerts view - so the bearer-token check has a single source of truth instead of a copy per endpoint.
Package authz holds the small auth primitives shared by the HTTP endpoints served on the metrics address - the Alertmanager receiver and the read-only /api/alerts view - so the bearer-token check has a single source of truth instead of a copy per endpoint.
Package crd ingests AlertKube custom resources via a client-go dynamic informer and exposes them to the router.
Package crd ingests AlertKube custom resources via a client-go dynamic informer and exposes them to the router.
Package env reads typed environment variables with fallbacks, sharing one truthy/falsy vocabulary across the binary and config loader.
Package env reads typed environment variables with fallbacks, sharing one truthy/falsy vocabulary across the binary and config loader.
Package group folds alert storms: the first alert of a group passes through immediately (pages stay fast), subsequent alerts in the same group within the window are absorbed and surface as one summary alert when the window closes.
Package group folds alert storms: the first alert of a group passes through immediately (pages stay fast), subsequent alerts in the same group within the window are absorbed and surface as one summary alert when the window closes.
Package httpx provides shared HTTP helpers for webhook-style sinks.
Package httpx provides shared HTTP helpers for webhook-style sinks.
Package persist stores the alert Store's state in a ConfigMap so a controller restart does not lose pending resolves (dangling PagerDuty incidents) or re-page muted standing conditions.
Package persist stores the alert Store's state in a ConfigMap so a controller restart does not lose pending resolves (dangling PagerDuty incidents) or re-page muted standing conditions.
Package receiver ingests Alertmanager webhook payloads so alertkube can act as a notification layer for the whole Prometheus ecosystem: point an Alertmanager webhook_config at /api/v1/alerts and its alerts flow through the same dedupe, grouping, routing, and sink pipeline as the built-in watchers.
Package receiver ingests Alertmanager webhook payloads so alertkube can act as a notification layer for the whole Prometheus ecosystem: point an Alertmanager webhook_config at /api/v1/alerts and its alerts flow through the same dedupe, grouping, routing, and sink pipeline as the built-in watchers.
Package rules evaluates user-authored correlation rules against the live alert stream (watchers + cloud sources) and emits derived alerts when a rule's condition holds.
Package rules evaluates user-authored correlation rules against the live alert stream (watchers + cloud sources) and emits derived alerts when a rule's condition holds.
Package shard implements static, hash-based ownership so alert evaluation and delivery can be distributed across N active replicas (A2 in the design doc).
Package shard implements static, hash-based ownership so alert evaluation and delivery can be distributed across N active replicas (A2 in the design doc).
Package silence holds runtime (UI-created) silences: time-boxed, matcher-based mutes that an operator adds without editing Git/ConfigMap.
Package silence holds runtime (UI-created) silences: time-boxed, matcher-based mutes that an operator adds without editing Git/ConfigMap.
Package sources runs polled alert producers alongside the informer-driven Kubernetes watchers.
Package sources runs polled alert producers alongside the informer-driven Kubernetes watchers.
aws
Package aws polls AWS APIs and emits cloud-resource alerts into the same pipeline as the in-cluster Kubernetes watchers.
Package aws polls AWS APIs and emits cloud-resource alerts into the same pipeline as the in-cluster Kubernetes watchers.
azure
Package azure polls Azure APIs and emits cloud-resource alerts into the same pipeline as the in-cluster Kubernetes watchers.
Package azure polls Azure APIs and emits cloud-resource alerts into the same pipeline as the in-cluster Kubernetes watchers.
gcp
Package gcp polls Google Cloud APIs and emits cloud-resource alerts into the same pipeline as the in-cluster Kubernetes watchers.
Package gcp polls Google Cloud APIs and emits cloud-resource alerts into the same pipeline as the in-cluster Kubernetes watchers.
Package textutil provides UTF-8-safe string truncation shared by the chat sinks and the Slack template.
Package textutil provides UTF-8-safe string truncation shared by the chat sinks and the Slack template.
Package topology answers "what is related to what" over the live Kubernetes object set, for the correlation engine (internal/correlate).
Package topology answers "what is related to what" over the live Kubernetes object set, for the correlation engine (internal/correlate).
Package trace provides opt-in OpenTelemetry tracing for the alert pipeline.
Package trace provides opt-in OpenTelemetry tracing for the alert pipeline.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL