[Sep 1 09:58:46] NOTICE[197]: loader.c:1307 auto_unload_resource: Unloading module ‘res_prometheus.so’ that previously declined to load
[Sep 1 09:58:46] ERROR[197]: config_options.c:528 process_category: Could not find config type for category ‘prometheus’ in ‘prometheus.conf’
prometheus.conf
;[general]
;enabled = yes
;bind = 0.0.0.0:8080
[prometheus]
listen_address = 0.0.0.0
listen_port = 8080
metrics_path = /metrics
add moduls.conf
load => res_prometheus.so
jcolp
September 1, 2024, 12:14pm
2
That’s not a valid configuration. The prometheus module has no “listen_address”, “listen_port”, or “metrics_path”.
Did you try to use AI and it invented them?
Yes, I used artificial intelligence
How to activate Prometheus?
jcolp
September 3, 2024, 8:24am
4
i added prometheus.conf
[general]
enabled = yes
core_metrics_enabled=yes
uri=metrics
The connection is still not established
jcolp
September 3, 2024, 8:35am
6
The Asterisk HTTP server, configured in http.conf, also has to be enabled as stated in that sample config as well.
system
Closed
October 3, 2024, 8:35am
7
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.