-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
client_golang occassionally complains about superfluous response.WriteHeader calls #1086
Comments
This was the first hit when I Googled for this error message so I'm going to add here; hope that's cool. I'm running
I am not running Thanos though, just a single Prometheus instance running version |
Fixed with the |
Seems like the same still happens with |
The same thing might happen here: prometheus/prometheus#6139 |
I am seeing these errors when running a combination of Prometheus v2.13.1 and Thanos v0.8.1. Using a query of max(node_cpu_seconds_total) I can recreate pretty quickly and no data is being returned. {"caller":"http: superfluous response.WriteHeader call from github.com/opentracing-contrib/go-stdlib/nethttp.(*statusCodeTracker).WriteHeader (status-code-tracker.go:19","component":"web","level":"error","msg":")","ts":"2020-01-15T20:56:06.795Z"} |
I had the same problem . It is a case similar to @chjohnst, running the same version of prometheus and thanos. It can occur when larger consultations are carried out, with a time interval of 30 days or with many values. |
This issue/PR has been automatically marked as stale because it has not had recent activity. Please comment on status otherwise the issue will be closed in a week. Thank you for your contributions. |
Still happening on |
Yes, we need to update client_golang - another reason of this was fixed
there.
…On Tue, 17 Mar 2020 at 09:52, Giedrius Statkevičius < ***@***.***> wrote:
Still happening on v0.11.0.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1086 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABVA3OZU2JQW7JKSQ2OJFLLRH5B6TANCNFSM4HITVLIA>
.
|
This issue/PR has been automatically marked as stale because it has not had recent activity. Please comment on status otherwise the issue will be closed in a week. Thank you for your contributions. |
Still valid on 0.12.0. |
@bwplotka - Any fix for this, we are seeing this potentially across the versions and none of them helped, Do we need to change to specific go_client version to fix the same.. Any pointers would ideally help |
Exceptions we see as below May 07 14:52:31 prometheusha-1-stg-v000-tt4v prometheus[3786]: level=error ts=2020-05-07T14:52:31.081Z caller=stdlib.go:89 component=web caller="http: superfluous response.WriteHeader call from github.com/opentracing-contrib/go-stdlib/nethttp.(*statusCodeTracker).WriteHeader (status-code-tracker.go:19" msg=) |
As part of the investigation we have forked the latest stable build of Thanos v0.12.2 and upgraded the client_golang version from v1.5.0 to v1.5.1 presuming it might be the fix but none of them helped where started observing the similar issues From the analysis it was evident that panic errors "superfluous response" originates only when there is a query with large cardinality
Any specific directions/pointers are highly appreciable!!! |
Let's discuss here maybe? prometheus/prometheus#6139 |
Hello 👋 Looks like there was no activity on this issue for last 30 days. |
Any update in terms of symptoms with v0.13.0-rc.1 for example? (:
…On Wed, 10 Jun 2020 at 13:36, stale[bot] ***@***.***> wrote:
Hello 👋 Looks like there was no activity on this issue for last 30 days.
*Do you mind updating us on the status?* Is this still reproducible or
needed? If yes, just comment on this PR or push a commit. Thanks! 🤗
If there will be no activity for next week, this issue will be closed (we
can always reopen an issue if we need!). Alternatively, use remind command
<https://probot.github.io/apps/reminders/> if you wish to be reminded at
some point in future.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1086 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABVA3OZD4BNJPS5SGMDDKVLRV546DANCNFSM4HITVLIA>
.
|
Hello 👋 Looks like there was no activity on this issue for last 30 days. |
Closing for now as promised, let us know if you need this to be reopened! 🤗 |
This is printed from time to time in Thanos Query:
And it seems like our logger isn't hooked up there. This error should be fixed (
client_golang
issue 👁️ ?) and our logger should be used there too.Version:
master-2019-04-25-88544fc
The text was updated successfully, but these errors were encountered: