-
Notifications
You must be signed in to change notification settings - Fork 38
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
Need documentation for --labels #1991
Comments
hi @slater0013 You're right, we can document this arg better. Let me describe it first and then we can talk about the multi-org Grafana server part second. The grafana import the CLI args for
Truncated output
When you run
This causes Harvest on dashboard import to:
Here's an example:
Adds the Results in
If you had something that worked earlier, we should be able to help you find a solution for Harvest 2 also. |
Ok ! I understand It better now ! Thanks for the explanation ! Could be interesting to create a multi-tenant based on clusters. My previous workflow coded in Netapp Workflow Automation was to create for each "client" :
Last action was to modify json dashboards on-the-fly (by changing SVM variable with a fixed value and not a query anymore) and import them into the Org using the apikey. Result : client "ABC" have access to Grafana with "ABC" account and is able to browse a few dashboards filtered to his own SVM. I know that "clever" users could use the Grafana API to get rid of the dashbaords variable filtering but this is acceptable in our context. Regards, |
@cgrinds would you prefer another issue/case so we can talk about multi-tenancy ? |
Let's discuss it in #2030 and I'm going to leave this issue open until I get a chance to update the docs with the detail in #1991 (comment) |
* doc: explain bin/grafana import --labels Fixes: #1991
Is your feature request related to a problem? Please describe.
--labels is included in grafana cmd tool but not (yet) documented on the new documentation website
Describe the solution you'd like
Is it related to "multi-tenancy" as described here ? https://github.com/NetApp/harvest/wiki/FAQ#harvest-authentication-and-permissions
Additional context
We would like to offer a multi organization Grafana server. Each organization have access to specific dashboards restricted to one specific SVM.
We used to create Orgs/Users/Datasources and restricted dashboards with Harvest 1.6 via Grafana API ! My goal here would be to use the grafana cmd tool to import specific dashboards (with --directory parameter) to a specific Organization (with --token parameter) with an organization specific datasource (with --datasource parameter)
Last interrogation is how to restrict the dashboard variables values to a specific SVM and could --labels parameter help ?
Thanks,
GS.
The text was updated successfully, but these errors were encountered: