Boolean/Analog type conflict #1

Open
opened 2025-05-05 19:30:49 +00:00 by mf7094 · 0 comments
Member

Nekateri ventili (AO_DO5_Ventil_RAD_GR) so AnalogValue, nekateri so Boolean. InfluxDB tega ne dovoli in zavrne celoten write batch. Treba je naredit pretvorbo s Telegraf pre-processorjem.

[outputs.influxdb_v2] When writing to [https://influx.bajtastats.ingress.si/api/v2/write]: failed to write metric to opcua (will be dropped: 422 Unprocessable Entity): unprocessable entity: failure writing points to database: partial write: field type conflict: input field "AO_DO5_Ventil_RAD_GR" on measurement "opcua" is type boolean, already exists as type float dropped=2
[agent] Error writing to outputs.influxdb_v2: failed to write metric to opcua (will be dropped: 422 Unprocessable Entity): unprocessable entity: failure writing points to database: partial write: field type conflict: input field "AO_DO5_Ventil_RAD_GR" on measurement "opcua" is type boolean, already exists as type float dropped=2
Nekateri ventili (`AO_DO5_Ventil_RAD_GR`) so AnalogValue, nekateri so Boolean. InfluxDB tega ne dovoli in zavrne **celoten write batch**. Treba je naredit pretvorbo s Telegraf pre-processorjem. ``` [outputs.influxdb_v2] When writing to [https://influx.bajtastats.ingress.si/api/v2/write]: failed to write metric to opcua (will be dropped: 422 Unprocessable Entity): unprocessable entity: failure writing points to database: partial write: field type conflict: input field "AO_DO5_Ventil_RAD_GR" on measurement "opcua" is type boolean, already exists as type float dropped=2 [agent] Error writing to outputs.influxdb_v2: failed to write metric to opcua (will be dropped: 422 Unprocessable Entity): unprocessable entity: failure writing points to database: partial write: field type conflict: input field "AO_DO5_Ventil_RAD_GR" on measurement "opcua" is type boolean, already exists as type float dropped=2 ```
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: rc/opc-telegraf#1
No description provided.