sensu / sensu-go

Simple. Scalable. Multi-cloud monitoring.
https://sensu.io
MIT License
1.02k stars 176 forks source link

Add support escape special characters in InfluxDB Line #5030

Closed jadiunr closed 1 year ago

jadiunr commented 1 year ago

Feature Suggestion

Allowing special characters (space, comma, and equal) to be escaped when using InfluxDB Line format metrics will make InfluxDB Line more useful in Sensu Go. Current implementation does not take special character escaping into account.

# Error "influxdb line format requires 2 arguments with a 3rd (optional) timestamp"
test_measurement,test_tag=foo\ bar value=1 1465839830100400200

Possible Implementation

6.x https://github.com/sensu/sensu-go/pull/5031

Context

None in particular.

echlebek commented 1 year ago

Merged, thank you for your contribution!

jadiunr commented 1 year ago

Oh, I see that you have already closed it, but what about changes to 7.x? @echlebek

echlebek commented 1 year ago

I can port the changes to the main branch

jadiunr commented 1 year ago

All right. Then I will leave the porting to 7.x to Sensu Team.