Skip to content

observability: ext_authz timeout / failure_mode_allowed counters and kube_pod_start_time are absent from Prometheus — gates on them are vacuous #1325

Closed

Description

@bpalermo

Found grading the 8 h soak nightly-1006-surge/2.4.9-73c23e3 (T0 2026-10-06T15:02:13Z, talos-main).

  • envoy_http_capture_http_ext_authz_timeout_total and …_failure_mode_allowed_total do not exist in Prometheus at all; the AetherAuthzCanaryErrors rule (GitOps) has arms on both, which therefore can never fire. Only _error_, _ok_, _denied_ appear (and only on the node carrying the canary). Check the proxy's stats inclusion list / the collector's allow-list for these names.
  • kube-state-metrics (k8s-talos-main fix(agent): restore the default panic threshold — #143's panic-0 unmasked the Cloud Map registration race #144) does not export kube_pod_start_time, kube_pod_container_state_started or an init-container last-terminated reason, so 'which container started first' and 'why did an init container restart' cannot be read from metrics (the 10-06 grade used logs for the authz-before-proxy ordering). Add them to the allow-list if the series cost is acceptable.

🤖 Generated with Claude Code

https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr

Activity

  1. bpalermo commented on Oct 7, 2026

    @bpalermo
    OwnerAuthor

    Resolved by bpalermo/k8s-talos-main#152, applied by Flux at b3f8304 (kube-state-metrics release 2, prometheus release 50).

    Container and pod start times: now in Prometheus. Checked right after the rollout: kube_pod_start_time 174 series, kube_pod_container_state_started 210 series (and kube_pod_init_container_status_restarts_total, 82, as before).

    ext_authz: the AetherAuthzCanaryErrors arm on …ext_authz_timeout_total could never fire because the series does not exist; #152 removes that dead arm rather than adding the metric. The timeout and failure_mode_allowed counters are still absent from Prometheus; if they are wanted, that is a proxy stats-inclusion change and a separate issue.

    Not there: no kube_pod_init_container_status_last_terminated_reason series. I did not determine whether that is the allow-list or simply that no init container has a last-terminated state right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions