Closed tsint closed 2 months ago
For example, the value of V8SymbolizationFailure(142) is greater than the value of support.MetricIDBeginCumulative(96).
These are not compared. The compare is against ebpfID
or key of translateIDs
or the C.metricID_*
values which are defined in support/ebpf/types.h
. What you refer to is seen in the value of the translateIDs
map.
@fabled Oh, I see. Thank you for your answer.
The method(https://github.com/open-telemetry/opentelemetry-ebpf-profiler/blob/main/tracer/tracer.go#L850-L864) used in the eBPFMetricsCollector function to evaluate cumulative metrics(counters) is incorrect. For example, the value of V8SymbolizationFailure(142) is greater than the value of support.MetricIDBeginCumulative(96).