trickster icon indicating copy to clipboard operation
trickster copied to clipboard

Route requests to different clusters?

Open johntdyer opened this issue 3 years ago • 1 comments

Hello,

Currently we have a large Influx cluster with several "tenants". We're looking to shard them into several smaller clusters however we dont want to break all their dashboards and alerts in Grafana. That being the case I am curious if the rewrite feature could somehow allow us to inspect the request and route to the appropriate influx cluster ? Is this what it was designed for ?

Regards,

John

johntdyer avatar May 04 '21 19:05 johntdyer

Hi John, thanks for hitting us up. It's possible Trickster could help you with this, but it may also be a matter of how you setup your data sources in Grafana, as it will largely depend on how your specific dashboards select datasources for the individual graph elements. If Trickster can help, most likely, it would be with Rules rather than request rewriters. You can configure each backend influxdb cluster, and front requests with a rules backend that routes them to one of the influxdb backends based on whatever matching rules you have configured. Happy to answer any more questions you have, and you're welcome to email me directly as well.

jranson avatar May 08 '21 14:05 jranson