I am using a custom formula in a variable that I want to use across multiple dashboards. Is there a way to make global variable in grafana?
Unfortunately it doesn't look like Grafana supports this, as of version 9.
See https://github.com/grafana/grafana/issues/1959, from 2015, and some duplicates:
https://github.com/grafana/grafana/issues/5504
https://github.com/grafana/grafana/issues/12095
https://github.com/grafana/grafana/issues/16797
You can subscribe to an issue to be notified of any updates.
The only global variables available for now are the built-in ones listed here -
https://grafana.com/docs/grafana/next/variables/variable-types/global-variables/
Related
Metrics example - something.{variable}.success & something.{variable}.total
What I want to achieve is multiple series graph containing the success percentage for each feature variable.
Trying asPercent(something.*.success, something.*.total) makes graphite simply return 400 in grafana.
As I understand I would be able to achieve this by applyByNode(), but it seems that it's not available in grafana's graphite integration? I'm using self-hosted grafana 7.0 with graphite 1.1.7 .
I also seen example of nesting reduceSeries and mapSeries, but all of them use predefined values for wildcard, in my case there are too many of them to bother.
I have several variable groups defined under Pipeline Library. I'm using a different group for each release environment (e.g., DEV, QA, PROD). The deployment for each environment needs all the same variables but with different values.
It's a long list of variables and I have no way to tell if my groups are getting out of sync with one another over time as we add and remove variables.
I really wish I had something like a C# interface to make all the groups match. I was hoping the new YAML templates could help somehow but I can't find anything that would solve this.
Anyone have a good solution to this? It seems like a very common use of variable groups.
Can I enforce the same variables across variable groups in the Azure
DevOps Pipeline Library?
No, we can't do that. It seems what you want is to sync the variable groups for DEV,QA,PROD environments, making these groups have same variable list but different values.
As I know this is not supported for now. Variable groups is originally designed to share variables across pipelines instead of other directions, so Azure Devops Service doesn't support such out-of-box feature to compare and sync variable groups.
Update1:
I submitted a feature request in User Voice forum that you can vote and track.
Update2:
1.Another direction if you want to check the variable list easily: If you want to check the variable list manually, you can consider using Rest API to get a Json response of your variable list for one specific variable group.
2.There're many related topics about how to convert Json to CSV/Excel file online, and after my test it's quite convenient. So maybe you can get three josn response and then convert then into text file/excel file to compare the difference between these three variable lists. It could be a temporary workaround ~
Hope it helps :)
I have a requirement to divide two series lists. As documentation says "divideSeriesList" function added in Graphite in 1.0.2 version.
So, I updated my Graphite to 1.0.2 and Grafana to 5.1.0. After update, I can see "devideSeriesList" in Graphite but not in Grafana. Where as I can see many other new functions in Grafana after update.
Is there any way I can solve this issue or any alternate way to divide two series lists in Grafana?
Thanks,
List of the functions (https://github.com/grafana/grafana/blob/master/public/app/plugins/datasource/graphite/gfunc.ts) in Grafana is static and it's currently out of sync according to graphite. Do not hesitate to make PR to Grafana with updated.
Alternatively you can write your own datasource plugin - http://docs.grafana.org/plugins/developing/datasources/.
I am using Rundeck for basic API calls periodically or manually. As of now, I have a lot of options the user has to provide, but most of them remains empty.
In fact, some of them depends on a previous one (e.g do you want X ? Then provide Y). Is there a way to display some options only if another has a given value ?
I would like not to create two different jobs but to keep only one.
One possible way is with Cascading Remote Options
This provides a mechanism for declaring hierarchical or dependent sets of option values.
First Post! am kinda feeling the pressure :)
I've created a multiple option filter for my dashboard using a set (with include all members). which is great for my sheets which use that datasource as primary, but when it's the secondary source I've hit a brick wall - I cannot see (or find any reference in searches) how to use the filter. Any calculated dimensions I've seen reference In/Out. Is there a way round this or something I'm missing?
thanks.
You can't do it when it's based on the secondary source in a data-blending scenario. Currently Tableau only allows for it to be applied to the primary. We are hoping this changes in version 10.0.