Skip to content

Conversation

yhabteab
Copy link
Member

InfluxDB seems to always include some other metadata in the Content-Type header separated by semicolons like application/json; charset=utf-8, and comparing the whole string with application/json will always fail, resulting in almost always useless warnings without any helpful information for the user what actually went wrong.

fixes #10072

ref/IP/60981

@yhabteab yhabteab added bug Something isn't working area/metrics General metrics handling area/influxdb Metrics to InfluxDB ref/IP labels Sep 16, 2025
@cla-bot cla-bot bot added the cla/signed label Sep 16, 2025
@yhabteab yhabteab added the consider backporting Should be considered for inclusion in a bugfix release label Sep 16, 2025
@yhabteab yhabteab force-pushed the influxdb-mist branch 4 times, most recently from d894012 to d8d5622 Compare September 16, 2025 15:35
InfluxDB seems to always include some other metadata in the `Content-Type`
header separated by semicolons like `application/json; charset=utf-8`,
and comparing the whole string with `application/json` will always fail,
resulting in almost always useless warnings without any helpful information
for the user what actually went wrong.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/influxdb Metrics to InfluxDB area/metrics General metrics handling bug Something isn't working cla/signed consider backporting Should be considered for inclusion in a bugfix release ref/IP

Projects

None yet

Development

Successfully merging this pull request may close these issues.

InfluxDB(2)Writer does not fully print error from InfluxDB(2). Maybe it should

1 participant