You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These events will allow users to understand the rate of network requests, duration, user agents, and errors (via status codes), attribute to service and to K8s cluster, pod, namespace, and host.
Initial telemetry:
request counts
duration
agent version
kernel version
BTF is enabled
The text was updated successfully, but these errors were encountered:
## Which problem is this PR solving?
Adds agent, kernel and btf enabled fields to events.
- Closes#47
## Short description of the changes
- Add BtfEnabled func to utils
- Log agent version, kernel version and if btf is enabled at startup
- Add agent version, kernel version and btfEnabled fields to all events
## How to verify that this has the expected result
- Agent logs agent version, kernel version and if btf is enabled at
start up
- Events sent to Honeycomb include fields for agent version, kernel
version and if btf is enabled
```sh
# Local Docker Desktop:
2023-08-03 10:15:00 2023/08/03 14:15:00 Starting Honeycomb eBPF agent v0.0.2
2023-08-03 10:15:00 2023/08/03 14:15:00 Host kernel version: 5.15.49
2023-08-03 10:15:00 2023/08/03 14:15:00 BTF enabled: false
# EKS on ARM
2023/08/03 14:19:26 Starting Honeycomb eBPF agent v0.0.2
2023/08/03 14:19:26 Host kernel version: 5.10.184
2023/08/03 14:19:26 BTF enabled: true
```
![event-with-metadata-eks-docker](https://github.com/honeycombio/honeycomb-ebpf-agent/assets/29520003/c2083f6c-411e-4a79-98b4-2bfc419af610)
---------
Co-authored-by: Mike Goldsmth <goldsmith.mike@gmail.com>
Initial telemetry:
The text was updated successfully, but these errors were encountered: