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.
@yhabteab yhabteab added backport-to-support/2.15 PRs with this label will automatically be backported to the v2.15 support branch. and removed consider backporting Should be considered for inclusion in a bugfix release labels Nov 27, 2025
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 backport-to-support/2.15 PRs with this label will automatically be backported to the v2.15 support branch. bug Something isn't working cla/signed 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

2 participants