Error building tags: unexpected type: string
search cancel

Error building tags: unexpected type: string

book

Article ID: 282980

calendar_today

Updated On:

Products

Insights DX OpenExplore Observability

Issue/Introduction

Seeing an error message similar to the below shared error messages in the telegraf.log file

<date + time> D! [outputs.wavefront] Error building tags: unexpected type: string, with value: success, for: net.response.result.type.

[outputs.wavefront] Error building tags: unexpected type: string, with value

Cause

This is a error on the Telegraf side and is reported even before the data comes to DX OpenExplore (wavefront) proxy.

The main reason for this error is due to the wrong data format issue. The proxy expects the data to be in the following format:

Wavefront expects data in format : <metricName> <metricValue> [<timestamp>] source=<source> [pointTags]

Resolution

Validate if the data format is correct and there are no extra spaces or missing quotes.

Additional Information