TLDRNishant needed help with using variables in query builder, and Srikanth provided the correct syntax to use.
Nishant
Tue, 02 May 2023 07:45:35 UTC
Was looking the doc for using variables for dashboard from
I dont find any example on how to use the declared variables to use in query builder.
For my current problem statement I have to display 2 of our api server metrics by using variable tagged with the value captured in metrics i.e api-1 api-2
Srikanth
Tue, 02 May 2023 08:04:29 UTC
> All metric queries can refer to variables using the go variable templating syntax {{. }}
You can use `{{.your_variable_name}}` in the query builder. You need to type this.
Nishant
Tue, 02 May 2023 08:41:26 UTC
Aha works, thanks !!!
SigNoz Community
Indexed 1060 threads
Built with ClickHouse as datastore, SigNoz is an open-source APM to help you find issues in your deployed applications & solve them quickly | Knowledge Base powered by Struct.AI
Nishant
Tue, 02 May 2023 07:45:35 UTCWas looking the doc for using variables for dashboard from
I dont find any example on how to use the declared variables to use in query builder.
For my current problem statement I have to display 2 of our api server metrics by using variable tagged with the value captured in metrics i.e api-1 api-2