Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use custom header to find target cluster #203

Merged
merged 1 commit into from
Oct 25, 2024

Conversation

mahendrapaipuri
Copy link
Owner

  • Instead of using path parameter, which can confuse users, use a custom header that will be read by LB and then redirect the query to correct backend. This should work for most of the datasources as we can always add custom headers in Grafana. This will also avoid having to manipulate path manually after stripping path parameter.

  • Update tests and docs accordingly.

  • Add note in docs that it is possible to find target cluster using query labels and show how to do it.

* Instead of using path parameter, which can confuse users, use a custom header that will be read by LB and then redirect the query to correct backend. This should work for most of the datasources as we can always add custom headers in Grafana. This will also avoid having to manipulate path manually after stripping path parameter.

* Update tests and docs accordingly.

* Add note in docs that it is possible to find target cluster using query labels and show how to do it.

Signed-off-by: Mahendra Paipuri <[email protected]>
@mahendrapaipuri mahendrapaipuri added the enhancement New feature or request label Oct 25, 2024
@mahendrapaipuri mahendrapaipuri merged commit 220a18e into main Oct 25, 2024
15 checks passed
@mahendrapaipuri mahendrapaipuri deleted the refactor_lb_cluster_target branch October 25, 2024 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant