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

Perf event writes metric #4334

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Commits on Oct 16, 2024

  1. chore: add perfbuf metric per event (METRICS=1)

    Enabled only when built with METRICS=1.
    
    BPFPerfEventSubmitAttemptsCount and BPFPerfEventSubmitFailuresCount
    count the number of events processed by the eBPF programs and written to
    or attempted to be written to the perf buffer.
    
    It is incremented right after the attempt of writing the event to the
    perf buffer, making it possible to measure if the that event was
    successfully written to the perf buffer or not.
    
    This metric can be used to monitor the performance of individual eBPF
    events and to detect potential bottlenecks.
    geyslan committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    5c35758 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c033971 View commit details
    Browse the repository at this point in the history