open-im-server/config/openim-msgtransfer.yml
icey-yu 6a7ae690ee
feat: Prometheus can auto set port (#2943)
* feat: config

* feat: prometheus auto set port
2024-12-10 03:43:19 +00:00

9 lines
481 B
YAML

prometheus:
# Enable or disable Prometheus monitoring
enable: true
# autoSetPorts indicates whether to automatically set the ports
autoSetPorts: true
# List of ports that Prometheus listens on; each port corresponds to an instance of monitoring. Ensure these are managed accordingly
# It will only take effect when autoSetPorts is set to false.
ports: [ 12020, 12021, 12022, 12023, 12024, 12025, 12026, 12027, 12028, 12029, 12030, 12031, 12032, 12033, 12034, 12035 ]