Page MenuHomeDevCentral

Set correct Grafana URL
ClosedPublic

Authored by dereckson on Jul 27 2024, 13:57.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 21, 08:56
Unknown Object (File)
Sat, Dec 21, 08:35
Unknown Object (File)
Tue, Dec 17, 04:12
Unknown Object (File)
Tue, Dec 17, 04:12
Unknown Object (File)
Sat, Dec 7, 00:01
Unknown Object (File)
Sat, Dec 7, 00:00
Unknown Object (File)
Fri, Nov 29, 19:16
Unknown Object (File)
Fri, Nov 29, 15:16
Subscribers
None

Details

Summary

The parameters domain and root_url are useful when behind a reverse proxy
to indicate Grafana how to serve URL like redirections.

For example, when asking to generate a short URL:

  • without any configuration, it uses socket://localhost:3000/goto/
  • with domain set, it uses socket://grafana.nasqueron.org:3000/goto/
  • with root_url set it correctly uses https://grafana.nasqueron.org/goto/

References:

Ref T651

Test Plan

Ask to share a dashboard, then shorten URL

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson created this revision.
This revision is now accepted and ready to land.Jul 27 2024, 13:58
This revision was automatically updated to reflect the committed changes.