Versions in this module Expand all Collapse all v0 v0.13.0 Dec 12, 2024 Changes in this version + type AttributeLimits struct + AdditionalProperties interface{} + AttributeCountLimit *int + AttributeValueLengthLimit *int + type Attributes map[string]interface + type BatchLogRecordProcessor struct + ExportTimeout *int + Exporter LogRecordExporter + MaxExportBatchSize *int + MaxQueueSize *int + ScheduleDelay *int + func (j *BatchLogRecordProcessor) UnmarshalJSON(b []byte) error + type BatchSpanProcessor struct + ExportTimeout *int + Exporter SpanExporter + MaxExportBatchSize *int + MaxQueueSize *int + ScheduleDelay *int + func (j *BatchSpanProcessor) UnmarshalJSON(b []byte) error + type Common map[string]interface + type ConfigurationOption interface + func WithContext(ctx context.Context) ConfigurationOption + func WithOpenTelemetryConfiguration(cfg OpenTelemetryConfiguration) ConfigurationOption + type Console map[string]interface + type Detectors struct + Attributes *DetectorsAttributes + type DetectorsAttributes struct + Excluded []string + Included []string + type Headers map[string]string + type IncludeExclude struct + Excluded []string + Included []string + type LogRecordExporter struct + AdditionalProperties interface{} + Console Console + OTLP *OTLP + type LogRecordLimits struct + AttributeCountLimit *int + AttributeValueLengthLimit *int + type LogRecordProcessor struct + AdditionalProperties interface{} + Batch *BatchLogRecordProcessor + Simple *SimpleLogRecordProcessor + type LoggerProvider struct + Limits *LogRecordLimits + Processors []LogRecordProcessor + type MeterProvider struct + Readers []MetricReader + Views []View + type MetricExporter struct + AdditionalProperties interface{} + Console Console + OTLP *OTLPMetric + Prometheus *Prometheus + type MetricReader struct + Periodic *PeriodicMetricReader + Pull *PullMetricReader + type OTLP struct + Certificate *string + ClientCertificate *string + ClientKey *string + Compression *string + Endpoint string + Headers Headers + Insecure *bool + Protocol string + Timeout *int + func (j *OTLP) UnmarshalJSON(b []byte) error + type OTLPMetric struct + Certificate *string + ClientCertificate *string + ClientKey *string + Compression *string + DefaultHistogramAggregation *OTLPMetricDefaultHistogramAggregation + Endpoint string + Headers Headers + Insecure *bool + Protocol string + TemporalityPreference *string + Timeout *int + func (j *OTLPMetric) UnmarshalJSON(b []byte) error + type OTLPMetricDefaultHistogramAggregation string + const OTLPMetricDefaultHistogramAggregationBase2ExponentialBucketHistogram + const OTLPMetricDefaultHistogramAggregationExplicitBucketHistogram + func (j *OTLPMetricDefaultHistogramAggregation) UnmarshalJSON(b []byte) error + type OpenTelemetryConfiguration struct + AdditionalProperties interface{} + AttributeLimits *AttributeLimits + Disabled *bool + FileFormat string + LoggerProvider *LoggerProvider + MeterProvider *MeterProvider + Propagator *Propagator + Resource *Resource + TracerProvider *TracerProvider + func ParseYAML(file []byte) (*OpenTelemetryConfiguration, error) + func (j *OpenTelemetryConfiguration) UnmarshalJSON(b []byte) error + type PeriodicMetricReader struct + Exporter MetricExporter + Interval *int + Timeout *int + func (j *PeriodicMetricReader) UnmarshalJSON(b []byte) error + type Prometheus struct + Host *string + Port *int + WithResourceConstantLabels *IncludeExclude + WithoutScopeInfo *bool + WithoutTypeSuffix *bool + WithoutUnits *bool + type Propagator struct + AdditionalProperties interface{} + Composite []string + type PullMetricReader struct + Exporter MetricExporter + func (j *PullMetricReader) UnmarshalJSON(b []byte) error + type Resource struct + Attributes Attributes + Detectors *Detectors + SchemaUrl *string + type SDK struct + func NewSDK(opts ...ConfigurationOption) (SDK, error) + func (s *SDK) LoggerProvider() log.LoggerProvider + func (s *SDK) MeterProvider() metric.MeterProvider + func (s *SDK) Shutdown(ctx context.Context) error + func (s *SDK) TracerProvider() trace.TracerProvider + type Sampler struct + AdditionalProperties interface{} + AlwaysOff SamplerAlwaysOff + AlwaysOn SamplerAlwaysOn + JaegerRemote *SamplerJaegerRemote + ParentBased *SamplerParentBased + TraceIDRatioBased *SamplerTraceIDRatioBased + type SamplerAlwaysOff map[string]interface + type SamplerAlwaysOn map[string]interface + type SamplerJaegerRemote struct + Endpoint *string + InitialSampler *Sampler + Interval *int + type SamplerParentBased struct + LocalParentNotSampled *Sampler + LocalParentSampled *Sampler + RemoteParentNotSampled *Sampler + RemoteParentSampled *Sampler + Root *Sampler + type SamplerTraceIDRatioBased struct + Ratio *float64 + type SimpleLogRecordProcessor struct + Exporter LogRecordExporter + func (j *SimpleLogRecordProcessor) UnmarshalJSON(b []byte) error + type SimpleSpanProcessor struct + Exporter SpanExporter + func (j *SimpleSpanProcessor) UnmarshalJSON(b []byte) error + type SpanExporter struct + AdditionalProperties interface{} + Console Console + OTLP *OTLP + Zipkin *Zipkin + type SpanLimits struct + AttributeCountLimit *int + AttributeValueLengthLimit *int + EventAttributeCountLimit *int + EventCountLimit *int + LinkAttributeCountLimit *int + LinkCountLimit *int + type SpanProcessor struct + AdditionalProperties interface{} + Batch *BatchSpanProcessor + Simple *SimpleSpanProcessor + type TracerProvider struct + Limits *SpanLimits + Processors []SpanProcessor + Sampler *Sampler + type View struct + Selector *ViewSelector + Stream *ViewStream + type ViewSelector struct + InstrumentName *string + InstrumentType *ViewSelectorInstrumentType + MeterName *string + MeterSchemaUrl *string + MeterVersion *string + Unit *string + type ViewSelectorInstrumentType string + const ViewSelectorInstrumentTypeCounter + const ViewSelectorInstrumentTypeHistogram + const ViewSelectorInstrumentTypeObservableCounter + const ViewSelectorInstrumentTypeObservableGauge + const ViewSelectorInstrumentTypeObservableUpDownCounter + const ViewSelectorInstrumentTypeUpDownCounter + func (j *ViewSelectorInstrumentType) UnmarshalJSON(b []byte) error + type ViewStream struct + Aggregation *ViewStreamAggregation + AttributeKeys []string + Description *string + Name *string + type ViewStreamAggregation struct + Base2ExponentialBucketHistogram *ViewStreamAggregationBase2ExponentialBucketHistogram + Default ViewStreamAggregationDefault + Drop ViewStreamAggregationDrop + ExplicitBucketHistogram *ViewStreamAggregationExplicitBucketHistogram + LastValue ViewStreamAggregationLastValue + Sum ViewStreamAggregationSum + type ViewStreamAggregationBase2ExponentialBucketHistogram struct + MaxScale *int + MaxSize *int + RecordMinMax *bool + type ViewStreamAggregationDefault map[string]interface + type ViewStreamAggregationDrop map[string]interface + type ViewStreamAggregationExplicitBucketHistogram struct + Boundaries []float64 + RecordMinMax *bool + type ViewStreamAggregationLastValue map[string]interface + type ViewStreamAggregationSum map[string]interface + type Zipkin struct + Endpoint string + Timeout *int + func (j *Zipkin) UnmarshalJSON(b []byte) error