Skip to content

feat(state): metric-servers (InfluxDB / Graphite) as a GitOps state family — /cluster/metrics/server #181

Description

@fabriziosalmi

Why

/cluster/metrics/server (external InfluxDB / Graphite metric targets) is a small, self-contained CRUD surface — an easy promotion to a GitOps state family via the cheap epic-#74 pattern (modelexport/diff/apply/preflightResource::all()). Declaring your metrics fan-out in git is a natural fit for a GitOps controller.

Scope

  • MetricServerDecl (type influxdb/graphite, host, port, proto, ...), new --resource metric-servers token, full lifecycle + preflight.
  • Preflight: a metric-server delete is low blast-radius (Notice/Warning — you lose telemetry, nothing guest-facing breaks).

Blocker

InfluxDB bearer tokens are write-only on PVE → blocked by the secret-ref / elide-on-export convention (#178). Graphite (no token) could land first; Influx targets follow #178.

Notes

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestfrozen: awaiting-demandValid roadmap, deferred until real external demand

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions