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

Add icmp-ip example with inet_ip decoder #251

Merged
merged 1 commit into from
Aug 20, 2023

Commits on Aug 20, 2023

  1. Add icmp-ip example with inet_ip decoder

    Example metrics from local pings:
    
        ivan@vm:~$ curl -s http://localhost:9435/metrics | fgrep ebpf_exporter_icmp
        # HELP ebpf_exporter_icmp4_received_packets_total Number of icmp packets received over IPv4
        # TYPE ebpf_exporter_icmp4_received_packets_total counter
        ebpf_exporter_icmp4_received_packets_total{source_addr="10.2.0.15"} 4
        ebpf_exporter_icmp4_received_packets_total{source_addr="127.0.0.1"} 6
        # HELP ebpf_exporter_icmp6_received_packets_total Number of icmp packets received over IPv6
        # TYPE ebpf_exporter_icmp6_received_packets_total counter
        ebpf_exporter_icmp6_received_packets_total{source_addr="::1"} 4
        ebpf_exporter_icmp6_received_packets_total{source_addr="fe80::5054:ff:fe12:3456"} 4
        ebpf_exporter_icmp6_received_packets_total{source_addr="fec0::5054:ff:fe12:3456"} 6
    bobrik committed Aug 20, 2023
    Configuration menu
    Copy the full SHA
    ec5faeb View commit details
    Browse the repository at this point in the history