2 Commits
2 changed files with 18 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
# Nix service targets (file_sd) — 2026-08-02
# Service yang expose /metrics langsung:
- targets: ['127.0.0.1:4016']
labels:
service: gmw-discord-gateway
- targets: ['127.0.0.1:4008']
labels:
service: tools-gateway
# GMW backend expose /api/metrics (bukan /metrics):
- targets: ['127.0.0.1:4001']
labels:
service: gmw-backend
__metrics_path__: /api/metrics
# llm-api tidak expose /metrics (404) — dihapus dari target.
+4
View File
@@ -0,0 +1,4 @@
[Service]
Environment=OTEL_EXPORTER_OTLP_ENDPOINT=http://127.0.0.1:4317
Environment=OTEL_SERVICE_NAME=scraper
Environment=OTEL_METRICS_EXPORT_INTERVAL=5000