Size limit in templating variables

Hi,
using Grafana 4.6.2 with a Graphite 1.1.x datasource, we can’t have more than 1000 elements displayed in a templating variable defined with a query. I didn’t find a config parameter to modify this limitation, so is it something possible?

Thanks

2 Likes

It’s not support for more than 1000 items. Maybe you can combine multiple variables where the first variable filter data in second variable.

Is it still hard limit in Grafana 6.x or Grafana 7.x? I’m looking for solution how to work with more than 1000 items and filtering isn’t possible in our usecase

Looks like the limit is the same for all sources, I am having trouble because it can not list all results from ElasticSearch as datasource on a filed variable.

Will this be changed to be configurable ?

Hello, anything new with templating variable size limit in the latest Grafana versions? Thanks

2 Likes

Hello,

Do you think we can increase this value to be 64k?

There are cases that the limit 1k is creating problems and there is no way to filter it.

regards!
Valdemar

Has anyone found a solution or heard of any updates in the latest version for this vs variable workarounds. Becomes a hassle when searching through 16k options.

I believe this was not done due to some performance issues.
There is a way to do this tho but with some limitation…

Create a table panel, and use the same query your variable is running, next add a data link and keep the same dashboard URL and add your other variables and also add your target variable and set its value to the value of cell.

basically you will get something like this

and for the datalink

Limitation here is you can select one value only - means no multi select.


Another simple way to do this also using the Volkovlabs variable panel

1 Like