-
Notifications
You must be signed in to change notification settings - Fork 6
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
Grafana not support multi-tenant for Victorialogs #85
Comments
Hi @nulldoot2k ! The issue you mentioned in the description was implemented for the VictoriaMetrics. If you want to get logs via tenant you should use headers as described in the documentation By default the (AccountID=0, ProjectID=0) tenant is queried. If you need querying other tenant, then specify it via AccountID and ProjectID http request headers. For example, the following query searches for log messages at (AccountID=12, ProjectID=34) tenant:
So my question is, do you need a selector where you can select the tenant from which you want to query data? |
@dmitryk-dk Hi bro, I added Header on my grafana datasource But it's not work, because it's default tenant 0:0 |
Thanks for the quick reply. @hagen1778 how long will it take to add this func? |
Hey @dmitryk-dk could you please verify that headers are correctly forwarded by the datasource? |
Yeah, will check it soon! If we need some other logic for this feature, we will implement it :) |
Forward: #158
|
We will add support for the headers soon. Maybe next week |
Hi @nulldoot2k ! We released the new version of the plugin where we implemented support of the custom headers. |
Of course, i'll apply them in our pre-release. |
Hi, Team!
I am currently deploying Victorialogs based on single version with replicas=2
Previously my vmauth defined the noauth route via 2 tenant=1:1000 and tenant=1:1001
Basically I see everything is healthy.
But there is a problem as follows
As I see Victorialogs already supports multiple tenants with closed article: VictoriaMetrics/VictoriaMetrics#3792
But checking shows that on Grafana it is not possible to add that, because the outgoing route does not support that yet
Look at the path: http://vmauth:8247/select/vmui
with Tenant: "1:1000"
I think we need change path from /select/vmui/ to /select/1:1000/vmui/
Like that
Outside solution using vmauth for users - tenant
Is there any solution for using auth in prefix_path ?
Thanks a lot!!!
The text was updated successfully, but these errors were encountered: