ysde/grafana-backup-tool

Correct formatting for AWS managed grafana URLs

awl-ops opened this issue · 0 comments

Hi, we're using this tool with AWS managed grafana. We've created a token and are using it successfully. What's giving us fits is the "correct" URL for our AWS managed grafana.

What's the correct "URL format" for AWS Managed Grafana?

It looks to me like we should be using what AWS calls the "GrafanaWorkspaceURL" which is in this format:

https://.grafana-workspace.us-east-1.amazonaws.com/

It does not look like AWS has an enabled health-check (.../api/health)

So I've tried the following variations of that with the following results:

  • export GRAFANA_URL=https://.grafana-workspace.us-east-1.amazonaws.com:443

  • Result: Hits https://.grafana-workspace.us-east-1.amazonaws.com:443/api/health - Status 400, not allowed

  • export GRAFANA_URL=http://.grafana-workspace.us-east-1.amazonaws.com:80

  • Result: Hits: http://.grafana-workspace.us-east-1.amazonaws.com:80/api/health Status 400, not allowed

  • export GRAFANA_URL=http://.grafana-workspace.us-east-1.amazonaws.com:3000

  • Non-responsive to this URL, never fails, never times out.