pez-infra/terraform/grafana/fleet_pipelines/plex.alloy
Rasmus "Pez" Wejlgaard 043c783361
Some checks are pending
Deploy (on merge) / Discover hosts (push) Waiting to run
Deploy (on merge) / Deploy → (push) Blocked by required conditions
Terraform / Plan (push) Waiting to run
Terraform / Apply (push) Blocked by required conditions
Grafana Cloud Migration (#94)
* Grafana Cloud migration, adding dashboards, fleet, alloy and synthetics

* modulize stuff now that we have multiple substantial things in here

* provider updates and new secrets

* remove grafana and prometheus from ansible
2026-05-04 13:40:30 +01:00

20 lines
No EOL
406 B
Text

prometheus.remote_write "grafana_cloud" {
endpoint {
url = "https://prometheus-prod-55-prod-gb-south-1.grafana.net/api/prom/push"
basic_auth {
username = "3166394"
password = sys.env("GCLOUD_RW_API_KEY")
}
}
}
prometheus.scrape "plex" {
targets = [
{
"__address__" = "localhost:9000",
"job" = "plex",
},
]
forward_to = [prometheus.remote_write.grafana_cloud.receiver]
}