Description
Component(s)
exporter/influxdb
What happened?
Description
The line protocol generated by influxDB exporter has following issues:
String values are not enclosed by double quotes because all the data is been mapped to tags set instead of to fields set.
Because of above issue, the influxDB UI (hosted in localhost 8086) is not displaying any data as UI needs data to be in fields set while data and measurements is been displayed via influxQL.
Expected Result
SP-Srvrmon File\ Start\ Time="20240115T1958-00000121-20min",Thread\ No.=155909,epochthreadEnd=1705348627,epochthreadStart=1705347444,otel.library.name="SP-Srvrmon",psSessionThread.DB2\ Fetch\ Prep.MaxTime=0.004,psSessionThread.DB2\ Fetch\ Prep.MinTime=0,psSessionThread.DB2\ Fetch\ Prep.totTime=0.006,count=0
Actual Result
SP-Srvrmon,File\ Start\ Time=20240115T1958-00000121-20min,Thread\ No.=155909,epochthreadEnd=1705348627,epochthreadStart=1705347444,otel.library.name=SP-Srvrmon,psSessionThread.DB2\ Fetch\ Prep.MaxTime=0.004,psSessionThread.DB2\ Fetch\ Prep.MinTime=0,psSessionThread.DB2\ Fetch\ Prep.totTime=0.006 count=0 0
Collector version
v0.95.0
Environment information
No response
OpenTelemetry Collector configuration
No response
Log output
No response
Additional context
No response