Expose prometheus-server as optional external service

Registered by Joseph M

Currently it is quite difficult to expose prometheus-server to clients outside of the OpenStack management network. There is a variable below to do it but it is not easy to use without setting hash_behaviour=merge in Ansible:

https://opendev.org/openstack/kolla-ansible/src/commit/05ef60833a2c685590336f638fbbc0275ef7c02e/ansible/roles/prometheus/defaults/main.yml#L20

Proposing that we make this a group_vars/all variable (enable_prometheus_external_api ?) to allow deployments to easily expose prometheus-server to external clients that are not managed by Kolla such as Grafana or other external metric parsers.

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
Joseph M
Direction:
Needs approval
Assignee:
None
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.