package otelconv

Import Path
	go.opentelemetry.io/otel/semconv/v1.37.0/otelconv (on go.dev)

Dependency Relation
	imports 5 packages, and imported by 2 packages

Involved Source Files Package httpconv provides types and functionality for OpenTelemetry semantic conventions in the "otel" namespace.
Package-Level Type Names (total 22)
/* sort by: | */
ComponentTypeAttr is an attribute conforming to the otel.component.type semantic conventions. It represents a name identifying the type of the OpenTelemetry component. func SDKExporterLogExported.AttrComponentType(val ComponentTypeAttr) attribute.KeyValue func SDKExporterLogInflight.AttrComponentType(val ComponentTypeAttr) attribute.KeyValue func SDKExporterMetricDataPointExported.AttrComponentType(val ComponentTypeAttr) attribute.KeyValue func SDKExporterMetricDataPointInflight.AttrComponentType(val ComponentTypeAttr) attribute.KeyValue func SDKExporterOperationDuration.AttrComponentType(val ComponentTypeAttr) attribute.KeyValue func SDKExporterSpanExported.AttrComponentType(val ComponentTypeAttr) attribute.KeyValue func SDKExporterSpanInflight.AttrComponentType(val ComponentTypeAttr) attribute.KeyValue func SDKMetricReaderCollectionDuration.AttrComponentType(val ComponentTypeAttr) attribute.KeyValue func SDKProcessorLogProcessed.AttrComponentType(val ComponentTypeAttr) attribute.KeyValue func SDKProcessorLogQueueCapacity.AttrComponentType(val ComponentTypeAttr) attribute.KeyValue func SDKProcessorLogQueueSize.AttrComponentType(val ComponentTypeAttr) attribute.KeyValue func SDKProcessorSpanProcessed.AttrComponentType(val ComponentTypeAttr) attribute.KeyValue func SDKProcessorSpanQueueCapacity.AttrComponentType(val ComponentTypeAttr) attribute.KeyValue func SDKProcessorSpanQueueSize.AttrComponentType(val ComponentTypeAttr) attribute.KeyValue var ComponentTypeBatchingLogProcessor var ComponentTypeBatchingSpanProcessor var ComponentTypeOtlpGRPCLogExporter var ComponentTypeOtlpGRPCMetricExporter var ComponentTypeOtlpGRPCSpanExporter var ComponentTypeOtlpHTTPJSONLogExporter var ComponentTypeOtlpHTTPJSONMetricExporter var ComponentTypeOtlpHTTPJSONSpanExporter var ComponentTypeOtlpHTTPLogExporter var ComponentTypeOtlpHTTPMetricExporter var ComponentTypeOtlpHTTPSpanExporter var ComponentTypePeriodicMetricReader var ComponentTypePrometheusHTTPTextMetricExporter var ComponentTypeSimpleLogProcessor var ComponentTypeSimpleSpanProcessor var ComponentTypeZipkinHTTPSpanExporter
ErrorTypeAttr is an attribute conforming to the error.type semantic conventions. It represents the describes a class of error the operation ended with. func SDKExporterLogExported.AttrErrorType(val ErrorTypeAttr) attribute.KeyValue func SDKExporterMetricDataPointExported.AttrErrorType(val ErrorTypeAttr) attribute.KeyValue func SDKExporterOperationDuration.AttrErrorType(val ErrorTypeAttr) attribute.KeyValue func SDKExporterSpanExported.AttrErrorType(val ErrorTypeAttr) attribute.KeyValue func SDKMetricReaderCollectionDuration.AttrErrorType(val ErrorTypeAttr) attribute.KeyValue func SDKProcessorLogProcessed.AttrErrorType(val ErrorTypeAttr) attribute.KeyValue func SDKProcessorSpanProcessed.AttrErrorType(val ErrorTypeAttr) attribute.KeyValue var ErrorTypeOther
RPCGRPCStatusCodeAttr is an attribute conforming to the rpc.grpc.status_code semantic conventions. It represents the gRPC status code of the last gRPC requests performed in scope of this export call. func SDKExporterOperationDuration.AttrRPCGRPCStatusCode(val RPCGRPCStatusCodeAttr) attribute.KeyValue var RPCGRPCStatusCodeAborted var RPCGRPCStatusCodeAlreadyExists var RPCGRPCStatusCodeCancelled var RPCGRPCStatusCodeDataLoss var RPCGRPCStatusCodeDeadlineExceeded var RPCGRPCStatusCodeFailedPrecondition var RPCGRPCStatusCodeInternal var RPCGRPCStatusCodeInvalidArgument var RPCGRPCStatusCodeNotFound var RPCGRPCStatusCodeOk var RPCGRPCStatusCodeOutOfRange var RPCGRPCStatusCodePermissionDenied var RPCGRPCStatusCodeResourceExhausted var RPCGRPCStatusCodeUnauthenticated var RPCGRPCStatusCodeUnavailable var RPCGRPCStatusCodeUnimplemented var RPCGRPCStatusCodeUnknown
SDKExporterLogExported is an instrument used to record metric values conforming to the "otel.sdk.exporter.log.exported" semantic conventions. It represents the number of log records for which the export has finished, either successful or failed. Int64Counter metric.Int64Counter Add adds incr to the existing count for attrs. All additional attrs passed are included in the recorded value. For successful exports, `error.type` MUST NOT be set. For failed exports, `error.type` MUST contain the failure cause. For exporters with partial success semantics (e.g. OTLP with `rejected_log_records`), rejected log records MUST count as failed and only non-rejected log records count as success. If no rejection reason is available, `rejected` SHOULD be used as value for `error.type`. AddSet adds incr to the existing count for set. For successful exports, `error.type` MUST NOT be set. For failed exports, `error.type` MUST contain the failure cause. For exporters with partial success semantics (e.g. OTLP with `rejected_log_records`), rejected log records MUST count as failed and only non-rejected log records count as success. If no rejection reason is available, `rejected` SHOULD be used as value for `error.type`. AttrComponentName returns an optional attribute for the "otel.component.name" semantic convention. It represents a name uniquely identifying the instance of the OpenTelemetry component within its containing SDK instance. AttrComponentType returns an optional attribute for the "otel.component.type" semantic convention. It represents a name identifying the type of the OpenTelemetry component. AttrErrorType returns an optional attribute for the "error.type" semantic convention. It represents the describes a class of error the operation ended with. AttrServerAddress returns an optional attribute for the "server.address" semantic convention. It represents the server domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name. AttrServerPort returns an optional attribute for the "server.port" semantic convention. It represents the server port number. Description returns the semantic convention description of the instrument Inst returns the underlying metric instrument. Name returns the semantic convention name of the instrument. Unit returns the semantic convention unit of the instrument SDKExporterLogExported : go.opentelemetry.io/otel/metric/embedded.Int64Counter SDKExporterLogExported : github.com/alexflint/go-arg.Described SDKExporterLogExported : github.com/polarsignals/frostdb/query/logicalplan.Named func NewSDKExporterLogExported(m metric.Meter, opt ...metric.Int64CounterOption) (SDKExporterLogExported, error)
SDKExporterLogInflight is an instrument used to record metric values conforming to the "otel.sdk.exporter.log.inflight" semantic conventions. It represents the number of log records which were passed to the exporter, but that have not been exported yet (neither successful, nor failed). Int64UpDownCounter metric.Int64UpDownCounter Add adds incr to the existing count for attrs. All additional attrs passed are included in the recorded value. For successful exports, `error.type` MUST NOT be set. For failed exports, `error.type` MUST contain the failure cause. AddSet adds incr to the existing count for set. For successful exports, `error.type` MUST NOT be set. For failed exports, `error.type` MUST contain the failure cause. AttrComponentName returns an optional attribute for the "otel.component.name" semantic convention. It represents a name uniquely identifying the instance of the OpenTelemetry component within its containing SDK instance. AttrComponentType returns an optional attribute for the "otel.component.type" semantic convention. It represents a name identifying the type of the OpenTelemetry component. AttrServerAddress returns an optional attribute for the "server.address" semantic convention. It represents the server domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name. AttrServerPort returns an optional attribute for the "server.port" semantic convention. It represents the server port number. Description returns the semantic convention description of the instrument Inst returns the underlying metric instrument. Name returns the semantic convention name of the instrument. Unit returns the semantic convention unit of the instrument SDKExporterLogInflight : go.opentelemetry.io/otel/metric/embedded.Int64UpDownCounter SDKExporterLogInflight : github.com/alexflint/go-arg.Described SDKExporterLogInflight : github.com/polarsignals/frostdb/query/logicalplan.Named func NewSDKExporterLogInflight(m metric.Meter, opt ...metric.Int64UpDownCounterOption) (SDKExporterLogInflight, error)
SDKExporterMetricDataPointExported is an instrument used to record metric values conforming to the "otel.sdk.exporter.metric_data_point.exported" semantic conventions. It represents the number of metric data points for which the export has finished, either successful or failed. Int64Counter metric.Int64Counter Add adds incr to the existing count for attrs. All additional attrs passed are included in the recorded value. For successful exports, `error.type` MUST NOT be set. For failed exports, `error.type` MUST contain the failure cause. For exporters with partial success semantics (e.g. OTLP with `rejected_data_points`), rejected data points MUST count as failed and only non-rejected data points count as success. If no rejection reason is available, `rejected` SHOULD be used as value for `error.type`. AddSet adds incr to the existing count for set. For successful exports, `error.type` MUST NOT be set. For failed exports, `error.type` MUST contain the failure cause. For exporters with partial success semantics (e.g. OTLP with `rejected_data_points`), rejected data points MUST count as failed and only non-rejected data points count as success. If no rejection reason is available, `rejected` SHOULD be used as value for `error.type`. AttrComponentName returns an optional attribute for the "otel.component.name" semantic convention. It represents a name uniquely identifying the instance of the OpenTelemetry component within its containing SDK instance. AttrComponentType returns an optional attribute for the "otel.component.type" semantic convention. It represents a name identifying the type of the OpenTelemetry component. AttrErrorType returns an optional attribute for the "error.type" semantic convention. It represents the describes a class of error the operation ended with. AttrServerAddress returns an optional attribute for the "server.address" semantic convention. It represents the server domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name. AttrServerPort returns an optional attribute for the "server.port" semantic convention. It represents the server port number. Description returns the semantic convention description of the instrument Inst returns the underlying metric instrument. Name returns the semantic convention name of the instrument. Unit returns the semantic convention unit of the instrument SDKExporterMetricDataPointExported : go.opentelemetry.io/otel/metric/embedded.Int64Counter SDKExporterMetricDataPointExported : github.com/alexflint/go-arg.Described SDKExporterMetricDataPointExported : github.com/polarsignals/frostdb/query/logicalplan.Named func NewSDKExporterMetricDataPointExported(m metric.Meter, opt ...metric.Int64CounterOption) (SDKExporterMetricDataPointExported, error)
SDKExporterMetricDataPointInflight is an instrument used to record metric values conforming to the "otel.sdk.exporter.metric_data_point.inflight" semantic conventions. It represents the number of metric data points which were passed to the exporter, but that have not been exported yet (neither successful, nor failed). Int64UpDownCounter metric.Int64UpDownCounter Add adds incr to the existing count for attrs. All additional attrs passed are included in the recorded value. For successful exports, `error.type` MUST NOT be set. For failed exports, `error.type` MUST contain the failure cause. AddSet adds incr to the existing count for set. For successful exports, `error.type` MUST NOT be set. For failed exports, `error.type` MUST contain the failure cause. AttrComponentName returns an optional attribute for the "otel.component.name" semantic convention. It represents a name uniquely identifying the instance of the OpenTelemetry component within its containing SDK instance. AttrComponentType returns an optional attribute for the "otel.component.type" semantic convention. It represents a name identifying the type of the OpenTelemetry component. AttrServerAddress returns an optional attribute for the "server.address" semantic convention. It represents the server domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name. AttrServerPort returns an optional attribute for the "server.port" semantic convention. It represents the server port number. Description returns the semantic convention description of the instrument Inst returns the underlying metric instrument. Name returns the semantic convention name of the instrument. Unit returns the semantic convention unit of the instrument SDKExporterMetricDataPointInflight : go.opentelemetry.io/otel/metric/embedded.Int64UpDownCounter SDKExporterMetricDataPointInflight : github.com/alexflint/go-arg.Described SDKExporterMetricDataPointInflight : github.com/polarsignals/frostdb/query/logicalplan.Named func NewSDKExporterMetricDataPointInflight(m metric.Meter, opt ...metric.Int64UpDownCounterOption) (SDKExporterMetricDataPointInflight, error)
SDKExporterOperationDuration is an instrument used to record metric values conforming to the "otel.sdk.exporter.operation.duration" semantic conventions. It represents the duration of exporting a batch of telemetry records. Float64Histogram metric.Float64Histogram AttrComponentName returns an optional attribute for the "otel.component.name" semantic convention. It represents a name uniquely identifying the instance of the OpenTelemetry component within its containing SDK instance. AttrComponentType returns an optional attribute for the "otel.component.type" semantic convention. It represents a name identifying the type of the OpenTelemetry component. AttrErrorType returns an optional attribute for the "error.type" semantic convention. It represents the describes a class of error the operation ended with. AttrHTTPResponseStatusCode returns an optional attribute for the "http.response.status_code" semantic convention. It represents the HTTP status code of the last HTTP request performed in scope of this export call. AttrRPCGRPCStatusCode returns an optional attribute for the "rpc.grpc.status_code" semantic convention. It represents the gRPC status code of the last gRPC requests performed in scope of this export call. AttrServerAddress returns an optional attribute for the "server.address" semantic convention. It represents the server domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name. AttrServerPort returns an optional attribute for the "server.port" semantic convention. It represents the server port number. Description returns the semantic convention description of the instrument Inst returns the underlying metric instrument. Name returns the semantic convention name of the instrument. Record records val to the current distribution for attrs. All additional attrs passed are included in the recorded value. This metric defines successful operations using the full success definitions for [http] and [grpc]. Anything else is defined as an unsuccessful operation. For successful operations, `error.type` MUST NOT be set. For unsuccessful export operations, `error.type` MUST contain a relevant failure cause. RecordSet records val to the current distribution for set. This metric defines successful operations using the full success definitions for [http] and [grpc]. Anything else is defined as an unsuccessful operation. For successful operations, `error.type` MUST NOT be set. For unsuccessful export operations, `error.type` MUST contain a relevant failure cause. Unit returns the semantic convention unit of the instrument SDKExporterOperationDuration : go.opentelemetry.io/otel/metric/embedded.Float64Histogram SDKExporterOperationDuration : github.com/alexflint/go-arg.Described SDKExporterOperationDuration : github.com/polarsignals/frostdb/query/logicalplan.Named func NewSDKExporterOperationDuration(m metric.Meter, opt ...metric.Float64HistogramOption) (SDKExporterOperationDuration, error)
SDKExporterSpanExported is an instrument used to record metric values conforming to the "otel.sdk.exporter.span.exported" semantic conventions. It represents the number of spans for which the export has finished, either successful or failed. Int64Counter metric.Int64Counter Add adds incr to the existing count for attrs. All additional attrs passed are included in the recorded value. For successful exports, `error.type` MUST NOT be set. For failed exports, `error.type` MUST contain the failure cause. For exporters with partial success semantics (e.g. OTLP with `rejected_spans` ), rejected spans MUST count as failed and only non-rejected spans count as success. If no rejection reason is available, `rejected` SHOULD be used as value for `error.type`. AddSet adds incr to the existing count for set. For successful exports, `error.type` MUST NOT be set. For failed exports, `error.type` MUST contain the failure cause. For exporters with partial success semantics (e.g. OTLP with `rejected_spans` ), rejected spans MUST count as failed and only non-rejected spans count as success. If no rejection reason is available, `rejected` SHOULD be used as value for `error.type`. AttrComponentName returns an optional attribute for the "otel.component.name" semantic convention. It represents a name uniquely identifying the instance of the OpenTelemetry component within its containing SDK instance. AttrComponentType returns an optional attribute for the "otel.component.type" semantic convention. It represents a name identifying the type of the OpenTelemetry component. AttrErrorType returns an optional attribute for the "error.type" semantic convention. It represents the describes a class of error the operation ended with. AttrServerAddress returns an optional attribute for the "server.address" semantic convention. It represents the server domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name. AttrServerPort returns an optional attribute for the "server.port" semantic convention. It represents the server port number. Description returns the semantic convention description of the instrument Inst returns the underlying metric instrument. Name returns the semantic convention name of the instrument. Unit returns the semantic convention unit of the instrument SDKExporterSpanExported : go.opentelemetry.io/otel/metric/embedded.Int64Counter SDKExporterSpanExported : github.com/alexflint/go-arg.Described SDKExporterSpanExported : github.com/polarsignals/frostdb/query/logicalplan.Named func NewSDKExporterSpanExported(m metric.Meter, opt ...metric.Int64CounterOption) (SDKExporterSpanExported, error)
SDKExporterSpanInflight is an instrument used to record metric values conforming to the "otel.sdk.exporter.span.inflight" semantic conventions. It represents the number of spans which were passed to the exporter, but that have not been exported yet (neither successful, nor failed). Int64UpDownCounter metric.Int64UpDownCounter Add adds incr to the existing count for attrs. All additional attrs passed are included in the recorded value. For successful exports, `error.type` MUST NOT be set. For failed exports, `error.type` MUST contain the failure cause. AddSet adds incr to the existing count for set. For successful exports, `error.type` MUST NOT be set. For failed exports, `error.type` MUST contain the failure cause. AttrComponentName returns an optional attribute for the "otel.component.name" semantic convention. It represents a name uniquely identifying the instance of the OpenTelemetry component within its containing SDK instance. AttrComponentType returns an optional attribute for the "otel.component.type" semantic convention. It represents a name identifying the type of the OpenTelemetry component. AttrServerAddress returns an optional attribute for the "server.address" semantic convention. It represents the server domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name. AttrServerPort returns an optional attribute for the "server.port" semantic convention. It represents the server port number. Description returns the semantic convention description of the instrument Inst returns the underlying metric instrument. Name returns the semantic convention name of the instrument. Unit returns the semantic convention unit of the instrument SDKExporterSpanInflight : go.opentelemetry.io/otel/metric/embedded.Int64UpDownCounter SDKExporterSpanInflight : github.com/alexflint/go-arg.Described SDKExporterSpanInflight : github.com/polarsignals/frostdb/query/logicalplan.Named func NewSDKExporterSpanInflight(m metric.Meter, opt ...metric.Int64UpDownCounterOption) (SDKExporterSpanInflight, error)
SDKLogCreated is an instrument used to record metric values conforming to the "otel.sdk.log.created" semantic conventions. It represents the number of logs submitted to enabled SDK Loggers. Int64Counter metric.Int64Counter Add adds incr to the existing count for attrs. AddSet adds incr to the existing count for set. Description returns the semantic convention description of the instrument Inst returns the underlying metric instrument. Name returns the semantic convention name of the instrument. Unit returns the semantic convention unit of the instrument SDKLogCreated : go.opentelemetry.io/otel/metric/embedded.Int64Counter SDKLogCreated : github.com/alexflint/go-arg.Described SDKLogCreated : github.com/polarsignals/frostdb/query/logicalplan.Named func NewSDKLogCreated(m metric.Meter, opt ...metric.Int64CounterOption) (SDKLogCreated, error)
SDKMetricReaderCollectionDuration is an instrument used to record metric values conforming to the "otel.sdk.metric_reader.collection.duration" semantic conventions. It represents the duration of the collect operation of the metric reader. Float64Histogram metric.Float64Histogram AttrComponentName returns an optional attribute for the "otel.component.name" semantic convention. It represents a name uniquely identifying the instance of the OpenTelemetry component within its containing SDK instance. AttrComponentType returns an optional attribute for the "otel.component.type" semantic convention. It represents a name identifying the type of the OpenTelemetry component. AttrErrorType returns an optional attribute for the "error.type" semantic convention. It represents the describes a class of error the operation ended with. Description returns the semantic convention description of the instrument Inst returns the underlying metric instrument. Name returns the semantic convention name of the instrument. Record records val to the current distribution for attrs. All additional attrs passed are included in the recorded value. For successful collections, `error.type` MUST NOT be set. For failed collections, `error.type` SHOULD contain the failure cause. It can happen that metrics collection is successful for some MetricProducers, while others fail. In that case `error.type` SHOULD be set to any of the failure causes. RecordSet records val to the current distribution for set. For successful collections, `error.type` MUST NOT be set. For failed collections, `error.type` SHOULD contain the failure cause. It can happen that metrics collection is successful for some MetricProducers, while others fail. In that case `error.type` SHOULD be set to any of the failure causes. Unit returns the semantic convention unit of the instrument SDKMetricReaderCollectionDuration : go.opentelemetry.io/otel/metric/embedded.Float64Histogram SDKMetricReaderCollectionDuration : github.com/alexflint/go-arg.Described SDKMetricReaderCollectionDuration : github.com/polarsignals/frostdb/query/logicalplan.Named func NewSDKMetricReaderCollectionDuration(m metric.Meter, opt ...metric.Float64HistogramOption) (SDKMetricReaderCollectionDuration, error)
SDKProcessorLogProcessed is an instrument used to record metric values conforming to the "otel.sdk.processor.log.processed" semantic conventions. It represents the number of log records for which the processing has finished, either successful or failed. Int64Counter metric.Int64Counter Add adds incr to the existing count for attrs. All additional attrs passed are included in the recorded value. For successful processing, `error.type` MUST NOT be set. For failed processing, `error.type` MUST contain the failure cause. For the SDK Simple and Batching Log Record Processor a log record is considered to be processed already when it has been submitted to the exporter, not when the corresponding export call has finished. AddSet adds incr to the existing count for set. For successful processing, `error.type` MUST NOT be set. For failed processing, `error.type` MUST contain the failure cause. For the SDK Simple and Batching Log Record Processor a log record is considered to be processed already when it has been submitted to the exporter, not when the corresponding export call has finished. AttrComponentName returns an optional attribute for the "otel.component.name" semantic convention. It represents a name uniquely identifying the instance of the OpenTelemetry component within its containing SDK instance. AttrComponentType returns an optional attribute for the "otel.component.type" semantic convention. It represents a name identifying the type of the OpenTelemetry component. AttrErrorType returns an optional attribute for the "error.type" semantic convention. It represents a low-cardinality description of the failure reason. SDK Batching Log Record Processors MUST use `queue_full` for log records dropped due to a full queue. Description returns the semantic convention description of the instrument Inst returns the underlying metric instrument. Name returns the semantic convention name of the instrument. Unit returns the semantic convention unit of the instrument SDKProcessorLogProcessed : go.opentelemetry.io/otel/metric/embedded.Int64Counter SDKProcessorLogProcessed : github.com/alexflint/go-arg.Described SDKProcessorLogProcessed : github.com/polarsignals/frostdb/query/logicalplan.Named func NewSDKProcessorLogProcessed(m metric.Meter, opt ...metric.Int64CounterOption) (SDKProcessorLogProcessed, error)
SDKProcessorLogQueueCapacity is an instrument used to record metric values conforming to the "otel.sdk.processor.log.queue.capacity" semantic conventions. It represents the maximum number of log records the queue of a given instance of an SDK Log Record processor can hold. Int64ObservableUpDownCounter metric.Int64ObservableUpDownCounter AttrComponentName returns an optional attribute for the "otel.component.name" semantic convention. It represents a name uniquely identifying the instance of the OpenTelemetry component within its containing SDK instance. AttrComponentType returns an optional attribute for the "otel.component.type" semantic convention. It represents a name identifying the type of the OpenTelemetry component. Description returns the semantic convention description of the instrument Inst returns the underlying metric instrument. Name returns the semantic convention name of the instrument. Unit returns the semantic convention unit of the instrument SDKProcessorLogQueueCapacity : go.opentelemetry.io/otel/metric.Int64Observable SDKProcessorLogQueueCapacity : go.opentelemetry.io/otel/metric.Int64ObservableUpDownCounter SDKProcessorLogQueueCapacity : go.opentelemetry.io/otel/metric.Observable SDKProcessorLogQueueCapacity : go.opentelemetry.io/otel/metric/embedded.Int64ObservableUpDownCounter SDKProcessorLogQueueCapacity : github.com/alexflint/go-arg.Described SDKProcessorLogQueueCapacity : github.com/polarsignals/frostdb/query/logicalplan.Named func NewSDKProcessorLogQueueCapacity(m metric.Meter, opt ...metric.Int64ObservableUpDownCounterOption) (SDKProcessorLogQueueCapacity, error)
SDKProcessorLogQueueSize is an instrument used to record metric values conforming to the "otel.sdk.processor.log.queue.size" semantic conventions. It represents the number of log records in the queue of a given instance of an SDK log processor. Int64ObservableUpDownCounter metric.Int64ObservableUpDownCounter AttrComponentName returns an optional attribute for the "otel.component.name" semantic convention. It represents a name uniquely identifying the instance of the OpenTelemetry component within its containing SDK instance. AttrComponentType returns an optional attribute for the "otel.component.type" semantic convention. It represents a name identifying the type of the OpenTelemetry component. Description returns the semantic convention description of the instrument Inst returns the underlying metric instrument. Name returns the semantic convention name of the instrument. Unit returns the semantic convention unit of the instrument SDKProcessorLogQueueSize : go.opentelemetry.io/otel/metric.Int64Observable SDKProcessorLogQueueSize : go.opentelemetry.io/otel/metric.Int64ObservableUpDownCounter SDKProcessorLogQueueSize : go.opentelemetry.io/otel/metric.Observable SDKProcessorLogQueueSize : go.opentelemetry.io/otel/metric/embedded.Int64ObservableUpDownCounter SDKProcessorLogQueueSize : github.com/alexflint/go-arg.Described SDKProcessorLogQueueSize : github.com/polarsignals/frostdb/query/logicalplan.Named func NewSDKProcessorLogQueueSize(m metric.Meter, opt ...metric.Int64ObservableUpDownCounterOption) (SDKProcessorLogQueueSize, error)
SDKProcessorSpanProcessed is an instrument used to record metric values conforming to the "otel.sdk.processor.span.processed" semantic conventions. It represents the number of spans for which the processing has finished, either successful or failed. Int64Counter metric.Int64Counter Add adds incr to the existing count for attrs. All additional attrs passed are included in the recorded value. For successful processing, `error.type` MUST NOT be set. For failed processing, `error.type` MUST contain the failure cause. For the SDK Simple and Batching Span Processor a span is considered to be processed already when it has been submitted to the exporter, not when the corresponding export call has finished. AddSet adds incr to the existing count for set. For successful processing, `error.type` MUST NOT be set. For failed processing, `error.type` MUST contain the failure cause. For the SDK Simple and Batching Span Processor a span is considered to be processed already when it has been submitted to the exporter, not when the corresponding export call has finished. AttrComponentName returns an optional attribute for the "otel.component.name" semantic convention. It represents a name uniquely identifying the instance of the OpenTelemetry component within its containing SDK instance. AttrComponentType returns an optional attribute for the "otel.component.type" semantic convention. It represents a name identifying the type of the OpenTelemetry component. AttrErrorType returns an optional attribute for the "error.type" semantic convention. It represents a low-cardinality description of the failure reason. SDK Batching Span Processors MUST use `queue_full` for spans dropped due to a full queue. Description returns the semantic convention description of the instrument Inst returns the underlying metric instrument. Name returns the semantic convention name of the instrument. Unit returns the semantic convention unit of the instrument SDKProcessorSpanProcessed : go.opentelemetry.io/otel/metric/embedded.Int64Counter SDKProcessorSpanProcessed : github.com/alexflint/go-arg.Described SDKProcessorSpanProcessed : github.com/polarsignals/frostdb/query/logicalplan.Named func NewSDKProcessorSpanProcessed(m metric.Meter, opt ...metric.Int64CounterOption) (SDKProcessorSpanProcessed, error)
SDKProcessorSpanQueueCapacity is an instrument used to record metric values conforming to the "otel.sdk.processor.span.queue.capacity" semantic conventions. It represents the maximum number of spans the queue of a given instance of an SDK span processor can hold. Int64ObservableUpDownCounter metric.Int64ObservableUpDownCounter AttrComponentName returns an optional attribute for the "otel.component.name" semantic convention. It represents a name uniquely identifying the instance of the OpenTelemetry component within its containing SDK instance. AttrComponentType returns an optional attribute for the "otel.component.type" semantic convention. It represents a name identifying the type of the OpenTelemetry component. Description returns the semantic convention description of the instrument Inst returns the underlying metric instrument. Name returns the semantic convention name of the instrument. Unit returns the semantic convention unit of the instrument SDKProcessorSpanQueueCapacity : go.opentelemetry.io/otel/metric.Int64Observable SDKProcessorSpanQueueCapacity : go.opentelemetry.io/otel/metric.Int64ObservableUpDownCounter SDKProcessorSpanQueueCapacity : go.opentelemetry.io/otel/metric.Observable SDKProcessorSpanQueueCapacity : go.opentelemetry.io/otel/metric/embedded.Int64ObservableUpDownCounter SDKProcessorSpanQueueCapacity : github.com/alexflint/go-arg.Described SDKProcessorSpanQueueCapacity : github.com/polarsignals/frostdb/query/logicalplan.Named func NewSDKProcessorSpanQueueCapacity(m metric.Meter, opt ...metric.Int64ObservableUpDownCounterOption) (SDKProcessorSpanQueueCapacity, error)
SDKProcessorSpanQueueSize is an instrument used to record metric values conforming to the "otel.sdk.processor.span.queue.size" semantic conventions. It represents the number of spans in the queue of a given instance of an SDK span processor. Int64ObservableUpDownCounter metric.Int64ObservableUpDownCounter AttrComponentName returns an optional attribute for the "otel.component.name" semantic convention. It represents a name uniquely identifying the instance of the OpenTelemetry component within its containing SDK instance. AttrComponentType returns an optional attribute for the "otel.component.type" semantic convention. It represents a name identifying the type of the OpenTelemetry component. Description returns the semantic convention description of the instrument Inst returns the underlying metric instrument. Name returns the semantic convention name of the instrument. Unit returns the semantic convention unit of the instrument SDKProcessorSpanQueueSize : go.opentelemetry.io/otel/metric.Int64Observable SDKProcessorSpanQueueSize : go.opentelemetry.io/otel/metric.Int64ObservableUpDownCounter SDKProcessorSpanQueueSize : go.opentelemetry.io/otel/metric.Observable SDKProcessorSpanQueueSize : go.opentelemetry.io/otel/metric/embedded.Int64ObservableUpDownCounter SDKProcessorSpanQueueSize : github.com/alexflint/go-arg.Described SDKProcessorSpanQueueSize : github.com/polarsignals/frostdb/query/logicalplan.Named func NewSDKProcessorSpanQueueSize(m metric.Meter, opt ...metric.Int64ObservableUpDownCounterOption) (SDKProcessorSpanQueueSize, error)
SDKSpanLive is an instrument used to record metric values conforming to the "otel.sdk.span.live" semantic conventions. It represents the number of created spans with `recording=true` for which the end operation has not been called yet. Int64UpDownCounter metric.Int64UpDownCounter Add adds incr to the existing count for attrs. All additional attrs passed are included in the recorded value. AddSet adds incr to the existing count for set. AttrSpanSamplingResult returns an optional attribute for the "otel.span.sampling_result" semantic convention. It represents the result value of the sampler for this span. Description returns the semantic convention description of the instrument Inst returns the underlying metric instrument. Name returns the semantic convention name of the instrument. Unit returns the semantic convention unit of the instrument SDKSpanLive : go.opentelemetry.io/otel/metric/embedded.Int64UpDownCounter SDKSpanLive : github.com/alexflint/go-arg.Described SDKSpanLive : github.com/polarsignals/frostdb/query/logicalplan.Named func NewSDKSpanLive(m metric.Meter, opt ...metric.Int64UpDownCounterOption) (SDKSpanLive, error)
SDKSpanStarted is an instrument used to record metric values conforming to the "otel.sdk.span.started" semantic conventions. It represents the number of created spans. Int64Counter metric.Int64Counter Add adds incr to the existing count for attrs. All additional attrs passed are included in the recorded value. Implementations MUST record this metric for all spans, even for non-recording ones. AddSet adds incr to the existing count for set. Implementations MUST record this metric for all spans, even for non-recording ones. AttrSpanParentOrigin returns an optional attribute for the "otel.span.parent.origin" semantic convention. It represents the determines whether the span has a parent span, and if so, [whether it is a remote parent] . AttrSpanSamplingResult returns an optional attribute for the "otel.span.sampling_result" semantic convention. It represents the result value of the sampler for this span. Description returns the semantic convention description of the instrument Inst returns the underlying metric instrument. Name returns the semantic convention name of the instrument. Unit returns the semantic convention unit of the instrument SDKSpanStarted : go.opentelemetry.io/otel/metric/embedded.Int64Counter SDKSpanStarted : github.com/alexflint/go-arg.Described SDKSpanStarted : github.com/polarsignals/frostdb/query/logicalplan.Named func NewSDKSpanStarted(m metric.Meter, opt ...metric.Int64CounterOption) (SDKSpanStarted, error)
SpanParentOriginAttr is an attribute conforming to the otel.span.parent.origin semantic conventions. It represents the determines whether the span has a parent span, and if so, [whether it is a remote parent]. func SDKSpanStarted.AttrSpanParentOrigin(val SpanParentOriginAttr) attribute.KeyValue var SpanParentOriginLocal var SpanParentOriginNone var SpanParentOriginRemote
SpanSamplingResultAttr is an attribute conforming to the otel.span.sampling_result semantic conventions. It represents the result value of the sampler for this span. func SDKSpanLive.AttrSpanSamplingResult(val SpanSamplingResultAttr) attribute.KeyValue func SDKSpanStarted.AttrSpanSamplingResult(val SpanSamplingResultAttr) attribute.KeyValue var SpanSamplingResultDrop var SpanSamplingResultRecordAndSample var SpanSamplingResultRecordOnly
Package-Level Functions (total 17)
NewSDKExporterLogExported returns a new SDKExporterLogExported instrument.
NewSDKExporterLogInflight returns a new SDKExporterLogInflight instrument.
NewSDKExporterMetricDataPointExported returns a new SDKExporterMetricDataPointExported instrument.
NewSDKExporterMetricDataPointInflight returns a new SDKExporterMetricDataPointInflight instrument.
NewSDKExporterOperationDuration returns a new SDKExporterOperationDuration instrument.
NewSDKExporterSpanExported returns a new SDKExporterSpanExported instrument.
NewSDKExporterSpanInflight returns a new SDKExporterSpanInflight instrument.
NewSDKLogCreated returns a new SDKLogCreated instrument.
NewSDKMetricReaderCollectionDuration returns a new SDKMetricReaderCollectionDuration instrument.
NewSDKProcessorLogProcessed returns a new SDKProcessorLogProcessed instrument.
NewSDKProcessorLogQueueCapacity returns a new SDKProcessorLogQueueCapacity instrument.
NewSDKProcessorLogQueueSize returns a new SDKProcessorLogQueueSize instrument.
NewSDKProcessorSpanProcessed returns a new SDKProcessorSpanProcessed instrument.
NewSDKProcessorSpanQueueCapacity returns a new SDKProcessorSpanQueueCapacity instrument.
NewSDKProcessorSpanQueueSize returns a new SDKProcessorSpanQueueSize instrument.
NewSDKSpanLive returns a new SDKSpanLive instrument.
NewSDKSpanStarted returns a new SDKSpanStarted instrument.
Package-Level Variables (total 40)
ComponentTypeBatchingLogProcessor is the builtin SDK batching log record processor.
ComponentTypeBatchingSpanProcessor is the builtin SDK batching span processor.
ComponentTypeOtlpGRPCLogExporter is the OTLP log record exporter over gRPC with protobuf serialization.
ComponentTypeOtlpGRPCMetricExporter is the OTLP metric exporter over gRPC with protobuf serialization.
ComponentTypeOtlpGRPCSpanExporter is the OTLP span exporter over gRPC with protobuf serialization.
ComponentTypeOtlpHTTPJSONLogExporter is the OTLP log record exporter over HTTP with JSON serialization.
ComponentTypeOtlpHTTPJSONMetricExporter is the OTLP metric exporter over HTTP with JSON serialization.
ComponentTypeOtlpHTTPJSONSpanExporter is the OTLP span exporter over HTTP with JSON serialization.
ComponentTypeOtlpHTTPLogExporter is the OTLP log record exporter over HTTP with protobuf serialization.
ComponentTypeOtlpHTTPMetricExporter is the OTLP metric exporter over HTTP with protobuf serialization.
ComponentTypeOtlpHTTPSpanExporter is the OTLP span exporter over HTTP with protobuf serialization.
ComponentTypePeriodicMetricReader is the builtin SDK periodically exporting metric reader.
ComponentTypePrometheusHTTPTextMetricExporter is the prometheus metric exporter over HTTP with the default text-based format.
ComponentTypeSimpleLogProcessor is the builtin SDK simple log record processor.
ComponentTypeSimpleSpanProcessor is the builtin SDK simple span processor.
ComponentTypeZipkinHTTPSpanExporter is the zipkin span exporter over HTTP.
ErrorTypeOther is a fallback error value to be used when the instrumentation doesn't define a custom value.
RPCGRPCStatusCodeAborted is the ABORTED.
RPCGRPCStatusCodeAlreadyExists is the ALREADY_EXISTS.
RPCGRPCStatusCodeCancelled is the CANCELLED.
RPCGRPCStatusCodeDataLoss is the DATA_LOSS.
RPCGRPCStatusCodeDeadlineExceeded is the DEADLINE_EXCEEDED.
RPCGRPCStatusCodeFailedPrecondition is the FAILED_PRECONDITION.
RPCGRPCStatusCodeInternal is the INTERNAL.
RPCGRPCStatusCodeInvalidArgument is the INVALID_ARGUMENT.
RPCGRPCStatusCodeNotFound is the NOT_FOUND.
RPCGRPCStatusCodeOk is the OK.
RPCGRPCStatusCodeOutOfRange is the OUT_OF_RANGE.
RPCGRPCStatusCodePermissionDenied is the PERMISSION_DENIED.
RPCGRPCStatusCodeResourceExhausted is the RESOURCE_EXHAUSTED.
RPCGRPCStatusCodeUnauthenticated is the UNAUTHENTICATED.
RPCGRPCStatusCodeUnavailable is the UNAVAILABLE.
RPCGRPCStatusCodeUnimplemented is the UNIMPLEMENTED.
RPCGRPCStatusCodeUnknown is the UNKNOWN.
SpanParentOriginLocal is the span has a parent and the parent's span context [isRemote()] is false.
SpanParentOriginNone is the span does not have a parent, it is a root span.
SpanParentOriginRemote is the span has a parent and the parent's span context [isRemote()] is true.
SpanSamplingResultDrop is the span is not sampled and not recording.
SpanSamplingResultRecordAndSample is the span is sampled and recording.
SpanSamplingResultRecordOnly is the span is not sampled, but recording.