Skip to content
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

[8.11](backport #3662) Disable exposing metrics server on all interfaces #3670

Merged
merged 1 commit into from
Oct 30, 2023

Commits on Oct 27, 2023

  1. Disable exposing metrics server on all interfaces (#3662)

    This PR disables option to configure agent in a way that it will expose monitoring agent on all interfaces.
    Empty value for agent.monitoring.http.host is now disabled and is replaced by localhost
    
    Agents upgraded from <8.5 do have empty host due to change in defaults in 8.5. These agents are exposing metrics endpoint on all interfaces not on purpose.
    
    Guard is implemented at the time of configuration unpacking and at the time of server creation to minimize future misbehavior with possible code changes
    
    (cherry picked from commit 2afea75)
    michalpristas authored and mergify[bot] committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    dc40f9c View commit details
    Browse the repository at this point in the history