OpenTelemetry.jl
OpenTelemetry.jl copied to clipboard
Multiple measurement return in observable callback
I'd like to be able to return multiple measurements in a callback. These measurements will have different attributes so they will not conflict with one another. Before I implement this, I wanted to get some feedback on the best way to do this. My specific use is for an ObservableUpDownCounter
for julia task work queue length, but I need to have them by threadid
.
Would a vector of Tuple{T,NamedTuple}
being returned be ok? Or a vector of Measurement{T}
? Or perhaps either?