Add new dev-run-compose task to Taskfile for running the CAATSM receiver in a Docker Compose development stack. Update monitoring configuration in config.dev.toml to use console format. Modify Prometheus scrape configuration to target a specific IP address. Enhance NATS consumer error handling with retry logic for JetStream availability and adjust logging level for consumer metrics.

This commit is contained in:
windyboy
2025-11-16 11:38:49 +08:00
parent 7e7b8ca412
commit 6616c7e10d
5 changed files with 29 additions and 8 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ monitor_interval = "30s"
[log]
level = "info"
format = "json"
format = "console"
[telemetry]
enabled = true
+1 -3
View File
@@ -15,7 +15,5 @@ scrape_configs:
- 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"
- 172.23.189.12:2112