Refresh HiveGrid Cloud reference snapshot
This commit is contained in:
1 parent
5e99e14772
commit
7f88026f79
5955 files changed
+1177325
-188362
No files matched your search
@@ -8,7 +8,8 @@
|
||||
# Targets:
|
||||
# * api — apps/api admin metrics surface (port 3201 default)
|
||||
# * worker — apps/worker admin server (port 9101 default; 9100 is health-probe)
|
||||
# * web — apps/web SSR resource route on /api/metrics
|
||||
# * web-core — apps/web core SSR resource route on /api/metrics
|
||||
# * web-portal — apps/web portal SSR resource route on /api/metrics
|
||||
#
|
||||
# Operator deploys this on the Hetzner staging server alongside Sentry.
|
||||
|
||||
@@ -62,20 +63,32 @@ scrape_configs:
|
||||
labels:
|
||||
service: worker
|
||||
|
||||
- job_name: hivegrid-web
|
||||
- job_name: hivegrid-web-core
|
||||
metrics_path: /api/metrics
|
||||
scheme: https
|
||||
authorization:
|
||||
type: Bearer
|
||||
credentials_file: /etc/prometheus/secrets/metrics_token
|
||||
static_configs:
|
||||
# /api/metrics is admin-only — the resource route is mounted on
|
||||
# the admin host. Scraping the tenant-facing host returns 404 by
|
||||
# design. Use admin.<domain> for staging; in prod set to
|
||||
# admin.<prod-domain>.
|
||||
- targets: ["admin.hivegrid.de"]
|
||||
# Core and admin share one process-local registry. Scrape exactly one
|
||||
# host so counters are not duplicated.
|
||||
- targets: ["app.hivegrid.de"]
|
||||
labels:
|
||||
service: web
|
||||
runtime_surface: core
|
||||
|
||||
- job_name: hivegrid-web-portal
|
||||
metrics_path: /api/metrics
|
||||
scheme: https
|
||||
authorization:
|
||||
type: Bearer
|
||||
credentials_file: /etc/prometheus/secrets/metrics_token
|
||||
static_configs:
|
||||
# Portal runs in its own process and therefore has a separate registry.
|
||||
- targets: ["portal.hivegrid.de"]
|
||||
labels:
|
||||
service: web
|
||||
runtime_surface: portal
|
||||
|
||||
# When promoting to production, also scrape the production targets behind
|
||||
# their own bearer-token. Add scrape_configs entries with environment=production.
|
||||
Reference in new issue
Block a user