When external_url is set, prometheus can't scrape itself

Bug #1636640 reported by Casey Marshall
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Prometheus Charm
Fix Released
Undecided
Unassigned

Bug Description

Steps to reproduce:

1. Reverse-proxy prometheus with URL rewriting, such that request URIs with /prometheus are routed to the prometheus charm. See the mojo-cdo-jujucharms deployment, for example.

2. juju set prometheus external_url=https://hostname/prometheus

Browse to the prometheus status page, note that the prometheus target endpoint is DOWN. The charm needs to add the configured external_url path component to this target.

Related branches

Revision history for this message
Jacek Nykis (jacekn) wrote :
Changed in prometheus-charm:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.