-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Redis Timeseries' TS.ADD only accepts numeric values. #14058
Comments
@aurangzeb099 can you please test the binary in PR #14060 available as soon as CI finishes the tests successfully! Please let me know if this fixes your issue! |
Normally, if your fields have the wrong datatype, you should use the processors.converter plugin. |
That's true, however the current behavior of the plugin has to be preserved and that's "autoconvert"... |
Does it? Isn’t that why this issue is created? |
No. Currently the "string" of the value is just appended to the |
Okay, but that is only after implementation of #14060 right? |
Relevant telegraf.conf
Logs from Telegraf
System info
Telegraf 1.27.3 , Docker version 23.0.1,
Docker
No response
Steps to reproduce
1.telegraf outputs to redistimeseries
2. docker image for redis-stack
docker run -d --name redis-stack -p 6379:6379 -p 8001:8001 redis/redis-stack:latest
3. example metric .
saTable,agent_host=172.16.30.244,host=localhost.net,index=1,saRowId=1 saError=167968771i,saSerialNumber="0",saVer="49.50",saStatus=0i,saMac="00:0l:d3:01:d7:38", 1696489223000000000
...
Expected behavior
String and integer should store in redistimeseries.
Actual behavior
it seems like Redis Timeseries' TS.ADD only accepts numeric values. In your example metric all fields except saMac can be converted or represented by numeric values. Some by accident like saVer or saSerialNumber which are strings but contain "numeric-like" values.
Additional info
No response
The text was updated successfully, but these errors were encountered: