Skip to content

Multiple measurement return in observable callback #85

@lamdor

Description

@lamdor

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions