forked from mirrors/statsd_exporter
Fix format for dogstatsd tags
Only key:value format for dogstatsd is accepted by latest version of statsd exporter. I've tried both official client and bash scripts to send the data: echo "newpure.test:1|c|@0.5|#country:china" | nc -w 1 -u 127.0.0.1 9125` - will work echo "newpure.test:1|c|@0.5|#country=china" | nc -w 1 -u 127.0.0.1 9125 - will not work Signed-off-by: Marcin Lulek <info@webreactor.eu>
This commit is contained in:
parent
7d2a901b6c
commit
a1c201d821
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ For DogStatsD-style tags, they're appended as a `|#` delimited section at the
|
||||||
end of the metric, as so:
|
end of the metric, as so:
|
||||||
|
|
||||||
```
|
```
|
||||||
metric.name:0|c|#tagName=val,tag2Name=val2
|
metric.name:0|c|#tagName:val,tag2Name:val2
|
||||||
```
|
```
|
||||||
|
|
||||||
See [Tags](https://docs.datadoghq.com/developers/dogstatsd/data_types/#tagging)
|
See [Tags](https://docs.datadoghq.com/developers/dogstatsd/data_types/#tagging)
|
||||||
|
|
Loading…
Reference in a new issue