Commit 9cd2d8b
committed
fix: disable Prometheus metrics endpoint by default
BREAKING CHANGE: Prometheus metrics endpoint is now disabled by default
and must be explicitly enabled.
Changes:
- Set prometheus_enabled to false in config.exs (was true)
- Prevents port 9568 conflict errors when running multiple instances
- Must explicitly enable in config to expose metrics endpoint
This prevents the 'eaddrinuse' error when port 9568 is already in use
and allows Concord to be used as an embedded library without the
Prometheus overhead.
To enable Prometheus metrics:
- Set prometheus_enabled: true in your config
- Or set CONCORD_PROMETHEUS_ENABLED=true environment variable1 parent 04bc971 commit 9cd2d8b
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | | - | |
| 53 | + | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
0 commit comments