Bundle: redb-tsak / deploy (deploy.txt), 9 files Snapshot: development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages. License: Apache-2.0. Repository: https://github.com/redbase-app/redb-tsak Index: https://redbase.app/src/dev-2026-12-06/redb-tsak/_index.txt ==== Path: redb-tsak/deploy/README.md Snapshot: redb-tsak, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages. License: Apache-2.0. Repository: https://github.com/redbase-app/redb-tsak Page: https://redbase.app/src/dev-2026-12-06/redb-tsak/deploy/README.md ---- # redb.Tsak — deployment & observability assets Ready-to-use manifests and configs for running and monitoring the Tsak Worker. ``` deploy/ ├── k8s/ Kubernetes manifests │ ├── deployment.yaml Deployment (correct /api/health/* probes, metrics port, OTLP env) │ ├── service.yaml Service (REST + /metrics on 9090) │ └── servicemonitor.yaml Prometheus Operator ServiceMonitor (alternative to scrape annotations) ├── grafana/ │ └── redb-tsak-dashboard.json Importable dashboard (routes + .NET runtime) └── observability/ Local Prometheus + Grafana + Jaeger stack ├── docker-compose.yml ├── prometheus.yml └── grafana/provisioning/… Auto-provisioned datasource + dashboard ``` ## Clustering — one node out of the box The Tsak cluster is **redb-backed**: leader election, heartbeats and round-robin route distribution live in the redb store (this is **not** Quartz clustering, which stays off on SQLite). The shipped `appsettings.json` is already wired for it, so there is nothing to turn on: - `Tsak:Redb:UsePro: true` — Pro, including `tsak.cluster`, is **free of charge and unrestricted**: it needs no key and has no node cap; - `Tsak:Cluster:Enabled: true`, on an embedded **SQLite** store (zero external dependencies). So a **single Worker process is already a working one-node cluster** — start it and it elects itself leader and begins distributing routes. Add as many nodes as you like — they point at the **same redb database**, share `ClusterName`/`GroupName`, each with an empty `NodeId` (self-assigned), and join automatically. ```jsonc "Tsak": { "Redb": { "Provider": "sqlite", "UsePro": true }, "Cluster": { "Enabled": true, "ClusterName": "default", "GroupName": "default", "Strategy": "round-robin" } } ``` Run **standalone** (no cluster) by flipping one flag: ```jsonc "Tsak": { "Cluster": { "Enabled": false } } ``` > Pro is free of charge and needs no key, in production, with no node cap. For a multi-node > cluster the one thing you do change is the store: point every node at a shared Postgres/MSSql redb database instead of embedded SQLite. ## What Tsak exposes | Signal | How | Toggle | Port | |----------|---------------------------------------|-------------------------------------|------| | Metrics | Prometheus `/metrics` on the facade | `Tsak:Metrics:Prometheus:Enabled` | 9090 | | Traces | OTel → OTLP exporter (Jaeger/collector)| `Tsak:Tracing:Otlp:Enabled` | →4317| | Health | K8s probes (auth-exempt) | always on | 9090 | Both observability exporters are **off by default**. Enable via config or env-var (`Tsak__Metrics__Prometheus__Enabled=true`, `Tsak__Tracing__Otlp__Enabled=true`). > **Metrics are served through the facade** at `http://:9090/metrics` (auth-exempt) — the > same Kestrel port as the API. The OTel scrape listener binds **loopback** (`localhost:9464`) > internally and is proxied out by the `/metrics` route, so there is **no separate exposed port > and no Windows URL ACL** to set up. `Tsak:Metrics:Prometheus:Port` only changes the internal > loopback port. ### Health probe paths (auth-exempt) - `GET /api/health/startup` — startup probe - `GET /api/health/live` — liveness probe - `GET /api/health/ready` — readiness probe > These live under `/api/health/*` (the `Tsak:Api:AuthExempt` prefix). The rich aggregate > `GET /api/system/health` is a separate, **auth-gated** endpoint for CLI/Web — do **not** > point K8s probes at it. ## Prometheus metric names The OTel Prometheus exporter sanitises names and appends unit + `_total`. The exact series exported by `redb.Route` (verified against `OpenTelemetry.Exporter.Prometheus.HttpListener` 1.15): | Instrument (OTel) | Type | Prometheus series | |------------------------------------|-----------|----------------------------------------------------| | `redb.route.exchanges.processed` | counter | `redb_route_exchanges_processed_exchanges_total` | | `redb.route.exchanges.failed` | counter | `redb_route_exchanges_failed_exchanges_total` | | `redb.route.exchange.duration` (ms)| histogram | `redb_route_exchange_duration_milliseconds_{bucket,sum,count}` | | `redb.route.exchanges.inflight` | gauge | `redb_route_exchanges_inflight_exchanges` | Labels: `redb_route_id`, `redb_route_endpoint`, `redb_route_scheme`, plus `otel_scope_name`. Runtime/process series use the `dotnet_*` and `process_*` prefixes. ## Local stack (Docker) ```bash cd deploy/observability docker compose up -d ``` - Grafana → http://localhost:3000 (anonymous admin; dashboard auto-loaded) - Prometheus → http://localhost:9091 (host 9091 → container 9090; avoids Tsak's API port 9090) - Jaeger UI → http://localhost:16686 Then run the Worker on the host with both exporters on: ```bash Tsak__Metrics__Prometheus__Enabled=true Tsak__Tracing__Otlp__Enabled=true dotnet run --project src/redb.Tsak.Worker ``` Prometheus scrapes the facade's `:9090/metrics`; the Worker pushes traces to Jaeger's OTLP `:4317`. ## Kubernetes ```bash kubectl apply -n redb -f deploy/k8s/deployment.yaml -f deploy/k8s/service.yaml # With the Prometheus Operator (kube-prometheus-stack) instead of scrape annotations: kubectl apply -n redb -f deploy/k8s/servicemonitor.yaml ``` Edit the image, `terminationGracePeriodSeconds` / `RedbRoute__ShutdownTimeout` (the grace period must exceed deregistration plus one `ShutdownTimeout` per module context plus 30 s for `_system`: the contexts drain one after another; see the Tsak README, "Graceful termination"), the Redb connection (use a Secret), and the OTLP `Endpoint` (point at your in-cluster Jaeger collector) before applying. ## Jaeger / OTLP notes Jaeger ingests OTLP natively — no Jaeger-specific exporter needed. Set: ```jsonc "Tsak": { "Tracing": { "Otlp": { "Enabled": true, "Endpoint": "http://localhost:4317", // gRPC; use :4318 with "Protocol": "http/protobuf" "Protocol": "grpc" } } } ``` Module-level `ActivitySource`s (e.g. `RedbIdentity`) are picked up when listed under `Tsak:Metrics:Prometheus:AdditionalSources` — they then flow to the same OTLP exporter. Path: redb-tsak/deploy/grafana/redb-tsak-dashboard.json Snapshot: redb-tsak, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages. License: Apache-2.0. Repository: https://github.com/redbase-app/redb-tsak Page: https://redbase.app/src/dev-2026-12-06/redb-tsak/deploy/grafana/redb-tsak-dashboard.json ---- { "__comment": "redb.Tsak — route + runtime overview. Metric names match the OTel Prometheus exporter (OpenTelemetry.Exporter.Prometheus.HttpListener 1.15): counters carry the unit + _total suffix (redb_route_exchanges_processed_exchanges_total), the histogram is _milliseconds. Import into Grafana and pick your Prometheus datasource.", "title": "redb.Tsak — Routes & Runtime", "uid": "redb-tsak-overview", "tags": ["redb", "tsak", "redb.route"], "timezone": "browser", "schemaVersion": 39, "version": 1, "refresh": "10s", "time": { "from": "now-1h", "to": "now" }, "templating": { "list": [ { "type": "datasource", "name": "datasource", "label": "Prometheus", "query": "prometheus", "refresh": 1, "hide": 0, "current": {} }, { "type": "query", "name": "route", "label": "Route", "datasource": { "type": "prometheus", "uid": "${datasource}" }, "query": "label_values(redb_route_exchanges_processed_exchanges_total, redb_route_id)", "includeAll": true, "multi": true, "refresh": 2, "current": { "text": "All", "value": "$__all" } } ] }, "panels": [ { "type": "stat", "title": "Throughput (total)", "datasource": { "type": "prometheus", "uid": "${datasource}" }, "gridPos": { "h": 6, "w": 6, "x": 0, "y": 0 }, "fieldConfig": { "defaults": { "unit": "ops", "decimals": 1 }, "overrides": [] }, "targets": [ { "refId": "A", "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "sum(rate(redb_route_exchanges_processed_exchanges_total[$__rate_interval]))" } ] }, { "type": "stat", "title": "Error ratio", "datasource": { "type": "prometheus", "uid": "${datasource}" }, "gridPos": { "h": 6, "w": 6, "x": 6, "y": 0 }, "fieldConfig": { "defaults": { "unit": "percent", "decimals": 2, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "yellow", "value": 1 }, { "color": "red", "value": 5 } ] } }, "overrides": [] }, "targets": [ { "refId": "A", "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "100 * sum(rate(redb_route_exchanges_failed_exchanges_total[$__rate_interval])) / clamp_min(sum(rate(redb_route_exchanges_processed_exchanges_total[$__rate_interval])), 1)" } ] }, { "type": "stat", "title": "In-flight exchanges", "datasource": { "type": "prometheus", "uid": "${datasource}" }, "gridPos": { "h": 6, "w": 6, "x": 12, "y": 0 }, "fieldConfig": { "defaults": { "unit": "short" }, "overrides": [] }, "targets": [ { "refId": "A", "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "sum(redb_route_exchanges_inflight_exchanges)" } ] }, { "type": "stat", "title": "p95 latency", "datasource": { "type": "prometheus", "uid": "${datasource}" }, "gridPos": { "h": 6, "w": 6, "x": 18, "y": 0 }, "fieldConfig": { "defaults": { "unit": "ms", "decimals": 1 }, "overrides": [] }, "targets": [ { "refId": "A", "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "histogram_quantile(0.95, sum(rate(redb_route_exchange_duration_milliseconds_bucket[$__rate_interval])) by (le))" } ] }, { "type": "timeseries", "title": "Exchanges processed — by route (ops)", "datasource": { "type": "prometheus", "uid": "${datasource}" }, "gridPos": { "h": 8, "w": 12, "x": 0, "y": 6 }, "fieldConfig": { "defaults": { "unit": "ops", "custom": { "fillOpacity": 10, "showPoints": "never" } }, "overrides": [] }, "targets": [ { "refId": "A", "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "sum by (redb_route_id) (rate(redb_route_exchanges_processed_exchanges_total{redb_route_id=~\"$route\"}[$__rate_interval]))", "legendFormat": "{{redb_route_id}}" } ] }, { "type": "timeseries", "title": "Exchanges failed — by route (ops)", "datasource": { "type": "prometheus", "uid": "${datasource}" }, "gridPos": { "h": 8, "w": 12, "x": 12, "y": 6 }, "fieldConfig": { "defaults": { "unit": "ops", "custom": { "fillOpacity": 10, "showPoints": "never" } }, "overrides": [] }, "targets": [ { "refId": "A", "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "sum by (redb_route_id) (rate(redb_route_exchanges_failed_exchanges_total{redb_route_id=~\"$route\"}[$__rate_interval]))", "legendFormat": "{{redb_route_id}}" } ] }, { "type": "timeseries", "title": "Exchange duration percentiles (ms)", "datasource": { "type": "prometheus", "uid": "${datasource}" }, "gridPos": { "h": 8, "w": 12, "x": 0, "y": 14 }, "fieldConfig": { "defaults": { "unit": "ms", "custom": { "fillOpacity": 0, "showPoints": "never" } }, "overrides": [] }, "targets": [ { "refId": "A", "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "histogram_quantile(0.50, sum(rate(redb_route_exchange_duration_milliseconds_bucket[$__rate_interval])) by (le))", "legendFormat": "p50" }, { "refId": "B", "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "histogram_quantile(0.95, sum(rate(redb_route_exchange_duration_milliseconds_bucket[$__rate_interval])) by (le))", "legendFormat": "p95" }, { "refId": "C", "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "histogram_quantile(0.99, sum(rate(redb_route_exchange_duration_milliseconds_bucket[$__rate_interval])) by (le))", "legendFormat": "p99" } ] }, { "type": "timeseries", "title": "Process CPU (cores) & working set", "datasource": { "type": "prometheus", "uid": "${datasource}" }, "gridPos": { "h": 8, "w": 12, "x": 12, "y": 14 }, "fieldConfig": { "defaults": { "custom": { "fillOpacity": 10, "showPoints": "never" } }, "overrides": [ { "matcher": { "id": "byName", "options": "working set" }, "properties": [ { "id": "unit", "value": "decbytes" }, { "id": "custom.axisPlacement", "value": "right" } ] }, { "matcher": { "id": "byName", "options": "cpu cores" }, "properties": [ { "id": "unit", "value": "short" } ] } ] }, "targets": [ { "refId": "A", "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "sum(rate(process_cpu_time_seconds_total[$__rate_interval]))", "legendFormat": "cpu cores" }, { "refId": "B", "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "sum(process_memory_usage_bytes)", "legendFormat": "working set" } ] }, { "type": "timeseries", "title": ".NET GC collections (by generation)", "datasource": { "type": "prometheus", "uid": "${datasource}" }, "gridPos": { "h": 8, "w": 12, "x": 0, "y": 22 }, "fieldConfig": { "defaults": { "unit": "ops", "custom": { "fillOpacity": 10, "showPoints": "never" } }, "overrides": [] }, "targets": [ { "refId": "A", "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "sum by (gc_heap_generation) (rate(dotnet_gc_collections_total[$__rate_interval]))", "legendFormat": "{{gc_heap_generation}}" } ] }, { "type": "timeseries", "title": ".NET thread pool", "datasource": { "type": "prometheus", "uid": "${datasource}" }, "gridPos": { "h": 8, "w": 12, "x": 12, "y": 22 }, "fieldConfig": { "defaults": { "unit": "short", "custom": { "fillOpacity": 0, "showPoints": "never" } }, "overrides": [] }, "targets": [ { "refId": "A", "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "sum(dotnet_thread_pool_thread_count_total)", "legendFormat": "threads" }, { "refId": "B", "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "sum(dotnet_thread_pool_queue_length_total)", "legendFormat": "queue length" } ] } ] } Path: redb-tsak/deploy/k8s/deployment.yaml Snapshot: redb-tsak, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages. License: Apache-2.0. Repository: https://github.com/redbase-app/redb-tsak Page: https://redbase.app/src/dev-2026-12-06/redb-tsak/deploy/k8s/deployment.yaml ---- # redb.Tsak Worker — Kubernetes Deployment # # Wires the three auth-exempt health probes to the matching K8s probe types, # enables the Prometheus exporter (:9464) and (optionally) OTLP trace export to # Jaeger/a collector. Adjust image, replicas, resources and the Redb connection # string for your environment. # # NOTE: probe paths are /api/health/* (the auth-exempt prefix) — NOT # /api/system/health/*. The latter is the auth-gated rich aggregate. apiVersion: apps/v1 kind: Deployment metadata: name: redb-tsak-worker namespace: redb labels: app.kubernetes.io/name: redb-tsak-worker app.kubernetes.io/part-of: redb-tsak spec: replicas: 1 selector: matchLabels: app.kubernetes.io/name: redb-tsak-worker template: metadata: labels: app.kubernetes.io/name: redb-tsak-worker app.kubernetes.io/part-of: redb-tsak annotations: # Plain (non-Operator) Prometheus discovery. Metrics are served from the facade # on the API port (9090) at /metrics — no separate metrics port. If you run the # Prometheus Operator, prefer the ServiceMonitor in servicemonitor.yaml. prometheus.io/scrape: "true" prometheus.io/port: "9090" prometheus.io/path: "/metrics" spec: # Tsak deregisters from the cluster and drains its contexts on SIGTERM, one context after # another, each for up to RedbRoute:ShutdownTimeout (the _system context up to 30 s). The grace # period must exceed deregistration + (module contexts x ShutdownTimeout) + 30 s; here one # module context with a 20 s window. terminationGracePeriodSeconds: 60 containers: - name: worker image: ghcr.io/redbase-app/redb-tsak-worker:latest imagePullPolicy: IfNotPresent ports: - { name: http, containerPort: 9090 } # REST API + /metrics (Prometheus) # Note: the OTel scrape listener binds loopback :9464 inside the pod and is # proxied out via /metrics on 9090 — no separate containerPort to expose. env: # ── Cluster addressing ── # The endpoint other nodes and the dashboard reach THIS pod at. Without it every pod # registers a hostname other pods cannot resolve (review 2026-09-02, К6). - name: POD_IP valueFrom: { fieldRef: { fieldPath: status.podIP } } - name: Tsak__Cluster__ApiEndpoint value: "http://$(POD_IP):9090" # ── Observability ── - { name: Tsak__Metrics__Prometheus__Enabled, value: "true" } - { name: Tsak__Metrics__Prometheus__Port, value: "9464" } # Traces → Jaeger (native OTLP). Flip Enabled to "true" to turn on. - { name: Tsak__Tracing__Otlp__Enabled, value: "false" } - { name: Tsak__Tracing__Otlp__Endpoint, value: "http://jaeger-collector.observability.svc:4317" } - { name: Tsak__Tracing__Otlp__Protocol, value: "grpc" } # ── Graceful shutdown: drain window of each module context (TimeSpan, default 00:00:30) ── - { name: RedbRoute__ShutdownTimeout, value: "00:00:20" } # ── Redb connection (use a Secret in real deployments) ── # - name: Tsak__Redb__ConnectionString # valueFrom: { secretKeyRef: { name: redb-tsak-secrets, key: redb-conn } } startupProbe: httpGet: { path: /api/health/startup, port: http } failureThreshold: 30 periodSeconds: 4 # up to 120s to boot livenessProbe: httpGet: { path: /api/health/live, port: http } periodSeconds: 10 failureThreshold: 3 # ~30s before pod restart readinessProbe: httpGet: { path: /api/health/ready, port: http } periodSeconds: 5 failureThreshold: 2 # ~10s before removal from endpoints resources: requests: { cpu: "250m", memory: "256Mi" } limits: { cpu: "2", memory: "1Gi" } Path: redb-tsak/deploy/k8s/service.yaml Snapshot: redb-tsak, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages. License: Apache-2.0. Repository: https://github.com/redbase-app/redb-tsak Page: https://redbase.app/src/dev-2026-12-06/redb-tsak/deploy/k8s/service.yaml ---- # redb.Tsak Worker — Service # Exposes the REST API (9090) and the Prometheus metrics port (9464). apiVersion: v1 kind: Service metadata: name: redb-tsak-worker namespace: redb labels: app.kubernetes.io/name: redb-tsak-worker app.kubernetes.io/part-of: redb-tsak annotations: prometheus.io/scrape: "true" prometheus.io/port: "9090" prometheus.io/path: "/metrics" spec: selector: app.kubernetes.io/name: redb-tsak-worker ports: - { name: http, port: 9090, targetPort: http } # REST API + /metrics Path: redb-tsak/deploy/k8s/servicemonitor.yaml Snapshot: redb-tsak, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages. License: Apache-2.0. Repository: https://github.com/redbase-app/redb-tsak Page: https://redbase.app/src/dev-2026-12-06/redb-tsak/deploy/k8s/servicemonitor.yaml ---- # redb.Tsak Worker — ServiceMonitor (Prometheus Operator) # Apply this INSTEAD of the prometheus.io/scrape annotations when you run the # Prometheus Operator (kube-prometheus-stack). The `release` label must match # your Prometheus instance's serviceMonitorSelector (commonly the Helm release # name, e.g. "kube-prometheus-stack"). apiVersion: monitoring.coreos.com/v1 kind: ServiceMonitor metadata: name: redb-tsak-worker namespace: redb labels: app.kubernetes.io/name: redb-tsak-worker app.kubernetes.io/part-of: redb-tsak release: kube-prometheus-stack spec: selector: matchLabels: app.kubernetes.io/name: redb-tsak-worker endpoints: - port: http # facade serves /metrics on the API port (9090) path: /metrics interval: 15s Path: redb-tsak/deploy/observability/docker-compose.yml Snapshot: redb-tsak, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages. License: Apache-2.0. Repository: https://github.com/redbase-app/redb-tsak Page: https://redbase.app/src/dev-2026-12-06/redb-tsak/deploy/observability/docker-compose.yml ---- # Local observability stack for redb.Tsak — Prometheus + Grafana + Jaeger. # # Assumes the Tsak Worker runs on the HOST with: # Tsak:Metrics:Prometheus:Enabled = true (exporter on :9464) # Tsak:Tracing:Otlp:Enabled = true (traces → http://localhost:4317) # # Bring up: docker compose up -d # Grafana → http://localhost:3000 (anon admin, dashboard auto-provisioned) # Prometheus→ http://localhost:9090 # Jaeger UI → http://localhost:16686 name: redb-tsak-observability services: prometheus: image: prom/prometheus:latest container_name: redb-tsak-prometheus command: ["--config.file=/etc/prometheus/prometheus.yml"] volumes: - ./prometheus.yml:/etc/prometheus/prometheus.yml:ro # Host 9091 (NOT 9090) — Tsak's management API uses 9090. Inside the compose # network Prometheus stays on 9090, so the Grafana datasource is unaffected. ports: ["9091:9090"] extra_hosts: - "host.docker.internal:host-gateway" # lets Prometheus scrape the host's :9464 grafana: image: grafana/grafana:latest container_name: redb-tsak-grafana environment: - GF_AUTH_ANONYMOUS_ENABLED=true - GF_AUTH_ANONYMOUS_ORG_ROLE=Admin - GF_USERS_DEFAULT_THEME=dark volumes: - ./grafana/provisioning:/etc/grafana/provisioning:ro - ../grafana/redb-tsak-dashboard.json:/var/lib/grafana/dashboards/redb-tsak-dashboard.json:ro ports: ["3000:3000"] depends_on: [prometheus] jaeger: image: jaegertracing/all-in-one:latest container_name: redb-tsak-jaeger environment: - COLLECTOR_OTLP_ENABLED=true ports: - "16686:16686" # Jaeger UI - "4317:4317" # OTLP gRPC (Tsak default endpoint) - "4318:4318" # OTLP HTTP Path: redb-tsak/deploy/observability/grafana/provisioning/dashboards/dashboards.yml Snapshot: redb-tsak, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages. License: Apache-2.0. Repository: https://github.com/redbase-app/redb-tsak Page: https://redbase.app/src/dev-2026-12-06/redb-tsak/deploy/observability/grafana/provisioning/dashboards/dashboards.yml ---- apiVersion: 1 providers: - name: redb-tsak type: file disableDeletion: false allowUiUpdates: true options: path: /var/lib/grafana/dashboards foldersFromFilesStructure: false Path: redb-tsak/deploy/observability/grafana/provisioning/datasources/datasource.yml Snapshot: redb-tsak, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages. License: Apache-2.0. Repository: https://github.com/redbase-app/redb-tsak Page: https://redbase.app/src/dev-2026-12-06/redb-tsak/deploy/observability/grafana/provisioning/datasources/datasource.yml ---- apiVersion: 1 datasources: - name: Prometheus uid: prometheus type: prometheus access: proxy url: http://prometheus:9090 isDefault: true jsonData: timeInterval: 15s Path: redb-tsak/deploy/observability/prometheus.yml Snapshot: redb-tsak, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages. License: Apache-2.0. Repository: https://github.com/redbase-app/redb-tsak Page: https://redbase.app/src/dev-2026-12-06/redb-tsak/deploy/observability/prometheus.yml ---- # Prometheus scrape config for the local redb.Tsak stack. # The Tsak Worker exposes /metrics on its facade (the management API port 9090) — # no separate metrics port and no Windows URL ACL needed. global: scrape_interval: 15s evaluation_interval: 15s scrape_configs: - job_name: redb-tsak-worker metrics_path: /metrics static_configs: # Worker on the host (Docker Desktop maps host.docker.internal → host). # If the Worker runs as a container on this compose network, replace with # its service name + API port, e.g. ["worker:9090"]. - targets: ["host.docker.internal:9090"]