Reputation: 5117
I have specified Prometheus target as below:
- job_name: 'web_api'
static_configs:
- targets: ['u-agrawalo-web.api.lb.example.com']
But Prometheus is searching for http://u-agrawalo-web.api.lb.example.com:80/metrics
Is there a way to prevent prometheus from adding a port to the url specified? i.e. I want prometheus to just query http://u-agrawalo-web.api.lb.example.com/metrics
Upvotes: 0
Views: 1198
Reputation: 34112
These URLs are equivalent, most likely the software on the other end is incorrectly handling them differently and needs fixing.
Upvotes: 1