Skip to content

SIGHUP config reload #543

@reubano

Description

@reubano

Is your feature request related to a problem? Please describe.

I'm frustrated when I need to reload sql_exporter without making an HTTP request

Describe the solution you'd like

SIGHUP based config reload (similar to Prometheus). E.g., killall -HUP sql_exporter

Describe alternatives you've considered

-web.enable-reload. But since I'm running sql_exporter in an unexposed Azure container, I can't make an HTTP call to the reload endpoint. I can, however, run az container exec which would allow me to call killall -HUP.

Additional context

HTTP flags are considered a security concern in Prometheus, so a SIGHUP based sql_exporter reload would likewise be considered more secure than an HTTP flag.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions