Page MenuHomeDevCentral

Set correct Grafana URL
ClosedPublic

Authored by dereckson on Jul 27 2024, 13:57.
Tags
None
Referenced Files
F52574646: D3380.id8727.diff
Sat, Oct 3, 09:39
F52574631: D3380.id8726.diff
Sat, Oct 3, 09:39
F52537585: D3380.diff
Sat, Oct 3, 05:04
F52424693: D3380.id8726.diff
Fri, Oct 2, 14:15
Unknown Object (File)
Fri, Oct 2, 09:26
Unknown Object (File)
Thu, Oct 1, 21:54
Unknown Object (File)
Wed, Sep 30, 16:19
Unknown Object (File)
Wed, Sep 30, 16:02
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 Passed
Unit
No Test Coverage
Branch
grafana-url
Build Status
Buildable 5383
Build 5664: arc lint + arc unit

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.