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

[release-4.6] Bug 1920995: Decrease CPU usage of Prometheus exporter #440

Commits on Jan 27, 2021

  1. Decrease CPU usage of Prometheus exporter

    Seems like a thread moving the metrics data into the service exposing
    them in the Prometheus format was not constrained with any sleep. This
    was causing increased CPU usage of kuryr-cni pods without a  real
    reason to do it.
    
    This commit solves that by rewriting the thread to use the common
    multiprocessing queue pattern.
    
    Change-Id: I0eacc37022fbf214c361dbc52b42281ffa5301fd
    dulek authored and openshift-cherrypick-robot committed Jan 27, 2021
    Copy the full SHA
    e3e73e9 View commit details
    Browse the repository at this point in the history