Hi,
I just downloaded prometheus version 1.7.1 and I want to run it but I have small problem, there is another process which listens on port 9090 so I need to change the port where prometheus listens on to make it port 9091 for example but this seems does not work at all, here is my config file after stripping comments:
global:
scrape_interval: 15s # Set the scrape interval to every 15 seconds. Default is every 1 minute.
evaluation_interval: 15s # Evaluate rules every 15 seconds. The default is every 1 minute.
external_labels:
monitor: 'codelab-monitor'
rule_files:
scrape_configs:
- job_name: 'prometheus'
static_configs:
- targets: ['localhost:9091']
This is the error message:
ERRO[0000] Error starting web server, exiting gracefully: listen tcp :9090: bind: address already in use source="main.go:238"
I hope someone can help me, thanks a lot.