Closed marcdel closed 3 years ago
Hey, sorry I missed this. Somehow it is getting the Tracer ot_tracer_default
(function :ot_tracer_default.record/4
) instead of the Meter ot_meter_default
implementation when it goes to record a metric.
Can you try the latest master branches? I can't find where it would be be mixing thos eup.
Version information:
The following code causes a compile time warning:
While this code causes a runtime error (this is likely due to me not understanding how the API is meant to be used):
Not sure how erlang things get versioned, but in master at least, it looks like there are
:ot_meter.record/3,4
? https://github.com/open-telemetry/opentelemetry-erlang/blob/master/src/ot_meter_default.erl#L59Happy to provide any other info that would be helpful!