I am trying to use variable in Signoz Frontend Das...
# support
a
I am trying to use variable in Signoz Frontend Dashboard and while making a panel, I want to append
%
to the variable name in the where clause. I have tried
Pod like {{deployment}}%
but it’s not working. Any suggestions
s
What are you trying to achieve by adding
%
?
a
so, I am getting metrics from kube-state-metrics I have a variable in dashboard named as
deployment
so that I can choose a deployment and then show the graphs related to all the pods of that deployment in the dashboard.
Similarly, I would also want to refer one variable to another variable query.
s
That didn't answer what are you trying to achieve with
%
. You can use the dashboard variable like
deployment IN {{.deployment}}
. The operator and value are configurable in the where clause.
a
I am trying to match the name of the pod with the deployment setting where clause as
pod like {{deployment}}%
in my panel queries
s
I don't think that works. Please create an issue here https://github.com/SigNoz/signoz