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

hubble: Add a metric for lost events #22865

Merged
merged 3 commits into from
Mar 30, 2023

Commits on Mar 27, 2023

  1. hubble: Add a metric for lost events

    Currently numbers of lost events are visible in logs and in the observer, but
    they tend to be noisy and difficult to consume in such form. A Prometheus
    counter is much more suitable for this kind of information, thus this patch
    adds hubble_lost_events_total metric.
    
    Fixes cilium#15112
    
    Signed-off-by: Anna Kapuscinska <anna@isovalent.com>
    lambdanis committed Mar 27, 2023
    Configuration menu
    Copy the full SHA
    0ee544b View commit details
    Browse the repository at this point in the history
  2. hubble: Log number of lost messages on Debug level

    The number of lost messages is now exposed as a metric, which is more practical
    than a log, so the log level can be reduced. Also rephrased the log message, to
    indicate only the fact that a LostEvent message was received - quite often the
    queue will be full immediately after that, so saying that Hubble is "back to
    nromal" can be misleading.
    
    Signed-off-by: Anna Kapuscinska <anna@isovalent.com>
    lambdanis committed Mar 27, 2023
    Configuration menu
    Copy the full SHA
    5ac0ced View commit details
    Browse the repository at this point in the history
  3. docs: Document hubble_lost_events_total metric

    Signed-off-by: Anna Kapuscinska <anna@isovalent.com>
    lambdanis committed Mar 27, 2023
    Configuration menu
    Copy the full SHA
    72a2640 View commit details
    Browse the repository at this point in the history