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

Cherry-pick #20149 to 7.9: Call host parser only once when building light metricsets #20190

Merged
merged 1 commit into from
Jul 24, 2020

Commits on Jul 23, 2020

  1. Call host parser only once when building light metricsets (elastic#20149

    )
    
    When using light modules, host parser is called twice. First by the actual implementation
    of the metricset, and second after adding the configuration defined in the light module
    manifest. Second call might be missing data as the original host is modified after the first
    call, causing problems.
    
    This change disables host parser in the registration created for light modules, and makes
    only the "second call" inside the factory.
    
    It also removes previous fix for URLs as it shouldn't be needed anymore.
    
    (cherry picked from commit 6c82292)
    jsoriano committed Jul 23, 2020
    Configuration menu
    Copy the full SHA
    fdd5b7f View commit details
    Browse the repository at this point in the history