sitespeed.io
sitespeed.io copied to clipboard
InfluxDB 2.x, Annotations. Fix: send tags not as fields.
Old: events title="Sitespeed.io",text="${message}",tags=${influxDBTags} ${timestamp}
New:annotations,${influxDBTags} text="${message}" ${timestamp}
Fixes:
- Send annotations as a
tags
, because the current logic sends them asfields
. - Represent tags with keys, in format
key1=value1,key2=value2
, instead ofvalue1,value2
. - Rename
events
toannotations
for appropriate naming. However, it might not be a good idea to change it because it would be inconsistent with the underlying logic in others "senders".