2024-04-19 22:23:08 +08:00
|
|
|
prometheus:
|
2026-03-20 18:24:51 +08:00
|
|
|
# Enable Prometheus metrics exposure for this service; set to true to allow scraping.
|
2024-04-19 22:23:08 +08:00
|
|
|
enable: true
|
2024-12-10 11:43:19 +08:00
|
|
|
# autoSetPorts indicates whether to automatically set the ports
|
|
|
|
|
autoSetPorts: true
|
2024-04-24 15:42:43 +08:00
|
|
|
# List of ports that Prometheus listens on; each port corresponds to an instance of monitoring. Ensure these are managed accordingly
|
2024-12-10 11:43:19 +08:00
|
|
|
# It will only take effect when autoSetPorts is set to false.
|
2024-09-23 17:12:11 +08:00
|
|
|
ports: [ 12020, 12021, 12022, 12023, 12024, 12025, 12026, 12027, 12028, 12029, 12030, 12031, 12032, 12033, 12034, 12035 ]
|