Skip to content

otelconv only generates synchronous instruments #7029

@dashpole

Description

@dashpole

Description

In #6393, I need to define an asynchronous UpDown counter for the "otel.sdk.processor.span.queue.size" and , "otel.sdk.processor.span.queue.capacity" metrics.

However, these are hard-coded as an Int64UpDownCounter:

type SDKProcessorSpanQueueSize struct {
metric.Int64UpDownCounter
}

Expected behavior

I expected to be able to get an asynchronous version of the metric.

@MrAlias @pellared

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions