tetragon icon indicating copy to clipboard operation
tetragon copied to clipboard

Can't see data events stats/metrics

Open olsajiri opened this issue 2 years ago • 4 comments

When running tetragon with metrics ( --metrics-server=:2112) I can't see any stats about data events, which we clearly posted.

We might be missing support to peg data events (ops.MSG_OP_DATA).

olsajiri avatar May 16 '23 13:05 olsajiri

@olsajiri hi I want to work on this isuue can you please guide me about this

swastik959 avatar May 19 '23 02:05 swastik959

please check: https://github.com/cilium/tetragon/blob/main/pkg/grpc/tracing/stats.go

and create similar interface for data events and call it within https://github.com/cilium/tetragon/blob/main/pkg/observer/data.go

need stats for:

  • data event is received (in HandleData)
  • data event is matched (in DataGet)
  • data event is not matched (in DataGet)

olsajiri avatar May 23 '23 09:05 olsajiri

@olsajiri I have created a pr please review it

swastik959 avatar May 27 '23 11:05 swastik959

@olsajiri hey, I want to contribute to this issue, I am a complete beginner. Can I get some briefs about this?

SumaiyaSafdar avatar May 29 '23 18:05 SumaiyaSafdar

@olsajiri Is this still a problem?

Running a recent build of Tetragon I'm seeing tetragon_data_events_total metric.

lambdanis avatar Apr 19 '24 13:04 lambdanis

I'm closing this issue as tetragon_data_events_total metrics seems to be exposed correctly. If there is still a problem with it then feel free to open another issue.

lambdanis avatar Apr 25 '24 13:04 lambdanis