coder / coder/observability

Support non-k8s workspaces

Offen
#9 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
Go
Sterne
38
Forks
9
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Currently we only scrape telemetry data from Kubernetes-deployed workspaces. Workspaces deployed currently via Docker, AWS, etc will not be discovered and therefore not covered by dashboards or alerts.

Using Grafana Agent on the client (i.e. where the workspaces are deployed), we can scrape workspaces' telemetry from non-k8s targets (e.g. Docker) by:

- discovering all containers ([`discovery.docker`](https://grafana.com/docs/agent/latest/flow/reference/components/discovery.docker/))
- scraping their metrics ([`prometheus.scrape`](https://grafana.com/docs/agent/latest/flow/reference/components/prometheus.scrape/)), and forwarding them to the Grafana Agent deployed by the helm chart ([`prometheus.receive_http`](https://grafana.com/docs/agent/latest/flow/reference/components/prometheus.receive_http/))
- scraping their logs ([`loki.source.docker`](https://grafana.com/docs/agent/latest/flow/reference/components/loki.source.docker)), and forwarding them to the Grafana Agent deployed by the helm chart ([`loki.source.api`](https://grafana.com/docs/agent/latest/flow/reference/components/loki.source.api/))

## Tasks
- [ ] Validate technical implementation
- [ ] Document solution for Docker
- [ ] Document solution for AWS
- [ ] Document solution for GCP
- [ ] Document solution for Azure
- [ ] Document solution for OpenStack

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

The issue names no repository files, tests, or entry points. Start by validating the Grafana Agent flow using discovery.docker, prometheus.scrape, prometheus.receive_http, loki.source.docker, and loki.source.api. Done means a validated non-Kubernetes approach plus documentation for Docker, AWS, GCP, Azure, and OpenStack.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
aws, azure, docker, gcp, prometheus
Bereich
cloud, observability
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.