-
-
Notifications
You must be signed in to change notification settings - Fork 69
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
Issues with /variable with different text and value #287
Comments
Hi, try changing the key to __value
…On Mon, May 23, 2022, 17:57 umyio ***@***.***> wrote:
Hi,
I'm using Grafana 8.5.3 and the current version of the plugin.
I've implemented the POST /variable endpoint and it returns the following:
[
{
"__text":"None",
"value":"0"
},
{
"__text":"TimedOut",
"value":"1"
},
{
"__text":"OkPassed",
"value":"2"
},
{
"__text":"Ok",
"value":"3"
},
{
"__text":"Warning",
"value":"4"
},
{
"__text":"Error",
"value":"5"
}
]
In Grafana though I see that the text and the value are used as separate
values for a variable, so the variable values consist of all values and all
texts.
Any idea what the issue could be?
Thank you for your help.
Best wishes, Anton
—
Reply to this email directly, view it on GitHub
<#287>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACQAJISUJTA5CM3MJT2OBLVLOTGVANCNFSM5WWKKEQQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Hi,
Would you mind to update the ReadMe.md when you have time to reflect that? |
Can you send PR? thanks
…On Mon, May 23, 2022 at 6:03 PM umyio ***@***.***> wrote:
Hi,
thank you. That modification worked:
[
{
"__text":"None",
"__value":"0"
},
{
"__text":"TimedOut",
"__value":"1"
},
{
"__text":"OkPassed",
"__value":"2"
},
{
"__text":"Ok",
"__value":"3"
},
{
"__text":"Warning",
"__value":"4"
},
{
"__text":"Error",
"__value":"5"
}
]
Would you mind to update the ReadMe.md when you have time to reflect that?
—
Reply to this email directly, view it on GitHub
<#287 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACQAJPONDCRD46SBI7QMETVLOT6XANCNFSM5WWKKEQQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Done |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I'm using Grafana 8.5.3 and the current version of the plugin.
I've implemented the
POST /variable
endpoint and it returns the following:In Grafana though I see that the text and the value are used as separate values for a variable, so the variable values consist of all values and all texts.
Any idea what the issue could be?
Thank you for your help.
Best wishes, Anton
The text was updated successfully, but these errors were encountered: