Skip to content

Option to terminate on write error / broken pipe #3826

Description

@jcpunk

Every so often I get:

time=2026-09-21T20:06:03.013Z level=ERROR source=http.go:231 msg="error encoding and sending metric family: write tcp [::1]:9100->[::1]:56472: write: broken pipe

Once it gets into this state, it remains unresponsive to metric requests.

While I've not traced down the overall source, restarting the pod makes the problem go away.

Can there be a flag added to node-exporter to terminate the pod with an error if that error message pops up? Kubernetes will reschedule it and I can try and sort my environment based on any events/patterns that pop up.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions