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

fix(inputs/nginx_plus_api): swallow 404 error reporting #6015

Merged
merged 2 commits into from
Jun 19, 2019

Commits on Jun 19, 2019

  1. fix(inputs/nginx_plus_api): swallow 404 error reporting

    Closes #5807
    
    Currently, this plugin tries a set of hardcoded paths.  Not all paths are enabled in a standard NGINX configuration.
    This PR skips any API resource paths that do not exist.
    
    However, the correct way would be to get the paths from NGINX itself at /api, /api/4, etc rather than have a set
    of hardcoded paths.
    goller committed Jun 19, 2019
    Configuration menu
    Copy the full SHA
    7075e43 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f1313d8 View commit details
    Browse the repository at this point in the history