✨ Update observability configuration by enabling monitoring in the development environment, adding a new Prometheus scrape job for the CAATSM receiver, and enhancing documentation with recommended scrape configurations and validation steps for metrics. Refactor NATS consumer initialization to ensure idempotent consumer creation.
This commit is contained in:
@@ -12,3 +12,10 @@ scrape_configs:
|
||||
- targets:
|
||||
- "nats-exporter:7777"
|
||||
|
||||
- job_name: "caatsm-receiver"
|
||||
static_configs:
|
||||
- targets:
|
||||
# When go-caatsm runs on the host/WSL and Prometheus runs in Docker,
|
||||
# use host.docker.internal to reach the host monitoring server.
|
||||
- "host.docker.internal:2112"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user