This repository has been archived by the owner on May 31, 2023. It is now read-only.
Issues provisioning datasources on Grafana in private subnet #70
Labels
enhancement
New feature or request
All API calls use
grafana_url
as the base, however if Grafana is being provisioned on a server in a private subnet the publicgrafana_url
may not always line up with the Grafana server DNS in the private subnet.Example set up:
https://monitoring.app.com/grafana
tohttp://monitoring.production.app.com:3000
monitoring.app.com
is accessed from browser, resolved via public hosted zonemonitoring.production.app.com
is accessed by servers in the VPC, resolved via private hosted zonemonitoring.production.app.com
in the same VPC in a private subnet, exposing port 3000.When running
ansible-playbook
, API calls get made tomonitoring.app.com/grafana
(configured viagrafana_url
) which is not correct. API calls should be made tomonitoring.production.app.com
Open to solutions and also happy to open a PR after deciding how to handle this, maybe another variable
grafana_api_url
that can overridegrafana_url
and is used for the API calls?The text was updated successfully, but these errors were encountered: