coroot / coroot-node-agent

A Prometheus exporter based on eBPF that gathers comprehensive container metrics
https://coroot.com/docs/metrics/node-agent
Apache License 2.0
311 stars 55 forks source link

add cassandra trace #53

Open anngdinh opened 8 months ago

anngdinh commented 8 months ago

Hi teams, I just add trace for Cassandra protocol, it still have some issue: when Cassandra response the id of prepare statement (in eBPF tracepoint), it's not have fixed length like MySQL, i don't know how to pass it to l7_events and sent to user space and not make the body size bigger (may impact the performance). I just get 4 first byte of the id (it's still work for me) but it's just a temporary solution. Thank you.

apetruhin commented 8 months ago

@anngdinh, We will review this a bit later, perhaps next week. Thank you.