hs-opentelemetry-otlp 0.0.1.0 → 0.1.0.0
raw patch · 31 files changed
+15266/−18413 lines, 31 filesdep −proto-lensnew-uploaderPVP ok
version bump matches the API change (PVP)
Dependencies removed: proto-lens
API changes (from Hackage documentation)
- Proto.Opentelemetry.Proto.Common.V1.Common: data InstrumentationLibrary
- Proto.Opentelemetry.Proto.Common.V1.Common: data StringKeyValue
- Proto.Opentelemetry.Proto.Common.V1.Common: instance Control.DeepSeq.NFData Proto.Opentelemetry.Proto.Common.V1.Common.InstrumentationLibrary
- Proto.Opentelemetry.Proto.Common.V1.Common: instance Control.DeepSeq.NFData Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue
- Proto.Opentelemetry.Proto.Common.V1.Common: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Common.V1.Common.AnyValue "bytesValue" Data.ByteString.Internal.ByteString
- Proto.Opentelemetry.Proto.Common.V1.Common: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Common.V1.Common.AnyValue "maybe'bytesValue" (GHC.Maybe.Maybe Data.ByteString.Internal.ByteString)
- Proto.Opentelemetry.Proto.Common.V1.Common: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Common.V1.Common.InstrumentationLibrary "name" Data.Text.Internal.Text
- Proto.Opentelemetry.Proto.Common.V1.Common: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Common.V1.Common.InstrumentationLibrary "version" Data.Text.Internal.Text
- Proto.Opentelemetry.Proto.Common.V1.Common: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue "key" Data.Text.Internal.Text
- Proto.Opentelemetry.Proto.Common.V1.Common: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue "value" Data.Text.Internal.Text
- Proto.Opentelemetry.Proto.Common.V1.Common: instance Data.ProtoLens.Message.Message Proto.Opentelemetry.Proto.Common.V1.Common.InstrumentationLibrary
- Proto.Opentelemetry.Proto.Common.V1.Common: instance Data.ProtoLens.Message.Message Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue
- Proto.Opentelemetry.Proto.Common.V1.Common: instance GHC.Classes.Eq Proto.Opentelemetry.Proto.Common.V1.Common.InstrumentationLibrary
- Proto.Opentelemetry.Proto.Common.V1.Common: instance GHC.Classes.Eq Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue
- Proto.Opentelemetry.Proto.Common.V1.Common: instance GHC.Classes.Ord Proto.Opentelemetry.Proto.Common.V1.Common.InstrumentationLibrary
- Proto.Opentelemetry.Proto.Common.V1.Common: instance GHC.Classes.Ord Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue
- Proto.Opentelemetry.Proto.Common.V1.Common: instance GHC.Show.Show Proto.Opentelemetry.Proto.Common.V1.Common.InstrumentationLibrary
- Proto.Opentelemetry.Proto.Common.V1.Common: instance GHC.Show.Show Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue
- Proto.Opentelemetry.Proto.Logs.V1.Logs: LOG_RECORD_FLAG_TRACE_FLAGS_MASK :: LogRecordFlags
- Proto.Opentelemetry.Proto.Logs.V1.Logs: LOG_RECORD_FLAG_UNSPECIFIED :: LogRecordFlags
- Proto.Opentelemetry.Proto.Logs.V1.Logs: data InstrumentationLibraryLogs
- Proto.Opentelemetry.Proto.Logs.V1.Logs: instance Control.DeepSeq.NFData Proto.Opentelemetry.Proto.Logs.V1.Logs.InstrumentationLibraryLogs
- Proto.Opentelemetry.Proto.Logs.V1.Logs: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Logs.V1.Logs.InstrumentationLibraryLogs "instrumentationLibrary" Proto.Opentelemetry.Proto.Common.V1.Common.InstrumentationLibrary
- Proto.Opentelemetry.Proto.Logs.V1.Logs: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Logs.V1.Logs.InstrumentationLibraryLogs "logs" [Proto.Opentelemetry.Proto.Logs.V1.Logs.LogRecord]
- Proto.Opentelemetry.Proto.Logs.V1.Logs: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Logs.V1.Logs.InstrumentationLibraryLogs "maybe'instrumentationLibrary" (GHC.Maybe.Maybe Proto.Opentelemetry.Proto.Common.V1.Common.InstrumentationLibrary)
- Proto.Opentelemetry.Proto.Logs.V1.Logs: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Logs.V1.Logs.InstrumentationLibraryLogs "schemaUrl" Data.Text.Internal.Text
- Proto.Opentelemetry.Proto.Logs.V1.Logs: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Logs.V1.Logs.InstrumentationLibraryLogs "vec'logs" (Data.Vector.Vector Proto.Opentelemetry.Proto.Logs.V1.Logs.LogRecord)
- Proto.Opentelemetry.Proto.Logs.V1.Logs: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Logs.V1.Logs.LogRecord "name" Data.Text.Internal.Text
- Proto.Opentelemetry.Proto.Logs.V1.Logs: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Logs.V1.Logs.LogRecord "spanId" Data.ByteString.Internal.ByteString
- Proto.Opentelemetry.Proto.Logs.V1.Logs: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Logs.V1.Logs.LogRecord "traceId" Data.ByteString.Internal.ByteString
- Proto.Opentelemetry.Proto.Logs.V1.Logs: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Logs.V1.Logs.ResourceLogs "instrumentationLibraryLogs" [Proto.Opentelemetry.Proto.Logs.V1.Logs.InstrumentationLibraryLogs]
- Proto.Opentelemetry.Proto.Logs.V1.Logs: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Logs.V1.Logs.ResourceLogs "vec'instrumentationLibraryLogs" (Data.Vector.Vector Proto.Opentelemetry.Proto.Logs.V1.Logs.InstrumentationLibraryLogs)
- Proto.Opentelemetry.Proto.Logs.V1.Logs: instance Data.ProtoLens.Message.Message Proto.Opentelemetry.Proto.Logs.V1.Logs.InstrumentationLibraryLogs
- Proto.Opentelemetry.Proto.Logs.V1.Logs: instance GHC.Classes.Eq Proto.Opentelemetry.Proto.Logs.V1.Logs.InstrumentationLibraryLogs
- Proto.Opentelemetry.Proto.Logs.V1.Logs: instance GHC.Classes.Ord Proto.Opentelemetry.Proto.Logs.V1.Logs.InstrumentationLibraryLogs
- Proto.Opentelemetry.Proto.Logs.V1.Logs: instance GHC.Show.Show Proto.Opentelemetry.Proto.Logs.V1.Logs.InstrumentationLibraryLogs
- Proto.Opentelemetry.Proto.Logs.V1.Logs_Fields: instrumentationLibrary :: forall f s a. (Functor f, HasField s "instrumentationLibrary" a) => LensLike' f s a
- Proto.Opentelemetry.Proto.Logs.V1.Logs_Fields: instrumentationLibraryLogs :: forall f s a. (Functor f, HasField s "instrumentationLibraryLogs" a) => LensLike' f s a
- Proto.Opentelemetry.Proto.Logs.V1.Logs_Fields: logs :: forall f s a. (Functor f, HasField s "logs" a) => LensLike' f s a
- Proto.Opentelemetry.Proto.Logs.V1.Logs_Fields: maybe'instrumentationLibrary :: forall f s a. (Functor f, HasField s "maybe'instrumentationLibrary" a) => LensLike' f s a
- Proto.Opentelemetry.Proto.Logs.V1.Logs_Fields: name :: forall f s a. (Functor f, HasField s "name" a) => LensLike' f s a
- Proto.Opentelemetry.Proto.Logs.V1.Logs_Fields: vec'instrumentationLibraryLogs :: forall f s a. (Functor f, HasField s "vec'instrumentationLibraryLogs" a) => LensLike' f s a
- Proto.Opentelemetry.Proto.Logs.V1.Logs_Fields: vec'logs :: forall f s a. (Functor f, HasField s "vec'logs" a) => LensLike' f s a
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService: MetricConfig :: MetricConfig
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService: MetricConfigResponse'Schedule'Pattern'Equals :: !Text -> MetricConfigResponse'Schedule'Pattern'Match
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService: MetricConfigResponse'Schedule'Pattern'StartsWith :: !Text -> MetricConfigResponse'Schedule'Pattern'Match
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService: _MetricConfigResponse'Schedule'Pattern'Equals :: Prism' MetricConfigResponse'Schedule'Pattern'Match Text
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService: _MetricConfigResponse'Schedule'Pattern'StartsWith :: Prism' MetricConfigResponse'Schedule'Pattern'Match Text
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService: data MetricConfig
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService: data MetricConfigRequest
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService: data MetricConfigResponse
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService: data MetricConfigResponse'Schedule
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService: data MetricConfigResponse'Schedule'Pattern
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService: data MetricConfigResponse'Schedule'Pattern'Match
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService: instance Control.DeepSeq.NFData Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService.MetricConfigRequest
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService: instance Control.DeepSeq.NFData Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService.MetricConfigResponse
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService: instance Control.DeepSeq.NFData Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService.MetricConfigResponse'Schedule
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService: instance Control.DeepSeq.NFData Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService.MetricConfigResponse'Schedule'Pattern
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService: instance Control.DeepSeq.NFData Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService.MetricConfigResponse'Schedule'Pattern'Match
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService.MetricConfigRequest "lastKnownFingerprint" Data.ByteString.Internal.ByteString
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService.MetricConfigRequest "maybe'resource" (GHC.Maybe.Maybe Proto.Opentelemetry.Proto.Resource.V1.Resource.Resource)
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService.MetricConfigRequest "resource" Proto.Opentelemetry.Proto.Resource.V1.Resource.Resource
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService.MetricConfigResponse "fingerprint" Data.ByteString.Internal.ByteString
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService.MetricConfigResponse "schedules" [Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService.MetricConfigResponse'Schedule]
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService.MetricConfigResponse "suggestedWaitTimeSec" GHC.Int.Int32
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService.MetricConfigResponse "vec'schedules" (Data.Vector.Vector Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService.MetricConfigResponse'Schedule)
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService.MetricConfigResponse'Schedule "exclusionPatterns" [Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService.MetricConfigResponse'Schedule'Pattern]
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService.MetricConfigResponse'Schedule "inclusionPatterns" [Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService.MetricConfigResponse'Schedule'Pattern]
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService.MetricConfigResponse'Schedule "periodSec" GHC.Int.Int32
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService.MetricConfigResponse'Schedule "vec'exclusionPatterns" (Data.Vector.Vector Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService.MetricConfigResponse'Schedule'Pattern)
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService.MetricConfigResponse'Schedule "vec'inclusionPatterns" (Data.Vector.Vector Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService.MetricConfigResponse'Schedule'Pattern)
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService.MetricConfigResponse'Schedule'Pattern "equals" Data.Text.Internal.Text
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService.MetricConfigResponse'Schedule'Pattern "maybe'equals" (GHC.Maybe.Maybe Data.Text.Internal.Text)
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService.MetricConfigResponse'Schedule'Pattern "maybe'match" (GHC.Maybe.Maybe Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService.MetricConfigResponse'Schedule'Pattern'Match)
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService.MetricConfigResponse'Schedule'Pattern "maybe'startsWith" (GHC.Maybe.Maybe Data.Text.Internal.Text)
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService.MetricConfigResponse'Schedule'Pattern "startsWith" Data.Text.Internal.Text
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService: instance Data.ProtoLens.Message.Message Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService.MetricConfigRequest
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService: instance Data.ProtoLens.Message.Message Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService.MetricConfigResponse
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService: instance Data.ProtoLens.Message.Message Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService.MetricConfigResponse'Schedule
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService: instance Data.ProtoLens.Message.Message Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService.MetricConfigResponse'Schedule'Pattern
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService: instance Data.ProtoLens.Service.Types.HasMethodImpl Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService.MetricConfig "getMetricConfig"
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService: instance Data.ProtoLens.Service.Types.Service Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService.MetricConfig
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService: instance GHC.Classes.Eq Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService.MetricConfigRequest
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService: instance GHC.Classes.Eq Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService.MetricConfigResponse
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService: instance GHC.Classes.Eq Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService.MetricConfigResponse'Schedule
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService: instance GHC.Classes.Eq Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService.MetricConfigResponse'Schedule'Pattern
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService: instance GHC.Classes.Eq Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService.MetricConfigResponse'Schedule'Pattern'Match
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService: instance GHC.Classes.Ord Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService.MetricConfigRequest
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService: instance GHC.Classes.Ord Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService.MetricConfigResponse
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService: instance GHC.Classes.Ord Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService.MetricConfigResponse'Schedule
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService: instance GHC.Classes.Ord Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService.MetricConfigResponse'Schedule'Pattern
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService: instance GHC.Classes.Ord Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService.MetricConfigResponse'Schedule'Pattern'Match
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService: instance GHC.Show.Show Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService.MetricConfigRequest
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService: instance GHC.Show.Show Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService.MetricConfigResponse
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService: instance GHC.Show.Show Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService.MetricConfigResponse'Schedule
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService: instance GHC.Show.Show Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService.MetricConfigResponse'Schedule'Pattern
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService: instance GHC.Show.Show Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService.MetricConfigResponse'Schedule'Pattern'Match
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService_Fields: equals :: forall f s a. (Functor f, HasField s "equals" a) => LensLike' f s a
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService_Fields: exclusionPatterns :: forall f s a. (Functor f, HasField s "exclusionPatterns" a) => LensLike' f s a
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService_Fields: fingerprint :: forall f s a. (Functor f, HasField s "fingerprint" a) => LensLike' f s a
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService_Fields: inclusionPatterns :: forall f s a. (Functor f, HasField s "inclusionPatterns" a) => LensLike' f s a
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService_Fields: lastKnownFingerprint :: forall f s a. (Functor f, HasField s "lastKnownFingerprint" a) => LensLike' f s a
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService_Fields: maybe'equals :: forall f s a. (Functor f, HasField s "maybe'equals" a) => LensLike' f s a
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService_Fields: maybe'match :: forall f s a. (Functor f, HasField s "maybe'match" a) => LensLike' f s a
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService_Fields: maybe'resource :: forall f s a. (Functor f, HasField s "maybe'resource" a) => LensLike' f s a
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService_Fields: maybe'startsWith :: forall f s a. (Functor f, HasField s "maybe'startsWith" a) => LensLike' f s a
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService_Fields: periodSec :: forall f s a. (Functor f, HasField s "periodSec" a) => LensLike' f s a
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService_Fields: resource :: forall f s a. (Functor f, HasField s "resource" a) => LensLike' f s a
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService_Fields: schedules :: forall f s a. (Functor f, HasField s "schedules" a) => LensLike' f s a
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService_Fields: startsWith :: forall f s a. (Functor f, HasField s "startsWith" a) => LensLike' f s a
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService_Fields: suggestedWaitTimeSec :: forall f s a. (Functor f, HasField s "suggestedWaitTimeSec" a) => LensLike' f s a
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService_Fields: vec'exclusionPatterns :: forall f s a. (Functor f, HasField s "vec'exclusionPatterns" a) => LensLike' f s a
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService_Fields: vec'inclusionPatterns :: forall f s a. (Functor f, HasField s "vec'inclusionPatterns" a) => LensLike' f s a
- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService_Fields: vec'schedules :: forall f s a. (Functor f, HasField s "vec'schedules" a) => LensLike' f s a
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: FLAG_NONE :: DataPointFlags
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: FLAG_NO_RECORDED_VALUE :: DataPointFlags
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: Metric'IntGauge :: !IntGauge -> Metric'Data
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: Metric'IntHistogram :: !IntHistogram -> Metric'Data
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: Metric'IntSum :: !IntSum -> Metric'Data
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: _Metric'IntGauge :: Prism' Metric'Data IntGauge
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: _Metric'IntHistogram :: Prism' Metric'Data IntHistogram
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: _Metric'IntSum :: Prism' Metric'Data IntSum
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: data InstrumentationLibraryMetrics
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: data IntDataPoint
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: data IntExemplar
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: data IntGauge
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: data IntHistogram
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: data IntHistogramDataPoint
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: data IntSum
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Control.DeepSeq.NFData Proto.Opentelemetry.Proto.Metrics.V1.Metrics.InstrumentationLibraryMetrics
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Control.DeepSeq.NFData Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntDataPoint
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Control.DeepSeq.NFData Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntExemplar
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Control.DeepSeq.NFData Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntGauge
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Control.DeepSeq.NFData Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntHistogram
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Control.DeepSeq.NFData Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntHistogramDataPoint
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Control.DeepSeq.NFData Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntSum
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.Exemplar "filteredLabels" [Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue]
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.Exemplar "spanId" Data.ByteString.Internal.ByteString
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.Exemplar "traceId" Data.ByteString.Internal.ByteString
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.Exemplar "vec'filteredLabels" (Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue)
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.HistogramDataPoint "labels" [Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue]
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.HistogramDataPoint "vec'labels" (Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue)
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.InstrumentationLibraryMetrics "instrumentationLibrary" Proto.Opentelemetry.Proto.Common.V1.Common.InstrumentationLibrary
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.InstrumentationLibraryMetrics "maybe'instrumentationLibrary" (GHC.Maybe.Maybe Proto.Opentelemetry.Proto.Common.V1.Common.InstrumentationLibrary)
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.InstrumentationLibraryMetrics "metrics" [Proto.Opentelemetry.Proto.Metrics.V1.Metrics.Metric]
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.InstrumentationLibraryMetrics "schemaUrl" Data.Text.Internal.Text
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.InstrumentationLibraryMetrics "vec'metrics" (Data.Vector.Vector Proto.Opentelemetry.Proto.Metrics.V1.Metrics.Metric)
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntDataPoint "exemplars" [Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntExemplar]
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntDataPoint "labels" [Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue]
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntDataPoint "startTimeUnixNano" GHC.Word.Word64
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntDataPoint "timeUnixNano" GHC.Word.Word64
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntDataPoint "value" GHC.Int.Int64
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntDataPoint "vec'exemplars" (Data.Vector.Vector Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntExemplar)
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntDataPoint "vec'labels" (Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue)
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntExemplar "filteredLabels" [Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue]
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntExemplar "spanId" Data.ByteString.Internal.ByteString
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntExemplar "timeUnixNano" GHC.Word.Word64
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntExemplar "traceId" Data.ByteString.Internal.ByteString
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntExemplar "value" GHC.Int.Int64
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntExemplar "vec'filteredLabels" (Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue)
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntGauge "dataPoints" [Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntDataPoint]
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntGauge "vec'dataPoints" (Data.Vector.Vector Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntDataPoint)
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntHistogram "aggregationTemporality" Proto.Opentelemetry.Proto.Metrics.V1.Metrics.AggregationTemporality
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntHistogram "dataPoints" [Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntHistogramDataPoint]
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntHistogram "vec'dataPoints" (Data.Vector.Vector Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntHistogramDataPoint)
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntHistogramDataPoint "bucketCounts" [GHC.Word.Word64]
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntHistogramDataPoint "count" GHC.Word.Word64
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntHistogramDataPoint "exemplars" [Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntExemplar]
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntHistogramDataPoint "explicitBounds" [GHC.Types.Double]
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntHistogramDataPoint "labels" [Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue]
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntHistogramDataPoint "startTimeUnixNano" GHC.Word.Word64
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntHistogramDataPoint "sum" GHC.Int.Int64
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntHistogramDataPoint "timeUnixNano" GHC.Word.Word64
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntHistogramDataPoint "vec'bucketCounts" (Data.Vector.Unboxed.Base.Vector GHC.Word.Word64)
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntHistogramDataPoint "vec'exemplars" (Data.Vector.Vector Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntExemplar)
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntHistogramDataPoint "vec'explicitBounds" (Data.Vector.Unboxed.Base.Vector GHC.Types.Double)
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntHistogramDataPoint "vec'labels" (Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue)
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntSum "aggregationTemporality" Proto.Opentelemetry.Proto.Metrics.V1.Metrics.AggregationTemporality
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntSum "dataPoints" [Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntDataPoint]
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntSum "isMonotonic" GHC.Types.Bool
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntSum "vec'dataPoints" (Data.Vector.Vector Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntDataPoint)
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.Metric "intGauge" Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntGauge
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.Metric "intHistogram" Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntHistogram
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.Metric "intSum" Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntSum
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.Metric "maybe'intGauge" (GHC.Maybe.Maybe Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntGauge)
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.Metric "maybe'intHistogram" (GHC.Maybe.Maybe Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntHistogram)
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.Metric "maybe'intSum" (GHC.Maybe.Maybe Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntSum)
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.NumberDataPoint "labels" [Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue]
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.NumberDataPoint "vec'labels" (Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue)
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.ResourceMetrics "instrumentationLibraryMetrics" [Proto.Opentelemetry.Proto.Metrics.V1.Metrics.InstrumentationLibraryMetrics]
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.ResourceMetrics "vec'instrumentationLibraryMetrics" (Data.Vector.Vector Proto.Opentelemetry.Proto.Metrics.V1.Metrics.InstrumentationLibraryMetrics)
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.SummaryDataPoint "labels" [Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue]
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.SummaryDataPoint "vec'labels" (Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue)
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Message.Message Proto.Opentelemetry.Proto.Metrics.V1.Metrics.InstrumentationLibraryMetrics
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Message.Message Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntDataPoint
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Message.Message Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntExemplar
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Message.Message Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntGauge
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Message.Message Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntHistogram
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Message.Message Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntHistogramDataPoint
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Message.Message Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntSum
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance GHC.Classes.Eq Proto.Opentelemetry.Proto.Metrics.V1.Metrics.InstrumentationLibraryMetrics
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance GHC.Classes.Eq Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntDataPoint
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance GHC.Classes.Eq Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntExemplar
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance GHC.Classes.Eq Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntGauge
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance GHC.Classes.Eq Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntHistogram
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance GHC.Classes.Eq Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntHistogramDataPoint
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance GHC.Classes.Eq Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntSum
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance GHC.Classes.Ord Proto.Opentelemetry.Proto.Metrics.V1.Metrics.InstrumentationLibraryMetrics
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance GHC.Classes.Ord Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntDataPoint
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance GHC.Classes.Ord Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntExemplar
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance GHC.Classes.Ord Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntGauge
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance GHC.Classes.Ord Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntHistogram
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance GHC.Classes.Ord Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntHistogramDataPoint
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance GHC.Classes.Ord Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntSum
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance GHC.Show.Show Proto.Opentelemetry.Proto.Metrics.V1.Metrics.InstrumentationLibraryMetrics
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance GHC.Show.Show Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntDataPoint
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance GHC.Show.Show Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntExemplar
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance GHC.Show.Show Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntGauge
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance GHC.Show.Show Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntHistogram
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance GHC.Show.Show Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntHistogramDataPoint
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance GHC.Show.Show Proto.Opentelemetry.Proto.Metrics.V1.Metrics.IntSum
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields: filteredLabels :: forall f s a. (Functor f, HasField s "filteredLabels" a) => LensLike' f s a
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields: instrumentationLibrary :: forall f s a. (Functor f, HasField s "instrumentationLibrary" a) => LensLike' f s a
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields: instrumentationLibraryMetrics :: forall f s a. (Functor f, HasField s "instrumentationLibraryMetrics" a) => LensLike' f s a
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields: intGauge :: forall f s a. (Functor f, HasField s "intGauge" a) => LensLike' f s a
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields: intHistogram :: forall f s a. (Functor f, HasField s "intHistogram" a) => LensLike' f s a
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields: intSum :: forall f s a. (Functor f, HasField s "intSum" a) => LensLike' f s a
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields: labels :: forall f s a. (Functor f, HasField s "labels" a) => LensLike' f s a
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields: maybe'instrumentationLibrary :: forall f s a. (Functor f, HasField s "maybe'instrumentationLibrary" a) => LensLike' f s a
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields: maybe'intGauge :: forall f s a. (Functor f, HasField s "maybe'intGauge" a) => LensLike' f s a
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields: maybe'intHistogram :: forall f s a. (Functor f, HasField s "maybe'intHistogram" a) => LensLike' f s a
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields: maybe'intSum :: forall f s a. (Functor f, HasField s "maybe'intSum" a) => LensLike' f s a
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields: vec'filteredLabels :: forall f s a. (Functor f, HasField s "vec'filteredLabels" a) => LensLike' f s a
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields: vec'instrumentationLibraryMetrics :: forall f s a. (Functor f, HasField s "vec'instrumentationLibraryMetrics" a) => LensLike' f s a
- Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields: vec'labels :: forall f s a. (Functor f, HasField s "vec'labels" a) => LensLike' f s a
- Proto.Opentelemetry.Proto.Trace.V1.Trace: Status'DEPRECATED_STATUS_CODE_ABORTED :: Status'DeprecatedStatusCode
- Proto.Opentelemetry.Proto.Trace.V1.Trace: Status'DEPRECATED_STATUS_CODE_ALREADY_EXISTS :: Status'DeprecatedStatusCode
- Proto.Opentelemetry.Proto.Trace.V1.Trace: Status'DEPRECATED_STATUS_CODE_CANCELLED :: Status'DeprecatedStatusCode
- Proto.Opentelemetry.Proto.Trace.V1.Trace: Status'DEPRECATED_STATUS_CODE_DATA_LOSS :: Status'DeprecatedStatusCode
- Proto.Opentelemetry.Proto.Trace.V1.Trace: Status'DEPRECATED_STATUS_CODE_DEADLINE_EXCEEDED :: Status'DeprecatedStatusCode
- Proto.Opentelemetry.Proto.Trace.V1.Trace: Status'DEPRECATED_STATUS_CODE_FAILED_PRECONDITION :: Status'DeprecatedStatusCode
- Proto.Opentelemetry.Proto.Trace.V1.Trace: Status'DEPRECATED_STATUS_CODE_INTERNAL_ERROR :: Status'DeprecatedStatusCode
- Proto.Opentelemetry.Proto.Trace.V1.Trace: Status'DEPRECATED_STATUS_CODE_INVALID_ARGUMENT :: Status'DeprecatedStatusCode
- Proto.Opentelemetry.Proto.Trace.V1.Trace: Status'DEPRECATED_STATUS_CODE_NOT_FOUND :: Status'DeprecatedStatusCode
- Proto.Opentelemetry.Proto.Trace.V1.Trace: Status'DEPRECATED_STATUS_CODE_OK :: Status'DeprecatedStatusCode
- Proto.Opentelemetry.Proto.Trace.V1.Trace: Status'DEPRECATED_STATUS_CODE_OUT_OF_RANGE :: Status'DeprecatedStatusCode
- Proto.Opentelemetry.Proto.Trace.V1.Trace: Status'DEPRECATED_STATUS_CODE_PERMISSION_DENIED :: Status'DeprecatedStatusCode
- Proto.Opentelemetry.Proto.Trace.V1.Trace: Status'DEPRECATED_STATUS_CODE_RESOURCE_EXHAUSTED :: Status'DeprecatedStatusCode
- Proto.Opentelemetry.Proto.Trace.V1.Trace: Status'DEPRECATED_STATUS_CODE_UNAUTHENTICATED :: Status'DeprecatedStatusCode
- Proto.Opentelemetry.Proto.Trace.V1.Trace: Status'DEPRECATED_STATUS_CODE_UNAVAILABLE :: Status'DeprecatedStatusCode
- Proto.Opentelemetry.Proto.Trace.V1.Trace: Status'DEPRECATED_STATUS_CODE_UNIMPLEMENTED :: Status'DeprecatedStatusCode
- Proto.Opentelemetry.Proto.Trace.V1.Trace: Status'DEPRECATED_STATUS_CODE_UNKNOWN_ERROR :: Status'DeprecatedStatusCode
- Proto.Opentelemetry.Proto.Trace.V1.Trace: Status'DeprecatedStatusCode'Unrecognized :: !Status'DeprecatedStatusCode'UnrecognizedValue -> Status'DeprecatedStatusCode
- Proto.Opentelemetry.Proto.Trace.V1.Trace: data InstrumentationLibrarySpans
- Proto.Opentelemetry.Proto.Trace.V1.Trace: data Status'DeprecatedStatusCode
- Proto.Opentelemetry.Proto.Trace.V1.Trace: data Status'DeprecatedStatusCode'UnrecognizedValue
- Proto.Opentelemetry.Proto.Trace.V1.Trace: instance Control.DeepSeq.NFData Proto.Opentelemetry.Proto.Trace.V1.Trace.InstrumentationLibrarySpans
- Proto.Opentelemetry.Proto.Trace.V1.Trace: instance Control.DeepSeq.NFData Proto.Opentelemetry.Proto.Trace.V1.Trace.Status'DeprecatedStatusCode
- Proto.Opentelemetry.Proto.Trace.V1.Trace: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Trace.V1.Trace.InstrumentationLibrarySpans "instrumentationLibrary" Proto.Opentelemetry.Proto.Common.V1.Common.InstrumentationLibrary
- Proto.Opentelemetry.Proto.Trace.V1.Trace: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Trace.V1.Trace.InstrumentationLibrarySpans "maybe'instrumentationLibrary" (GHC.Maybe.Maybe Proto.Opentelemetry.Proto.Common.V1.Common.InstrumentationLibrary)
- Proto.Opentelemetry.Proto.Trace.V1.Trace: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Trace.V1.Trace.InstrumentationLibrarySpans "schemaUrl" Data.Text.Internal.Text
- Proto.Opentelemetry.Proto.Trace.V1.Trace: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Trace.V1.Trace.InstrumentationLibrarySpans "spans" [Proto.Opentelemetry.Proto.Trace.V1.Trace.Span]
- Proto.Opentelemetry.Proto.Trace.V1.Trace: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Trace.V1.Trace.InstrumentationLibrarySpans "vec'spans" (Data.Vector.Vector Proto.Opentelemetry.Proto.Trace.V1.Trace.Span)
- Proto.Opentelemetry.Proto.Trace.V1.Trace: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Trace.V1.Trace.ResourceSpans "instrumentationLibrarySpans" [Proto.Opentelemetry.Proto.Trace.V1.Trace.InstrumentationLibrarySpans]
- Proto.Opentelemetry.Proto.Trace.V1.Trace: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Trace.V1.Trace.ResourceSpans "vec'instrumentationLibrarySpans" (Data.Vector.Vector Proto.Opentelemetry.Proto.Trace.V1.Trace.InstrumentationLibrarySpans)
- Proto.Opentelemetry.Proto.Trace.V1.Trace: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Trace.V1.Trace.Span "parentSpanId" Data.ByteString.Internal.ByteString
- Proto.Opentelemetry.Proto.Trace.V1.Trace: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Trace.V1.Trace.Span "spanId" Data.ByteString.Internal.ByteString
- Proto.Opentelemetry.Proto.Trace.V1.Trace: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Trace.V1.Trace.Span "traceId" Data.ByteString.Internal.ByteString
- Proto.Opentelemetry.Proto.Trace.V1.Trace: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Trace.V1.Trace.Span'Link "spanId" Data.ByteString.Internal.ByteString
- Proto.Opentelemetry.Proto.Trace.V1.Trace: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Trace.V1.Trace.Span'Link "traceId" Data.ByteString.Internal.ByteString
- Proto.Opentelemetry.Proto.Trace.V1.Trace: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Trace.V1.Trace.Status "deprecatedCode" Proto.Opentelemetry.Proto.Trace.V1.Trace.Status'DeprecatedStatusCode
- Proto.Opentelemetry.Proto.Trace.V1.Trace: instance Data.ProtoLens.Message.FieldDefault Proto.Opentelemetry.Proto.Trace.V1.Trace.Status'DeprecatedStatusCode
- Proto.Opentelemetry.Proto.Trace.V1.Trace: instance Data.ProtoLens.Message.Message Proto.Opentelemetry.Proto.Trace.V1.Trace.InstrumentationLibrarySpans
- Proto.Opentelemetry.Proto.Trace.V1.Trace: instance Data.ProtoLens.Message.MessageEnum Proto.Opentelemetry.Proto.Trace.V1.Trace.Status'DeprecatedStatusCode
- Proto.Opentelemetry.Proto.Trace.V1.Trace: instance GHC.Classes.Eq Proto.Opentelemetry.Proto.Trace.V1.Trace.InstrumentationLibrarySpans
- Proto.Opentelemetry.Proto.Trace.V1.Trace: instance GHC.Classes.Eq Proto.Opentelemetry.Proto.Trace.V1.Trace.Status'DeprecatedStatusCode
- Proto.Opentelemetry.Proto.Trace.V1.Trace: instance GHC.Classes.Eq Proto.Opentelemetry.Proto.Trace.V1.Trace.Status'DeprecatedStatusCode'UnrecognizedValue
- Proto.Opentelemetry.Proto.Trace.V1.Trace: instance GHC.Classes.Ord Proto.Opentelemetry.Proto.Trace.V1.Trace.InstrumentationLibrarySpans
- Proto.Opentelemetry.Proto.Trace.V1.Trace: instance GHC.Classes.Ord Proto.Opentelemetry.Proto.Trace.V1.Trace.Status'DeprecatedStatusCode
- Proto.Opentelemetry.Proto.Trace.V1.Trace: instance GHC.Classes.Ord Proto.Opentelemetry.Proto.Trace.V1.Trace.Status'DeprecatedStatusCode'UnrecognizedValue
- Proto.Opentelemetry.Proto.Trace.V1.Trace: instance GHC.Enum.Bounded Proto.Opentelemetry.Proto.Trace.V1.Trace.Status'DeprecatedStatusCode
- Proto.Opentelemetry.Proto.Trace.V1.Trace: instance GHC.Enum.Enum Proto.Opentelemetry.Proto.Trace.V1.Trace.Status'DeprecatedStatusCode
- Proto.Opentelemetry.Proto.Trace.V1.Trace: instance GHC.Show.Show Proto.Opentelemetry.Proto.Trace.V1.Trace.InstrumentationLibrarySpans
- Proto.Opentelemetry.Proto.Trace.V1.Trace: instance GHC.Show.Show Proto.Opentelemetry.Proto.Trace.V1.Trace.Status'DeprecatedStatusCode
- Proto.Opentelemetry.Proto.Trace.V1.Trace: instance GHC.Show.Show Proto.Opentelemetry.Proto.Trace.V1.Trace.Status'DeprecatedStatusCode'UnrecognizedValue
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig: ConstantSampler'ALWAYS_OFF :: ConstantSampler'ConstantDecision
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig: ConstantSampler'ALWAYS_ON :: ConstantSampler'ConstantDecision
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig: ConstantSampler'ALWAYS_PARENT :: ConstantSampler'ConstantDecision
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig: ConstantSampler'ConstantDecision'Unrecognized :: !ConstantSampler'ConstantDecision'UnrecognizedValue -> ConstantSampler'ConstantDecision
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig: TraceConfig'ConstantSampler :: !ConstantSampler -> TraceConfig'Sampler
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig: TraceConfig'RateLimitingSampler :: !RateLimitingSampler -> TraceConfig'Sampler
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig: TraceConfig'TraceIdRatioBased :: !TraceIdRatioBased -> TraceConfig'Sampler
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig: _TraceConfig'ConstantSampler :: Prism' TraceConfig'Sampler ConstantSampler
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig: _TraceConfig'RateLimitingSampler :: Prism' TraceConfig'Sampler RateLimitingSampler
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig: _TraceConfig'TraceIdRatioBased :: Prism' TraceConfig'Sampler TraceIdRatioBased
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig: data ConstantSampler
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig: data ConstantSampler'ConstantDecision
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig: data ConstantSampler'ConstantDecision'UnrecognizedValue
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig: data RateLimitingSampler
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig: data TraceConfig
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig: data TraceConfig'Sampler
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig: data TraceIdRatioBased
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig: instance Control.DeepSeq.NFData Proto.Opentelemetry.Proto.Trace.V1.TraceConfig.ConstantSampler
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig: instance Control.DeepSeq.NFData Proto.Opentelemetry.Proto.Trace.V1.TraceConfig.ConstantSampler'ConstantDecision
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig: instance Control.DeepSeq.NFData Proto.Opentelemetry.Proto.Trace.V1.TraceConfig.RateLimitingSampler
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig: instance Control.DeepSeq.NFData Proto.Opentelemetry.Proto.Trace.V1.TraceConfig.TraceConfig
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig: instance Control.DeepSeq.NFData Proto.Opentelemetry.Proto.Trace.V1.TraceConfig.TraceConfig'Sampler
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig: instance Control.DeepSeq.NFData Proto.Opentelemetry.Proto.Trace.V1.TraceConfig.TraceIdRatioBased
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Trace.V1.TraceConfig.ConstantSampler "decision" Proto.Opentelemetry.Proto.Trace.V1.TraceConfig.ConstantSampler'ConstantDecision
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Trace.V1.TraceConfig.RateLimitingSampler "qps" GHC.Int.Int64
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Trace.V1.TraceConfig.TraceConfig "constantSampler" Proto.Opentelemetry.Proto.Trace.V1.TraceConfig.ConstantSampler
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Trace.V1.TraceConfig.TraceConfig "maxNumberOfAttributes" GHC.Int.Int64
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Trace.V1.TraceConfig.TraceConfig "maxNumberOfAttributesPerLink" GHC.Int.Int64
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Trace.V1.TraceConfig.TraceConfig "maxNumberOfAttributesPerTimedEvent" GHC.Int.Int64
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Trace.V1.TraceConfig.TraceConfig "maxNumberOfLinks" GHC.Int.Int64
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Trace.V1.TraceConfig.TraceConfig "maxNumberOfTimedEvents" GHC.Int.Int64
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Trace.V1.TraceConfig.TraceConfig "maybe'constantSampler" (GHC.Maybe.Maybe Proto.Opentelemetry.Proto.Trace.V1.TraceConfig.ConstantSampler)
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Trace.V1.TraceConfig.TraceConfig "maybe'rateLimitingSampler" (GHC.Maybe.Maybe Proto.Opentelemetry.Proto.Trace.V1.TraceConfig.RateLimitingSampler)
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Trace.V1.TraceConfig.TraceConfig "maybe'sampler" (GHC.Maybe.Maybe Proto.Opentelemetry.Proto.Trace.V1.TraceConfig.TraceConfig'Sampler)
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Trace.V1.TraceConfig.TraceConfig "maybe'traceIdRatioBased" (GHC.Maybe.Maybe Proto.Opentelemetry.Proto.Trace.V1.TraceConfig.TraceIdRatioBased)
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Trace.V1.TraceConfig.TraceConfig "rateLimitingSampler" Proto.Opentelemetry.Proto.Trace.V1.TraceConfig.RateLimitingSampler
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Trace.V1.TraceConfig.TraceConfig "traceIdRatioBased" Proto.Opentelemetry.Proto.Trace.V1.TraceConfig.TraceIdRatioBased
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Trace.V1.TraceConfig.TraceIdRatioBased "samplingRatio" GHC.Types.Double
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig: instance Data.ProtoLens.Message.FieldDefault Proto.Opentelemetry.Proto.Trace.V1.TraceConfig.ConstantSampler'ConstantDecision
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig: instance Data.ProtoLens.Message.Message Proto.Opentelemetry.Proto.Trace.V1.TraceConfig.ConstantSampler
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig: instance Data.ProtoLens.Message.Message Proto.Opentelemetry.Proto.Trace.V1.TraceConfig.RateLimitingSampler
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig: instance Data.ProtoLens.Message.Message Proto.Opentelemetry.Proto.Trace.V1.TraceConfig.TraceConfig
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig: instance Data.ProtoLens.Message.Message Proto.Opentelemetry.Proto.Trace.V1.TraceConfig.TraceIdRatioBased
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig: instance Data.ProtoLens.Message.MessageEnum Proto.Opentelemetry.Proto.Trace.V1.TraceConfig.ConstantSampler'ConstantDecision
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig: instance GHC.Classes.Eq Proto.Opentelemetry.Proto.Trace.V1.TraceConfig.ConstantSampler
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig: instance GHC.Classes.Eq Proto.Opentelemetry.Proto.Trace.V1.TraceConfig.ConstantSampler'ConstantDecision
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig: instance GHC.Classes.Eq Proto.Opentelemetry.Proto.Trace.V1.TraceConfig.ConstantSampler'ConstantDecision'UnrecognizedValue
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig: instance GHC.Classes.Eq Proto.Opentelemetry.Proto.Trace.V1.TraceConfig.RateLimitingSampler
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig: instance GHC.Classes.Eq Proto.Opentelemetry.Proto.Trace.V1.TraceConfig.TraceConfig
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig: instance GHC.Classes.Eq Proto.Opentelemetry.Proto.Trace.V1.TraceConfig.TraceConfig'Sampler
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig: instance GHC.Classes.Eq Proto.Opentelemetry.Proto.Trace.V1.TraceConfig.TraceIdRatioBased
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig: instance GHC.Classes.Ord Proto.Opentelemetry.Proto.Trace.V1.TraceConfig.ConstantSampler
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig: instance GHC.Classes.Ord Proto.Opentelemetry.Proto.Trace.V1.TraceConfig.ConstantSampler'ConstantDecision
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig: instance GHC.Classes.Ord Proto.Opentelemetry.Proto.Trace.V1.TraceConfig.ConstantSampler'ConstantDecision'UnrecognizedValue
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig: instance GHC.Classes.Ord Proto.Opentelemetry.Proto.Trace.V1.TraceConfig.RateLimitingSampler
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig: instance GHC.Classes.Ord Proto.Opentelemetry.Proto.Trace.V1.TraceConfig.TraceConfig
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig: instance GHC.Classes.Ord Proto.Opentelemetry.Proto.Trace.V1.TraceConfig.TraceConfig'Sampler
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig: instance GHC.Classes.Ord Proto.Opentelemetry.Proto.Trace.V1.TraceConfig.TraceIdRatioBased
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig: instance GHC.Enum.Bounded Proto.Opentelemetry.Proto.Trace.V1.TraceConfig.ConstantSampler'ConstantDecision
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig: instance GHC.Enum.Enum Proto.Opentelemetry.Proto.Trace.V1.TraceConfig.ConstantSampler'ConstantDecision
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig: instance GHC.Show.Show Proto.Opentelemetry.Proto.Trace.V1.TraceConfig.ConstantSampler
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig: instance GHC.Show.Show Proto.Opentelemetry.Proto.Trace.V1.TraceConfig.ConstantSampler'ConstantDecision
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig: instance GHC.Show.Show Proto.Opentelemetry.Proto.Trace.V1.TraceConfig.ConstantSampler'ConstantDecision'UnrecognizedValue
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig: instance GHC.Show.Show Proto.Opentelemetry.Proto.Trace.V1.TraceConfig.RateLimitingSampler
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig: instance GHC.Show.Show Proto.Opentelemetry.Proto.Trace.V1.TraceConfig.TraceConfig
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig: instance GHC.Show.Show Proto.Opentelemetry.Proto.Trace.V1.TraceConfig.TraceConfig'Sampler
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig: instance GHC.Show.Show Proto.Opentelemetry.Proto.Trace.V1.TraceConfig.TraceIdRatioBased
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig_Fields: constantSampler :: forall f s a. (Functor f, HasField s "constantSampler" a) => LensLike' f s a
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig_Fields: decision :: forall f s a. (Functor f, HasField s "decision" a) => LensLike' f s a
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig_Fields: maxNumberOfAttributes :: forall f s a. (Functor f, HasField s "maxNumberOfAttributes" a) => LensLike' f s a
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig_Fields: maxNumberOfAttributesPerLink :: forall f s a. (Functor f, HasField s "maxNumberOfAttributesPerLink" a) => LensLike' f s a
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig_Fields: maxNumberOfAttributesPerTimedEvent :: forall f s a. (Functor f, HasField s "maxNumberOfAttributesPerTimedEvent" a) => LensLike' f s a
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig_Fields: maxNumberOfLinks :: forall f s a. (Functor f, HasField s "maxNumberOfLinks" a) => LensLike' f s a
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig_Fields: maxNumberOfTimedEvents :: forall f s a. (Functor f, HasField s "maxNumberOfTimedEvents" a) => LensLike' f s a
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig_Fields: maybe'constantSampler :: forall f s a. (Functor f, HasField s "maybe'constantSampler" a) => LensLike' f s a
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig_Fields: maybe'rateLimitingSampler :: forall f s a. (Functor f, HasField s "maybe'rateLimitingSampler" a) => LensLike' f s a
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig_Fields: maybe'sampler :: forall f s a. (Functor f, HasField s "maybe'sampler" a) => LensLike' f s a
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig_Fields: maybe'traceIdRatioBased :: forall f s a. (Functor f, HasField s "maybe'traceIdRatioBased" a) => LensLike' f s a
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig_Fields: qps :: forall f s a. (Functor f, HasField s "qps" a) => LensLike' f s a
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig_Fields: rateLimitingSampler :: forall f s a. (Functor f, HasField s "rateLimitingSampler" a) => LensLike' f s a
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig_Fields: samplingRatio :: forall f s a. (Functor f, HasField s "samplingRatio" a) => LensLike' f s a
- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig_Fields: traceIdRatioBased :: forall f s a. (Functor f, HasField s "traceIdRatioBased" a) => LensLike' f s a
- Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields: deprecatedCode :: forall f s a. (Functor f, HasField s "deprecatedCode" a) => LensLike' f s a
- Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields: instrumentationLibrary :: forall f s a. (Functor f, HasField s "instrumentationLibrary" a) => LensLike' f s a
- Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields: instrumentationLibrarySpans :: forall f s a. (Functor f, HasField s "instrumentationLibrarySpans" a) => LensLike' f s a
- Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields: maybe'instrumentationLibrary :: forall f s a. (Functor f, HasField s "maybe'instrumentationLibrary" a) => LensLike' f s a
- Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields: vec'instrumentationLibrarySpans :: forall f s a. (Functor f, HasField s "vec'instrumentationLibrarySpans" a) => LensLike' f s a
+ Proto.Opentelemetry.Proto.Collector.Logs.V1.LogsService: data ExportLogsPartialSuccess
+ Proto.Opentelemetry.Proto.Collector.Logs.V1.LogsService: instance Control.DeepSeq.NFData Proto.Opentelemetry.Proto.Collector.Logs.V1.LogsService.ExportLogsPartialSuccess
+ Proto.Opentelemetry.Proto.Collector.Logs.V1.LogsService: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Collector.Logs.V1.LogsService.ExportLogsPartialSuccess "errorMessage" Data.Text.Internal.Text
+ Proto.Opentelemetry.Proto.Collector.Logs.V1.LogsService: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Collector.Logs.V1.LogsService.ExportLogsPartialSuccess "rejectedLogRecords" GHC.Int.Int64
+ Proto.Opentelemetry.Proto.Collector.Logs.V1.LogsService: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Collector.Logs.V1.LogsService.ExportLogsServiceResponse "maybe'partialSuccess" (GHC.Maybe.Maybe Proto.Opentelemetry.Proto.Collector.Logs.V1.LogsService.ExportLogsPartialSuccess)
+ Proto.Opentelemetry.Proto.Collector.Logs.V1.LogsService: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Collector.Logs.V1.LogsService.ExportLogsServiceResponse "partialSuccess" Proto.Opentelemetry.Proto.Collector.Logs.V1.LogsService.ExportLogsPartialSuccess
+ Proto.Opentelemetry.Proto.Collector.Logs.V1.LogsService: instance Data.ProtoLens.Message.Message Proto.Opentelemetry.Proto.Collector.Logs.V1.LogsService.ExportLogsPartialSuccess
+ Proto.Opentelemetry.Proto.Collector.Logs.V1.LogsService: instance GHC.Classes.Eq Proto.Opentelemetry.Proto.Collector.Logs.V1.LogsService.ExportLogsPartialSuccess
+ Proto.Opentelemetry.Proto.Collector.Logs.V1.LogsService: instance GHC.Classes.Ord Proto.Opentelemetry.Proto.Collector.Logs.V1.LogsService.ExportLogsPartialSuccess
+ Proto.Opentelemetry.Proto.Collector.Logs.V1.LogsService: instance GHC.Show.Show Proto.Opentelemetry.Proto.Collector.Logs.V1.LogsService.ExportLogsPartialSuccess
+ Proto.Opentelemetry.Proto.Collector.Logs.V1.LogsService_Fields: errorMessage :: forall f s a. (Functor f, HasField s "errorMessage" a) => LensLike' f s a
+ Proto.Opentelemetry.Proto.Collector.Logs.V1.LogsService_Fields: maybe'partialSuccess :: forall f s a. (Functor f, HasField s "maybe'partialSuccess" a) => LensLike' f s a
+ Proto.Opentelemetry.Proto.Collector.Logs.V1.LogsService_Fields: partialSuccess :: forall f s a. (Functor f, HasField s "partialSuccess" a) => LensLike' f s a
+ Proto.Opentelemetry.Proto.Collector.Logs.V1.LogsService_Fields: rejectedLogRecords :: forall f s a. (Functor f, HasField s "rejectedLogRecords" a) => LensLike' f s a
+ Proto.Opentelemetry.Proto.Collector.Metrics.V1.MetricsService: data ExportMetricsPartialSuccess
+ Proto.Opentelemetry.Proto.Collector.Metrics.V1.MetricsService: instance Control.DeepSeq.NFData Proto.Opentelemetry.Proto.Collector.Metrics.V1.MetricsService.ExportMetricsPartialSuccess
+ Proto.Opentelemetry.Proto.Collector.Metrics.V1.MetricsService: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Collector.Metrics.V1.MetricsService.ExportMetricsPartialSuccess "errorMessage" Data.Text.Internal.Text
+ Proto.Opentelemetry.Proto.Collector.Metrics.V1.MetricsService: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Collector.Metrics.V1.MetricsService.ExportMetricsPartialSuccess "rejectedDataPoints" GHC.Int.Int64
+ Proto.Opentelemetry.Proto.Collector.Metrics.V1.MetricsService: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Collector.Metrics.V1.MetricsService.ExportMetricsServiceResponse "maybe'partialSuccess" (GHC.Maybe.Maybe Proto.Opentelemetry.Proto.Collector.Metrics.V1.MetricsService.ExportMetricsPartialSuccess)
+ Proto.Opentelemetry.Proto.Collector.Metrics.V1.MetricsService: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Collector.Metrics.V1.MetricsService.ExportMetricsServiceResponse "partialSuccess" Proto.Opentelemetry.Proto.Collector.Metrics.V1.MetricsService.ExportMetricsPartialSuccess
+ Proto.Opentelemetry.Proto.Collector.Metrics.V1.MetricsService: instance Data.ProtoLens.Message.Message Proto.Opentelemetry.Proto.Collector.Metrics.V1.MetricsService.ExportMetricsPartialSuccess
+ Proto.Opentelemetry.Proto.Collector.Metrics.V1.MetricsService: instance GHC.Classes.Eq Proto.Opentelemetry.Proto.Collector.Metrics.V1.MetricsService.ExportMetricsPartialSuccess
+ Proto.Opentelemetry.Proto.Collector.Metrics.V1.MetricsService: instance GHC.Classes.Ord Proto.Opentelemetry.Proto.Collector.Metrics.V1.MetricsService.ExportMetricsPartialSuccess
+ Proto.Opentelemetry.Proto.Collector.Metrics.V1.MetricsService: instance GHC.Show.Show Proto.Opentelemetry.Proto.Collector.Metrics.V1.MetricsService.ExportMetricsPartialSuccess
+ Proto.Opentelemetry.Proto.Collector.Metrics.V1.MetricsService_Fields: errorMessage :: forall f s a. (Functor f, HasField s "errorMessage" a) => LensLike' f s a
+ Proto.Opentelemetry.Proto.Collector.Metrics.V1.MetricsService_Fields: maybe'partialSuccess :: forall f s a. (Functor f, HasField s "maybe'partialSuccess" a) => LensLike' f s a
+ Proto.Opentelemetry.Proto.Collector.Metrics.V1.MetricsService_Fields: partialSuccess :: forall f s a. (Functor f, HasField s "partialSuccess" a) => LensLike' f s a
+ Proto.Opentelemetry.Proto.Collector.Metrics.V1.MetricsService_Fields: rejectedDataPoints :: forall f s a. (Functor f, HasField s "rejectedDataPoints" a) => LensLike' f s a
+ Proto.Opentelemetry.Proto.Collector.Trace.V1.TraceService: data ExportTracePartialSuccess
+ Proto.Opentelemetry.Proto.Collector.Trace.V1.TraceService: instance Control.DeepSeq.NFData Proto.Opentelemetry.Proto.Collector.Trace.V1.TraceService.ExportTracePartialSuccess
+ Proto.Opentelemetry.Proto.Collector.Trace.V1.TraceService: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Collector.Trace.V1.TraceService.ExportTracePartialSuccess "errorMessage" Data.Text.Internal.Text
+ Proto.Opentelemetry.Proto.Collector.Trace.V1.TraceService: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Collector.Trace.V1.TraceService.ExportTracePartialSuccess "rejectedSpans" GHC.Int.Int64
+ Proto.Opentelemetry.Proto.Collector.Trace.V1.TraceService: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Collector.Trace.V1.TraceService.ExportTraceServiceResponse "maybe'partialSuccess" (GHC.Maybe.Maybe Proto.Opentelemetry.Proto.Collector.Trace.V1.TraceService.ExportTracePartialSuccess)
+ Proto.Opentelemetry.Proto.Collector.Trace.V1.TraceService: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Collector.Trace.V1.TraceService.ExportTraceServiceResponse "partialSuccess" Proto.Opentelemetry.Proto.Collector.Trace.V1.TraceService.ExportTracePartialSuccess
+ Proto.Opentelemetry.Proto.Collector.Trace.V1.TraceService: instance Data.ProtoLens.Message.Message Proto.Opentelemetry.Proto.Collector.Trace.V1.TraceService.ExportTracePartialSuccess
+ Proto.Opentelemetry.Proto.Collector.Trace.V1.TraceService: instance GHC.Classes.Eq Proto.Opentelemetry.Proto.Collector.Trace.V1.TraceService.ExportTracePartialSuccess
+ Proto.Opentelemetry.Proto.Collector.Trace.V1.TraceService: instance GHC.Classes.Ord Proto.Opentelemetry.Proto.Collector.Trace.V1.TraceService.ExportTracePartialSuccess
+ Proto.Opentelemetry.Proto.Collector.Trace.V1.TraceService: instance GHC.Show.Show Proto.Opentelemetry.Proto.Collector.Trace.V1.TraceService.ExportTracePartialSuccess
+ Proto.Opentelemetry.Proto.Collector.Trace.V1.TraceService_Fields: errorMessage :: forall f s a. (Functor f, HasField s "errorMessage" a) => LensLike' f s a
+ Proto.Opentelemetry.Proto.Collector.Trace.V1.TraceService_Fields: maybe'partialSuccess :: forall f s a. (Functor f, HasField s "maybe'partialSuccess" a) => LensLike' f s a
+ Proto.Opentelemetry.Proto.Collector.Trace.V1.TraceService_Fields: partialSuccess :: forall f s a. (Functor f, HasField s "partialSuccess" a) => LensLike' f s a
+ Proto.Opentelemetry.Proto.Collector.Trace.V1.TraceService_Fields: rejectedSpans :: forall f s a. (Functor f, HasField s "rejectedSpans" a) => LensLike' f s a
+ Proto.Opentelemetry.Proto.Common.V1.Common: data InstrumentationScope
+ Proto.Opentelemetry.Proto.Common.V1.Common: instance Control.DeepSeq.NFData Proto.Opentelemetry.Proto.Common.V1.Common.InstrumentationScope
+ Proto.Opentelemetry.Proto.Common.V1.Common: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Common.V1.Common.AnyValue "bytesValue" Data.ByteString.Internal.Type.ByteString
+ Proto.Opentelemetry.Proto.Common.V1.Common: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Common.V1.Common.AnyValue "maybe'bytesValue" (GHC.Maybe.Maybe Data.ByteString.Internal.Type.ByteString)
+ Proto.Opentelemetry.Proto.Common.V1.Common: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Common.V1.Common.InstrumentationScope "attributes" [Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue]
+ Proto.Opentelemetry.Proto.Common.V1.Common: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Common.V1.Common.InstrumentationScope "droppedAttributesCount" GHC.Word.Word32
+ Proto.Opentelemetry.Proto.Common.V1.Common: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Common.V1.Common.InstrumentationScope "name" Data.Text.Internal.Text
+ Proto.Opentelemetry.Proto.Common.V1.Common: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Common.V1.Common.InstrumentationScope "vec'attributes" (Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue)
+ Proto.Opentelemetry.Proto.Common.V1.Common: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Common.V1.Common.InstrumentationScope "version" Data.Text.Internal.Text
+ Proto.Opentelemetry.Proto.Common.V1.Common: instance Data.ProtoLens.Message.Message Proto.Opentelemetry.Proto.Common.V1.Common.InstrumentationScope
+ Proto.Opentelemetry.Proto.Common.V1.Common: instance GHC.Classes.Eq Proto.Opentelemetry.Proto.Common.V1.Common.InstrumentationScope
+ Proto.Opentelemetry.Proto.Common.V1.Common: instance GHC.Classes.Ord Proto.Opentelemetry.Proto.Common.V1.Common.InstrumentationScope
+ Proto.Opentelemetry.Proto.Common.V1.Common: instance GHC.Show.Show Proto.Opentelemetry.Proto.Common.V1.Common.InstrumentationScope
+ Proto.Opentelemetry.Proto.Common.V1.Common_Fields: attributes :: forall f s a. (Functor f, HasField s "attributes" a) => LensLike' f s a
+ Proto.Opentelemetry.Proto.Common.V1.Common_Fields: droppedAttributesCount :: forall f s a. (Functor f, HasField s "droppedAttributesCount" a) => LensLike' f s a
+ Proto.Opentelemetry.Proto.Common.V1.Common_Fields: vec'attributes :: forall f s a. (Functor f, HasField s "vec'attributes" a) => LensLike' f s a
+ Proto.Opentelemetry.Proto.Logs.V1.Logs: LOG_RECORD_FLAGS_DO_NOT_USE :: LogRecordFlags
+ Proto.Opentelemetry.Proto.Logs.V1.Logs: LOG_RECORD_FLAGS_TRACE_FLAGS_MASK :: LogRecordFlags
+ Proto.Opentelemetry.Proto.Logs.V1.Logs: data ScopeLogs
+ Proto.Opentelemetry.Proto.Logs.V1.Logs: instance Control.DeepSeq.NFData Proto.Opentelemetry.Proto.Logs.V1.Logs.ScopeLogs
+ Proto.Opentelemetry.Proto.Logs.V1.Logs: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Logs.V1.Logs.LogRecord "observedTimeUnixNano" GHC.Word.Word64
+ Proto.Opentelemetry.Proto.Logs.V1.Logs: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Logs.V1.Logs.LogRecord "spanId" Data.ByteString.Internal.Type.ByteString
+ Proto.Opentelemetry.Proto.Logs.V1.Logs: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Logs.V1.Logs.LogRecord "traceId" Data.ByteString.Internal.Type.ByteString
+ Proto.Opentelemetry.Proto.Logs.V1.Logs: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Logs.V1.Logs.ResourceLogs "scopeLogs" [Proto.Opentelemetry.Proto.Logs.V1.Logs.ScopeLogs]
+ Proto.Opentelemetry.Proto.Logs.V1.Logs: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Logs.V1.Logs.ResourceLogs "vec'scopeLogs" (Data.Vector.Vector Proto.Opentelemetry.Proto.Logs.V1.Logs.ScopeLogs)
+ Proto.Opentelemetry.Proto.Logs.V1.Logs: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Logs.V1.Logs.ScopeLogs "logRecords" [Proto.Opentelemetry.Proto.Logs.V1.Logs.LogRecord]
+ Proto.Opentelemetry.Proto.Logs.V1.Logs: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Logs.V1.Logs.ScopeLogs "maybe'scope" (GHC.Maybe.Maybe Proto.Opentelemetry.Proto.Common.V1.Common.InstrumentationScope)
+ Proto.Opentelemetry.Proto.Logs.V1.Logs: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Logs.V1.Logs.ScopeLogs "schemaUrl" Data.Text.Internal.Text
+ Proto.Opentelemetry.Proto.Logs.V1.Logs: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Logs.V1.Logs.ScopeLogs "scope" Proto.Opentelemetry.Proto.Common.V1.Common.InstrumentationScope
+ Proto.Opentelemetry.Proto.Logs.V1.Logs: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Logs.V1.Logs.ScopeLogs "vec'logRecords" (Data.Vector.Vector Proto.Opentelemetry.Proto.Logs.V1.Logs.LogRecord)
+ Proto.Opentelemetry.Proto.Logs.V1.Logs: instance Data.ProtoLens.Message.Message Proto.Opentelemetry.Proto.Logs.V1.Logs.ScopeLogs
+ Proto.Opentelemetry.Proto.Logs.V1.Logs: instance GHC.Classes.Eq Proto.Opentelemetry.Proto.Logs.V1.Logs.ScopeLogs
+ Proto.Opentelemetry.Proto.Logs.V1.Logs: instance GHC.Classes.Ord Proto.Opentelemetry.Proto.Logs.V1.Logs.ScopeLogs
+ Proto.Opentelemetry.Proto.Logs.V1.Logs: instance GHC.Show.Show Proto.Opentelemetry.Proto.Logs.V1.Logs.ScopeLogs
+ Proto.Opentelemetry.Proto.Logs.V1.Logs_Fields: logRecords :: forall f s a. (Functor f, HasField s "logRecords" a) => LensLike' f s a
+ Proto.Opentelemetry.Proto.Logs.V1.Logs_Fields: maybe'scope :: forall f s a. (Functor f, HasField s "maybe'scope" a) => LensLike' f s a
+ Proto.Opentelemetry.Proto.Logs.V1.Logs_Fields: observedTimeUnixNano :: forall f s a. (Functor f, HasField s "observedTimeUnixNano" a) => LensLike' f s a
+ Proto.Opentelemetry.Proto.Logs.V1.Logs_Fields: scope :: forall f s a. (Functor f, HasField s "scope" a) => LensLike' f s a
+ Proto.Opentelemetry.Proto.Logs.V1.Logs_Fields: scopeLogs :: forall f s a. (Functor f, HasField s "scopeLogs" a) => LensLike' f s a
+ Proto.Opentelemetry.Proto.Logs.V1.Logs_Fields: vec'logRecords :: forall f s a. (Functor f, HasField s "vec'logRecords" a) => LensLike' f s a
+ Proto.Opentelemetry.Proto.Logs.V1.Logs_Fields: vec'scopeLogs :: forall f s a. (Functor f, HasField s "vec'scopeLogs" a) => LensLike' f s a
+ Proto.Opentelemetry.Proto.Metrics.V1.Metrics: DATA_POINT_FLAGS_DO_NOT_USE :: DataPointFlags
+ Proto.Opentelemetry.Proto.Metrics.V1.Metrics: DATA_POINT_FLAGS_NO_RECORDED_VALUE_MASK :: DataPointFlags
+ Proto.Opentelemetry.Proto.Metrics.V1.Metrics: data ScopeMetrics
+ Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Control.DeepSeq.NFData Proto.Opentelemetry.Proto.Metrics.V1.Metrics.ScopeMetrics
+ Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.Exemplar "spanId" Data.ByteString.Internal.Type.ByteString
+ Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.Exemplar "traceId" Data.ByteString.Internal.Type.ByteString
+ Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.ExponentialHistogramDataPoint "max" GHC.Types.Double
+ Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.ExponentialHistogramDataPoint "maybe'max" (GHC.Maybe.Maybe GHC.Types.Double)
+ Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.ExponentialHistogramDataPoint "maybe'min" (GHC.Maybe.Maybe GHC.Types.Double)
+ Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.ExponentialHistogramDataPoint "maybe'sum" (GHC.Maybe.Maybe GHC.Types.Double)
+ Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.ExponentialHistogramDataPoint "min" GHC.Types.Double
+ Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.ExponentialHistogramDataPoint "zeroThreshold" GHC.Types.Double
+ Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.HistogramDataPoint "max" GHC.Types.Double
+ Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.HistogramDataPoint "maybe'max" (GHC.Maybe.Maybe GHC.Types.Double)
+ Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.HistogramDataPoint "maybe'min" (GHC.Maybe.Maybe GHC.Types.Double)
+ Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.HistogramDataPoint "maybe'sum" (GHC.Maybe.Maybe GHC.Types.Double)
+ Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.HistogramDataPoint "min" GHC.Types.Double
+ Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.ResourceMetrics "scopeMetrics" [Proto.Opentelemetry.Proto.Metrics.V1.Metrics.ScopeMetrics]
+ Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.ResourceMetrics "vec'scopeMetrics" (Data.Vector.Vector Proto.Opentelemetry.Proto.Metrics.V1.Metrics.ScopeMetrics)
+ Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.ScopeMetrics "maybe'scope" (GHC.Maybe.Maybe Proto.Opentelemetry.Proto.Common.V1.Common.InstrumentationScope)
+ Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.ScopeMetrics "metrics" [Proto.Opentelemetry.Proto.Metrics.V1.Metrics.Metric]
+ Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.ScopeMetrics "schemaUrl" Data.Text.Internal.Text
+ Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.ScopeMetrics "scope" Proto.Opentelemetry.Proto.Common.V1.Common.InstrumentationScope
+ Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Metrics.V1.Metrics.ScopeMetrics "vec'metrics" (Data.Vector.Vector Proto.Opentelemetry.Proto.Metrics.V1.Metrics.Metric)
+ Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance Data.ProtoLens.Message.Message Proto.Opentelemetry.Proto.Metrics.V1.Metrics.ScopeMetrics
+ Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance GHC.Classes.Eq Proto.Opentelemetry.Proto.Metrics.V1.Metrics.ScopeMetrics
+ Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance GHC.Classes.Ord Proto.Opentelemetry.Proto.Metrics.V1.Metrics.ScopeMetrics
+ Proto.Opentelemetry.Proto.Metrics.V1.Metrics: instance GHC.Show.Show Proto.Opentelemetry.Proto.Metrics.V1.Metrics.ScopeMetrics
+ Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields: max :: forall f s a. (Functor f, HasField s "max" a) => LensLike' f s a
+ Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields: maybe'max :: forall f s a. (Functor f, HasField s "maybe'max" a) => LensLike' f s a
+ Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields: maybe'min :: forall f s a. (Functor f, HasField s "maybe'min" a) => LensLike' f s a
+ Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields: maybe'scope :: forall f s a. (Functor f, HasField s "maybe'scope" a) => LensLike' f s a
+ Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields: min :: forall f s a. (Functor f, HasField s "min" a) => LensLike' f s a
+ Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields: scope :: forall f s a. (Functor f, HasField s "scope" a) => LensLike' f s a
+ Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields: scopeMetrics :: forall f s a. (Functor f, HasField s "scopeMetrics" a) => LensLike' f s a
+ Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields: vec'scopeMetrics :: forall f s a. (Functor f, HasField s "vec'scopeMetrics" a) => LensLike' f s a
+ Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields: zeroThreshold :: forall f s a. (Functor f, HasField s "zeroThreshold" a) => LensLike' f s a
+ Proto.Opentelemetry.Proto.Trace.V1.Trace: data ScopeSpans
+ Proto.Opentelemetry.Proto.Trace.V1.Trace: instance Control.DeepSeq.NFData Proto.Opentelemetry.Proto.Trace.V1.Trace.ScopeSpans
+ Proto.Opentelemetry.Proto.Trace.V1.Trace: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Trace.V1.Trace.ResourceSpans "scopeSpans" [Proto.Opentelemetry.Proto.Trace.V1.Trace.ScopeSpans]
+ Proto.Opentelemetry.Proto.Trace.V1.Trace: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Trace.V1.Trace.ResourceSpans "vec'scopeSpans" (Data.Vector.Vector Proto.Opentelemetry.Proto.Trace.V1.Trace.ScopeSpans)
+ Proto.Opentelemetry.Proto.Trace.V1.Trace: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Trace.V1.Trace.ScopeSpans "maybe'scope" (GHC.Maybe.Maybe Proto.Opentelemetry.Proto.Common.V1.Common.InstrumentationScope)
+ Proto.Opentelemetry.Proto.Trace.V1.Trace: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Trace.V1.Trace.ScopeSpans "schemaUrl" Data.Text.Internal.Text
+ Proto.Opentelemetry.Proto.Trace.V1.Trace: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Trace.V1.Trace.ScopeSpans "scope" Proto.Opentelemetry.Proto.Common.V1.Common.InstrumentationScope
+ Proto.Opentelemetry.Proto.Trace.V1.Trace: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Trace.V1.Trace.ScopeSpans "spans" [Proto.Opentelemetry.Proto.Trace.V1.Trace.Span]
+ Proto.Opentelemetry.Proto.Trace.V1.Trace: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Trace.V1.Trace.ScopeSpans "vec'spans" (Data.Vector.Vector Proto.Opentelemetry.Proto.Trace.V1.Trace.Span)
+ Proto.Opentelemetry.Proto.Trace.V1.Trace: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Trace.V1.Trace.Span "parentSpanId" Data.ByteString.Internal.Type.ByteString
+ Proto.Opentelemetry.Proto.Trace.V1.Trace: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Trace.V1.Trace.Span "spanId" Data.ByteString.Internal.Type.ByteString
+ Proto.Opentelemetry.Proto.Trace.V1.Trace: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Trace.V1.Trace.Span "traceId" Data.ByteString.Internal.Type.ByteString
+ Proto.Opentelemetry.Proto.Trace.V1.Trace: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Trace.V1.Trace.Span'Link "spanId" Data.ByteString.Internal.Type.ByteString
+ Proto.Opentelemetry.Proto.Trace.V1.Trace: instance Data.ProtoLens.Field.HasField Proto.Opentelemetry.Proto.Trace.V1.Trace.Span'Link "traceId" Data.ByteString.Internal.Type.ByteString
+ Proto.Opentelemetry.Proto.Trace.V1.Trace: instance Data.ProtoLens.Message.Message Proto.Opentelemetry.Proto.Trace.V1.Trace.ScopeSpans
+ Proto.Opentelemetry.Proto.Trace.V1.Trace: instance GHC.Classes.Eq Proto.Opentelemetry.Proto.Trace.V1.Trace.ScopeSpans
+ Proto.Opentelemetry.Proto.Trace.V1.Trace: instance GHC.Classes.Ord Proto.Opentelemetry.Proto.Trace.V1.Trace.ScopeSpans
+ Proto.Opentelemetry.Proto.Trace.V1.Trace: instance GHC.Show.Show Proto.Opentelemetry.Proto.Trace.V1.Trace.ScopeSpans
+ Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields: maybe'scope :: forall f s a. (Functor f, HasField s "maybe'scope" a) => LensLike' f s a
+ Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields: scope :: forall f s a. (Functor f, HasField s "scope" a) => LensLike' f s a
+ Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields: scopeSpans :: forall f s a. (Functor f, HasField s "scopeSpans" a) => LensLike' f s a
+ Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields: vec'scopeSpans :: forall f s a. (Functor f, HasField s "vec'scopeSpans" a) => LensLike' f s a
Files
- ChangeLog.md +11/−1
- README.md +8/−0
- hs-opentelemetry-otlp.cabal +12/−9
- proto/opentelemetry/proto/collector/logs/v1/logs_service.proto +79/−0
- proto/opentelemetry/proto/collector/metrics/v1/metrics_service.proto +79/−0
- proto/opentelemetry/proto/collector/trace/v1/trace_service.proto +79/−0
- proto/opentelemetry/proto/common/v1/common.proto +81/−0
- proto/opentelemetry/proto/logs/v1/logs.proto +203/−0
- proto/opentelemetry/proto/metrics/v1/metrics.proto +676/−0
- proto/opentelemetry/proto/resource/v1/resource.proto +37/−0
- proto/opentelemetry/proto/trace/v1/trace.proto +276/−0
- src/Proto/Opentelemetry/Proto/Collector/Logs/V1/LogsService.hs +333/−45
- src/Proto/Opentelemetry/Proto/Collector/Logs/V1/LogsService_Fields.hs +27/−0
- src/Proto/Opentelemetry/Proto/Collector/Metrics/V1/MetricsService.hs +332/−40
- src/Proto/Opentelemetry/Proto/Collector/Metrics/V1/MetricsService_Fields.hs +27/−0
- src/Proto/Opentelemetry/Proto/Collector/Trace/V1/TraceService.hs +331/−40
- src/Proto/Opentelemetry/Proto/Collector/Trace/V1/TraceService_Fields.hs +26/−0
- src/Proto/Opentelemetry/Proto/Common/V1/Common.hs +281/−345
- src/Proto/Opentelemetry/Proto/Common/V1/Common_Fields.hs +20/−0
- src/Proto/Opentelemetry/Proto/Logs/V1/Logs.hs +2100/−2066
- src/Proto/Opentelemetry/Proto/Logs/V1/Logs_Fields.hs +35/−36
- src/Proto/Opentelemetry/Proto/Metrics/Experimental/MetricsConfigService.hs +0/−1223
- src/Proto/Opentelemetry/Proto/Metrics/Experimental/MetricsConfigService_Fields.hs +0/−135
- src/Proto/Opentelemetry/Proto/Metrics/V1/Metrics.hs +6996/−9355
- src/Proto/Opentelemetry/Proto/Metrics/V1/Metrics_Fields.hs +44/−80
- src/Proto/Opentelemetry/Proto/Resource/V1/Resource.hs +30/−23
- src/Proto/Opentelemetry/Proto/Resource/V1/Resource_Fields.hs +1/−0
- src/Proto/Opentelemetry/Proto/Trace/V1/Trace.hs +3118/−3654
- src/Proto/Opentelemetry/Proto/Trace/V1/TraceConfig.hs +0/−1201
- src/Proto/Opentelemetry/Proto/Trace/V1/TraceConfig_Fields.hs +0/−126
- src/Proto/Opentelemetry/Proto/Trace/V1/Trace_Fields.hs +24/−34
ChangeLog.md view
@@ -1,3 +1,13 @@ # Changelog for otlp -## Unreleased changes+## 0.1.0.0++Support OTLP specification v1.0.0++## 0.0.1.2++Support additional status codes (408, 5xx) as transient & able to retry++## 0.0.1.0++Initial release
README.md view
@@ -1,1 +1,9 @@ # otlp+A package containing `.hs` files with data types generated from the Protobuf definitions (i.e.: `.proto` files) of the OpenTelemetry protocol (OTLP).++## Auto-generation Instructions+To generate `.hs` files from a new version of OTLP, you need to take the corresponding Git tag from the opentelemetry-proto repository [1], write it into the `OTLP_VERSION` file, and run the `./scripts/generate-modules.sh` script.++Auto-generated files can be found in the `src` directory.++[1] https://github.com/open-telemetry/opentelemetry-proto
hs-opentelemetry-otlp.cabal view
@@ -1,25 +1,33 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.34.4.+-- This file has been generated from package.yaml by hpack version 0.36.0. -- -- see: https://github.com/sol/hpack name: hs-opentelemetry-otlp-version: 0.0.1.0+version: 0.1.0.0 synopsis: OpenTelemetry protocol buffer modules generated for the OTLP protocol by the proto-lens package description: Please see the README on GitHub at <https://github.com/iand675/hs-opentelemetry#readme> category: OpenTelemetry homepage: https://github.com/iand675/hs-opentelemetry#readme bug-reports: https://github.com/iand675/hs-opentelemetry/issues-author: Ian Duncan+author: Ian Duncan, Jade Lovelace maintainer: ian@iankduncan.com-copyright: 2021 Ian Duncan+copyright: 2024 Ian Duncan, Mercury Technologies license: BSD3 license-file: LICENSE build-type: Simple extra-source-files: README.md ChangeLog.md+ proto/opentelemetry/proto/collector/logs/v1/logs_service.proto+ proto/opentelemetry/proto/collector/metrics/v1/metrics_service.proto+ proto/opentelemetry/proto/collector/trace/v1/trace_service.proto+ proto/opentelemetry/proto/common/v1/common.proto+ proto/opentelemetry/proto/logs/v1/logs.proto+ proto/opentelemetry/proto/metrics/v1/metrics.proto+ proto/opentelemetry/proto/resource/v1/resource.proto+ proto/opentelemetry/proto/trace/v1/trace.proto source-repository head type: git@@ -37,22 +45,17 @@ Proto.Opentelemetry.Proto.Common.V1.Common_Fields Proto.Opentelemetry.Proto.Logs.V1.Logs Proto.Opentelemetry.Proto.Logs.V1.Logs_Fields- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService- Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService_Fields Proto.Opentelemetry.Proto.Metrics.V1.Metrics Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields Proto.Opentelemetry.Proto.Resource.V1.Resource Proto.Opentelemetry.Proto.Resource.V1.Resource_Fields Proto.Opentelemetry.Proto.Trace.V1.Trace Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig- Proto.Opentelemetry.Proto.Trace.V1.TraceConfig_Fields other-modules: Paths_hs_opentelemetry_otlp hs-source-dirs: src build-depends: base >=4.7 && <5- , proto-lens , proto-lens-runtime default-language: Haskell2010
+ proto/opentelemetry/proto/collector/logs/v1/logs_service.proto view
@@ -0,0 +1,79 @@+// Copyright 2020, OpenTelemetry Authors+//+// Licensed under the Apache License, Version 2.0 (the "License");+// you may not use this file except in compliance with the License.+// You may obtain a copy of the License at+//+// http://www.apache.org/licenses/LICENSE-2.0+//+// Unless required by applicable law or agreed to in writing, software+// distributed under the License is distributed on an "AS IS" BASIS,+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+// See the License for the specific language governing permissions and+// limitations under the License.++syntax = "proto3";++package opentelemetry.proto.collector.logs.v1;++import "opentelemetry/proto/logs/v1/logs.proto";++option csharp_namespace = "OpenTelemetry.Proto.Collector.Logs.V1";+option java_multiple_files = true;+option java_package = "io.opentelemetry.proto.collector.logs.v1";+option java_outer_classname = "LogsServiceProto";+option go_package = "go.opentelemetry.io/proto/otlp/collector/logs/v1";++// Service that can be used to push logs between one Application instrumented with+// OpenTelemetry and an collector, or between an collector and a central collector (in this+// case logs are sent/received to/from multiple Applications).+service LogsService {+ // For performance reasons, it is recommended to keep this RPC+ // alive for the entire life of the application.+ rpc Export(ExportLogsServiceRequest) returns (ExportLogsServiceResponse) {}+}++message ExportLogsServiceRequest {+ // An array of ResourceLogs.+ // For data coming from a single resource this array will typically contain one+ // element. Intermediary nodes (such as OpenTelemetry Collector) that receive+ // data from multiple origins typically batch the data before forwarding further and+ // in that case this array will contain multiple elements.+ repeated opentelemetry.proto.logs.v1.ResourceLogs resource_logs = 1;+}++message ExportLogsServiceResponse {+ // The details of a partially successful export request.+ //+ // If the request is only partially accepted+ // (i.e. when the server accepts only parts of the data and rejects the rest)+ // the server MUST initialize the `partial_success` field and MUST+ // set the `rejected_<signal>` with the number of items it rejected.+ //+ // Servers MAY also make use of the `partial_success` field to convey+ // warnings/suggestions to senders even when the request was fully accepted.+ // In such cases, the `rejected_<signal>` MUST have a value of `0` and+ // the `error_message` MUST be non-empty.+ //+ // A `partial_success` message with an empty value (rejected_<signal> = 0 and+ // `error_message` = "") is equivalent to it not being set/present. Senders+ // SHOULD interpret it the same way as in the full success case.+ ExportLogsPartialSuccess partial_success = 1;+}++message ExportLogsPartialSuccess {+ // The number of rejected log records.+ //+ // A `rejected_<signal>` field holding a `0` value indicates that the+ // request was fully accepted.+ int64 rejected_log_records = 1;++ // A developer-facing human-readable message in English. It should be used+ // either to explain why the server rejected parts of the data during a partial+ // success or to convey warnings/suggestions during a full success. The message+ // should offer guidance on how users can address such issues.+ //+ // error_message is an optional field. An error_message with an empty value+ // is equivalent to it not being set.+ string error_message = 2;+}
+ proto/opentelemetry/proto/collector/metrics/v1/metrics_service.proto view
@@ -0,0 +1,79 @@+// Copyright 2019, OpenTelemetry Authors+//+// Licensed under the Apache License, Version 2.0 (the "License");+// you may not use this file except in compliance with the License.+// You may obtain a copy of the License at+//+// http://www.apache.org/licenses/LICENSE-2.0+//+// Unless required by applicable law or agreed to in writing, software+// distributed under the License is distributed on an "AS IS" BASIS,+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+// See the License for the specific language governing permissions and+// limitations under the License.++syntax = "proto3";++package opentelemetry.proto.collector.metrics.v1;++import "opentelemetry/proto/metrics/v1/metrics.proto";++option csharp_namespace = "OpenTelemetry.Proto.Collector.Metrics.V1";+option java_multiple_files = true;+option java_package = "io.opentelemetry.proto.collector.metrics.v1";+option java_outer_classname = "MetricsServiceProto";+option go_package = "go.opentelemetry.io/proto/otlp/collector/metrics/v1";++// Service that can be used to push metrics between one Application+// instrumented with OpenTelemetry and a collector, or between a collector and a+// central collector.+service MetricsService {+ // For performance reasons, it is recommended to keep this RPC+ // alive for the entire life of the application.+ rpc Export(ExportMetricsServiceRequest) returns (ExportMetricsServiceResponse) {}+}++message ExportMetricsServiceRequest {+ // An array of ResourceMetrics.+ // For data coming from a single resource this array will typically contain one+ // element. Intermediary nodes (such as OpenTelemetry Collector) that receive+ // data from multiple origins typically batch the data before forwarding further and+ // in that case this array will contain multiple elements.+ repeated opentelemetry.proto.metrics.v1.ResourceMetrics resource_metrics = 1;+}++message ExportMetricsServiceResponse {+ // The details of a partially successful export request.+ //+ // If the request is only partially accepted+ // (i.e. when the server accepts only parts of the data and rejects the rest)+ // the server MUST initialize the `partial_success` field and MUST+ // set the `rejected_<signal>` with the number of items it rejected.+ //+ // Servers MAY also make use of the `partial_success` field to convey+ // warnings/suggestions to senders even when the request was fully accepted.+ // In such cases, the `rejected_<signal>` MUST have a value of `0` and+ // the `error_message` MUST be non-empty.+ //+ // A `partial_success` message with an empty value (rejected_<signal> = 0 and+ // `error_message` = "") is equivalent to it not being set/present. Senders+ // SHOULD interpret it the same way as in the full success case.+ ExportMetricsPartialSuccess partial_success = 1;+}++message ExportMetricsPartialSuccess {+ // The number of rejected data points.+ //+ // A `rejected_<signal>` field holding a `0` value indicates that the+ // request was fully accepted.+ int64 rejected_data_points = 1;++ // A developer-facing human-readable message in English. It should be used+ // either to explain why the server rejected parts of the data during a partial+ // success or to convey warnings/suggestions during a full success. The message+ // should offer guidance on how users can address such issues.+ //+ // error_message is an optional field. An error_message with an empty value+ // is equivalent to it not being set.+ string error_message = 2;+}
+ proto/opentelemetry/proto/collector/trace/v1/trace_service.proto view
@@ -0,0 +1,79 @@+// Copyright 2019, OpenTelemetry Authors+//+// Licensed under the Apache License, Version 2.0 (the "License");+// you may not use this file except in compliance with the License.+// You may obtain a copy of the License at+//+// http://www.apache.org/licenses/LICENSE-2.0+//+// Unless required by applicable law or agreed to in writing, software+// distributed under the License is distributed on an "AS IS" BASIS,+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+// See the License for the specific language governing permissions and+// limitations under the License.++syntax = "proto3";++package opentelemetry.proto.collector.trace.v1;++import "opentelemetry/proto/trace/v1/trace.proto";++option csharp_namespace = "OpenTelemetry.Proto.Collector.Trace.V1";+option java_multiple_files = true;+option java_package = "io.opentelemetry.proto.collector.trace.v1";+option java_outer_classname = "TraceServiceProto";+option go_package = "go.opentelemetry.io/proto/otlp/collector/trace/v1";++// Service that can be used to push spans between one Application instrumented with+// OpenTelemetry and a collector, or between a collector and a central collector (in this+// case spans are sent/received to/from multiple Applications).+service TraceService {+ // For performance reasons, it is recommended to keep this RPC+ // alive for the entire life of the application.+ rpc Export(ExportTraceServiceRequest) returns (ExportTraceServiceResponse) {}+}++message ExportTraceServiceRequest {+ // An array of ResourceSpans.+ // For data coming from a single resource this array will typically contain one+ // element. Intermediary nodes (such as OpenTelemetry Collector) that receive+ // data from multiple origins typically batch the data before forwarding further and+ // in that case this array will contain multiple elements.+ repeated opentelemetry.proto.trace.v1.ResourceSpans resource_spans = 1;+}++message ExportTraceServiceResponse {+ // The details of a partially successful export request.+ //+ // If the request is only partially accepted+ // (i.e. when the server accepts only parts of the data and rejects the rest)+ // the server MUST initialize the `partial_success` field and MUST+ // set the `rejected_<signal>` with the number of items it rejected.+ //+ // Servers MAY also make use of the `partial_success` field to convey+ // warnings/suggestions to senders even when the request was fully accepted.+ // In such cases, the `rejected_<signal>` MUST have a value of `0` and+ // the `error_message` MUST be non-empty.+ //+ // A `partial_success` message with an empty value (rejected_<signal> = 0 and+ // `error_message` = "") is equivalent to it not being set/present. Senders+ // SHOULD interpret it the same way as in the full success case.+ ExportTracePartialSuccess partial_success = 1;+}++message ExportTracePartialSuccess {+ // The number of rejected spans.+ //+ // A `rejected_<signal>` field holding a `0` value indicates that the+ // request was fully accepted.+ int64 rejected_spans = 1;++ // A developer-facing human-readable message in English. It should be used+ // either to explain why the server rejected parts of the data during a partial+ // success or to convey warnings/suggestions during a full success. The message+ // should offer guidance on how users can address such issues.+ //+ // error_message is an optional field. An error_message with an empty value+ // is equivalent to it not being set.+ string error_message = 2;+}
+ proto/opentelemetry/proto/common/v1/common.proto view
@@ -0,0 +1,81 @@+// Copyright 2019, OpenTelemetry Authors+//+// Licensed under the Apache License, Version 2.0 (the "License");+// you may not use this file except in compliance with the License.+// You may obtain a copy of the License at+//+// http://www.apache.org/licenses/LICENSE-2.0+//+// Unless required by applicable law or agreed to in writing, software+// distributed under the License is distributed on an "AS IS" BASIS,+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+// See the License for the specific language governing permissions and+// limitations under the License.++syntax = "proto3";++package opentelemetry.proto.common.v1;++option csharp_namespace = "OpenTelemetry.Proto.Common.V1";+option java_multiple_files = true;+option java_package = "io.opentelemetry.proto.common.v1";+option java_outer_classname = "CommonProto";+option go_package = "go.opentelemetry.io/proto/otlp/common/v1";++// AnyValue is used to represent any type of attribute value. AnyValue may contain a+// primitive value such as a string or integer or it may contain an arbitrary nested+// object containing arrays, key-value lists and primitives.+message AnyValue {+ // The value is one of the listed fields. It is valid for all values to be unspecified+ // in which case this AnyValue is considered to be "empty".+ oneof value {+ string string_value = 1;+ bool bool_value = 2;+ int64 int_value = 3;+ double double_value = 4;+ ArrayValue array_value = 5;+ KeyValueList kvlist_value = 6;+ bytes bytes_value = 7;+ }+}++// ArrayValue is a list of AnyValue messages. We need ArrayValue as a message+// since oneof in AnyValue does not allow repeated fields.+message ArrayValue {+ // Array of values. The array may be empty (contain 0 elements).+ repeated AnyValue values = 1;+}++// KeyValueList is a list of KeyValue messages. We need KeyValueList as a message+// since `oneof` in AnyValue does not allow repeated fields. Everywhere else where we need+// a list of KeyValue messages (e.g. in Span) we use `repeated KeyValue` directly to+// avoid unnecessary extra wrapping (which slows down the protocol). The 2 approaches+// are semantically equivalent.+message KeyValueList {+ // A collection of key/value pairs of key-value pairs. The list may be empty (may+ // contain 0 elements).+ // The keys MUST be unique (it is not allowed to have more than one+ // value with the same key).+ repeated KeyValue values = 1;+}++// KeyValue is a key-value pair that is used to store Span attributes, Link+// attributes, etc.+message KeyValue {+ string key = 1;+ AnyValue value = 2;+}++// InstrumentationScope is a message representing the instrumentation scope information+// such as the fully qualified name and version. +message InstrumentationScope {+ // An empty instrumentation scope name means the name is unknown.+ string name = 1;+ string version = 2;++ // Additional attributes that describe the scope. [Optional].+ // Attribute keys MUST be unique (it is not allowed to have more than one+ // attribute with the same key).+ repeated KeyValue attributes = 3;+ uint32 dropped_attributes_count = 4;+}
+ proto/opentelemetry/proto/logs/v1/logs.proto view
@@ -0,0 +1,203 @@+// Copyright 2020, OpenTelemetry Authors+//+// Licensed under the Apache License, Version 2.0 (the "License");+// you may not use this file except in compliance with the License.+// You may obtain a copy of the License at+//+// http://www.apache.org/licenses/LICENSE-2.0+//+// Unless required by applicable law or agreed to in writing, software+// distributed under the License is distributed on an "AS IS" BASIS,+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+// See the License for the specific language governing permissions and+// limitations under the License.++syntax = "proto3";++package opentelemetry.proto.logs.v1;++import "opentelemetry/proto/common/v1/common.proto";+import "opentelemetry/proto/resource/v1/resource.proto";++option csharp_namespace = "OpenTelemetry.Proto.Logs.V1";+option java_multiple_files = true;+option java_package = "io.opentelemetry.proto.logs.v1";+option java_outer_classname = "LogsProto";+option go_package = "go.opentelemetry.io/proto/otlp/logs/v1";++// LogsData represents the logs data that can be stored in a persistent storage,+// OR can be embedded by other protocols that transfer OTLP logs data but do not+// implement the OTLP protocol.+//+// The main difference between this message and collector protocol is that+// in this message there will not be any "control" or "metadata" specific to+// OTLP protocol.+//+// When new fields are added into this message, the OTLP request MUST be updated+// as well.+message LogsData {+ // An array of ResourceLogs.+ // For data coming from a single resource this array will typically contain+ // one element. Intermediary nodes that receive data from multiple origins+ // typically batch the data before forwarding further and in that case this+ // array will contain multiple elements.+ repeated ResourceLogs resource_logs = 1;+}++// A collection of ScopeLogs from a Resource.+message ResourceLogs {+ reserved 1000;++ // The resource for the logs in this message.+ // If this field is not set then resource info is unknown.+ opentelemetry.proto.resource.v1.Resource resource = 1;++ // A list of ScopeLogs that originate from a resource.+ repeated ScopeLogs scope_logs = 2;++ // This schema_url applies to the data in the "resource" field. It does not apply+ // to the data in the "scope_logs" field which have their own schema_url field.+ string schema_url = 3;+}++// A collection of Logs produced by a Scope.+message ScopeLogs {+ // The instrumentation scope information for the logs in this message.+ // Semantically when InstrumentationScope isn't set, it is equivalent with+ // an empty instrumentation scope name (unknown).+ opentelemetry.proto.common.v1.InstrumentationScope scope = 1;++ // A list of log records.+ repeated LogRecord log_records = 2;++ // This schema_url applies to all logs in the "logs" field.+ string schema_url = 3;+}++// Possible values for LogRecord.SeverityNumber.+enum SeverityNumber {+ // UNSPECIFIED is the default SeverityNumber, it MUST NOT be used.+ SEVERITY_NUMBER_UNSPECIFIED = 0;+ SEVERITY_NUMBER_TRACE = 1;+ SEVERITY_NUMBER_TRACE2 = 2;+ SEVERITY_NUMBER_TRACE3 = 3;+ SEVERITY_NUMBER_TRACE4 = 4;+ SEVERITY_NUMBER_DEBUG = 5;+ SEVERITY_NUMBER_DEBUG2 = 6;+ SEVERITY_NUMBER_DEBUG3 = 7;+ SEVERITY_NUMBER_DEBUG4 = 8;+ SEVERITY_NUMBER_INFO = 9;+ SEVERITY_NUMBER_INFO2 = 10;+ SEVERITY_NUMBER_INFO3 = 11;+ SEVERITY_NUMBER_INFO4 = 12;+ SEVERITY_NUMBER_WARN = 13;+ SEVERITY_NUMBER_WARN2 = 14;+ SEVERITY_NUMBER_WARN3 = 15;+ SEVERITY_NUMBER_WARN4 = 16;+ SEVERITY_NUMBER_ERROR = 17;+ SEVERITY_NUMBER_ERROR2 = 18;+ SEVERITY_NUMBER_ERROR3 = 19;+ SEVERITY_NUMBER_ERROR4 = 20;+ SEVERITY_NUMBER_FATAL = 21;+ SEVERITY_NUMBER_FATAL2 = 22;+ SEVERITY_NUMBER_FATAL3 = 23;+ SEVERITY_NUMBER_FATAL4 = 24;+}++// LogRecordFlags is defined as a protobuf 'uint32' type and is to be used as+// bit-fields. Each non-zero value defined in this enum is a bit-mask.+// To extract the bit-field, for example, use an expression like:+//+// (logRecord.flags & LOG_RECORD_FLAGS_TRACE_FLAGS_MASK)+//+enum LogRecordFlags {+ // The zero value for the enum. Should not be used for comparisons.+ // Instead use bitwise "and" with the appropriate mask as shown above.+ LOG_RECORD_FLAGS_DO_NOT_USE = 0;++ // Bits 0-7 are used for trace flags.+ LOG_RECORD_FLAGS_TRACE_FLAGS_MASK = 0x000000FF;++ // Bits 8-31 are reserved for future use.+}++// A log record according to OpenTelemetry Log Data Model:+// https://github.com/open-telemetry/oteps/blob/main/text/logs/0097-log-data-model.md+message LogRecord {+ reserved 4;++ // time_unix_nano is the time when the event occurred.+ // Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970.+ // Value of 0 indicates unknown or missing timestamp.+ fixed64 time_unix_nano = 1;++ // Time when the event was observed by the collection system.+ // For events that originate in OpenTelemetry (e.g. using OpenTelemetry Logging SDK)+ // this timestamp is typically set at the generation time and is equal to Timestamp.+ // For events originating externally and collected by OpenTelemetry (e.g. using+ // Collector) this is the time when OpenTelemetry's code observed the event measured+ // by the clock of the OpenTelemetry code. This field MUST be set once the event is+ // observed by OpenTelemetry.+ //+ // For converting OpenTelemetry log data to formats that support only one timestamp or+ // when receiving OpenTelemetry log data by recipients that support only one timestamp+ // internally the following logic is recommended:+ // - Use time_unix_nano if it is present, otherwise use observed_time_unix_nano.+ //+ // Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970.+ // Value of 0 indicates unknown or missing timestamp.+ fixed64 observed_time_unix_nano = 11;++ // Numerical value of the severity, normalized to values described in Log Data Model.+ // [Optional].+ SeverityNumber severity_number = 2;++ // The severity text (also known as log level). The original string representation as+ // it is known at the source. [Optional].+ string severity_text = 3;++ // A value containing the body of the log record. Can be for example a human-readable+ // string message (including multi-line) describing the event in a free form or it can+ // be a structured data composed of arrays and maps of other values. [Optional].+ opentelemetry.proto.common.v1.AnyValue body = 5;++ // Additional attributes that describe the specific event occurrence. [Optional].+ // Attribute keys MUST be unique (it is not allowed to have more than one+ // attribute with the same key).+ repeated opentelemetry.proto.common.v1.KeyValue attributes = 6;+ uint32 dropped_attributes_count = 7;++ // Flags, a bit field. 8 least significant bits are the trace flags as+ // defined in W3C Trace Context specification. 24 most significant bits are reserved+ // and must be set to 0. Readers must not assume that 24 most significant bits+ // will be zero and must correctly mask the bits when reading 8-bit trace flag (use+ // flags & LOG_RECORD_FLAGS_TRACE_FLAGS_MASK). [Optional].+ fixed32 flags = 8;++ // A unique identifier for a trace. All logs from the same trace share+ // the same `trace_id`. The ID is a 16-byte array. An ID with all zeroes OR+ // of length other than 16 bytes is considered invalid (empty string in OTLP/JSON+ // is zero-length and thus is also invalid).+ //+ // This field is optional.+ //+ // The receivers SHOULD assume that the log record is not associated with a+ // trace if any of the following is true:+ // - the field is not present,+ // - the field contains an invalid value.+ bytes trace_id = 9;++ // A unique identifier for a span within a trace, assigned when the span+ // is created. The ID is an 8-byte array. An ID with all zeroes OR of length+ // other than 8 bytes is considered invalid (empty string in OTLP/JSON+ // is zero-length and thus is also invalid).+ //+ // This field is optional. If the sender specifies a valid span_id then it SHOULD also+ // specify a valid trace_id.+ //+ // The receivers SHOULD assume that the log record is not associated with a+ // span if any of the following is true:+ // - the field is not present,+ // - the field contains an invalid value.+ bytes span_id = 10;+}
+ proto/opentelemetry/proto/metrics/v1/metrics.proto view
@@ -0,0 +1,676 @@+// Copyright 2019, OpenTelemetry Authors+//+// Licensed under the Apache License, Version 2.0 (the "License");+// you may not use this file except in compliance with the License.+// You may obtain a copy of the License at+//+// http://www.apache.org/licenses/LICENSE-2.0+//+// Unless required by applicable law or agreed to in writing, software+// distributed under the License is distributed on an "AS IS" BASIS,+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+// See the License for the specific language governing permissions and+// limitations under the License.++syntax = "proto3";++package opentelemetry.proto.metrics.v1;++import "opentelemetry/proto/common/v1/common.proto";+import "opentelemetry/proto/resource/v1/resource.proto";++option csharp_namespace = "OpenTelemetry.Proto.Metrics.V1";+option java_multiple_files = true;+option java_package = "io.opentelemetry.proto.metrics.v1";+option java_outer_classname = "MetricsProto";+option go_package = "go.opentelemetry.io/proto/otlp/metrics/v1";++// MetricsData represents the metrics data that can be stored in a persistent+// storage, OR can be embedded by other protocols that transfer OTLP metrics+// data but do not implement the OTLP protocol.+//+// The main difference between this message and collector protocol is that+// in this message there will not be any "control" or "metadata" specific to+// OTLP protocol.+//+// When new fields are added into this message, the OTLP request MUST be updated+// as well.+message MetricsData {+ // An array of ResourceMetrics.+ // For data coming from a single resource this array will typically contain+ // one element. Intermediary nodes that receive data from multiple origins+ // typically batch the data before forwarding further and in that case this+ // array will contain multiple elements.+ repeated ResourceMetrics resource_metrics = 1;+}++// A collection of ScopeMetrics from a Resource.+message ResourceMetrics {+ reserved 1000;++ // The resource for the metrics in this message.+ // If this field is not set then no resource info is known.+ opentelemetry.proto.resource.v1.Resource resource = 1;++ // A list of metrics that originate from a resource.+ repeated ScopeMetrics scope_metrics = 2;++ // This schema_url applies to the data in the "resource" field. It does not apply+ // to the data in the "scope_metrics" field which have their own schema_url field.+ string schema_url = 3;+}++// A collection of Metrics produced by an Scope.+message ScopeMetrics {+ // The instrumentation scope information for the metrics in this message.+ // Semantically when InstrumentationScope isn't set, it is equivalent with+ // an empty instrumentation scope name (unknown).+ opentelemetry.proto.common.v1.InstrumentationScope scope = 1;++ // A list of metrics that originate from an instrumentation library.+ repeated Metric metrics = 2;++ // This schema_url applies to all metrics in the "metrics" field.+ string schema_url = 3;+}++// Defines a Metric which has one or more timeseries. The following is a+// brief summary of the Metric data model. For more details, see:+//+// https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/data-model.md+//+//+// The data model and relation between entities is shown in the+// diagram below. Here, "DataPoint" is the term used to refer to any+// one of the specific data point value types, and "points" is the term used+// to refer to any one of the lists of points contained in the Metric.+//+// - Metric is composed of a metadata and data.+// - Metadata part contains a name, description, unit.+// - Data is one of the possible types (Sum, Gauge, Histogram, Summary).+// - DataPoint contains timestamps, attributes, and one of the possible value type+// fields.+//+// Metric+// +------------++// |name |+// |description |+// |unit | +------------------------------------++// |data |---> |Gauge, Sum, Histogram, Summary, ... |+// +------------+ +------------------------------------++//+// Data [One of Gauge, Sum, Histogram, Summary, ...]+// +-----------++// |... | // Metadata about the Data.+// |points |--++// +-----------+ |+// | +---------------------------++// | |DataPoint 1 |+// v |+------+------+ +------+ |+// +-----+ ||label |label |...|label | |+// | 1 |-->||value1|value2|...|valueN| |+// +-----+ |+------+------+ +------+ |+// | . | |+-----+ |+// | . | ||value| |+// | . | |+-----+ |+// | . | +---------------------------++// | . | .+// | . | .+// | . | .+// | . | +---------------------------++// | . | |DataPoint M |+// +-----+ |+------+------+ +------+ |+// | M |-->||label |label |...|label | |+// +-----+ ||value1|value2|...|valueN| |+// |+------+------+ +------+ |+// |+-----+ |+// ||value| |+// |+-----+ |+// +---------------------------++//+// Each distinct type of DataPoint represents the output of a specific+// aggregation function, the result of applying the DataPoint's+// associated function of to one or more measurements.+//+// All DataPoint types have three common fields:+// - Attributes includes key-value pairs associated with the data point+// - TimeUnixNano is required, set to the end time of the aggregation+// - StartTimeUnixNano is optional, but strongly encouraged for DataPoints+// having an AggregationTemporality field, as discussed below.+//+// Both TimeUnixNano and StartTimeUnixNano values are expressed as+// UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970.+//+// # TimeUnixNano+//+// This field is required, having consistent interpretation across+// DataPoint types. TimeUnixNano is the moment corresponding to when+// the data point's aggregate value was captured.+//+// Data points with the 0 value for TimeUnixNano SHOULD be rejected+// by consumers.+//+// # StartTimeUnixNano+//+// StartTimeUnixNano in general allows detecting when a sequence of+// observations is unbroken. This field indicates to consumers the+// start time for points with cumulative and delta+// AggregationTemporality, and it should be included whenever possible+// to support correct rate calculation. Although it may be omitted+// when the start time is truly unknown, setting StartTimeUnixNano is+// strongly encouraged.+message Metric {+ reserved 4, 6, 8;++ // name of the metric, including its DNS name prefix. It must be unique.+ string name = 1;++ // description of the metric, which can be used in documentation.+ string description = 2;++ // unit in which the metric value is reported. Follows the format+ // described by http://unitsofmeasure.org/ucum.html.+ string unit = 3;++ // Data determines the aggregation type (if any) of the metric, what is the+ // reported value type for the data points, as well as the relatationship to+ // the time interval over which they are reported.+ oneof data {+ Gauge gauge = 5;+ Sum sum = 7;+ Histogram histogram = 9;+ ExponentialHistogram exponential_histogram = 10;+ Summary summary = 11;+ }+}++// Gauge represents the type of a scalar metric that always exports the+// "current value" for every data point. It should be used for an "unknown"+// aggregation.+//+// A Gauge does not support different aggregation temporalities. Given the+// aggregation is unknown, points cannot be combined using the same+// aggregation, regardless of aggregation temporalities. Therefore,+// AggregationTemporality is not included. Consequently, this also means+// "StartTimeUnixNano" is ignored for all data points.+message Gauge {+ repeated NumberDataPoint data_points = 1;+}++// Sum represents the type of a scalar metric that is calculated as a sum of all+// reported measurements over a time interval.+message Sum {+ repeated NumberDataPoint data_points = 1;++ // aggregation_temporality describes if the aggregator reports delta changes+ // since last report time, or cumulative changes since a fixed start time.+ AggregationTemporality aggregation_temporality = 2;++ // If "true" means that the sum is monotonic.+ bool is_monotonic = 3;+}++// Histogram represents the type of a metric that is calculated by aggregating+// as a Histogram of all reported measurements over a time interval.+message Histogram {+ repeated HistogramDataPoint data_points = 1;++ // aggregation_temporality describes if the aggregator reports delta changes+ // since last report time, or cumulative changes since a fixed start time.+ AggregationTemporality aggregation_temporality = 2;+}++// ExponentialHistogram represents the type of a metric that is calculated by aggregating+// as a ExponentialHistogram of all reported double measurements over a time interval.+message ExponentialHistogram {+ repeated ExponentialHistogramDataPoint data_points = 1;++ // aggregation_temporality describes if the aggregator reports delta changes+ // since last report time, or cumulative changes since a fixed start time.+ AggregationTemporality aggregation_temporality = 2;+}++// Summary metric data are used to convey quantile summaries,+// a Prometheus (see: https://prometheus.io/docs/concepts/metric_types/#summary)+// and OpenMetrics (see: https://github.com/OpenObservability/OpenMetrics/blob/4dbf6075567ab43296eed941037c12951faafb92/protos/prometheus.proto#L45)+// data type. These data points cannot always be merged in a meaningful way.+// While they can be useful in some applications, histogram data points are+// recommended for new applications.+message Summary {+ repeated SummaryDataPoint data_points = 1;+}++// AggregationTemporality defines how a metric aggregator reports aggregated+// values. It describes how those values relate to the time interval over+// which they are aggregated.+enum AggregationTemporality {+ // UNSPECIFIED is the default AggregationTemporality, it MUST not be used.+ AGGREGATION_TEMPORALITY_UNSPECIFIED = 0;++ // DELTA is an AggregationTemporality for a metric aggregator which reports+ // changes since last report time. Successive metrics contain aggregation of+ // values from continuous and non-overlapping intervals.+ //+ // The values for a DELTA metric are based only on the time interval+ // associated with one measurement cycle. There is no dependency on+ // previous measurements like is the case for CUMULATIVE metrics.+ //+ // For example, consider a system measuring the number of requests that+ // it receives and reports the sum of these requests every second as a+ // DELTA metric:+ //+ // 1. The system starts receiving at time=t_0.+ // 2. A request is received, the system measures 1 request.+ // 3. A request is received, the system measures 1 request.+ // 4. A request is received, the system measures 1 request.+ // 5. The 1 second collection cycle ends. A metric is exported for the+ // number of requests received over the interval of time t_0 to+ // t_0+1 with a value of 3.+ // 6. A request is received, the system measures 1 request.+ // 7. A request is received, the system measures 1 request.+ // 8. The 1 second collection cycle ends. A metric is exported for the+ // number of requests received over the interval of time t_0+1 to+ // t_0+2 with a value of 2.+ AGGREGATION_TEMPORALITY_DELTA = 1;++ // CUMULATIVE is an AggregationTemporality for a metric aggregator which+ // reports changes since a fixed start time. This means that current values+ // of a CUMULATIVE metric depend on all previous measurements since the+ // start time. Because of this, the sender is required to retain this state+ // in some form. If this state is lost or invalidated, the CUMULATIVE metric+ // values MUST be reset and a new fixed start time following the last+ // reported measurement time sent MUST be used.+ //+ // For example, consider a system measuring the number of requests that+ // it receives and reports the sum of these requests every second as a+ // CUMULATIVE metric:+ //+ // 1. The system starts receiving at time=t_0.+ // 2. A request is received, the system measures 1 request.+ // 3. A request is received, the system measures 1 request.+ // 4. A request is received, the system measures 1 request.+ // 5. The 1 second collection cycle ends. A metric is exported for the+ // number of requests received over the interval of time t_0 to+ // t_0+1 with a value of 3.+ // 6. A request is received, the system measures 1 request.+ // 7. A request is received, the system measures 1 request.+ // 8. The 1 second collection cycle ends. A metric is exported for the+ // number of requests received over the interval of time t_0 to+ // t_0+2 with a value of 5.+ // 9. The system experiences a fault and loses state.+ // 10. The system recovers and resumes receiving at time=t_1.+ // 11. A request is received, the system measures 1 request.+ // 12. The 1 second collection cycle ends. A metric is exported for the+ // number of requests received over the interval of time t_1 to+ // t_0+1 with a value of 1.+ //+ // Note: Even though, when reporting changes since last report time, using+ // CUMULATIVE is valid, it is not recommended. This may cause problems for+ // systems that do not use start_time to determine when the aggregation+ // value was reset (e.g. Prometheus).+ AGGREGATION_TEMPORALITY_CUMULATIVE = 2;+}++// DataPointFlags is defined as a protobuf 'uint32' type and is to be used as a+// bit-field representing 32 distinct boolean flags. Each flag defined in this+// enum is a bit-mask. To test the presence of a single flag in the flags of+// a data point, for example, use an expression like:+//+// (point.flags & DATA_POINT_FLAGS_NO_RECORDED_VALUE_MASK) == DATA_POINT_FLAGS_NO_RECORDED_VALUE_MASK+//+enum DataPointFlags {+ // The zero value for the enum. Should not be used for comparisons.+ // Instead use bitwise "and" with the appropriate mask as shown above.+ DATA_POINT_FLAGS_DO_NOT_USE = 0;++ // This DataPoint is valid but has no recorded value. This value+ // SHOULD be used to reflect explicitly missing data in a series, as+ // for an equivalent to the Prometheus "staleness marker".+ DATA_POINT_FLAGS_NO_RECORDED_VALUE_MASK = 1;++ // Bits 2-31 are reserved for future use.+}++// NumberDataPoint is a single data point in a timeseries that describes the+// time-varying scalar value of a metric.+message NumberDataPoint {+ reserved 1;++ // The set of key/value pairs that uniquely identify the timeseries from+ // where this point belongs. The list may be empty (may contain 0 elements).+ // Attribute keys MUST be unique (it is not allowed to have more than one+ // attribute with the same key).+ repeated opentelemetry.proto.common.v1.KeyValue attributes = 7;++ // StartTimeUnixNano is optional but strongly encouraged, see the+ // the detailed comments above Metric.+ //+ // Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January+ // 1970.+ fixed64 start_time_unix_nano = 2;++ // TimeUnixNano is required, see the detailed comments above Metric.+ //+ // Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January+ // 1970.+ fixed64 time_unix_nano = 3;++ // The value itself. A point is considered invalid when one of the recognized+ // value fields is not present inside this oneof.+ oneof value {+ double as_double = 4;+ sfixed64 as_int = 6;+ }++ // (Optional) List of exemplars collected from+ // measurements that were used to form the data point+ repeated Exemplar exemplars = 5;++ // Flags that apply to this specific data point. See DataPointFlags+ // for the available flags and their meaning.+ uint32 flags = 8;+}++// HistogramDataPoint is a single data point in a timeseries that describes the+// time-varying values of a Histogram. A Histogram contains summary statistics+// for a population of values, it may optionally contain the distribution of+// those values across a set of buckets.+//+// If the histogram contains the distribution of values, then both+// "explicit_bounds" and "bucket counts" fields must be defined.+// If the histogram does not contain the distribution of values, then both+// "explicit_bounds" and "bucket_counts" must be omitted and only "count" and+// "sum" are known.+message HistogramDataPoint {+ reserved 1;++ // The set of key/value pairs that uniquely identify the timeseries from+ // where this point belongs. The list may be empty (may contain 0 elements).+ // Attribute keys MUST be unique (it is not allowed to have more than one+ // attribute with the same key).+ repeated opentelemetry.proto.common.v1.KeyValue attributes = 9;++ // StartTimeUnixNano is optional but strongly encouraged, see the+ // the detailed comments above Metric.+ //+ // Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January+ // 1970.+ fixed64 start_time_unix_nano = 2;++ // TimeUnixNano is required, see the detailed comments above Metric.+ //+ // Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January+ // 1970.+ fixed64 time_unix_nano = 3;++ // count is the number of values in the population. Must be non-negative. This+ // value must be equal to the sum of the "count" fields in buckets if a+ // histogram is provided.+ fixed64 count = 4;++ // sum of the values in the population. If count is zero then this field+ // must be zero.+ //+ // Note: Sum should only be filled out when measuring non-negative discrete+ // events, and is assumed to be monotonic over the values of these events.+ // Negative events *can* be recorded, but sum should not be filled out when+ // doing so. This is specifically to enforce compatibility w/ OpenMetrics,+ // see: https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md#histogram+ optional double sum = 5;++ // bucket_counts is an optional field contains the count values of histogram+ // for each bucket.+ //+ // The sum of the bucket_counts must equal the value in the count field.+ //+ // The number of elements in bucket_counts array must be by one greater than+ // the number of elements in explicit_bounds array.+ repeated fixed64 bucket_counts = 6;++ // explicit_bounds specifies buckets with explicitly defined bounds for values.+ //+ // The boundaries for bucket at index i are:+ //+ // (-infinity, explicit_bounds[i]] for i == 0+ // (explicit_bounds[i-1], explicit_bounds[i]] for 0 < i < size(explicit_bounds)+ // (explicit_bounds[i-1], +infinity) for i == size(explicit_bounds)+ //+ // The values in the explicit_bounds array must be strictly increasing.+ //+ // Histogram buckets are inclusive of their upper boundary, except the last+ // bucket where the boundary is at infinity. This format is intentionally+ // compatible with the OpenMetrics histogram definition.+ repeated double explicit_bounds = 7;++ // (Optional) List of exemplars collected from+ // measurements that were used to form the data point+ repeated Exemplar exemplars = 8;++ // Flags that apply to this specific data point. See DataPointFlags+ // for the available flags and their meaning.+ uint32 flags = 10;++ // min is the minimum value over (start_time, end_time].+ optional double min = 11;++ // max is the maximum value over (start_time, end_time].+ optional double max = 12;+}++// ExponentialHistogramDataPoint is a single data point in a timeseries that describes the+// time-varying values of a ExponentialHistogram of double values. A ExponentialHistogram contains+// summary statistics for a population of values, it may optionally contain the+// distribution of those values across a set of buckets.+//+message ExponentialHistogramDataPoint {+ // The set of key/value pairs that uniquely identify the timeseries from+ // where this point belongs. The list may be empty (may contain 0 elements).+ // Attribute keys MUST be unique (it is not allowed to have more than one+ // attribute with the same key).+ repeated opentelemetry.proto.common.v1.KeyValue attributes = 1;++ // StartTimeUnixNano is optional but strongly encouraged, see the+ // the detailed comments above Metric.+ //+ // Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January+ // 1970.+ fixed64 start_time_unix_nano = 2;++ // TimeUnixNano is required, see the detailed comments above Metric.+ //+ // Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January+ // 1970.+ fixed64 time_unix_nano = 3;++ // count is the number of values in the population. Must be+ // non-negative. This value must be equal to the sum of the "bucket_counts"+ // values in the positive and negative Buckets plus the "zero_count" field.+ fixed64 count = 4;++ // sum of the values in the population. If count is zero then this field+ // must be zero.+ //+ // Note: Sum should only be filled out when measuring non-negative discrete+ // events, and is assumed to be monotonic over the values of these events.+ // Negative events *can* be recorded, but sum should not be filled out when+ // doing so. This is specifically to enforce compatibility w/ OpenMetrics,+ // see: https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md#histogram+ optional double sum = 5;+ + // scale describes the resolution of the histogram. Boundaries are+ // located at powers of the base, where:+ //+ // base = (2^(2^-scale))+ //+ // The histogram bucket identified by `index`, a signed integer,+ // contains values that are greater than (base^index) and+ // less than or equal to (base^(index+1)).+ //+ // The positive and negative ranges of the histogram are expressed+ // separately. Negative values are mapped by their absolute value+ // into the negative range using the same scale as the positive range.+ //+ // scale is not restricted by the protocol, as the permissible+ // values depend on the range of the data.+ sint32 scale = 6;++ // zero_count is the count of values that are either exactly zero or+ // within the region considered zero by the instrumentation at the+ // tolerated degree of precision. This bucket stores values that+ // cannot be expressed using the standard exponential formula as+ // well as values that have been rounded to zero.+ //+ // Implementations MAY consider the zero bucket to have probability+ // mass equal to (zero_count / count).+ fixed64 zero_count = 7;++ // positive carries the positive range of exponential bucket counts.+ Buckets positive = 8;++ // negative carries the negative range of exponential bucket counts.+ Buckets negative = 9;++ // Buckets are a set of bucket counts, encoded in a contiguous array+ // of counts.+ message Buckets {+ // Offset is the bucket index of the first entry in the bucket_counts array.+ // + // Note: This uses a varint encoding as a simple form of compression.+ sint32 offset = 1;++ // bucket_counts is an array of count values, where bucket_counts[i] carries+ // the count of the bucket at index (offset+i). bucket_counts[i] is the count+ // of values greater than base^(offset+i) and less than or equal to+ // base^(offset+i+1).+ //+ // Note: By contrast, the explicit HistogramDataPoint uses+ // fixed64. This field is expected to have many buckets,+ // especially zeros, so uint64 has been selected to ensure+ // varint encoding.+ repeated uint64 bucket_counts = 2;+ } ++ // Flags that apply to this specific data point. See DataPointFlags+ // for the available flags and their meaning.+ uint32 flags = 10;++ // (Optional) List of exemplars collected from+ // measurements that were used to form the data point+ repeated Exemplar exemplars = 11;++ // min is the minimum value over (start_time, end_time].+ optional double min = 12;++ // max is the maximum value over (start_time, end_time].+ optional double max = 13;++ // ZeroThreshold may be optionally set to convey the width of the zero+ // region. Where the zero region is defined as the closed interval+ // [-ZeroThreshold, ZeroThreshold].+ // When ZeroThreshold is 0, zero count bucket stores values that cannot be+ // expressed using the standard exponential formula as well as values that+ // have been rounded to zero.+ double zero_threshold = 14;+}++// SummaryDataPoint is a single data point in a timeseries that describes the+// time-varying values of a Summary metric.+message SummaryDataPoint {+ reserved 1;++ // The set of key/value pairs that uniquely identify the timeseries from+ // where this point belongs. The list may be empty (may contain 0 elements).+ // Attribute keys MUST be unique (it is not allowed to have more than one+ // attribute with the same key).+ repeated opentelemetry.proto.common.v1.KeyValue attributes = 7;++ // StartTimeUnixNano is optional but strongly encouraged, see the+ // the detailed comments above Metric.+ //+ // Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January+ // 1970.+ fixed64 start_time_unix_nano = 2;++ // TimeUnixNano is required, see the detailed comments above Metric.+ //+ // Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January+ // 1970.+ fixed64 time_unix_nano = 3;++ // count is the number of values in the population. Must be non-negative.+ fixed64 count = 4;++ // sum of the values in the population. If count is zero then this field+ // must be zero.+ //+ // Note: Sum should only be filled out when measuring non-negative discrete+ // events, and is assumed to be monotonic over the values of these events.+ // Negative events *can* be recorded, but sum should not be filled out when+ // doing so. This is specifically to enforce compatibility w/ OpenMetrics,+ // see: https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md#summary+ double sum = 5;++ // Represents the value at a given quantile of a distribution.+ //+ // To record Min and Max values following conventions are used:+ // - The 1.0 quantile is equivalent to the maximum value observed.+ // - The 0.0 quantile is equivalent to the minimum value observed.+ //+ // See the following issue for more context:+ // https://github.com/open-telemetry/opentelemetry-proto/issues/125+ message ValueAtQuantile {+ // The quantile of a distribution. Must be in the interval+ // [0.0, 1.0].+ double quantile = 1;++ // The value at the given quantile of a distribution.+ //+ // Quantile values must NOT be negative.+ double value = 2;+ }++ // (Optional) list of values at different quantiles of the distribution calculated+ // from the current snapshot. The quantiles must be strictly increasing.+ repeated ValueAtQuantile quantile_values = 6;++ // Flags that apply to this specific data point. See DataPointFlags+ // for the available flags and their meaning.+ uint32 flags = 8;+}++// A representation of an exemplar, which is a sample input measurement.+// Exemplars also hold information about the environment when the measurement+// was recorded, for example the span and trace ID of the active span when the+// exemplar was recorded.+message Exemplar {+ reserved 1;++ // The set of key/value pairs that were filtered out by the aggregator, but+ // recorded alongside the original measurement. Only key/value pairs that were+ // filtered out by the aggregator should be included+ repeated opentelemetry.proto.common.v1.KeyValue filtered_attributes = 7;++ // time_unix_nano is the exact time when this exemplar was recorded+ //+ // Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January+ // 1970.+ fixed64 time_unix_nano = 2;++ // The value of the measurement that was recorded. An exemplar is+ // considered invalid when one of the recognized value fields is not present+ // inside this oneof.+ oneof value {+ double as_double = 3;+ sfixed64 as_int = 6;+ }++ // (Optional) Span ID of the exemplar trace.+ // span_id may be missing if the measurement is not recorded inside a trace+ // or if the trace is not sampled.+ bytes span_id = 4;++ // (Optional) Trace ID of the exemplar trace.+ // trace_id may be missing if the measurement is not recorded inside a trace+ // or if the trace is not sampled.+ bytes trace_id = 5;+}
+ proto/opentelemetry/proto/resource/v1/resource.proto view
@@ -0,0 +1,37 @@+// Copyright 2019, OpenTelemetry Authors+//+// Licensed under the Apache License, Version 2.0 (the "License");+// you may not use this file except in compliance with the License.+// You may obtain a copy of the License at+//+// http://www.apache.org/licenses/LICENSE-2.0+//+// Unless required by applicable law or agreed to in writing, software+// distributed under the License is distributed on an "AS IS" BASIS,+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+// See the License for the specific language governing permissions and+// limitations under the License.++syntax = "proto3";++package opentelemetry.proto.resource.v1;++import "opentelemetry/proto/common/v1/common.proto";++option csharp_namespace = "OpenTelemetry.Proto.Resource.V1";+option java_multiple_files = true;+option java_package = "io.opentelemetry.proto.resource.v1";+option java_outer_classname = "ResourceProto";+option go_package = "go.opentelemetry.io/proto/otlp/resource/v1";++// Resource information.+message Resource {+ // Set of attributes that describe the resource.+ // Attribute keys MUST be unique (it is not allowed to have more than one+ // attribute with the same key).+ repeated opentelemetry.proto.common.v1.KeyValue attributes = 1;++ // dropped_attributes_count is the number of dropped attributes. If the value is 0, then+ // no attributes were dropped.+ uint32 dropped_attributes_count = 2;+}
+ proto/opentelemetry/proto/trace/v1/trace.proto view
@@ -0,0 +1,276 @@+// Copyright 2019, OpenTelemetry Authors+//+// Licensed under the Apache License, Version 2.0 (the "License");+// you may not use this file except in compliance with the License.+// You may obtain a copy of the License at+//+// http://www.apache.org/licenses/LICENSE-2.0+//+// Unless required by applicable law or agreed to in writing, software+// distributed under the License is distributed on an "AS IS" BASIS,+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+// See the License for the specific language governing permissions and+// limitations under the License.++syntax = "proto3";++package opentelemetry.proto.trace.v1;++import "opentelemetry/proto/common/v1/common.proto";+import "opentelemetry/proto/resource/v1/resource.proto";++option csharp_namespace = "OpenTelemetry.Proto.Trace.V1";+option java_multiple_files = true;+option java_package = "io.opentelemetry.proto.trace.v1";+option java_outer_classname = "TraceProto";+option go_package = "go.opentelemetry.io/proto/otlp/trace/v1";++// TracesData represents the traces data that can be stored in a persistent storage,+// OR can be embedded by other protocols that transfer OTLP traces data but do+// not implement the OTLP protocol.+//+// The main difference between this message and collector protocol is that+// in this message there will not be any "control" or "metadata" specific to+// OTLP protocol.+//+// When new fields are added into this message, the OTLP request MUST be updated+// as well.+message TracesData {+ // An array of ResourceSpans.+ // For data coming from a single resource this array will typically contain+ // one element. Intermediary nodes that receive data from multiple origins+ // typically batch the data before forwarding further and in that case this+ // array will contain multiple elements.+ repeated ResourceSpans resource_spans = 1;+}++// A collection of ScopeSpans from a Resource.+message ResourceSpans {+ reserved 1000;++ // The resource for the spans in this message.+ // If this field is not set then no resource info is known.+ opentelemetry.proto.resource.v1.Resource resource = 1;++ // A list of ScopeSpans that originate from a resource.+ repeated ScopeSpans scope_spans = 2;++ // This schema_url applies to the data in the "resource" field. It does not apply+ // to the data in the "scope_spans" field which have their own schema_url field.+ string schema_url = 3;+}++// A collection of Spans produced by an InstrumentationScope.+message ScopeSpans {+ // The instrumentation scope information for the spans in this message.+ // Semantically when InstrumentationScope isn't set, it is equivalent with+ // an empty instrumentation scope name (unknown).+ opentelemetry.proto.common.v1.InstrumentationScope scope = 1;++ // A list of Spans that originate from an instrumentation scope.+ repeated Span spans = 2;++ // This schema_url applies to all spans and span events in the "spans" field.+ string schema_url = 3;+}++// A Span represents a single operation performed by a single component of the system.+//+// The next available field id is 17.+message Span {+ // A unique identifier for a trace. All spans from the same trace share+ // the same `trace_id`. The ID is a 16-byte array. An ID with all zeroes OR+ // of length other than 16 bytes is considered invalid (empty string in OTLP/JSON+ // is zero-length and thus is also invalid).+ //+ // This field is required.+ bytes trace_id = 1;++ // A unique identifier for a span within a trace, assigned when the span+ // is created. The ID is an 8-byte array. An ID with all zeroes OR of length+ // other than 8 bytes is considered invalid (empty string in OTLP/JSON+ // is zero-length and thus is also invalid).+ //+ // This field is required.+ bytes span_id = 2;++ // trace_state conveys information about request position in multiple distributed tracing graphs.+ // It is a trace_state in w3c-trace-context format: https://www.w3.org/TR/trace-context/#tracestate-header+ // See also https://github.com/w3c/distributed-tracing for more details about this field.+ string trace_state = 3;++ // The `span_id` of this span's parent span. If this is a root span, then this+ // field must be empty. The ID is an 8-byte array.+ bytes parent_span_id = 4;++ // A description of the span's operation.+ //+ // For example, the name can be a qualified method name or a file name+ // and a line number where the operation is called. A best practice is to use+ // the same display name at the same call point in an application.+ // This makes it easier to correlate spans in different traces.+ //+ // This field is semantically required to be set to non-empty string.+ // Empty value is equivalent to an unknown span name.+ //+ // This field is required.+ string name = 5;++ // SpanKind is the type of span. Can be used to specify additional relationships between spans+ // in addition to a parent/child relationship.+ enum SpanKind {+ // Unspecified. Do NOT use as default.+ // Implementations MAY assume SpanKind to be INTERNAL when receiving UNSPECIFIED.+ SPAN_KIND_UNSPECIFIED = 0;++ // Indicates that the span represents an internal operation within an application,+ // as opposed to an operation happening at the boundaries. Default value.+ SPAN_KIND_INTERNAL = 1;++ // Indicates that the span covers server-side handling of an RPC or other+ // remote network request.+ SPAN_KIND_SERVER = 2;++ // Indicates that the span describes a request to some remote service.+ SPAN_KIND_CLIENT = 3;++ // Indicates that the span describes a producer sending a message to a broker.+ // Unlike CLIENT and SERVER, there is often no direct critical path latency relationship+ // between producer and consumer spans. A PRODUCER span ends when the message was accepted+ // by the broker while the logical processing of the message might span a much longer time.+ SPAN_KIND_PRODUCER = 4;++ // Indicates that the span describes consumer receiving a message from a broker.+ // Like the PRODUCER kind, there is often no direct critical path latency relationship+ // between producer and consumer spans.+ SPAN_KIND_CONSUMER = 5;+ }++ // Distinguishes between spans generated in a particular context. For example,+ // two spans with the same name may be distinguished using `CLIENT` (caller)+ // and `SERVER` (callee) to identify queueing latency associated with the span.+ SpanKind kind = 6;++ // start_time_unix_nano is the start time of the span. On the client side, this is the time+ // kept by the local machine where the span execution starts. On the server side, this+ // is the time when the server's application handler starts running.+ // Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970.+ //+ // This field is semantically required and it is expected that end_time >= start_time.+ fixed64 start_time_unix_nano = 7;++ // end_time_unix_nano is the end time of the span. On the client side, this is the time+ // kept by the local machine where the span execution ends. On the server side, this+ // is the time when the server application handler stops running.+ // Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970.+ //+ // This field is semantically required and it is expected that end_time >= start_time.+ fixed64 end_time_unix_nano = 8;++ // attributes is a collection of key/value pairs. Note, global attributes+ // like server name can be set using the resource API. Examples of attributes:+ //+ // "/http/user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36"+ // "/http/server_latency": 300+ // "example.com/myattribute": true+ // "example.com/score": 10.239+ //+ // The OpenTelemetry API specification further restricts the allowed value types:+ // https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/common/README.md#attribute+ // Attribute keys MUST be unique (it is not allowed to have more than one+ // attribute with the same key).+ repeated opentelemetry.proto.common.v1.KeyValue attributes = 9;++ // dropped_attributes_count is the number of attributes that were discarded. Attributes+ // can be discarded because their keys are too long or because there are too many+ // attributes. If this value is 0, then no attributes were dropped.+ uint32 dropped_attributes_count = 10;++ // Event is a time-stamped annotation of the span, consisting of user-supplied+ // text description and key-value pairs.+ message Event {+ // time_unix_nano is the time the event occurred.+ fixed64 time_unix_nano = 1;++ // name of the event.+ // This field is semantically required to be set to non-empty string.+ string name = 2;++ // attributes is a collection of attribute key/value pairs on the event.+ // Attribute keys MUST be unique (it is not allowed to have more than one+ // attribute with the same key).+ repeated opentelemetry.proto.common.v1.KeyValue attributes = 3;++ // dropped_attributes_count is the number of dropped attributes. If the value is 0,+ // then no attributes were dropped.+ uint32 dropped_attributes_count = 4;+ }++ // events is a collection of Event items.+ repeated Event events = 11;++ // dropped_events_count is the number of dropped events. If the value is 0, then no+ // events were dropped.+ uint32 dropped_events_count = 12;++ // A pointer from the current span to another span in the same trace or in a+ // different trace. For example, this can be used in batching operations,+ // where a single batch handler processes multiple requests from different+ // traces or when the handler receives a request from a different project.+ message Link {+ // A unique identifier of a trace that this linked span is part of. The ID is a+ // 16-byte array.+ bytes trace_id = 1;++ // A unique identifier for the linked span. The ID is an 8-byte array.+ bytes span_id = 2;++ // The trace_state associated with the link.+ string trace_state = 3;++ // attributes is a collection of attribute key/value pairs on the link.+ // Attribute keys MUST be unique (it is not allowed to have more than one+ // attribute with the same key).+ repeated opentelemetry.proto.common.v1.KeyValue attributes = 4;++ // dropped_attributes_count is the number of dropped attributes. If the value is 0,+ // then no attributes were dropped.+ uint32 dropped_attributes_count = 5;+ }++ // links is a collection of Links, which are references from this span to a span+ // in the same or different trace.+ repeated Link links = 13;++ // dropped_links_count is the number of dropped links after the maximum size was+ // enforced. If this value is 0, then no links were dropped.+ uint32 dropped_links_count = 14;++ // An optional final status for this span. Semantically when Status isn't set, it means+ // span's status code is unset, i.e. assume STATUS_CODE_UNSET (code = 0).+ Status status = 15;+}++// The Status type defines a logical error model that is suitable for different+// programming environments, including REST APIs and RPC APIs.+message Status {+ reserved 1;++ // A developer-facing human readable error message.+ string message = 2;++ // For the semantics of status codes see+ // https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/api.md#set-status+ enum StatusCode {+ // The default status.+ STATUS_CODE_UNSET = 0;+ // The Span has been validated by an Application developer or Operator to + // have completed successfully.+ STATUS_CODE_OK = 1;+ // The Span contains an error.+ STATUS_CODE_ERROR = 2;+ };++ // The status code.+ StatusCode code = 3;+}
src/Proto/Opentelemetry/Proto/Collector/Logs/V1/LogsService.hs view
@@ -1,11 +1,12 @@+{- HLINT ignore -} {- This file was auto-generated from opentelemetry/proto/collector/logs/v1/logs_service.proto by the proto-lens-protoc program. -} {-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-} {-# OPTIONS_GHC -Wno-unused-imports#-} {-# OPTIONS_GHC -Wno-duplicate-exports#-} {-# OPTIONS_GHC -Wno-dodgy-exports#-} module Proto.Opentelemetry.Proto.Collector.Logs.V1.LogsService (- LogsService(..), ExportLogsServiceRequest(),- ExportLogsServiceResponse()+ LogsService(..), ExportLogsPartialSuccess(),+ ExportLogsServiceRequest(), ExportLogsServiceResponse() ) where import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism@@ -35,6 +36,171 @@ import qualified Proto.Opentelemetry.Proto.Logs.V1.Logs {- | Fields : + * 'Proto.Opentelemetry.Proto.Collector.Logs.V1.LogsService_Fields.rejectedLogRecords' @:: Lens' ExportLogsPartialSuccess Data.Int.Int64@+ * 'Proto.Opentelemetry.Proto.Collector.Logs.V1.LogsService_Fields.errorMessage' @:: Lens' ExportLogsPartialSuccess Data.Text.Text@ -}+data ExportLogsPartialSuccess+ = ExportLogsPartialSuccess'_constructor {_ExportLogsPartialSuccess'rejectedLogRecords :: !Data.Int.Int64,+ _ExportLogsPartialSuccess'errorMessage :: !Data.Text.Text,+ _ExportLogsPartialSuccess'_unknownFields :: !Data.ProtoLens.FieldSet}+ deriving stock (Prelude.Eq, Prelude.Ord)+instance Prelude.Show ExportLogsPartialSuccess where+ showsPrec _ __x __s+ = Prelude.showChar+ '{'+ (Prelude.showString+ (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))+instance Data.ProtoLens.Field.HasField ExportLogsPartialSuccess "rejectedLogRecords" Data.Int.Int64 where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ExportLogsPartialSuccess'rejectedLogRecords+ (\ x__ y__+ -> x__ {_ExportLogsPartialSuccess'rejectedLogRecords = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField ExportLogsPartialSuccess "errorMessage" Data.Text.Text where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ExportLogsPartialSuccess'errorMessage+ (\ x__ y__ -> x__ {_ExportLogsPartialSuccess'errorMessage = y__}))+ Prelude.id+instance Data.ProtoLens.Message ExportLogsPartialSuccess where+ messageName _+ = Data.Text.pack+ "opentelemetry.proto.collector.logs.v1.ExportLogsPartialSuccess"+ packedMessageDescriptor _+ = "\n\+ \\CANExportLogsPartialSuccess\DC20\n\+ \\DC4rejected_log_records\CAN\SOH \SOH(\ETXR\DC2rejectedLogRecords\DC2#\n\+ \\rerror_message\CAN\STX \SOH(\tR\ferrorMessage"+ packedFileDescriptor _ = packedFileDescriptor+ fieldsByTag+ = let+ rejectedLogRecords__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "rejected_log_records"+ (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::+ Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional+ (Data.ProtoLens.Field.field @"rejectedLogRecords")) ::+ Data.ProtoLens.FieldDescriptor ExportLogsPartialSuccess+ errorMessage__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "error_message"+ (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::+ Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional+ (Data.ProtoLens.Field.field @"errorMessage")) ::+ Data.ProtoLens.FieldDescriptor ExportLogsPartialSuccess+ in+ Data.Map.fromList+ [(Data.ProtoLens.Tag 1, rejectedLogRecords__field_descriptor),+ (Data.ProtoLens.Tag 2, errorMessage__field_descriptor)]+ unknownFields+ = Lens.Family2.Unchecked.lens+ _ExportLogsPartialSuccess'_unknownFields+ (\ x__ y__ -> x__ {_ExportLogsPartialSuccess'_unknownFields = y__})+ defMessage+ = ExportLogsPartialSuccess'_constructor+ {_ExportLogsPartialSuccess'rejectedLogRecords = Data.ProtoLens.fieldDefault,+ _ExportLogsPartialSuccess'errorMessage = Data.ProtoLens.fieldDefault,+ _ExportLogsPartialSuccess'_unknownFields = []}+ parseMessage+ = let+ loop ::+ ExportLogsPartialSuccess+ -> Data.ProtoLens.Encoding.Bytes.Parser ExportLogsPartialSuccess+ loop x+ = do end <- Data.ProtoLens.Encoding.Bytes.atEnd+ if end then+ do (let missing = []+ in+ if Prelude.null missing then+ Prelude.return ()+ else+ Prelude.fail+ ((Prelude.++)+ "Missing required fields: "+ (Prelude.show (missing :: [Prelude.String]))))+ Prelude.return+ (Lens.Family2.over+ Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)+ else+ do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt+ case tag of+ 8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (Prelude.fmap+ Prelude.fromIntegral+ Data.ProtoLens.Encoding.Bytes.getVarInt)+ "rejected_log_records"+ loop+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"rejectedLogRecords") y x)+ 18+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.getText+ (Prelude.fromIntegral len))+ "error_message"+ loop+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"errorMessage") y x)+ wire+ -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire+ wire+ loop+ (Lens.Family2.over+ Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)+ in+ (Data.ProtoLens.Encoding.Bytes.<?>)+ (do loop Data.ProtoLens.defMessage) "ExportLogsPartialSuccess"+ buildMessage+ = \ _x+ -> (Data.Monoid.<>)+ (let+ _v+ = Lens.Family2.view+ (Data.ProtoLens.Field.field @"rejectedLogRecords") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 8)+ ((Prelude..)+ Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))+ ((Data.Monoid.<>)+ (let+ _v+ = Lens.Family2.view (Data.ProtoLens.Field.field @"errorMessage") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 18)+ ((Prelude..)+ (\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ Data.Text.Encoding.encodeUtf8 _v))+ (Data.ProtoLens.Encoding.Wire.buildFieldSet+ (Lens.Family2.view Data.ProtoLens.unknownFields _x)))+instance Control.DeepSeq.NFData ExportLogsPartialSuccess where+ rnf+ = \ x__+ -> Control.DeepSeq.deepseq+ (_ExportLogsPartialSuccess'_unknownFields x__)+ (Control.DeepSeq.deepseq+ (_ExportLogsPartialSuccess'rejectedLogRecords x__)+ (Control.DeepSeq.deepseq+ (_ExportLogsPartialSuccess'errorMessage x__) ()))+{- | Fields :+ * 'Proto.Opentelemetry.Proto.Collector.Logs.V1.LogsService_Fields.resourceLogs' @:: Lens' ExportLogsServiceRequest [Proto.Opentelemetry.Proto.Logs.V1.Logs.ResourceLogs]@ * 'Proto.Opentelemetry.Proto.Collector.Logs.V1.LogsService_Fields.vec'resourceLogs' @:: Lens' ExportLogsServiceRequest (Data.Vector.Vector Proto.Opentelemetry.Proto.Logs.V1.Logs.ResourceLogs)@ -} data ExportLogsServiceRequest@@ -174,9 +340,12 @@ (Control.DeepSeq.deepseq (_ExportLogsServiceRequest'resourceLogs x__) ()) {- | Fields :- -}+ + * 'Proto.Opentelemetry.Proto.Collector.Logs.V1.LogsService_Fields.partialSuccess' @:: Lens' ExportLogsServiceResponse ExportLogsPartialSuccess@+ * 'Proto.Opentelemetry.Proto.Collector.Logs.V1.LogsService_Fields.maybe'partialSuccess' @:: Lens' ExportLogsServiceResponse (Prelude.Maybe ExportLogsPartialSuccess)@ -} data ExportLogsServiceResponse- = ExportLogsServiceResponse'_constructor {_ExportLogsServiceResponse'_unknownFields :: !Data.ProtoLens.FieldSet}+ = ExportLogsServiceResponse'_constructor {_ExportLogsServiceResponse'partialSuccess :: !(Prelude.Maybe ExportLogsPartialSuccess),+ _ExportLogsServiceResponse'_unknownFields :: !Data.ProtoLens.FieldSet} deriving stock (Prelude.Eq, Prelude.Ord) instance Prelude.Show ExportLogsServiceResponse where showsPrec _ __x __s@@ -184,15 +353,44 @@ '{' (Prelude.showString (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))+instance Data.ProtoLens.Field.HasField ExportLogsServiceResponse "partialSuccess" ExportLogsPartialSuccess where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ExportLogsServiceResponse'partialSuccess+ (\ x__ y__+ -> x__ {_ExportLogsServiceResponse'partialSuccess = y__}))+ (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)+instance Data.ProtoLens.Field.HasField ExportLogsServiceResponse "maybe'partialSuccess" (Prelude.Maybe ExportLogsPartialSuccess) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ExportLogsServiceResponse'partialSuccess+ (\ x__ y__+ -> x__ {_ExportLogsServiceResponse'partialSuccess = y__}))+ Prelude.id instance Data.ProtoLens.Message ExportLogsServiceResponse where messageName _ = Data.Text.pack "opentelemetry.proto.collector.logs.v1.ExportLogsServiceResponse" packedMessageDescriptor _ = "\n\- \\EMExportLogsServiceResponse"+ \\EMExportLogsServiceResponse\DC2h\n\+ \\SIpartial_success\CAN\SOH \SOH(\v2?.opentelemetry.proto.collector.logs.v1.ExportLogsPartialSuccessR\SOpartialSuccess" packedFileDescriptor _ = packedFileDescriptor- fieldsByTag = let in Data.Map.fromList []+ fieldsByTag+ = let+ partialSuccess__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "partial_success"+ (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::+ Data.ProtoLens.FieldTypeDescriptor ExportLogsPartialSuccess)+ (Data.ProtoLens.OptionalField+ (Data.ProtoLens.Field.field @"maybe'partialSuccess")) ::+ Data.ProtoLens.FieldDescriptor ExportLogsServiceResponse+ in+ Data.Map.fromList+ [(Data.ProtoLens.Tag 1, partialSuccess__field_descriptor)] unknownFields = Lens.Family2.Unchecked.lens _ExportLogsServiceResponse'_unknownFields@@ -200,7 +398,8 @@ -> x__ {_ExportLogsServiceResponse'_unknownFields = y__}) defMessage = ExportLogsServiceResponse'_constructor- {_ExportLogsServiceResponse'_unknownFields = []}+ {_ExportLogsServiceResponse'partialSuccess = Prelude.Nothing,+ _ExportLogsServiceResponse'_unknownFields = []} parseMessage = let loop ::@@ -223,25 +422,52 @@ Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x) else do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt- case tag of {+ case tag of+ 10+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.isolate+ (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)+ "partial_success"+ loop+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"partialSuccess") y x) wire -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire wire loop (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) }+ Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) in (Data.ProtoLens.Encoding.Bytes.<?>) (do loop Data.ProtoLens.defMessage) "ExportLogsServiceResponse" buildMessage = \ _x- -> Data.ProtoLens.Encoding.Wire.buildFieldSet- (Lens.Family2.view Data.ProtoLens.unknownFields _x)+ -> (Data.Monoid.<>)+ (case+ Lens.Family2.view+ (Data.ProtoLens.Field.field @"maybe'partialSuccess") _x+ of+ Prelude.Nothing -> Data.Monoid.mempty+ (Prelude.Just _v)+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 10)+ ((Prelude..)+ (\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ Data.ProtoLens.encodeMessage _v))+ (Data.ProtoLens.Encoding.Wire.buildFieldSet+ (Lens.Family2.view Data.ProtoLens.unknownFields _x)) instance Control.DeepSeq.NFData ExportLogsServiceResponse where rnf = \ x__ -> Control.DeepSeq.deepseq- (_ExportLogsServiceResponse'_unknownFields x__) ()+ (_ExportLogsServiceResponse'_unknownFields x__)+ (Control.DeepSeq.deepseq+ (_ExportLogsServiceResponse'partialSuccess x__) ()) data LogsService = LogsService {} instance Data.ProtoLens.Service.Types.Service LogsService where type ServiceName LogsService = "LogsService"@@ -261,12 +487,16 @@ = "\n\ \8opentelemetry/proto/collector/logs/v1/logs_service.proto\DC2%opentelemetry.proto.collector.logs.v1\SUB&opentelemetry/proto/logs/v1/logs.proto\"j\n\ \\CANExportLogsServiceRequest\DC2N\n\- \\rresource_logs\CAN\SOH \ETX(\v2).opentelemetry.proto.logs.v1.ResourceLogsR\fresourceLogs\"\ESC\n\- \\EMExportLogsServiceResponse2\157\SOH\n\+ \\rresource_logs\CAN\SOH \ETX(\v2).opentelemetry.proto.logs.v1.ResourceLogsR\fresourceLogs\"\133\SOH\n\+ \\EMExportLogsServiceResponse\DC2h\n\+ \\SIpartial_success\CAN\SOH \SOH(\v2?.opentelemetry.proto.collector.logs.v1.ExportLogsPartialSuccessR\SOpartialSuccess\"q\n\+ \\CANExportLogsPartialSuccess\DC20\n\+ \\DC4rejected_log_records\CAN\SOH \SOH(\ETXR\DC2rejectedLogRecords\DC2#\n\+ \\rerror_message\CAN\STX \SOH(\tR\ferrorMessage2\157\SOH\n\ \\vLogsService\DC2\141\SOH\n\- \\ACKExport\DC2?.opentelemetry.proto.collector.logs.v1.ExportLogsServiceRequest\SUB@.opentelemetry.proto.collector.logs.v1.ExportLogsServiceResponse\"\NULB\134\SOH\n\- \(io.opentelemetry.proto.collector.logs.v1B\DLELogsServiceProtoP\SOHZFgithub.com/open-telemetry/opentelemetry-proto/gen/go/collector/logs/v1J\144\r\n\- \\ACK\DC2\EOT\SO\NUL/\SOH\n\+ \\ACKExport\DC2?.opentelemetry.proto.collector.logs.v1.ExportLogsServiceRequest\SUB@.opentelemetry.proto.collector.logs.v1.ExportLogsServiceResponse\"\NULB\152\SOH\n\+ \(io.opentelemetry.proto.collector.logs.v1B\DLELogsServiceProtoP\SOHZ0go.opentelemetry.io/proto/otlp/collector/logs/v1\170\STX%OpenTelemetry.Proto.Collector.Logs.V1J\155\CAN\n\+ \\ACK\DC2\EOT\SO\NULN\SOH\n\ \\200\EOT\n\ \\SOH\f\DC2\ETX\SO\NUL\DC22\189\EOT Copyright 2020, OpenTelemetry Authors\n\ \\n\@@ -282,72 +512,130 @@ \ See the License for the specific language governing permissions and\n\ \ limitations under the License.\n\ \\n\- \y\n\- \\SOH\STX\DC2\ETX\DC3\NUL.2o NOTE: This proto is experimental and is subject to change at this point.\n\- \ Please do not use it at the moment.\n\- \\n\+ \\b\n\+ \\SOH\STX\DC2\ETX\DLE\NUL.\n\ \\t\n\- \\STX\ETX\NUL\DC2\ETX\NAK\NUL0\n\+ \\STX\ETX\NUL\DC2\ETX\DC2\NUL0\n\ \\b\n\- \\SOH\b\DC2\ETX\ETB\NUL\"\n\+ \\SOH\b\DC2\ETX\DC4\NULB\n\ \\t\n\+ \\STX\b%\DC2\ETX\DC4\NULB\n\+ \\b\n\+ \\SOH\b\DC2\ETX\NAK\NUL\"\n\+ \\t\n\ \\STX\b\n\- \\DC2\ETX\ETB\NUL\"\n\+ \\DC2\ETX\NAK\NUL\"\n\ \\b\n\- \\SOH\b\DC2\ETX\CAN\NULA\n\+ \\SOH\b\DC2\ETX\SYN\NULA\n\ \\t\n\- \\STX\b\SOH\DC2\ETX\CAN\NULA\n\+ \\STX\b\SOH\DC2\ETX\SYN\NULA\n\ \\b\n\- \\SOH\b\DC2\ETX\EM\NUL1\n\+ \\SOH\b\DC2\ETX\ETB\NUL1\n\ \\t\n\- \\STX\b\b\DC2\ETX\EM\NUL1\n\+ \\STX\b\b\DC2\ETX\ETB\NUL1\n\ \\b\n\- \\SOH\b\DC2\ETX\SUB\NUL]\n\+ \\SOH\b\DC2\ETX\CAN\NULG\n\ \\t\n\- \\STX\b\v\DC2\ETX\SUB\NUL]\n\+ \\STX\b\v\DC2\ETX\CAN\NULG\n\ \\245\SOH\n\- \\STX\ACK\NUL\DC2\EOT\US\NUL#\SOH\SUB\232\SOH Service that can be used to push logs between one Application instrumented with\n\+ \\STX\ACK\NUL\DC2\EOT\GS\NUL!\SOH\SUB\232\SOH Service that can be used to push logs between one Application instrumented with\n\ \ OpenTelemetry and an collector, or between an collector and a central collector (in this\n\ \ case logs are sent/received to/from multiple Applications).\n\ \\n\ \\n\ \\n\- \\ETX\ACK\NUL\SOH\DC2\ETX\US\b\DC3\n\+ \\ETX\ACK\NUL\SOH\DC2\ETX\GS\b\DC3\n\ \y\n\- \\EOT\ACK\NUL\STX\NUL\DC2\ETX\"\STXM\SUBl For performance reasons, it is recommended to keep this RPC\n\+ \\EOT\ACK\NUL\STX\NUL\DC2\ETX \STXM\SUBl For performance reasons, it is recommended to keep this RPC\n\ \ alive for the entire life of the application.\n\ \\n\ \\f\n\- \\ENQ\ACK\NUL\STX\NUL\SOH\DC2\ETX\"\ACK\f\n\+ \\ENQ\ACK\NUL\STX\NUL\SOH\DC2\ETX \ACK\f\n\ \\f\n\- \\ENQ\ACK\NUL\STX\NUL\STX\DC2\ETX\"\r%\n\+ \\ENQ\ACK\NUL\STX\NUL\STX\DC2\ETX \r%\n\ \\f\n\- \\ENQ\ACK\NUL\STX\NUL\ETX\DC2\ETX\"0I\n\+ \\ENQ\ACK\NUL\STX\NUL\ETX\DC2\ETX 0I\n\ \\n\ \\n\- \\STX\EOT\NUL\DC2\EOT%\NUL,\SOH\n\+ \\STX\EOT\NUL\DC2\EOT#\NUL*\SOH\n\ \\n\ \\n\- \\ETX\EOT\NUL\SOH\DC2\ETX%\b \n\+ \\ETX\EOT\NUL\SOH\DC2\ETX#\b \n\ \\207\STX\n\- \\EOT\EOT\NUL\STX\NUL\DC2\ETX+\STXF\SUB\193\STX An array of ResourceLogs.\n\+ \\EOT\EOT\NUL\STX\NUL\DC2\ETX)\STXF\SUB\193\STX An array of ResourceLogs.\n\ \ For data coming from a single resource this array will typically contain one\n\ \ element. Intermediary nodes (such as OpenTelemetry Collector) that receive\n\ \ data from multiple origins typically batch the data before forwarding further and\n\ \ in that case this array will contain multiple elements.\n\ \\n\ \\f\n\- \\ENQ\EOT\NUL\STX\NUL\EOT\DC2\ETX+\STX\n\+ \\ENQ\EOT\NUL\STX\NUL\EOT\DC2\ETX)\STX\n\ \\n\ \\f\n\- \\ENQ\EOT\NUL\STX\NUL\ACK\DC2\ETX+\v3\n\+ \\ENQ\EOT\NUL\STX\NUL\ACK\DC2\ETX)\v3\n\ \\f\n\- \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX+4A\n\+ \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX)4A\n\ \\f\n\- \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX+DE\n\+ \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX)DE\n\ \\n\ \\n\- \\STX\EOT\SOH\DC2\EOT.\NUL/\SOH\n\+ \\STX\EOT\SOH\DC2\EOT,\NUL=\SOH\n\ \\n\ \\n\- \\ETX\EOT\SOH\SOH\DC2\ETX.\b!b\ACKproto3"+ \\ETX\EOT\SOH\SOH\DC2\ETX,\b!\n\+ \\148\ACK\n\+ \\EOT\EOT\SOH\STX\NUL\DC2\ETX<\STX/\SUB\134\ACK The details of a partially successful export request.\n\+ \\n\+ \ If the request is only partially accepted\n\+ \ (i.e. when the server accepts only parts of the data and rejects the rest)\n\+ \ the server MUST initialize the `partial_success` field and MUST\n\+ \ set the `rejected_<signal>` with the number of items it rejected.\n\+ \\n\+ \ Servers MAY also make use of the `partial_success` field to convey\n\+ \ warnings/suggestions to senders even when the request was fully accepted.\n\+ \ In such cases, the `rejected_<signal>` MUST have a value of `0` and\n\+ \ the `error_message` MUST be non-empty.\n\+ \\n\+ \ A `partial_success` message with an empty value (rejected_<signal> = 0 and\n\+ \ `error_message` = \"\") is equivalent to it not being set/present. Senders\n\+ \ SHOULD interpret it the same way as in the full success case.\n\+ \\n\+ \\f\n\+ \\ENQ\EOT\SOH\STX\NUL\ACK\DC2\ETX<\STX\SUB\n\+ \\f\n\+ \\ENQ\EOT\SOH\STX\NUL\SOH\DC2\ETX<\ESC*\n\+ \\f\n\+ \\ENQ\EOT\SOH\STX\NUL\ETX\DC2\ETX<-.\n\+ \\n\+ \\n\+ \\STX\EOT\STX\DC2\EOT?\NULN\SOH\n\+ \\n\+ \\n\+ \\ETX\EOT\STX\SOH\DC2\ETX?\b \n\+ \\149\SOH\n\+ \\EOT\EOT\STX\STX\NUL\DC2\ETXD\STX!\SUB\135\SOH The number of rejected log records.\n\+ \\n\+ \ A `rejected_<signal>` field holding a `0` value indicates that the\n\+ \ request was fully accepted.\n\+ \\n\+ \\f\n\+ \\ENQ\EOT\STX\STX\NUL\ENQ\DC2\ETXD\STX\a\n\+ \\f\n\+ \\ENQ\EOT\STX\STX\NUL\SOH\DC2\ETXD\b\FS\n\+ \\f\n\+ \\ENQ\EOT\STX\STX\NUL\ETX\DC2\ETXD\US \n\+ \\159\ETX\n\+ \\EOT\EOT\STX\STX\SOH\DC2\ETXM\STX\ESC\SUB\145\ETX A developer-facing human-readable message in English. It should be used\n\+ \ either to explain why the server rejected parts of the data during a partial\n\+ \ success or to convey warnings/suggestions during a full success. The message\n\+ \ should offer guidance on how users can address such issues.\n\+ \\n\+ \ error_message is an optional field. An error_message with an empty value\n\+ \ is equivalent to it not being set.\n\+ \\n\+ \\f\n\+ \\ENQ\EOT\STX\STX\SOH\ENQ\DC2\ETXM\STX\b\n\+ \\f\n\+ \\ENQ\EOT\STX\STX\SOH\SOH\DC2\ETXM\t\SYN\n\+ \\f\n\+ \\ENQ\EOT\STX\STX\SOH\ETX\DC2\ETXM\EM\SUBb\ACKproto3"
src/Proto/Opentelemetry/Proto/Collector/Logs/V1/LogsService_Fields.hs view
@@ -1,3 +1,4 @@+{- HLINT ignore -} {- This file was auto-generated from opentelemetry/proto/collector/logs/v1/logs_service.proto by the proto-lens-protoc program. -} {-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-} {-# OPTIONS_GHC -Wno-unused-imports#-}@@ -28,6 +29,32 @@ import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read import qualified Proto.Opentelemetry.Proto.Logs.V1.Logs+errorMessage ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "errorMessage" a) =>+ Lens.Family2.LensLike' f s a+errorMessage = Data.ProtoLens.Field.field @"errorMessage"+maybe'partialSuccess ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "maybe'partialSuccess" a) =>+ Lens.Family2.LensLike' f s a+maybe'partialSuccess+ = Data.ProtoLens.Field.field @"maybe'partialSuccess"+partialSuccess ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "partialSuccess" a) =>+ Lens.Family2.LensLike' f s a+partialSuccess = Data.ProtoLens.Field.field @"partialSuccess"+rejectedLogRecords ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "rejectedLogRecords" a) =>+ Lens.Family2.LensLike' f s a+rejectedLogRecords+ = Data.ProtoLens.Field.field @"rejectedLogRecords" resourceLogs :: forall f s a. (Prelude.Functor f,
src/Proto/Opentelemetry/Proto/Collector/Metrics/V1/MetricsService.hs view
@@ -1,11 +1,12 @@+{- HLINT ignore -} {- This file was auto-generated from opentelemetry/proto/collector/metrics/v1/metrics_service.proto by the proto-lens-protoc program. -} {-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-} {-# OPTIONS_GHC -Wno-unused-imports#-} {-# OPTIONS_GHC -Wno-duplicate-exports#-} {-# OPTIONS_GHC -Wno-dodgy-exports#-} module Proto.Opentelemetry.Proto.Collector.Metrics.V1.MetricsService (- MetricsService(..), ExportMetricsServiceRequest(),- ExportMetricsServiceResponse()+ MetricsService(..), ExportMetricsPartialSuccess(),+ ExportMetricsServiceRequest(), ExportMetricsServiceResponse() ) where import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism@@ -35,6 +36,173 @@ import qualified Proto.Opentelemetry.Proto.Metrics.V1.Metrics {- | Fields : + * 'Proto.Opentelemetry.Proto.Collector.Metrics.V1.MetricsService_Fields.rejectedDataPoints' @:: Lens' ExportMetricsPartialSuccess Data.Int.Int64@+ * 'Proto.Opentelemetry.Proto.Collector.Metrics.V1.MetricsService_Fields.errorMessage' @:: Lens' ExportMetricsPartialSuccess Data.Text.Text@ -}+data ExportMetricsPartialSuccess+ = ExportMetricsPartialSuccess'_constructor {_ExportMetricsPartialSuccess'rejectedDataPoints :: !Data.Int.Int64,+ _ExportMetricsPartialSuccess'errorMessage :: !Data.Text.Text,+ _ExportMetricsPartialSuccess'_unknownFields :: !Data.ProtoLens.FieldSet}+ deriving stock (Prelude.Eq, Prelude.Ord)+instance Prelude.Show ExportMetricsPartialSuccess where+ showsPrec _ __x __s+ = Prelude.showChar+ '{'+ (Prelude.showString+ (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))+instance Data.ProtoLens.Field.HasField ExportMetricsPartialSuccess "rejectedDataPoints" Data.Int.Int64 where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ExportMetricsPartialSuccess'rejectedDataPoints+ (\ x__ y__+ -> x__ {_ExportMetricsPartialSuccess'rejectedDataPoints = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField ExportMetricsPartialSuccess "errorMessage" Data.Text.Text where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ExportMetricsPartialSuccess'errorMessage+ (\ x__ y__+ -> x__ {_ExportMetricsPartialSuccess'errorMessage = y__}))+ Prelude.id+instance Data.ProtoLens.Message ExportMetricsPartialSuccess where+ messageName _+ = Data.Text.pack+ "opentelemetry.proto.collector.metrics.v1.ExportMetricsPartialSuccess"+ packedMessageDescriptor _+ = "\n\+ \\ESCExportMetricsPartialSuccess\DC20\n\+ \\DC4rejected_data_points\CAN\SOH \SOH(\ETXR\DC2rejectedDataPoints\DC2#\n\+ \\rerror_message\CAN\STX \SOH(\tR\ferrorMessage"+ packedFileDescriptor _ = packedFileDescriptor+ fieldsByTag+ = let+ rejectedDataPoints__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "rejected_data_points"+ (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::+ Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional+ (Data.ProtoLens.Field.field @"rejectedDataPoints")) ::+ Data.ProtoLens.FieldDescriptor ExportMetricsPartialSuccess+ errorMessage__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "error_message"+ (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::+ Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional+ (Data.ProtoLens.Field.field @"errorMessage")) ::+ Data.ProtoLens.FieldDescriptor ExportMetricsPartialSuccess+ in+ Data.Map.fromList+ [(Data.ProtoLens.Tag 1, rejectedDataPoints__field_descriptor),+ (Data.ProtoLens.Tag 2, errorMessage__field_descriptor)]+ unknownFields+ = Lens.Family2.Unchecked.lens+ _ExportMetricsPartialSuccess'_unknownFields+ (\ x__ y__+ -> x__ {_ExportMetricsPartialSuccess'_unknownFields = y__})+ defMessage+ = ExportMetricsPartialSuccess'_constructor+ {_ExportMetricsPartialSuccess'rejectedDataPoints = Data.ProtoLens.fieldDefault,+ _ExportMetricsPartialSuccess'errorMessage = Data.ProtoLens.fieldDefault,+ _ExportMetricsPartialSuccess'_unknownFields = []}+ parseMessage+ = let+ loop ::+ ExportMetricsPartialSuccess+ -> Data.ProtoLens.Encoding.Bytes.Parser ExportMetricsPartialSuccess+ loop x+ = do end <- Data.ProtoLens.Encoding.Bytes.atEnd+ if end then+ do (let missing = []+ in+ if Prelude.null missing then+ Prelude.return ()+ else+ Prelude.fail+ ((Prelude.++)+ "Missing required fields: "+ (Prelude.show (missing :: [Prelude.String]))))+ Prelude.return+ (Lens.Family2.over+ Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)+ else+ do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt+ case tag of+ 8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (Prelude.fmap+ Prelude.fromIntegral+ Data.ProtoLens.Encoding.Bytes.getVarInt)+ "rejected_data_points"+ loop+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"rejectedDataPoints") y x)+ 18+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.getText+ (Prelude.fromIntegral len))+ "error_message"+ loop+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"errorMessage") y x)+ wire+ -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire+ wire+ loop+ (Lens.Family2.over+ Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)+ in+ (Data.ProtoLens.Encoding.Bytes.<?>)+ (do loop Data.ProtoLens.defMessage) "ExportMetricsPartialSuccess"+ buildMessage+ = \ _x+ -> (Data.Monoid.<>)+ (let+ _v+ = Lens.Family2.view+ (Data.ProtoLens.Field.field @"rejectedDataPoints") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 8)+ ((Prelude..)+ Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))+ ((Data.Monoid.<>)+ (let+ _v+ = Lens.Family2.view (Data.ProtoLens.Field.field @"errorMessage") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 18)+ ((Prelude..)+ (\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ Data.Text.Encoding.encodeUtf8 _v))+ (Data.ProtoLens.Encoding.Wire.buildFieldSet+ (Lens.Family2.view Data.ProtoLens.unknownFields _x)))+instance Control.DeepSeq.NFData ExportMetricsPartialSuccess where+ rnf+ = \ x__+ -> Control.DeepSeq.deepseq+ (_ExportMetricsPartialSuccess'_unknownFields x__)+ (Control.DeepSeq.deepseq+ (_ExportMetricsPartialSuccess'rejectedDataPoints x__)+ (Control.DeepSeq.deepseq+ (_ExportMetricsPartialSuccess'errorMessage x__) ()))+{- | Fields :+ * 'Proto.Opentelemetry.Proto.Collector.Metrics.V1.MetricsService_Fields.resourceMetrics' @:: Lens' ExportMetricsServiceRequest [Proto.Opentelemetry.Proto.Metrics.V1.Metrics.ResourceMetrics]@ * 'Proto.Opentelemetry.Proto.Collector.Metrics.V1.MetricsService_Fields.vec'resourceMetrics' @:: Lens' ExportMetricsServiceRequest (Data.Vector.Vector Proto.Opentelemetry.Proto.Metrics.V1.Metrics.ResourceMetrics)@ -} data ExportMetricsServiceRequest@@ -177,9 +345,12 @@ (Control.DeepSeq.deepseq (_ExportMetricsServiceRequest'resourceMetrics x__) ()) {- | Fields :- -}+ + * 'Proto.Opentelemetry.Proto.Collector.Metrics.V1.MetricsService_Fields.partialSuccess' @:: Lens' ExportMetricsServiceResponse ExportMetricsPartialSuccess@+ * 'Proto.Opentelemetry.Proto.Collector.Metrics.V1.MetricsService_Fields.maybe'partialSuccess' @:: Lens' ExportMetricsServiceResponse (Prelude.Maybe ExportMetricsPartialSuccess)@ -} data ExportMetricsServiceResponse- = ExportMetricsServiceResponse'_constructor {_ExportMetricsServiceResponse'_unknownFields :: !Data.ProtoLens.FieldSet}+ = ExportMetricsServiceResponse'_constructor {_ExportMetricsServiceResponse'partialSuccess :: !(Prelude.Maybe ExportMetricsPartialSuccess),+ _ExportMetricsServiceResponse'_unknownFields :: !Data.ProtoLens.FieldSet} deriving stock (Prelude.Eq, Prelude.Ord) instance Prelude.Show ExportMetricsServiceResponse where showsPrec _ __x __s@@ -187,15 +358,44 @@ '{' (Prelude.showString (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))+instance Data.ProtoLens.Field.HasField ExportMetricsServiceResponse "partialSuccess" ExportMetricsPartialSuccess where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ExportMetricsServiceResponse'partialSuccess+ (\ x__ y__+ -> x__ {_ExportMetricsServiceResponse'partialSuccess = y__}))+ (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)+instance Data.ProtoLens.Field.HasField ExportMetricsServiceResponse "maybe'partialSuccess" (Prelude.Maybe ExportMetricsPartialSuccess) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ExportMetricsServiceResponse'partialSuccess+ (\ x__ y__+ -> x__ {_ExportMetricsServiceResponse'partialSuccess = y__}))+ Prelude.id instance Data.ProtoLens.Message ExportMetricsServiceResponse where messageName _ = Data.Text.pack "opentelemetry.proto.collector.metrics.v1.ExportMetricsServiceResponse" packedMessageDescriptor _ = "\n\- \\FSExportMetricsServiceResponse"+ \\FSExportMetricsServiceResponse\DC2n\n\+ \\SIpartial_success\CAN\SOH \SOH(\v2E.opentelemetry.proto.collector.metrics.v1.ExportMetricsPartialSuccessR\SOpartialSuccess" packedFileDescriptor _ = packedFileDescriptor- fieldsByTag = let in Data.Map.fromList []+ fieldsByTag+ = let+ partialSuccess__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "partial_success"+ (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::+ Data.ProtoLens.FieldTypeDescriptor ExportMetricsPartialSuccess)+ (Data.ProtoLens.OptionalField+ (Data.ProtoLens.Field.field @"maybe'partialSuccess")) ::+ Data.ProtoLens.FieldDescriptor ExportMetricsServiceResponse+ in+ Data.Map.fromList+ [(Data.ProtoLens.Tag 1, partialSuccess__field_descriptor)] unknownFields = Lens.Family2.Unchecked.lens _ExportMetricsServiceResponse'_unknownFields@@ -203,7 +403,8 @@ -> x__ {_ExportMetricsServiceResponse'_unknownFields = y__}) defMessage = ExportMetricsServiceResponse'_constructor- {_ExportMetricsServiceResponse'_unknownFields = []}+ {_ExportMetricsServiceResponse'partialSuccess = Prelude.Nothing,+ _ExportMetricsServiceResponse'_unknownFields = []} parseMessage = let loop ::@@ -226,25 +427,52 @@ Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x) else do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt- case tag of {+ case tag of+ 10+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.isolate+ (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)+ "partial_success"+ loop+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"partialSuccess") y x) wire -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire wire loop (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) }+ Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) in (Data.ProtoLens.Encoding.Bytes.<?>) (do loop Data.ProtoLens.defMessage) "ExportMetricsServiceResponse" buildMessage = \ _x- -> Data.ProtoLens.Encoding.Wire.buildFieldSet- (Lens.Family2.view Data.ProtoLens.unknownFields _x)+ -> (Data.Monoid.<>)+ (case+ Lens.Family2.view+ (Data.ProtoLens.Field.field @"maybe'partialSuccess") _x+ of+ Prelude.Nothing -> Data.Monoid.mempty+ (Prelude.Just _v)+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 10)+ ((Prelude..)+ (\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ Data.ProtoLens.encodeMessage _v))+ (Data.ProtoLens.Encoding.Wire.buildFieldSet+ (Lens.Family2.view Data.ProtoLens.unknownFields _x)) instance Control.DeepSeq.NFData ExportMetricsServiceResponse where rnf = \ x__ -> Control.DeepSeq.deepseq- (_ExportMetricsServiceResponse'_unknownFields x__) ()+ (_ExportMetricsServiceResponse'_unknownFields x__)+ (Control.DeepSeq.deepseq+ (_ExportMetricsServiceResponse'partialSuccess x__) ()) data MetricsService = MetricsService {} instance Data.ProtoLens.Service.Types.Service MetricsService where type ServiceName MetricsService = "MetricsService"@@ -264,12 +492,16 @@ = "\n\ \>opentelemetry/proto/collector/metrics/v1/metrics_service.proto\DC2(opentelemetry.proto.collector.metrics.v1\SUB,opentelemetry/proto/metrics/v1/metrics.proto\"y\n\ \\ESCExportMetricsServiceRequest\DC2Z\n\- \\DLEresource_metrics\CAN\SOH \ETX(\v2/.opentelemetry.proto.metrics.v1.ResourceMetricsR\SIresourceMetrics\"\RS\n\- \\FSExportMetricsServiceResponse2\172\SOH\n\+ \\DLEresource_metrics\CAN\SOH \ETX(\v2/.opentelemetry.proto.metrics.v1.ResourceMetricsR\SIresourceMetrics\"\142\SOH\n\+ \\FSExportMetricsServiceResponse\DC2n\n\+ \\SIpartial_success\CAN\SOH \SOH(\v2E.opentelemetry.proto.collector.metrics.v1.ExportMetricsPartialSuccessR\SOpartialSuccess\"t\n\+ \\ESCExportMetricsPartialSuccess\DC20\n\+ \\DC4rejected_data_points\CAN\SOH \SOH(\ETXR\DC2rejectedDataPoints\DC2#\n\+ \\rerror_message\CAN\STX \SOH(\tR\ferrorMessage2\172\SOH\n\ \\SOMetricsService\DC2\153\SOH\n\- \\ACKExport\DC2E.opentelemetry.proto.collector.metrics.v1.ExportMetricsServiceRequest\SUBF.opentelemetry.proto.collector.metrics.v1.ExportMetricsServiceResponse\"\NULB\143\SOH\n\- \+io.opentelemetry.proto.collector.metrics.v1B\DC3MetricsServiceProtoP\SOHZIgithub.com/open-telemetry/opentelemetry-proto/gen/go/collector/metrics/v1J\223\v\n\- \\ACK\DC2\EOT\SO\NUL,\SOH\n\+ \\ACKExport\DC2E.opentelemetry.proto.collector.metrics.v1.ExportMetricsServiceRequest\SUBF.opentelemetry.proto.collector.metrics.v1.ExportMetricsServiceResponse\"\NULB\164\SOH\n\+ \+io.opentelemetry.proto.collector.metrics.v1B\DC3MetricsServiceProtoP\SOHZ3go.opentelemetry.io/proto/otlp/collector/metrics/v1\170\STX(OpenTelemetry.Proto.Collector.Metrics.V1J\219\ETB\n\+ \\ACK\DC2\EOT\SO\NULN\SOH\n\ \\200\EOT\n\ \\SOH\f\DC2\ETX\SO\NUL\DC22\189\EOT Copyright 2019, OpenTelemetry Authors\n\ \\n\@@ -290,65 +522,125 @@ \\t\n\ \\STX\ETX\NUL\DC2\ETX\DC2\NUL6\n\ \\b\n\- \\SOH\b\DC2\ETX\DC4\NUL\"\n\+ \\SOH\b\DC2\ETX\DC4\NULE\n\ \\t\n\+ \\STX\b%\DC2\ETX\DC4\NULE\n\+ \\b\n\+ \\SOH\b\DC2\ETX\NAK\NUL\"\n\+ \\t\n\ \\STX\b\n\- \\DC2\ETX\DC4\NUL\"\n\+ \\DC2\ETX\NAK\NUL\"\n\ \\b\n\- \\SOH\b\DC2\ETX\NAK\NULD\n\+ \\SOH\b\DC2\ETX\SYN\NULD\n\ \\t\n\- \\STX\b\SOH\DC2\ETX\NAK\NULD\n\+ \\STX\b\SOH\DC2\ETX\SYN\NULD\n\ \\b\n\- \\SOH\b\DC2\ETX\SYN\NUL4\n\+ \\SOH\b\DC2\ETX\ETB\NUL4\n\ \\t\n\- \\STX\b\b\DC2\ETX\SYN\NUL4\n\+ \\STX\b\b\DC2\ETX\ETB\NUL4\n\ \\b\n\- \\SOH\b\DC2\ETX\ETB\NUL`\n\+ \\SOH\b\DC2\ETX\CAN\NULJ\n\ \\t\n\- \\STX\b\v\DC2\ETX\ETB\NUL`\n\+ \\STX\b\v\DC2\ETX\CAN\NULJ\n\ \\178\SOH\n\- \\STX\ACK\NUL\DC2\EOT\FS\NUL \SOH\SUB\165\SOH Service that can be used to push metrics between one Application\n\+ \\STX\ACK\NUL\DC2\EOT\GS\NUL!\SOH\SUB\165\SOH Service that can be used to push metrics between one Application\n\ \ instrumented with OpenTelemetry and a collector, or between a collector and a\n\ \ central collector.\n\ \\n\ \\n\ \\n\- \\ETX\ACK\NUL\SOH\DC2\ETX\FS\b\SYN\n\+ \\ETX\ACK\NUL\SOH\DC2\ETX\GS\b\SYN\n\ \y\n\- \\EOT\ACK\NUL\STX\NUL\DC2\ETX\US\STXS\SUBl For performance reasons, it is recommended to keep this RPC\n\+ \\EOT\ACK\NUL\STX\NUL\DC2\ETX \STXS\SUBl For performance reasons, it is recommended to keep this RPC\n\ \ alive for the entire life of the application.\n\ \\n\ \\f\n\- \\ENQ\ACK\NUL\STX\NUL\SOH\DC2\ETX\US\ACK\f\n\+ \\ENQ\ACK\NUL\STX\NUL\SOH\DC2\ETX \ACK\f\n\ \\f\n\- \\ENQ\ACK\NUL\STX\NUL\STX\DC2\ETX\US\r(\n\+ \\ENQ\ACK\NUL\STX\NUL\STX\DC2\ETX \r(\n\ \\f\n\- \\ENQ\ACK\NUL\STX\NUL\ETX\DC2\ETX\US3O\n\+ \\ENQ\ACK\NUL\STX\NUL\ETX\DC2\ETX 3O\n\ \\n\ \\n\- \\STX\EOT\NUL\DC2\EOT\"\NUL)\SOH\n\+ \\STX\EOT\NUL\DC2\EOT#\NUL*\SOH\n\ \\n\ \\n\- \\ETX\EOT\NUL\SOH\DC2\ETX\"\b#\n\+ \\ETX\EOT\NUL\SOH\DC2\ETX#\b#\n\ \\210\STX\n\- \\EOT\EOT\NUL\STX\NUL\DC2\ETX(\STXO\SUB\196\STX An array of ResourceMetrics.\n\+ \\EOT\EOT\NUL\STX\NUL\DC2\ETX)\STXO\SUB\196\STX An array of ResourceMetrics.\n\ \ For data coming from a single resource this array will typically contain one\n\ \ element. Intermediary nodes (such as OpenTelemetry Collector) that receive\n\ \ data from multiple origins typically batch the data before forwarding further and\n\ \ in that case this array will contain multiple elements.\n\ \\n\ \\f\n\- \\ENQ\EOT\NUL\STX\NUL\EOT\DC2\ETX(\STX\n\+ \\ENQ\EOT\NUL\STX\NUL\EOT\DC2\ETX)\STX\n\ \\n\ \\f\n\- \\ENQ\EOT\NUL\STX\NUL\ACK\DC2\ETX(\v9\n\+ \\ENQ\EOT\NUL\STX\NUL\ACK\DC2\ETX)\v9\n\ \\f\n\- \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX(:J\n\+ \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX):J\n\ \\f\n\- \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX(MN\n\+ \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX)MN\n\ \\n\ \\n\- \\STX\EOT\SOH\DC2\EOT+\NUL,\SOH\n\+ \\STX\EOT\SOH\DC2\EOT,\NUL=\SOH\n\ \\n\ \\n\- \\ETX\EOT\SOH\SOH\DC2\ETX+\b$b\ACKproto3"+ \\ETX\EOT\SOH\SOH\DC2\ETX,\b$\n\+ \\148\ACK\n\+ \\EOT\EOT\SOH\STX\NUL\DC2\ETX<\STX2\SUB\134\ACK The details of a partially successful export request.\n\+ \\n\+ \ If the request is only partially accepted\n\+ \ (i.e. when the server accepts only parts of the data and rejects the rest)\n\+ \ the server MUST initialize the `partial_success` field and MUST\n\+ \ set the `rejected_<signal>` with the number of items it rejected.\n\+ \\n\+ \ Servers MAY also make use of the `partial_success` field to convey\n\+ \ warnings/suggestions to senders even when the request was fully accepted.\n\+ \ In such cases, the `rejected_<signal>` MUST have a value of `0` and\n\+ \ the `error_message` MUST be non-empty.\n\+ \\n\+ \ A `partial_success` message with an empty value (rejected_<signal> = 0 and\n\+ \ `error_message` = \"\") is equivalent to it not being set/present. Senders\n\+ \ SHOULD interpret it the same way as in the full success case.\n\+ \\n\+ \\f\n\+ \\ENQ\EOT\SOH\STX\NUL\ACK\DC2\ETX<\STX\GS\n\+ \\f\n\+ \\ENQ\EOT\SOH\STX\NUL\SOH\DC2\ETX<\RS-\n\+ \\f\n\+ \\ENQ\EOT\SOH\STX\NUL\ETX\DC2\ETX<01\n\+ \\n\+ \\n\+ \\STX\EOT\STX\DC2\EOT?\NULN\SOH\n\+ \\n\+ \\n\+ \\ETX\EOT\STX\SOH\DC2\ETX?\b#\n\+ \\149\SOH\n\+ \\EOT\EOT\STX\STX\NUL\DC2\ETXD\STX!\SUB\135\SOH The number of rejected data points.\n\+ \\n\+ \ A `rejected_<signal>` field holding a `0` value indicates that the\n\+ \ request was fully accepted.\n\+ \\n\+ \\f\n\+ \\ENQ\EOT\STX\STX\NUL\ENQ\DC2\ETXD\STX\a\n\+ \\f\n\+ \\ENQ\EOT\STX\STX\NUL\SOH\DC2\ETXD\b\FS\n\+ \\f\n\+ \\ENQ\EOT\STX\STX\NUL\ETX\DC2\ETXD\US \n\+ \\159\ETX\n\+ \\EOT\EOT\STX\STX\SOH\DC2\ETXM\STX\ESC\SUB\145\ETX A developer-facing human-readable message in English. It should be used\n\+ \ either to explain why the server rejected parts of the data during a partial\n\+ \ success or to convey warnings/suggestions during a full success. The message\n\+ \ should offer guidance on how users can address such issues.\n\+ \\n\+ \ error_message is an optional field. An error_message with an empty value\n\+ \ is equivalent to it not being set.\n\+ \\n\+ \\f\n\+ \\ENQ\EOT\STX\STX\SOH\ENQ\DC2\ETXM\STX\b\n\+ \\f\n\+ \\ENQ\EOT\STX\STX\SOH\SOH\DC2\ETXM\t\SYN\n\+ \\f\n\+ \\ENQ\EOT\STX\STX\SOH\ETX\DC2\ETXM\EM\SUBb\ACKproto3"
src/Proto/Opentelemetry/Proto/Collector/Metrics/V1/MetricsService_Fields.hs view
@@ -1,3 +1,4 @@+{- HLINT ignore -} {- This file was auto-generated from opentelemetry/proto/collector/metrics/v1/metrics_service.proto by the proto-lens-protoc program. -} {-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-} {-# OPTIONS_GHC -Wno-unused-imports#-}@@ -28,6 +29,32 @@ import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read import qualified Proto.Opentelemetry.Proto.Metrics.V1.Metrics+errorMessage ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "errorMessage" a) =>+ Lens.Family2.LensLike' f s a+errorMessage = Data.ProtoLens.Field.field @"errorMessage"+maybe'partialSuccess ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "maybe'partialSuccess" a) =>+ Lens.Family2.LensLike' f s a+maybe'partialSuccess+ = Data.ProtoLens.Field.field @"maybe'partialSuccess"+partialSuccess ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "partialSuccess" a) =>+ Lens.Family2.LensLike' f s a+partialSuccess = Data.ProtoLens.Field.field @"partialSuccess"+rejectedDataPoints ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "rejectedDataPoints" a) =>+ Lens.Family2.LensLike' f s a+rejectedDataPoints+ = Data.ProtoLens.Field.field @"rejectedDataPoints" resourceMetrics :: forall f s a. (Prelude.Functor f,
src/Proto/Opentelemetry/Proto/Collector/Trace/V1/TraceService.hs view
@@ -1,11 +1,12 @@+{- HLINT ignore -} {- This file was auto-generated from opentelemetry/proto/collector/trace/v1/trace_service.proto by the proto-lens-protoc program. -} {-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-} {-# OPTIONS_GHC -Wno-unused-imports#-} {-# OPTIONS_GHC -Wno-duplicate-exports#-} {-# OPTIONS_GHC -Wno-dodgy-exports#-} module Proto.Opentelemetry.Proto.Collector.Trace.V1.TraceService (- TraceService(..), ExportTraceServiceRequest(),- ExportTraceServiceResponse()+ TraceService(..), ExportTracePartialSuccess(),+ ExportTraceServiceRequest(), ExportTraceServiceResponse() ) where import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism@@ -35,6 +36,172 @@ import qualified Proto.Opentelemetry.Proto.Trace.V1.Trace {- | Fields : + * 'Proto.Opentelemetry.Proto.Collector.Trace.V1.TraceService_Fields.rejectedSpans' @:: Lens' ExportTracePartialSuccess Data.Int.Int64@+ * 'Proto.Opentelemetry.Proto.Collector.Trace.V1.TraceService_Fields.errorMessage' @:: Lens' ExportTracePartialSuccess Data.Text.Text@ -}+data ExportTracePartialSuccess+ = ExportTracePartialSuccess'_constructor {_ExportTracePartialSuccess'rejectedSpans :: !Data.Int.Int64,+ _ExportTracePartialSuccess'errorMessage :: !Data.Text.Text,+ _ExportTracePartialSuccess'_unknownFields :: !Data.ProtoLens.FieldSet}+ deriving stock (Prelude.Eq, Prelude.Ord)+instance Prelude.Show ExportTracePartialSuccess where+ showsPrec _ __x __s+ = Prelude.showChar+ '{'+ (Prelude.showString+ (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))+instance Data.ProtoLens.Field.HasField ExportTracePartialSuccess "rejectedSpans" Data.Int.Int64 where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ExportTracePartialSuccess'rejectedSpans+ (\ x__ y__+ -> x__ {_ExportTracePartialSuccess'rejectedSpans = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField ExportTracePartialSuccess "errorMessage" Data.Text.Text where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ExportTracePartialSuccess'errorMessage+ (\ x__ y__ -> x__ {_ExportTracePartialSuccess'errorMessage = y__}))+ Prelude.id+instance Data.ProtoLens.Message ExportTracePartialSuccess where+ messageName _+ = Data.Text.pack+ "opentelemetry.proto.collector.trace.v1.ExportTracePartialSuccess"+ packedMessageDescriptor _+ = "\n\+ \\EMExportTracePartialSuccess\DC2%\n\+ \\SOrejected_spans\CAN\SOH \SOH(\ETXR\rrejectedSpans\DC2#\n\+ \\rerror_message\CAN\STX \SOH(\tR\ferrorMessage"+ packedFileDescriptor _ = packedFileDescriptor+ fieldsByTag+ = let+ rejectedSpans__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "rejected_spans"+ (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::+ Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional+ (Data.ProtoLens.Field.field @"rejectedSpans")) ::+ Data.ProtoLens.FieldDescriptor ExportTracePartialSuccess+ errorMessage__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "error_message"+ (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::+ Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional+ (Data.ProtoLens.Field.field @"errorMessage")) ::+ Data.ProtoLens.FieldDescriptor ExportTracePartialSuccess+ in+ Data.Map.fromList+ [(Data.ProtoLens.Tag 1, rejectedSpans__field_descriptor),+ (Data.ProtoLens.Tag 2, errorMessage__field_descriptor)]+ unknownFields+ = Lens.Family2.Unchecked.lens+ _ExportTracePartialSuccess'_unknownFields+ (\ x__ y__+ -> x__ {_ExportTracePartialSuccess'_unknownFields = y__})+ defMessage+ = ExportTracePartialSuccess'_constructor+ {_ExportTracePartialSuccess'rejectedSpans = Data.ProtoLens.fieldDefault,+ _ExportTracePartialSuccess'errorMessage = Data.ProtoLens.fieldDefault,+ _ExportTracePartialSuccess'_unknownFields = []}+ parseMessage+ = let+ loop ::+ ExportTracePartialSuccess+ -> Data.ProtoLens.Encoding.Bytes.Parser ExportTracePartialSuccess+ loop x+ = do end <- Data.ProtoLens.Encoding.Bytes.atEnd+ if end then+ do (let missing = []+ in+ if Prelude.null missing then+ Prelude.return ()+ else+ Prelude.fail+ ((Prelude.++)+ "Missing required fields: "+ (Prelude.show (missing :: [Prelude.String]))))+ Prelude.return+ (Lens.Family2.over+ Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)+ else+ do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt+ case tag of+ 8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (Prelude.fmap+ Prelude.fromIntegral+ Data.ProtoLens.Encoding.Bytes.getVarInt)+ "rejected_spans"+ loop+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"rejectedSpans") y x)+ 18+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.getText+ (Prelude.fromIntegral len))+ "error_message"+ loop+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"errorMessage") y x)+ wire+ -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire+ wire+ loop+ (Lens.Family2.over+ Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)+ in+ (Data.ProtoLens.Encoding.Bytes.<?>)+ (do loop Data.ProtoLens.defMessage) "ExportTracePartialSuccess"+ buildMessage+ = \ _x+ -> (Data.Monoid.<>)+ (let+ _v+ = Lens.Family2.view+ (Data.ProtoLens.Field.field @"rejectedSpans") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 8)+ ((Prelude..)+ Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))+ ((Data.Monoid.<>)+ (let+ _v+ = Lens.Family2.view (Data.ProtoLens.Field.field @"errorMessage") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 18)+ ((Prelude..)+ (\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ Data.Text.Encoding.encodeUtf8 _v))+ (Data.ProtoLens.Encoding.Wire.buildFieldSet+ (Lens.Family2.view Data.ProtoLens.unknownFields _x)))+instance Control.DeepSeq.NFData ExportTracePartialSuccess where+ rnf+ = \ x__+ -> Control.DeepSeq.deepseq+ (_ExportTracePartialSuccess'_unknownFields x__)+ (Control.DeepSeq.deepseq+ (_ExportTracePartialSuccess'rejectedSpans x__)+ (Control.DeepSeq.deepseq+ (_ExportTracePartialSuccess'errorMessage x__) ()))+{- | Fields :+ * 'Proto.Opentelemetry.Proto.Collector.Trace.V1.TraceService_Fields.resourceSpans' @:: Lens' ExportTraceServiceRequest [Proto.Opentelemetry.Proto.Trace.V1.Trace.ResourceSpans]@ * 'Proto.Opentelemetry.Proto.Collector.Trace.V1.TraceService_Fields.vec'resourceSpans' @:: Lens' ExportTraceServiceRequest (Data.Vector.Vector Proto.Opentelemetry.Proto.Trace.V1.Trace.ResourceSpans)@ -} data ExportTraceServiceRequest@@ -177,9 +344,12 @@ (Control.DeepSeq.deepseq (_ExportTraceServiceRequest'resourceSpans x__) ()) {- | Fields :- -}+ + * 'Proto.Opentelemetry.Proto.Collector.Trace.V1.TraceService_Fields.partialSuccess' @:: Lens' ExportTraceServiceResponse ExportTracePartialSuccess@+ * 'Proto.Opentelemetry.Proto.Collector.Trace.V1.TraceService_Fields.maybe'partialSuccess' @:: Lens' ExportTraceServiceResponse (Prelude.Maybe ExportTracePartialSuccess)@ -} data ExportTraceServiceResponse- = ExportTraceServiceResponse'_constructor {_ExportTraceServiceResponse'_unknownFields :: !Data.ProtoLens.FieldSet}+ = ExportTraceServiceResponse'_constructor {_ExportTraceServiceResponse'partialSuccess :: !(Prelude.Maybe ExportTracePartialSuccess),+ _ExportTraceServiceResponse'_unknownFields :: !Data.ProtoLens.FieldSet} deriving stock (Prelude.Eq, Prelude.Ord) instance Prelude.Show ExportTraceServiceResponse where showsPrec _ __x __s@@ -187,15 +357,44 @@ '{' (Prelude.showString (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))+instance Data.ProtoLens.Field.HasField ExportTraceServiceResponse "partialSuccess" ExportTracePartialSuccess where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ExportTraceServiceResponse'partialSuccess+ (\ x__ y__+ -> x__ {_ExportTraceServiceResponse'partialSuccess = y__}))+ (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)+instance Data.ProtoLens.Field.HasField ExportTraceServiceResponse "maybe'partialSuccess" (Prelude.Maybe ExportTracePartialSuccess) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ExportTraceServiceResponse'partialSuccess+ (\ x__ y__+ -> x__ {_ExportTraceServiceResponse'partialSuccess = y__}))+ Prelude.id instance Data.ProtoLens.Message ExportTraceServiceResponse where messageName _ = Data.Text.pack "opentelemetry.proto.collector.trace.v1.ExportTraceServiceResponse" packedMessageDescriptor _ = "\n\- \\SUBExportTraceServiceResponse"+ \\SUBExportTraceServiceResponse\DC2j\n\+ \\SIpartial_success\CAN\SOH \SOH(\v2A.opentelemetry.proto.collector.trace.v1.ExportTracePartialSuccessR\SOpartialSuccess" packedFileDescriptor _ = packedFileDescriptor- fieldsByTag = let in Data.Map.fromList []+ fieldsByTag+ = let+ partialSuccess__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "partial_success"+ (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::+ Data.ProtoLens.FieldTypeDescriptor ExportTracePartialSuccess)+ (Data.ProtoLens.OptionalField+ (Data.ProtoLens.Field.field @"maybe'partialSuccess")) ::+ Data.ProtoLens.FieldDescriptor ExportTraceServiceResponse+ in+ Data.Map.fromList+ [(Data.ProtoLens.Tag 1, partialSuccess__field_descriptor)] unknownFields = Lens.Family2.Unchecked.lens _ExportTraceServiceResponse'_unknownFields@@ -203,7 +402,8 @@ -> x__ {_ExportTraceServiceResponse'_unknownFields = y__}) defMessage = ExportTraceServiceResponse'_constructor- {_ExportTraceServiceResponse'_unknownFields = []}+ {_ExportTraceServiceResponse'partialSuccess = Prelude.Nothing,+ _ExportTraceServiceResponse'_unknownFields = []} parseMessage = let loop ::@@ -226,25 +426,52 @@ Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x) else do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt- case tag of {+ case tag of+ 10+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.isolate+ (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)+ "partial_success"+ loop+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"partialSuccess") y x) wire -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire wire loop (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) }+ Data.ProtoLens.unknownFields (\ !t -> (:) y t) x) in (Data.ProtoLens.Encoding.Bytes.<?>) (do loop Data.ProtoLens.defMessage) "ExportTraceServiceResponse" buildMessage = \ _x- -> Data.ProtoLens.Encoding.Wire.buildFieldSet- (Lens.Family2.view Data.ProtoLens.unknownFields _x)+ -> (Data.Monoid.<>)+ (case+ Lens.Family2.view+ (Data.ProtoLens.Field.field @"maybe'partialSuccess") _x+ of+ Prelude.Nothing -> Data.Monoid.mempty+ (Prelude.Just _v)+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 10)+ ((Prelude..)+ (\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ Data.ProtoLens.encodeMessage _v))+ (Data.ProtoLens.Encoding.Wire.buildFieldSet+ (Lens.Family2.view Data.ProtoLens.unknownFields _x)) instance Control.DeepSeq.NFData ExportTraceServiceResponse where rnf = \ x__ -> Control.DeepSeq.deepseq- (_ExportTraceServiceResponse'_unknownFields x__) ()+ (_ExportTraceServiceResponse'_unknownFields x__)+ (Control.DeepSeq.deepseq+ (_ExportTraceServiceResponse'partialSuccess x__) ()) data TraceService = TraceService {} instance Data.ProtoLens.Service.Types.Service TraceService where type ServiceName TraceService = "TraceService"@@ -264,12 +491,16 @@ = "\n\ \:opentelemetry/proto/collector/trace/v1/trace_service.proto\DC2&opentelemetry.proto.collector.trace.v1\SUB(opentelemetry/proto/trace/v1/trace.proto\"o\n\ \\EMExportTraceServiceRequest\DC2R\n\- \\SOresource_spans\CAN\SOH \ETX(\v2+.opentelemetry.proto.trace.v1.ResourceSpansR\rresourceSpans\"\FS\n\- \\SUBExportTraceServiceResponse2\162\SOH\n\+ \\SOresource_spans\CAN\SOH \ETX(\v2+.opentelemetry.proto.trace.v1.ResourceSpansR\rresourceSpans\"\136\SOH\n\+ \\SUBExportTraceServiceResponse\DC2j\n\+ \\SIpartial_success\CAN\SOH \SOH(\v2A.opentelemetry.proto.collector.trace.v1.ExportTracePartialSuccessR\SOpartialSuccess\"g\n\+ \\EMExportTracePartialSuccess\DC2%\n\+ \\SOrejected_spans\CAN\SOH \SOH(\ETXR\rrejectedSpans\DC2#\n\+ \\rerror_message\CAN\STX \SOH(\tR\ferrorMessage2\162\SOH\n\ \\fTraceService\DC2\145\SOH\n\- \\ACKExport\DC2A.opentelemetry.proto.collector.trace.v1.ExportTraceServiceRequest\SUBB.opentelemetry.proto.collector.trace.v1.ExportTraceServiceResponse\"\NULB\137\SOH\n\- \)io.opentelemetry.proto.collector.trace.v1B\DC1TraceServiceProtoP\SOHZGgithub.com/open-telemetry/opentelemetry-proto/gen/go/collector/trace/v1J\160\f\n\- \\ACK\DC2\EOT\SO\NUL,\SOH\n\+ \\ACKExport\DC2A.opentelemetry.proto.collector.trace.v1.ExportTraceServiceRequest\SUBB.opentelemetry.proto.collector.trace.v1.ExportTraceServiceResponse\"\NULB\156\SOH\n\+ \)io.opentelemetry.proto.collector.trace.v1B\DC1TraceServiceProtoP\SOHZ1go.opentelemetry.io/proto/otlp/collector/trace/v1\170\STX&OpenTelemetry.Proto.Collector.Trace.V1J\150\CAN\n\+ \\ACK\DC2\EOT\SO\NULN\SOH\n\ \\200\EOT\n\ \\SOH\f\DC2\ETX\SO\NUL\DC22\189\EOT Copyright 2019, OpenTelemetry Authors\n\ \\n\@@ -290,65 +521,125 @@ \\t\n\ \\STX\ETX\NUL\DC2\ETX\DC2\NUL2\n\ \\b\n\- \\SOH\b\DC2\ETX\DC4\NUL\"\n\+ \\SOH\b\DC2\ETX\DC4\NULC\n\ \\t\n\+ \\STX\b%\DC2\ETX\DC4\NULC\n\+ \\b\n\+ \\SOH\b\DC2\ETX\NAK\NUL\"\n\+ \\t\n\ \\STX\b\n\- \\DC2\ETX\DC4\NUL\"\n\+ \\DC2\ETX\NAK\NUL\"\n\ \\b\n\- \\SOH\b\DC2\ETX\NAK\NULB\n\+ \\SOH\b\DC2\ETX\SYN\NULB\n\ \\t\n\- \\STX\b\SOH\DC2\ETX\NAK\NULB\n\+ \\STX\b\SOH\DC2\ETX\SYN\NULB\n\ \\b\n\- \\SOH\b\DC2\ETX\SYN\NUL2\n\+ \\SOH\b\DC2\ETX\ETB\NUL2\n\ \\t\n\- \\STX\b\b\DC2\ETX\SYN\NUL2\n\+ \\STX\b\b\DC2\ETX\ETB\NUL2\n\ \\b\n\- \\SOH\b\DC2\ETX\ETB\NUL^\n\+ \\SOH\b\DC2\ETX\CAN\NULH\n\ \\t\n\- \\STX\b\v\DC2\ETX\ETB\NUL^\n\+ \\STX\b\v\DC2\ETX\CAN\NULH\n\ \\245\SOH\n\- \\STX\ACK\NUL\DC2\EOT\FS\NUL \SOH\SUB\232\SOH Service that can be used to push spans between one Application instrumented with\n\+ \\STX\ACK\NUL\DC2\EOT\GS\NUL!\SOH\SUB\232\SOH Service that can be used to push spans between one Application instrumented with\n\ \ OpenTelemetry and a collector, or between a collector and a central collector (in this\n\ \ case spans are sent/received to/from multiple Applications).\n\ \\n\ \\n\ \\n\- \\ETX\ACK\NUL\SOH\DC2\ETX\FS\b\DC4\n\+ \\ETX\ACK\NUL\SOH\DC2\ETX\GS\b\DC4\n\ \y\n\- \\EOT\ACK\NUL\STX\NUL\DC2\ETX\US\STXO\SUBl For performance reasons, it is recommended to keep this RPC\n\+ \\EOT\ACK\NUL\STX\NUL\DC2\ETX \STXO\SUBl For performance reasons, it is recommended to keep this RPC\n\ \ alive for the entire life of the application.\n\ \\n\ \\f\n\- \\ENQ\ACK\NUL\STX\NUL\SOH\DC2\ETX\US\ACK\f\n\+ \\ENQ\ACK\NUL\STX\NUL\SOH\DC2\ETX \ACK\f\n\ \\f\n\- \\ENQ\ACK\NUL\STX\NUL\STX\DC2\ETX\US\r&\n\+ \\ENQ\ACK\NUL\STX\NUL\STX\DC2\ETX \r&\n\ \\f\n\- \\ENQ\ACK\NUL\STX\NUL\ETX\DC2\ETX\US1K\n\+ \\ENQ\ACK\NUL\STX\NUL\ETX\DC2\ETX 1K\n\ \\n\ \\n\- \\STX\EOT\NUL\DC2\EOT\"\NUL)\SOH\n\+ \\STX\EOT\NUL\DC2\EOT#\NUL*\SOH\n\ \\n\ \\n\- \\ETX\EOT\NUL\SOH\DC2\ETX\"\b!\n\+ \\ETX\EOT\NUL\SOH\DC2\ETX#\b!\n\ \\208\STX\n\- \\EOT\EOT\NUL\STX\NUL\DC2\ETX(\STXI\SUB\194\STX An array of ResourceSpans.\n\+ \\EOT\EOT\NUL\STX\NUL\DC2\ETX)\STXI\SUB\194\STX An array of ResourceSpans.\n\ \ For data coming from a single resource this array will typically contain one\n\ \ element. Intermediary nodes (such as OpenTelemetry Collector) that receive\n\ \ data from multiple origins typically batch the data before forwarding further and\n\ \ in that case this array will contain multiple elements.\n\ \\n\ \\f\n\- \\ENQ\EOT\NUL\STX\NUL\EOT\DC2\ETX(\STX\n\+ \\ENQ\EOT\NUL\STX\NUL\EOT\DC2\ETX)\STX\n\ \\n\ \\f\n\- \\ENQ\EOT\NUL\STX\NUL\ACK\DC2\ETX(\v5\n\+ \\ENQ\EOT\NUL\STX\NUL\ACK\DC2\ETX)\v5\n\ \\f\n\- \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX(6D\n\+ \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX)6D\n\ \\f\n\- \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX(GH\n\+ \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX)GH\n\ \\n\ \\n\- \\STX\EOT\SOH\DC2\EOT+\NUL,\SOH\n\+ \\STX\EOT\SOH\DC2\EOT,\NUL=\SOH\n\ \\n\ \\n\- \\ETX\EOT\SOH\SOH\DC2\ETX+\b\"b\ACKproto3"+ \\ETX\EOT\SOH\SOH\DC2\ETX,\b\"\n\+ \\148\ACK\n\+ \\EOT\EOT\SOH\STX\NUL\DC2\ETX<\STX0\SUB\134\ACK The details of a partially successful export request.\n\+ \\n\+ \ If the request is only partially accepted\n\+ \ (i.e. when the server accepts only parts of the data and rejects the rest)\n\+ \ the server MUST initialize the `partial_success` field and MUST\n\+ \ set the `rejected_<signal>` with the number of items it rejected.\n\+ \\n\+ \ Servers MAY also make use of the `partial_success` field to convey\n\+ \ warnings/suggestions to senders even when the request was fully accepted.\n\+ \ In such cases, the `rejected_<signal>` MUST have a value of `0` and\n\+ \ the `error_message` MUST be non-empty.\n\+ \\n\+ \ A `partial_success` message with an empty value (rejected_<signal> = 0 and\n\+ \ `error_message` = \"\") is equivalent to it not being set/present. Senders\n\+ \ SHOULD interpret it the same way as in the full success case.\n\+ \\n\+ \\f\n\+ \\ENQ\EOT\SOH\STX\NUL\ACK\DC2\ETX<\STX\ESC\n\+ \\f\n\+ \\ENQ\EOT\SOH\STX\NUL\SOH\DC2\ETX<\FS+\n\+ \\f\n\+ \\ENQ\EOT\SOH\STX\NUL\ETX\DC2\ETX<./\n\+ \\n\+ \\n\+ \\STX\EOT\STX\DC2\EOT?\NULN\SOH\n\+ \\n\+ \\n\+ \\ETX\EOT\STX\SOH\DC2\ETX?\b!\n\+ \\143\SOH\n\+ \\EOT\EOT\STX\STX\NUL\DC2\ETXD\STX\ESC\SUB\129\SOH The number of rejected spans.\n\+ \\n\+ \ A `rejected_<signal>` field holding a `0` value indicates that the\n\+ \ request was fully accepted.\n\+ \\n\+ \\f\n\+ \\ENQ\EOT\STX\STX\NUL\ENQ\DC2\ETXD\STX\a\n\+ \\f\n\+ \\ENQ\EOT\STX\STX\NUL\SOH\DC2\ETXD\b\SYN\n\+ \\f\n\+ \\ENQ\EOT\STX\STX\NUL\ETX\DC2\ETXD\EM\SUB\n\+ \\159\ETX\n\+ \\EOT\EOT\STX\STX\SOH\DC2\ETXM\STX\ESC\SUB\145\ETX A developer-facing human-readable message in English. It should be used\n\+ \ either to explain why the server rejected parts of the data during a partial\n\+ \ success or to convey warnings/suggestions during a full success. The message\n\+ \ should offer guidance on how users can address such issues.\n\+ \\n\+ \ error_message is an optional field. An error_message with an empty value\n\+ \ is equivalent to it not being set.\n\+ \\n\+ \\f\n\+ \\ENQ\EOT\STX\STX\SOH\ENQ\DC2\ETXM\STX\b\n\+ \\f\n\+ \\ENQ\EOT\STX\STX\SOH\SOH\DC2\ETXM\t\SYN\n\+ \\f\n\+ \\ENQ\EOT\STX\STX\SOH\ETX\DC2\ETXM\EM\SUBb\ACKproto3"
src/Proto/Opentelemetry/Proto/Collector/Trace/V1/TraceService_Fields.hs view
@@ -1,3 +1,4 @@+{- HLINT ignore -} {- This file was auto-generated from opentelemetry/proto/collector/trace/v1/trace_service.proto by the proto-lens-protoc program. -} {-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-} {-# OPTIONS_GHC -Wno-unused-imports#-}@@ -28,6 +29,31 @@ import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read import qualified Proto.Opentelemetry.Proto.Trace.V1.Trace+errorMessage ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "errorMessage" a) =>+ Lens.Family2.LensLike' f s a+errorMessage = Data.ProtoLens.Field.field @"errorMessage"+maybe'partialSuccess ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "maybe'partialSuccess" a) =>+ Lens.Family2.LensLike' f s a+maybe'partialSuccess+ = Data.ProtoLens.Field.field @"maybe'partialSuccess"+partialSuccess ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "partialSuccess" a) =>+ Lens.Family2.LensLike' f s a+partialSuccess = Data.ProtoLens.Field.field @"partialSuccess"+rejectedSpans ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "rejectedSpans" a) =>+ Lens.Family2.LensLike' f s a+rejectedSpans = Data.ProtoLens.Field.field @"rejectedSpans" resourceSpans :: forall f s a. (Prelude.Functor f,
src/Proto/Opentelemetry/Proto/Common/V1/Common.hs view
@@ -1,3 +1,4 @@+{- HLINT ignore -} {- This file was auto-generated from opentelemetry/proto/common/v1/common.proto by the proto-lens-protoc program. -} {-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-} {-# OPTIONS_GHC -Wno-unused-imports#-}@@ -7,8 +8,7 @@ AnyValue(), AnyValue'Value(..), _AnyValue'StringValue, _AnyValue'BoolValue, _AnyValue'IntValue, _AnyValue'DoubleValue, _AnyValue'ArrayValue, _AnyValue'KvlistValue, _AnyValue'BytesValue,- ArrayValue(), InstrumentationLibrary(), KeyValue(), KeyValueList(),- StringKeyValue()+ ArrayValue(), InstrumentationScope(), KeyValue(), KeyValueList() ) where import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism@@ -360,14 +360,9 @@ case tag of 10 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do value <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.getBytes- (Prelude.fromIntegral len)- Data.ProtoLens.Encoding.Bytes.runEither- (case Data.Text.Encoding.decodeUtf8' value of- (Prelude.Left err)- -> Prelude.Left (Prelude.show err)- (Prelude.Right r) -> Prelude.Right r))+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.getText+ (Prelude.fromIntegral len)) "string_value" loop (Lens.Family2.set (Data.ProtoLens.Field.field @"stringValue") y x)@@ -704,42 +699,75 @@ (Control.DeepSeq.deepseq (_ArrayValue'values x__) ()) {- | Fields : - * 'Proto.Opentelemetry.Proto.Common.V1.Common_Fields.name' @:: Lens' InstrumentationLibrary Data.Text.Text@- * 'Proto.Opentelemetry.Proto.Common.V1.Common_Fields.version' @:: Lens' InstrumentationLibrary Data.Text.Text@ -}-data InstrumentationLibrary- = InstrumentationLibrary'_constructor {_InstrumentationLibrary'name :: !Data.Text.Text,- _InstrumentationLibrary'version :: !Data.Text.Text,- _InstrumentationLibrary'_unknownFields :: !Data.ProtoLens.FieldSet}+ * 'Proto.Opentelemetry.Proto.Common.V1.Common_Fields.name' @:: Lens' InstrumentationScope Data.Text.Text@+ * 'Proto.Opentelemetry.Proto.Common.V1.Common_Fields.version' @:: Lens' InstrumentationScope Data.Text.Text@+ * 'Proto.Opentelemetry.Proto.Common.V1.Common_Fields.attributes' @:: Lens' InstrumentationScope [KeyValue]@+ * 'Proto.Opentelemetry.Proto.Common.V1.Common_Fields.vec'attributes' @:: Lens' InstrumentationScope (Data.Vector.Vector KeyValue)@+ * 'Proto.Opentelemetry.Proto.Common.V1.Common_Fields.droppedAttributesCount' @:: Lens' InstrumentationScope Data.Word.Word32@ -}+data InstrumentationScope+ = InstrumentationScope'_constructor {_InstrumentationScope'name :: !Data.Text.Text,+ _InstrumentationScope'version :: !Data.Text.Text,+ _InstrumentationScope'attributes :: !(Data.Vector.Vector KeyValue),+ _InstrumentationScope'droppedAttributesCount :: !Data.Word.Word32,+ _InstrumentationScope'_unknownFields :: !Data.ProtoLens.FieldSet} deriving stock (Prelude.Eq, Prelude.Ord)-instance Prelude.Show InstrumentationLibrary where+instance Prelude.Show InstrumentationScope where showsPrec _ __x __s = Prelude.showChar '{' (Prelude.showString (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))-instance Data.ProtoLens.Field.HasField InstrumentationLibrary "name" Data.Text.Text where+instance Data.ProtoLens.Field.HasField InstrumentationScope "name" Data.Text.Text where fieldOf _ = (Prelude..) (Lens.Family2.Unchecked.lens- _InstrumentationLibrary'name- (\ x__ y__ -> x__ {_InstrumentationLibrary'name = y__}))+ _InstrumentationScope'name+ (\ x__ y__ -> x__ {_InstrumentationScope'name = y__})) Prelude.id-instance Data.ProtoLens.Field.HasField InstrumentationLibrary "version" Data.Text.Text where+instance Data.ProtoLens.Field.HasField InstrumentationScope "version" Data.Text.Text where fieldOf _ = (Prelude..) (Lens.Family2.Unchecked.lens- _InstrumentationLibrary'version- (\ x__ y__ -> x__ {_InstrumentationLibrary'version = y__}))+ _InstrumentationScope'version+ (\ x__ y__ -> x__ {_InstrumentationScope'version = y__})) Prelude.id-instance Data.ProtoLens.Message InstrumentationLibrary where+instance Data.ProtoLens.Field.HasField InstrumentationScope "attributes" [KeyValue] where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _InstrumentationScope'attributes+ (\ x__ y__ -> x__ {_InstrumentationScope'attributes = y__}))+ (Lens.Family2.Unchecked.lens+ Data.Vector.Generic.toList+ (\ _ y__ -> Data.Vector.Generic.fromList y__))+instance Data.ProtoLens.Field.HasField InstrumentationScope "vec'attributes" (Data.Vector.Vector KeyValue) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _InstrumentationScope'attributes+ (\ x__ y__ -> x__ {_InstrumentationScope'attributes = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField InstrumentationScope "droppedAttributesCount" Data.Word.Word32 where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _InstrumentationScope'droppedAttributesCount+ (\ x__ y__+ -> x__ {_InstrumentationScope'droppedAttributesCount = y__}))+ Prelude.id+instance Data.ProtoLens.Message InstrumentationScope where messageName _ = Data.Text.pack- "opentelemetry.proto.common.v1.InstrumentationLibrary"+ "opentelemetry.proto.common.v1.InstrumentationScope" packedMessageDescriptor _ = "\n\- \\SYNInstrumentationLibrary\DC2\DC2\n\+ \\DC4InstrumentationScope\DC2\DC2\n\ \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC2\CAN\n\- \\aversion\CAN\STX \SOH(\tR\aversion"+ \\aversion\CAN\STX \SOH(\tR\aversion\DC2G\n\+ \\n\+ \attributes\CAN\ETX \ETX(\v2'.opentelemetry.proto.common.v1.KeyValueR\n\+ \attributes\DC28\n\+ \\CANdropped_attributes_count\CAN\EOT \SOH(\rR\SYNdroppedAttributesCount" packedFileDescriptor _ = packedFileDescriptor fieldsByTag = let@@ -750,7 +778,7 @@ Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) (Data.ProtoLens.PlainField Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"name")) ::- Data.ProtoLens.FieldDescriptor InstrumentationLibrary+ Data.ProtoLens.FieldDescriptor InstrumentationScope version__field_descriptor = Data.ProtoLens.FieldDescriptor "version"@@ -758,29 +786,55 @@ Data.ProtoLens.FieldTypeDescriptor Data.Text.Text) (Data.ProtoLens.PlainField Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"version")) ::- Data.ProtoLens.FieldDescriptor InstrumentationLibrary+ Data.ProtoLens.FieldDescriptor InstrumentationScope+ attributes__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "attributes"+ (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::+ Data.ProtoLens.FieldTypeDescriptor KeyValue)+ (Data.ProtoLens.RepeatedField+ Data.ProtoLens.Unpacked+ (Data.ProtoLens.Field.field @"attributes")) ::+ Data.ProtoLens.FieldDescriptor InstrumentationScope+ droppedAttributesCount__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "dropped_attributes_count"+ (Data.ProtoLens.ScalarField Data.ProtoLens.UInt32Field ::+ Data.ProtoLens.FieldTypeDescriptor Data.Word.Word32)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional+ (Data.ProtoLens.Field.field @"droppedAttributesCount")) ::+ Data.ProtoLens.FieldDescriptor InstrumentationScope in Data.Map.fromList [(Data.ProtoLens.Tag 1, name__field_descriptor),- (Data.ProtoLens.Tag 2, version__field_descriptor)]+ (Data.ProtoLens.Tag 2, version__field_descriptor),+ (Data.ProtoLens.Tag 3, attributes__field_descriptor),+ (Data.ProtoLens.Tag 4, droppedAttributesCount__field_descriptor)] unknownFields = Lens.Family2.Unchecked.lens- _InstrumentationLibrary'_unknownFields- (\ x__ y__ -> x__ {_InstrumentationLibrary'_unknownFields = y__})+ _InstrumentationScope'_unknownFields+ (\ x__ y__ -> x__ {_InstrumentationScope'_unknownFields = y__}) defMessage- = InstrumentationLibrary'_constructor- {_InstrumentationLibrary'name = Data.ProtoLens.fieldDefault,- _InstrumentationLibrary'version = Data.ProtoLens.fieldDefault,- _InstrumentationLibrary'_unknownFields = []}+ = InstrumentationScope'_constructor+ {_InstrumentationScope'name = Data.ProtoLens.fieldDefault,+ _InstrumentationScope'version = Data.ProtoLens.fieldDefault,+ _InstrumentationScope'attributes = Data.Vector.Generic.empty,+ _InstrumentationScope'droppedAttributesCount = Data.ProtoLens.fieldDefault,+ _InstrumentationScope'_unknownFields = []} parseMessage = let loop ::- InstrumentationLibrary- -> Data.ProtoLens.Encoding.Bytes.Parser InstrumentationLibrary- loop x+ InstrumentationScope+ -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld KeyValue+ -> Data.ProtoLens.Encoding.Bytes.Parser InstrumentationScope+ loop x mutable'attributes = do end <- Data.ProtoLens.Encoding.Bytes.atEnd if end then- do (let missing = []+ do frozen'attributes <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.unsafeFreeze+ mutable'attributes)+ (let missing = [] in if Prelude.null missing then Prelude.return ()@@ -791,43 +845,64 @@ (Prelude.show (missing :: [Prelude.String])))) Prelude.return (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)+ Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"vec'attributes") frozen'attributes+ x)) else do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt case tag of 10 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do value <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.getBytes- (Prelude.fromIntegral len)- Data.ProtoLens.Encoding.Bytes.runEither- (case Data.Text.Encoding.decodeUtf8' value of- (Prelude.Left err)- -> Prelude.Left (Prelude.show err)- (Prelude.Right r) -> Prelude.Right r))+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.getText+ (Prelude.fromIntegral len)) "name"- loop (Lens.Family2.set (Data.ProtoLens.Field.field @"name") y x)+ loop+ (Lens.Family2.set (Data.ProtoLens.Field.field @"name") y x)+ mutable'attributes 18 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do value <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.getBytes- (Prelude.fromIntegral len)- Data.ProtoLens.Encoding.Bytes.runEither- (case Data.Text.Encoding.decodeUtf8' value of- (Prelude.Left err)- -> Prelude.Left (Prelude.show err)- (Prelude.Right r) -> Prelude.Right r))+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.getText+ (Prelude.fromIntegral len)) "version"- loop (Lens.Family2.set (Data.ProtoLens.Field.field @"version") y x)+ loop+ (Lens.Family2.set (Data.ProtoLens.Field.field @"version") y x)+ mutable'attributes+ 26+ -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.isolate+ (Prelude.fromIntegral len)+ Data.ProtoLens.parseMessage)+ "attributes"+ v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.append mutable'attributes y)+ loop x v+ 32+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (Prelude.fmap+ Prelude.fromIntegral+ Data.ProtoLens.Encoding.Bytes.getVarInt)+ "dropped_attributes_count"+ loop+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"droppedAttributesCount") y x)+ mutable'attributes wire -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire wire loop (Lens.Family2.over Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)+ mutable'attributes in (Data.ProtoLens.Encoding.Bytes.<?>)- (do loop Data.ProtoLens.defMessage) "InstrumentationLibrary"+ (do mutable'attributes <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ Data.ProtoLens.Encoding.Growing.new+ loop Data.ProtoLens.defMessage mutable'attributes)+ "InstrumentationScope" buildMessage = \ _x -> (Data.Monoid.<>)@@ -861,16 +936,48 @@ (Prelude.fromIntegral (Data.ByteString.length bs))) (Data.ProtoLens.Encoding.Bytes.putBytes bs)) Data.Text.Encoding.encodeUtf8 _v))- (Data.ProtoLens.Encoding.Wire.buildFieldSet- (Lens.Family2.view Data.ProtoLens.unknownFields _x)))-instance Control.DeepSeq.NFData InstrumentationLibrary where+ ((Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.foldMapBuilder+ (\ _v+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 26)+ ((Prelude..)+ (\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ Data.ProtoLens.encodeMessage _v))+ (Lens.Family2.view+ (Data.ProtoLens.Field.field @"vec'attributes") _x))+ ((Data.Monoid.<>)+ (let+ _v+ = Lens.Family2.view+ (Data.ProtoLens.Field.field @"droppedAttributesCount") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 32)+ ((Prelude..)+ Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))+ (Data.ProtoLens.Encoding.Wire.buildFieldSet+ (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))+instance Control.DeepSeq.NFData InstrumentationScope where rnf = \ x__ -> Control.DeepSeq.deepseq- (_InstrumentationLibrary'_unknownFields x__)+ (_InstrumentationScope'_unknownFields x__) (Control.DeepSeq.deepseq- (_InstrumentationLibrary'name x__)- (Control.DeepSeq.deepseq (_InstrumentationLibrary'version x__) ()))+ (_InstrumentationScope'name x__)+ (Control.DeepSeq.deepseq+ (_InstrumentationScope'version x__)+ (Control.DeepSeq.deepseq+ (_InstrumentationScope'attributes x__)+ (Control.DeepSeq.deepseq+ (_InstrumentationScope'droppedAttributesCount x__) ())))) {- | Fields : * 'Proto.Opentelemetry.Proto.Common.V1.Common_Fields.key' @:: Lens' KeyValue Data.Text.Text@@@ -967,14 +1074,9 @@ case tag of 10 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do value <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.getBytes- (Prelude.fromIntegral len)- Data.ProtoLens.Encoding.Bytes.runEither- (case Data.Text.Encoding.decodeUtf8' value of- (Prelude.Left err)- -> Prelude.Left (Prelude.show err)- (Prelude.Right r) -> Prelude.Right r))+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.getText+ (Prelude.fromIntegral len)) "key" loop (Lens.Family2.set (Data.ProtoLens.Field.field @"key") y x) 18@@ -1169,173 +1271,6 @@ -> Control.DeepSeq.deepseq (_KeyValueList'_unknownFields x__) (Control.DeepSeq.deepseq (_KeyValueList'values x__) ())-{- | Fields :- - * 'Proto.Opentelemetry.Proto.Common.V1.Common_Fields.key' @:: Lens' StringKeyValue Data.Text.Text@- * 'Proto.Opentelemetry.Proto.Common.V1.Common_Fields.value' @:: Lens' StringKeyValue Data.Text.Text@ -}-data StringKeyValue- = StringKeyValue'_constructor {_StringKeyValue'key :: !Data.Text.Text,- _StringKeyValue'value :: !Data.Text.Text,- _StringKeyValue'_unknownFields :: !Data.ProtoLens.FieldSet}- deriving stock (Prelude.Eq, Prelude.Ord)-instance Prelude.Show StringKeyValue where- showsPrec _ __x __s- = Prelude.showChar- '{'- (Prelude.showString- (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))-instance Data.ProtoLens.Field.HasField StringKeyValue "key" Data.Text.Text where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _StringKeyValue'key (\ x__ y__ -> x__ {_StringKeyValue'key = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField StringKeyValue "value" Data.Text.Text where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _StringKeyValue'value- (\ x__ y__ -> x__ {_StringKeyValue'value = y__}))- Prelude.id-instance Data.ProtoLens.Message StringKeyValue where- messageName _- = Data.Text.pack "opentelemetry.proto.common.v1.StringKeyValue"- packedMessageDescriptor _- = "\n\- \\SOStringKeyValue\DC2\DLE\n\- \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC2\DC4\n\- \\ENQvalue\CAN\STX \SOH(\tR\ENQvalue:\STX\CAN\SOH"- packedFileDescriptor _ = packedFileDescriptor- fieldsByTag- = let- key__field_descriptor- = Data.ProtoLens.FieldDescriptor- "key"- (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::- Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"key")) ::- Data.ProtoLens.FieldDescriptor StringKeyValue- value__field_descriptor- = Data.ProtoLens.FieldDescriptor- "value"- (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::- Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"value")) ::- Data.ProtoLens.FieldDescriptor StringKeyValue- in- Data.Map.fromList- [(Data.ProtoLens.Tag 1, key__field_descriptor),- (Data.ProtoLens.Tag 2, value__field_descriptor)]- unknownFields- = Lens.Family2.Unchecked.lens- _StringKeyValue'_unknownFields- (\ x__ y__ -> x__ {_StringKeyValue'_unknownFields = y__})- defMessage- = StringKeyValue'_constructor- {_StringKeyValue'key = Data.ProtoLens.fieldDefault,- _StringKeyValue'value = Data.ProtoLens.fieldDefault,- _StringKeyValue'_unknownFields = []}- parseMessage- = let- loop ::- StringKeyValue- -> Data.ProtoLens.Encoding.Bytes.Parser StringKeyValue- loop x- = do end <- Data.ProtoLens.Encoding.Bytes.atEnd- if end then- do (let missing = []- in- if Prelude.null missing then- Prelude.return ()- else- Prelude.fail- ((Prelude.++)- "Missing required fields: "- (Prelude.show (missing :: [Prelude.String]))))- Prelude.return- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)- else- do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt- case tag of- 10- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do value <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.getBytes- (Prelude.fromIntegral len)- Data.ProtoLens.Encoding.Bytes.runEither- (case Data.Text.Encoding.decodeUtf8' value of- (Prelude.Left err)- -> Prelude.Left (Prelude.show err)- (Prelude.Right r) -> Prelude.Right r))- "key"- loop (Lens.Family2.set (Data.ProtoLens.Field.field @"key") y x)- 18- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do value <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.getBytes- (Prelude.fromIntegral len)- Data.ProtoLens.Encoding.Bytes.runEither- (case Data.Text.Encoding.decodeUtf8' value of- (Prelude.Left err)- -> Prelude.Left (Prelude.show err)- (Prelude.Right r) -> Prelude.Right r))- "value"- loop (Lens.Family2.set (Data.ProtoLens.Field.field @"value") y x)- wire- -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire- wire- loop- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)- in- (Data.ProtoLens.Encoding.Bytes.<?>)- (do loop Data.ProtoLens.defMessage) "StringKeyValue"- buildMessage- = \ _x- -> (Data.Monoid.<>)- (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"key") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 10)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.Text.Encoding.encodeUtf8 _v))- ((Data.Monoid.<>)- (let- _v = Lens.Family2.view (Data.ProtoLens.Field.field @"value") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 18)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.Text.Encoding.encodeUtf8 _v))- (Data.ProtoLens.Encoding.Wire.buildFieldSet- (Lens.Family2.view Data.ProtoLens.unknownFields _x)))-instance Control.DeepSeq.NFData StringKeyValue where- rnf- = \ x__- -> Control.DeepSeq.deepseq- (_StringKeyValue'_unknownFields x__)- (Control.DeepSeq.deepseq- (_StringKeyValue'key x__)- (Control.DeepSeq.deepseq (_StringKeyValue'value x__) ())) packedFileDescriptor :: Data.ByteString.ByteString packedFileDescriptor = "\n\@@ -1359,14 +1294,15 @@ \\ACKvalues\CAN\SOH \ETX(\v2'.opentelemetry.proto.common.v1.KeyValueR\ACKvalues\"[\n\ \\bKeyValue\DC2\DLE\n\ \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC2=\n\- \\ENQvalue\CAN\STX \SOH(\v2'.opentelemetry.proto.common.v1.AnyValueR\ENQvalue\"<\n\- \\SOStringKeyValue\DC2\DLE\n\- \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC2\DC4\n\- \\ENQvalue\CAN\STX \SOH(\tR\ENQvalue:\STX\CAN\SOH\"F\n\- \\SYNInstrumentationLibrary\DC2\DC2\n\+ \\ENQvalue\CAN\STX \SOH(\v2'.opentelemetry.proto.common.v1.AnyValueR\ENQvalue\"\199\SOH\n\+ \\DC4InstrumentationScope\DC2\DC2\n\ \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC2\CAN\n\- \\aversion\CAN\STX \SOH(\tR\aversionBq\n\- \ io.opentelemetry.proto.common.v1B\vCommonProtoP\SOHZ>github.com/open-telemetry/opentelemetry-proto/gen/go/common/v1J\164\EM\n\+ \\aversion\CAN\STX \SOH(\tR\aversion\DC2G\n\+ \\n\+ \attributes\CAN\ETX \ETX(\v2'.opentelemetry.proto.common.v1.KeyValueR\n\+ \attributes\DC28\n\+ \\CANdropped_attributes_count\CAN\EOT \SOH(\rR\SYNdroppedAttributesCountB{\n\+ \ io.opentelemetry.proto.common.v1B\vCommonProtoP\SOHZ(go.opentelemetry.io/proto/otlp/common/v1\170\STX\GSOpenTelemetry.Proto.Common.V1J\137\SUB\n\ \\ACK\DC2\EOT\SO\NULP\SOH\n\ \\200\EOT\n\ \\SOH\f\DC2\ETX\SO\NUL\DC22\189\EOT Copyright 2019, OpenTelemetry Authors\n\@@ -1386,117 +1322,121 @@ \\b\n\ \\SOH\STX\DC2\ETX\DLE\NUL&\n\ \\b\n\- \\SOH\b\DC2\ETX\DC2\NUL\"\n\+ \\SOH\b\DC2\ETX\DC2\NUL:\n\ \\t\n\+ \\STX\b%\DC2\ETX\DC2\NUL:\n\+ \\b\n\+ \\SOH\b\DC2\ETX\DC3\NUL\"\n\+ \\t\n\ \\STX\b\n\- \\DC2\ETX\DC2\NUL\"\n\+ \\DC2\ETX\DC3\NUL\"\n\ \\b\n\- \\SOH\b\DC2\ETX\DC3\NUL9\n\+ \\SOH\b\DC2\ETX\DC4\NUL9\n\ \\t\n\- \\STX\b\SOH\DC2\ETX\DC3\NUL9\n\+ \\STX\b\SOH\DC2\ETX\DC4\NUL9\n\ \\b\n\- \\SOH\b\DC2\ETX\DC4\NUL,\n\+ \\SOH\b\DC2\ETX\NAK\NUL,\n\ \\t\n\- \\STX\b\b\DC2\ETX\DC4\NUL,\n\+ \\STX\b\b\DC2\ETX\NAK\NUL,\n\ \\b\n\- \\SOH\b\DC2\ETX\NAK\NULU\n\+ \\SOH\b\DC2\ETX\SYN\NUL?\n\ \\t\n\- \\STX\b\v\DC2\ETX\NAK\NULU\n\+ \\STX\b\v\DC2\ETX\SYN\NUL?\n\ \\238\SOH\n\- \\STX\EOT\NUL\DC2\EOT\SUB\NUL&\SOH\SUB\225\SOH AnyValue is used to represent any type of attribute value. AnyValue may contain a\n\+ \\STX\EOT\NUL\DC2\EOT\ESC\NUL'\SOH\SUB\225\SOH AnyValue is used to represent any type of attribute value. AnyValue may contain a\n\ \ primitive value such as a string or integer or it may contain an arbitrary nested\n\ \ object containing arrays, key-value lists and primitives.\n\ \\n\ \\n\ \\n\- \\ETX\EOT\NUL\SOH\DC2\ETX\SUB\b\DLE\n\+ \\ETX\EOT\NUL\SOH\DC2\ETX\ESC\b\DLE\n\ \\158\SOH\n\- \\EOT\EOT\NUL\b\NUL\DC2\EOT\GS\STX%\ETX\SUB\143\SOH The value is one of the listed fields. It is valid for all values to be unspecified\n\+ \\EOT\EOT\NUL\b\NUL\DC2\EOT\RS\STX&\ETX\SUB\143\SOH The value is one of the listed fields. It is valid for all values to be unspecified\n\ \ in which case this AnyValue is considered to be \"empty\".\n\ \\n\ \\f\n\- \\ENQ\EOT\NUL\b\NUL\SOH\DC2\ETX\GS\b\r\n\+ \\ENQ\EOT\NUL\b\NUL\SOH\DC2\ETX\RS\b\r\n\ \\v\n\- \\EOT\EOT\NUL\STX\NUL\DC2\ETX\RS\EOT\FS\n\+ \\EOT\EOT\NUL\STX\NUL\DC2\ETX\US\EOT\FS\n\ \\f\n\- \\ENQ\EOT\NUL\STX\NUL\ENQ\DC2\ETX\RS\EOT\n\+ \\ENQ\EOT\NUL\STX\NUL\ENQ\DC2\ETX\US\EOT\n\ \\n\ \\f\n\- \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX\RS\v\ETB\n\+ \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX\US\v\ETB\n\ \\f\n\- \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX\RS\SUB\ESC\n\+ \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX\US\SUB\ESC\n\ \\v\n\- \\EOT\EOT\NUL\STX\SOH\DC2\ETX\US\EOT\CAN\n\+ \\EOT\EOT\NUL\STX\SOH\DC2\ETX \EOT\CAN\n\ \\f\n\- \\ENQ\EOT\NUL\STX\SOH\ENQ\DC2\ETX\US\EOT\b\n\+ \\ENQ\EOT\NUL\STX\SOH\ENQ\DC2\ETX \EOT\b\n\ \\f\n\- \\ENQ\EOT\NUL\STX\SOH\SOH\DC2\ETX\US\t\DC3\n\+ \\ENQ\EOT\NUL\STX\SOH\SOH\DC2\ETX \t\DC3\n\ \\f\n\- \\ENQ\EOT\NUL\STX\SOH\ETX\DC2\ETX\US\SYN\ETB\n\+ \\ENQ\EOT\NUL\STX\SOH\ETX\DC2\ETX \SYN\ETB\n\ \\v\n\- \\EOT\EOT\NUL\STX\STX\DC2\ETX \EOT\CAN\n\+ \\EOT\EOT\NUL\STX\STX\DC2\ETX!\EOT\CAN\n\ \\f\n\- \\ENQ\EOT\NUL\STX\STX\ENQ\DC2\ETX \EOT\t\n\+ \\ENQ\EOT\NUL\STX\STX\ENQ\DC2\ETX!\EOT\t\n\ \\f\n\- \\ENQ\EOT\NUL\STX\STX\SOH\DC2\ETX \n\+ \\ENQ\EOT\NUL\STX\STX\SOH\DC2\ETX!\n\ \\DC3\n\ \\f\n\- \\ENQ\EOT\NUL\STX\STX\ETX\DC2\ETX \SYN\ETB\n\+ \\ENQ\EOT\NUL\STX\STX\ETX\DC2\ETX!\SYN\ETB\n\ \\v\n\- \\EOT\EOT\NUL\STX\ETX\DC2\ETX!\EOT\FS\n\+ \\EOT\EOT\NUL\STX\ETX\DC2\ETX\"\EOT\FS\n\ \\f\n\- \\ENQ\EOT\NUL\STX\ETX\ENQ\DC2\ETX!\EOT\n\+ \\ENQ\EOT\NUL\STX\ETX\ENQ\DC2\ETX\"\EOT\n\ \\n\ \\f\n\- \\ENQ\EOT\NUL\STX\ETX\SOH\DC2\ETX!\v\ETB\n\+ \\ENQ\EOT\NUL\STX\ETX\SOH\DC2\ETX\"\v\ETB\n\ \\f\n\- \\ENQ\EOT\NUL\STX\ETX\ETX\DC2\ETX!\SUB\ESC\n\+ \\ENQ\EOT\NUL\STX\ETX\ETX\DC2\ETX\"\SUB\ESC\n\ \\v\n\- \\EOT\EOT\NUL\STX\EOT\DC2\ETX\"\EOT\US\n\+ \\EOT\EOT\NUL\STX\EOT\DC2\ETX#\EOT\US\n\ \\f\n\- \\ENQ\EOT\NUL\STX\EOT\ACK\DC2\ETX\"\EOT\SO\n\+ \\ENQ\EOT\NUL\STX\EOT\ACK\DC2\ETX#\EOT\SO\n\ \\f\n\- \\ENQ\EOT\NUL\STX\EOT\SOH\DC2\ETX\"\SI\SUB\n\+ \\ENQ\EOT\NUL\STX\EOT\SOH\DC2\ETX#\SI\SUB\n\ \\f\n\- \\ENQ\EOT\NUL\STX\EOT\ETX\DC2\ETX\"\GS\RS\n\+ \\ENQ\EOT\NUL\STX\EOT\ETX\DC2\ETX#\GS\RS\n\ \\v\n\- \\EOT\EOT\NUL\STX\ENQ\DC2\ETX#\EOT\"\n\+ \\EOT\EOT\NUL\STX\ENQ\DC2\ETX$\EOT\"\n\ \\f\n\- \\ENQ\EOT\NUL\STX\ENQ\ACK\DC2\ETX#\EOT\DLE\n\+ \\ENQ\EOT\NUL\STX\ENQ\ACK\DC2\ETX$\EOT\DLE\n\ \\f\n\- \\ENQ\EOT\NUL\STX\ENQ\SOH\DC2\ETX#\DC1\GS\n\+ \\ENQ\EOT\NUL\STX\ENQ\SOH\DC2\ETX$\DC1\GS\n\ \\f\n\- \\ENQ\EOT\NUL\STX\ENQ\ETX\DC2\ETX# !\n\+ \\ENQ\EOT\NUL\STX\ENQ\ETX\DC2\ETX$ !\n\ \\v\n\- \\EOT\EOT\NUL\STX\ACK\DC2\ETX$\EOT\SUB\n\+ \\EOT\EOT\NUL\STX\ACK\DC2\ETX%\EOT\SUB\n\ \\f\n\- \\ENQ\EOT\NUL\STX\ACK\ENQ\DC2\ETX$\EOT\t\n\+ \\ENQ\EOT\NUL\STX\ACK\ENQ\DC2\ETX%\EOT\t\n\ \\f\n\- \\ENQ\EOT\NUL\STX\ACK\SOH\DC2\ETX$\n\+ \\ENQ\EOT\NUL\STX\ACK\SOH\DC2\ETX%\n\ \\NAK\n\ \\f\n\- \\ENQ\EOT\NUL\STX\ACK\ETX\DC2\ETX$\CAN\EM\n\+ \\ENQ\EOT\NUL\STX\ACK\ETX\DC2\ETX%\CAN\EM\n\ \\146\SOH\n\- \\STX\EOT\SOH\DC2\EOT*\NUL-\SOH\SUB\133\SOH ArrayValue is a list of AnyValue messages. We need ArrayValue as a message\n\+ \\STX\EOT\SOH\DC2\EOT+\NUL.\SOH\SUB\133\SOH ArrayValue is a list of AnyValue messages. We need ArrayValue as a message\n\ \ since oneof in AnyValue does not allow repeated fields.\n\ \\n\ \\n\ \\n\- \\ETX\EOT\SOH\SOH\DC2\ETX*\b\DC2\n\+ \\ETX\EOT\SOH\SOH\DC2\ETX+\b\DC2\n\ \L\n\- \\EOT\EOT\SOH\STX\NUL\DC2\ETX,\STX\US\SUB? Array of values. The array may be empty (contain 0 elements).\n\+ \\EOT\EOT\SOH\STX\NUL\DC2\ETX-\STX\US\SUB? Array of values. The array may be empty (contain 0 elements).\n\ \\n\ \\f\n\- \\ENQ\EOT\SOH\STX\NUL\EOT\DC2\ETX,\STX\n\+ \\ENQ\EOT\SOH\STX\NUL\EOT\DC2\ETX-\STX\n\ \\n\ \\f\n\- \\ENQ\EOT\SOH\STX\NUL\ACK\DC2\ETX,\v\DC3\n\+ \\ENQ\EOT\SOH\STX\NUL\ACK\DC2\ETX-\v\DC3\n\ \\f\n\- \\ENQ\EOT\SOH\STX\NUL\SOH\DC2\ETX,\DC4\SUB\n\+ \\ENQ\EOT\SOH\STX\NUL\SOH\DC2\ETX-\DC4\SUB\n\ \\f\n\- \\ENQ\EOT\SOH\STX\NUL\ETX\DC2\ETX,\GS\RS\n\+ \\ENQ\EOT\SOH\STX\NUL\ETX\DC2\ETX-\GS\RS\n\ \\251\STX\n\- \\STX\EOT\STX\DC2\EOT4\NUL8\SOH\SUB\238\STX KeyValueList is a list of KeyValue messages. We need KeyValueList as a message\n\+ \\STX\EOT\STX\DC2\EOT5\NUL;\SOH\SUB\238\STX KeyValueList is a list of KeyValue messages. We need KeyValueList as a message\n\ \ since `oneof` in AnyValue does not allow repeated fields. Everywhere else where we need\n\ \ a list of KeyValue messages (e.g. in Span) we use `repeated KeyValue` directly to\n\ \ avoid unnecessary extra wrapping (which slows down the protocol). The 2 approaches\n\@@ -1504,93 +1444,89 @@ \\n\ \\n\ \\n\- \\ETX\EOT\STX\SOH\DC2\ETX4\b\DC4\n\- \s\n\- \\EOT\EOT\STX\STX\NUL\DC2\ETX7\STX\US\SUBf A collection of key/value pairs of key-value pairs. The list may be empty (may\n\+ \\ETX\EOT\STX\SOH\DC2\ETX5\b\DC4\n\+ \\209\SOH\n\+ \\EOT\EOT\STX\STX\NUL\DC2\ETX:\STX\US\SUB\195\SOH A collection of key/value pairs of key-value pairs. The list may be empty (may\n\ \ contain 0 elements).\n\+ \ The keys MUST be unique (it is not allowed to have more than one\n\+ \ value with the same key).\n\ \\n\ \\f\n\- \\ENQ\EOT\STX\STX\NUL\EOT\DC2\ETX7\STX\n\+ \\ENQ\EOT\STX\STX\NUL\EOT\DC2\ETX:\STX\n\ \\n\ \\f\n\- \\ENQ\EOT\STX\STX\NUL\ACK\DC2\ETX7\v\DC3\n\+ \\ENQ\EOT\STX\STX\NUL\ACK\DC2\ETX:\v\DC3\n\ \\f\n\- \\ENQ\EOT\STX\STX\NUL\SOH\DC2\ETX7\DC4\SUB\n\+ \\ENQ\EOT\STX\STX\NUL\SOH\DC2\ETX:\DC4\SUB\n\ \\f\n\- \\ENQ\EOT\STX\STX\NUL\ETX\DC2\ETX7\GS\RS\n\+ \\ENQ\EOT\STX\STX\NUL\ETX\DC2\ETX:\GS\RS\n\ \h\n\- \\STX\EOT\ETX\DC2\EOT<\NUL?\SOH\SUB\\ KeyValue is a key-value pair that is used to store Span attributes, Link\n\+ \\STX\EOT\ETX\DC2\EOT?\NULB\SOH\SUB\\ KeyValue is a key-value pair that is used to store Span attributes, Link\n\ \ attributes, etc.\n\ \\n\ \\n\ \\n\- \\ETX\EOT\ETX\SOH\DC2\ETX<\b\DLE\n\+ \\ETX\EOT\ETX\SOH\DC2\ETX?\b\DLE\n\ \\v\n\- \\EOT\EOT\ETX\STX\NUL\DC2\ETX=\STX\DC1\n\+ \\EOT\EOT\ETX\STX\NUL\DC2\ETX@\STX\DC1\n\ \\f\n\- \\ENQ\EOT\ETX\STX\NUL\ENQ\DC2\ETX=\STX\b\n\+ \\ENQ\EOT\ETX\STX\NUL\ENQ\DC2\ETX@\STX\b\n\ \\f\n\- \\ENQ\EOT\ETX\STX\NUL\SOH\DC2\ETX=\t\f\n\+ \\ENQ\EOT\ETX\STX\NUL\SOH\DC2\ETX@\t\f\n\ \\f\n\- \\ENQ\EOT\ETX\STX\NUL\ETX\DC2\ETX=\SI\DLE\n\+ \\ENQ\EOT\ETX\STX\NUL\ETX\DC2\ETX@\SI\DLE\n\ \\v\n\- \\EOT\EOT\ETX\STX\SOH\DC2\ETX>\STX\NAK\n\+ \\EOT\EOT\ETX\STX\SOH\DC2\ETXA\STX\NAK\n\ \\f\n\- \\ENQ\EOT\ETX\STX\SOH\ACK\DC2\ETX>\STX\n\+ \\ENQ\EOT\ETX\STX\SOH\ACK\DC2\ETXA\STX\n\ \\n\ \\f\n\- \\ENQ\EOT\ETX\STX\SOH\SOH\DC2\ETX>\v\DLE\n\+ \\ENQ\EOT\ETX\STX\SOH\SOH\DC2\ETXA\v\DLE\n\ \\f\n\- \\ENQ\EOT\ETX\STX\SOH\ETX\DC2\ETX>\DC3\DC4\n\- \\149\SOH\n\- \\STX\EOT\EOT\DC2\EOTC\NULH\SOH\SUB\136\SOH StringKeyValue is a pair of key/value strings. This is the simpler (and faster) version\n\- \ of KeyValue that only supports string values.\n\+ \\ENQ\EOT\ETX\STX\SOH\ETX\DC2\ETXA\DC3\DC4\n\+ \\147\SOH\n\+ \\STX\EOT\EOT\DC2\EOTF\NULP\SOH\SUB\134\SOH InstrumentationScope is a message representing the instrumentation scope information\n\+ \ such as the fully qualified name and version. \n\ \\n\ \\n\ \\n\- \\ETX\EOT\EOT\SOH\DC2\ETXC\b\SYN\n\- \\n\+ \\ETX\EOT\EOT\SOH\DC2\ETXF\b\FS\n\+ \M\n\+ \\EOT\EOT\EOT\STX\NUL\DC2\ETXH\STX\DC2\SUB@ An empty instrumentation scope name means the name is unknown.\n\ \\n\- \\ETX\EOT\EOT\a\DC2\ETXD\STX\ESC\n\- \\v\n\- \\EOT\EOT\EOT\a\ETX\DC2\ETXD\STX\ESC\n\- \\v\n\- \\EOT\EOT\EOT\STX\NUL\DC2\ETXF\STX\DC1\n\ \\f\n\- \\ENQ\EOT\EOT\STX\NUL\ENQ\DC2\ETXF\STX\b\n\+ \\ENQ\EOT\EOT\STX\NUL\ENQ\DC2\ETXH\STX\b\n\ \\f\n\- \\ENQ\EOT\EOT\STX\NUL\SOH\DC2\ETXF\t\f\n\+ \\ENQ\EOT\EOT\STX\NUL\SOH\DC2\ETXH\t\r\n\ \\f\n\- \\ENQ\EOT\EOT\STX\NUL\ETX\DC2\ETXF\SI\DLE\n\+ \\ENQ\EOT\EOT\STX\NUL\ETX\DC2\ETXH\DLE\DC1\n\ \\v\n\- \\EOT\EOT\EOT\STX\SOH\DC2\ETXG\STX\DC3\n\+ \\EOT\EOT\EOT\STX\SOH\DC2\ETXI\STX\NAK\n\ \\f\n\- \\ENQ\EOT\EOT\STX\SOH\ENQ\DC2\ETXG\STX\b\n\+ \\ENQ\EOT\EOT\STX\SOH\ENQ\DC2\ETXI\STX\b\n\ \\f\n\- \\ENQ\EOT\EOT\STX\SOH\SOH\DC2\ETXG\t\SO\n\+ \\ENQ\EOT\EOT\STX\SOH\SOH\DC2\ETXI\t\DLE\n\ \\f\n\- \\ENQ\EOT\EOT\STX\SOH\ETX\DC2\ETXG\DC1\DC2\n\- \\151\SOH\n\- \\STX\EOT\ENQ\DC2\EOTL\NULP\SOH\SUB\138\SOH InstrumentationLibrary is a message representing the instrumentation library information\n\- \ such as the fully qualified name and version. \n\- \\n\- \\n\+ \\ENQ\EOT\EOT\STX\SOH\ETX\DC2\ETXI\DC3\DC4\n\+ \\177\SOH\n\+ \\EOT\EOT\EOT\STX\STX\DC2\ETXN\STX#\SUB\163\SOH Additional attributes that describe the scope. [Optional].\n\+ \ Attribute keys MUST be unique (it is not allowed to have more than one\n\+ \ attribute with the same key).\n\ \\n\- \\ETX\EOT\ENQ\SOH\DC2\ETXL\b\RS\n\- \P\n\- \\EOT\EOT\ENQ\STX\NUL\DC2\ETXN\STX\DC2\SUBC An empty instrumentation library name means the name is unknown. \n\+ \\f\n\+ \\ENQ\EOT\EOT\STX\STX\EOT\DC2\ETXN\STX\n\ \\n\ \\f\n\- \\ENQ\EOT\ENQ\STX\NUL\ENQ\DC2\ETXN\STX\b\n\+ \\ENQ\EOT\EOT\STX\STX\ACK\DC2\ETXN\v\DC3\n\ \\f\n\- \\ENQ\EOT\ENQ\STX\NUL\SOH\DC2\ETXN\t\r\n\+ \\ENQ\EOT\EOT\STX\STX\SOH\DC2\ETXN\DC4\RS\n\ \\f\n\- \\ENQ\EOT\ENQ\STX\NUL\ETX\DC2\ETXN\DLE\DC1\n\+ \\ENQ\EOT\EOT\STX\STX\ETX\DC2\ETXN!\"\n\ \\v\n\- \\EOT\EOT\ENQ\STX\SOH\DC2\ETXO\STX\NAK\n\+ \\EOT\EOT\EOT\STX\ETX\DC2\ETXO\STX&\n\ \\f\n\- \\ENQ\EOT\ENQ\STX\SOH\ENQ\DC2\ETXO\STX\b\n\+ \\ENQ\EOT\EOT\STX\ETX\ENQ\DC2\ETXO\STX\b\n\ \\f\n\- \\ENQ\EOT\ENQ\STX\SOH\SOH\DC2\ETXO\t\DLE\n\+ \\ENQ\EOT\EOT\STX\ETX\SOH\DC2\ETXO\t!\n\ \\f\n\- \\ENQ\EOT\ENQ\STX\SOH\ETX\DC2\ETXO\DC3\DC4b\ACKproto3"+ \\ENQ\EOT\EOT\STX\ETX\ETX\DC2\ETXO$%b\ACKproto3"
src/Proto/Opentelemetry/Proto/Common/V1/Common_Fields.hs view
@@ -1,3 +1,4 @@+{- HLINT ignore -} {- This file was auto-generated from opentelemetry/proto/common/v1/common.proto by the proto-lens-protoc program. -} {-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-} {-# OPTIONS_GHC -Wno-unused-imports#-}@@ -33,6 +34,12 @@ Data.ProtoLens.Field.HasField s "arrayValue" a) => Lens.Family2.LensLike' f s a arrayValue = Data.ProtoLens.Field.field @"arrayValue"+attributes ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "attributes" a) =>+ Lens.Family2.LensLike' f s a+attributes = Data.ProtoLens.Field.field @"attributes" boolValue :: forall f s a. (Prelude.Functor f,@@ -51,6 +58,13 @@ Data.ProtoLens.Field.HasField s "doubleValue" a) => Lens.Family2.LensLike' f s a doubleValue = Data.ProtoLens.Field.field @"doubleValue"+droppedAttributesCount ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "droppedAttributesCount" a) =>+ Lens.Family2.LensLike' f s a+droppedAttributesCount+ = Data.ProtoLens.Field.field @"droppedAttributesCount" intValue :: forall f s a. (Prelude.Functor f,@@ -137,6 +151,12 @@ (Prelude.Functor f, Data.ProtoLens.Field.HasField s "values" a) => Lens.Family2.LensLike' f s a values = Data.ProtoLens.Field.field @"values"+vec'attributes ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "vec'attributes" a) =>+ Lens.Family2.LensLike' f s a+vec'attributes = Data.ProtoLens.Field.field @"vec'attributes" vec'values :: forall f s a. (Prelude.Functor f,
src/Proto/Opentelemetry/Proto/Logs/V1/Logs.hs view
@@ -1,2066 +1,2100 @@-{- This file was auto-generated from opentelemetry/proto/logs/v1/logs.proto by the proto-lens-protoc program. -}-{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}-{-# OPTIONS_GHC -Wno-unused-imports#-}-{-# OPTIONS_GHC -Wno-duplicate-exports#-}-{-# OPTIONS_GHC -Wno-dodgy-exports#-}-module Proto.Opentelemetry.Proto.Logs.V1.Logs (- InstrumentationLibraryLogs(), LogRecord(), LogRecordFlags(..),- LogRecordFlags(), LogRecordFlags'UnrecognizedValue, LogsData(),- ResourceLogs(), SeverityNumber(..), SeverityNumber(),- SeverityNumber'UnrecognizedValue- ) where-import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq-import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism-import qualified Data.ProtoLens.Runtime.Prelude as Prelude-import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int-import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid-import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word-import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens-import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes-import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing-import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe-import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire-import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field-import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum-import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types-import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2-import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked-import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text-import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map-import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString-import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8-import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding-import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector-import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic-import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed-import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read-import qualified Proto.Opentelemetry.Proto.Common.V1.Common-import qualified Proto.Opentelemetry.Proto.Resource.V1.Resource-{- | Fields :- - * 'Proto.Opentelemetry.Proto.Logs.V1.Logs_Fields.instrumentationLibrary' @:: Lens' InstrumentationLibraryLogs Proto.Opentelemetry.Proto.Common.V1.Common.InstrumentationLibrary@- * 'Proto.Opentelemetry.Proto.Logs.V1.Logs_Fields.maybe'instrumentationLibrary' @:: Lens' InstrumentationLibraryLogs (Prelude.Maybe Proto.Opentelemetry.Proto.Common.V1.Common.InstrumentationLibrary)@- * 'Proto.Opentelemetry.Proto.Logs.V1.Logs_Fields.logs' @:: Lens' InstrumentationLibraryLogs [LogRecord]@- * 'Proto.Opentelemetry.Proto.Logs.V1.Logs_Fields.vec'logs' @:: Lens' InstrumentationLibraryLogs (Data.Vector.Vector LogRecord)@- * 'Proto.Opentelemetry.Proto.Logs.V1.Logs_Fields.schemaUrl' @:: Lens' InstrumentationLibraryLogs Data.Text.Text@ -}-data InstrumentationLibraryLogs- = InstrumentationLibraryLogs'_constructor {_InstrumentationLibraryLogs'instrumentationLibrary :: !(Prelude.Maybe Proto.Opentelemetry.Proto.Common.V1.Common.InstrumentationLibrary),- _InstrumentationLibraryLogs'logs :: !(Data.Vector.Vector LogRecord),- _InstrumentationLibraryLogs'schemaUrl :: !Data.Text.Text,- _InstrumentationLibraryLogs'_unknownFields :: !Data.ProtoLens.FieldSet}- deriving stock (Prelude.Eq, Prelude.Ord)-instance Prelude.Show InstrumentationLibraryLogs where- showsPrec _ __x __s- = Prelude.showChar- '{'- (Prelude.showString- (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))-instance Data.ProtoLens.Field.HasField InstrumentationLibraryLogs "instrumentationLibrary" Proto.Opentelemetry.Proto.Common.V1.Common.InstrumentationLibrary where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _InstrumentationLibraryLogs'instrumentationLibrary- (\ x__ y__- -> x__ {_InstrumentationLibraryLogs'instrumentationLibrary = y__}))- (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)-instance Data.ProtoLens.Field.HasField InstrumentationLibraryLogs "maybe'instrumentationLibrary" (Prelude.Maybe Proto.Opentelemetry.Proto.Common.V1.Common.InstrumentationLibrary) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _InstrumentationLibraryLogs'instrumentationLibrary- (\ x__ y__- -> x__ {_InstrumentationLibraryLogs'instrumentationLibrary = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField InstrumentationLibraryLogs "logs" [LogRecord] where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _InstrumentationLibraryLogs'logs- (\ x__ y__ -> x__ {_InstrumentationLibraryLogs'logs = y__}))- (Lens.Family2.Unchecked.lens- Data.Vector.Generic.toList- (\ _ y__ -> Data.Vector.Generic.fromList y__))-instance Data.ProtoLens.Field.HasField InstrumentationLibraryLogs "vec'logs" (Data.Vector.Vector LogRecord) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _InstrumentationLibraryLogs'logs- (\ x__ y__ -> x__ {_InstrumentationLibraryLogs'logs = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField InstrumentationLibraryLogs "schemaUrl" Data.Text.Text where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _InstrumentationLibraryLogs'schemaUrl- (\ x__ y__ -> x__ {_InstrumentationLibraryLogs'schemaUrl = y__}))- Prelude.id-instance Data.ProtoLens.Message InstrumentationLibraryLogs where- messageName _- = Data.Text.pack- "opentelemetry.proto.logs.v1.InstrumentationLibraryLogs"- packedMessageDescriptor _- = "\n\- \\SUBInstrumentationLibraryLogs\DC2n\n\- \\ETBinstrumentation_library\CAN\SOH \SOH(\v25.opentelemetry.proto.common.v1.InstrumentationLibraryR\SYNinstrumentationLibrary\DC2:\n\- \\EOTlogs\CAN\STX \ETX(\v2&.opentelemetry.proto.logs.v1.LogRecordR\EOTlogs\DC2\GS\n\- \\n\- \schema_url\CAN\ETX \SOH(\tR\tschemaUrl"- packedFileDescriptor _ = packedFileDescriptor- fieldsByTag- = let- instrumentationLibrary__field_descriptor- = Data.ProtoLens.FieldDescriptor- "instrumentation_library"- (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::- Data.ProtoLens.FieldTypeDescriptor Proto.Opentelemetry.Proto.Common.V1.Common.InstrumentationLibrary)- (Data.ProtoLens.OptionalField- (Data.ProtoLens.Field.field @"maybe'instrumentationLibrary")) ::- Data.ProtoLens.FieldDescriptor InstrumentationLibraryLogs- logs__field_descriptor- = Data.ProtoLens.FieldDescriptor- "logs"- (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::- Data.ProtoLens.FieldTypeDescriptor LogRecord)- (Data.ProtoLens.RepeatedField- Data.ProtoLens.Unpacked (Data.ProtoLens.Field.field @"logs")) ::- Data.ProtoLens.FieldDescriptor InstrumentationLibraryLogs- schemaUrl__field_descriptor- = Data.ProtoLens.FieldDescriptor- "schema_url"- (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::- Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional- (Data.ProtoLens.Field.field @"schemaUrl")) ::- Data.ProtoLens.FieldDescriptor InstrumentationLibraryLogs- in- Data.Map.fromList- [(Data.ProtoLens.Tag 1, instrumentationLibrary__field_descriptor),- (Data.ProtoLens.Tag 2, logs__field_descriptor),- (Data.ProtoLens.Tag 3, schemaUrl__field_descriptor)]- unknownFields- = Lens.Family2.Unchecked.lens- _InstrumentationLibraryLogs'_unknownFields- (\ x__ y__- -> x__ {_InstrumentationLibraryLogs'_unknownFields = y__})- defMessage- = InstrumentationLibraryLogs'_constructor- {_InstrumentationLibraryLogs'instrumentationLibrary = Prelude.Nothing,- _InstrumentationLibraryLogs'logs = Data.Vector.Generic.empty,- _InstrumentationLibraryLogs'schemaUrl = Data.ProtoLens.fieldDefault,- _InstrumentationLibraryLogs'_unknownFields = []}- parseMessage- = let- loop ::- InstrumentationLibraryLogs- -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld LogRecord- -> Data.ProtoLens.Encoding.Bytes.Parser InstrumentationLibraryLogs- loop x mutable'logs- = do end <- Data.ProtoLens.Encoding.Bytes.atEnd- if end then- do frozen'logs <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.unsafeFreeze mutable'logs)- (let missing = []- in- if Prelude.null missing then- Prelude.return ()- else- Prelude.fail- ((Prelude.++)- "Missing required fields: "- (Prelude.show (missing :: [Prelude.String]))))- Prelude.return- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)- (Lens.Family2.set- (Data.ProtoLens.Field.field @"vec'logs") frozen'logs x))- else- do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt- case tag of- 10- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)- "instrumentation_library"- loop- (Lens.Family2.set- (Data.ProtoLens.Field.field @"instrumentationLibrary") y x)- mutable'logs- 18- -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len)- Data.ProtoLens.parseMessage)- "logs"- v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.append mutable'logs y)- loop x v- 26- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do value <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.getBytes- (Prelude.fromIntegral len)- Data.ProtoLens.Encoding.Bytes.runEither- (case Data.Text.Encoding.decodeUtf8' value of- (Prelude.Left err)- -> Prelude.Left (Prelude.show err)- (Prelude.Right r) -> Prelude.Right r))- "schema_url"- loop- (Lens.Family2.set (Data.ProtoLens.Field.field @"schemaUrl") y x)- mutable'logs- wire- -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire- wire- loop- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)- mutable'logs- in- (Data.ProtoLens.Encoding.Bytes.<?>)- (do mutable'logs <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- Data.ProtoLens.Encoding.Growing.new- loop Data.ProtoLens.defMessage mutable'logs)- "InstrumentationLibraryLogs"- buildMessage- = \ _x- -> (Data.Monoid.<>)- (case- Lens.Family2.view- (Data.ProtoLens.Field.field @"maybe'instrumentationLibrary") _x- of- Prelude.Nothing -> Data.Monoid.mempty- (Prelude.Just _v)- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 10)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.ProtoLens.encodeMessage _v))- ((Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.foldMapBuilder- (\ _v- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 18)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.ProtoLens.encodeMessage _v))- (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'logs") _x))- ((Data.Monoid.<>)- (let- _v = Lens.Family2.view (Data.ProtoLens.Field.field @"schemaUrl") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 26)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.Text.Encoding.encodeUtf8 _v))- (Data.ProtoLens.Encoding.Wire.buildFieldSet- (Lens.Family2.view Data.ProtoLens.unknownFields _x))))-instance Control.DeepSeq.NFData InstrumentationLibraryLogs where- rnf- = \ x__- -> Control.DeepSeq.deepseq- (_InstrumentationLibraryLogs'_unknownFields x__)- (Control.DeepSeq.deepseq- (_InstrumentationLibraryLogs'instrumentationLibrary x__)- (Control.DeepSeq.deepseq- (_InstrumentationLibraryLogs'logs x__)- (Control.DeepSeq.deepseq- (_InstrumentationLibraryLogs'schemaUrl x__) ())))-{- | Fields :- - * 'Proto.Opentelemetry.Proto.Logs.V1.Logs_Fields.timeUnixNano' @:: Lens' LogRecord Data.Word.Word64@- * 'Proto.Opentelemetry.Proto.Logs.V1.Logs_Fields.severityNumber' @:: Lens' LogRecord SeverityNumber@- * 'Proto.Opentelemetry.Proto.Logs.V1.Logs_Fields.severityText' @:: Lens' LogRecord Data.Text.Text@- * 'Proto.Opentelemetry.Proto.Logs.V1.Logs_Fields.name' @:: Lens' LogRecord Data.Text.Text@- * 'Proto.Opentelemetry.Proto.Logs.V1.Logs_Fields.body' @:: Lens' LogRecord Proto.Opentelemetry.Proto.Common.V1.Common.AnyValue@- * 'Proto.Opentelemetry.Proto.Logs.V1.Logs_Fields.maybe'body' @:: Lens' LogRecord (Prelude.Maybe Proto.Opentelemetry.Proto.Common.V1.Common.AnyValue)@- * 'Proto.Opentelemetry.Proto.Logs.V1.Logs_Fields.attributes' @:: Lens' LogRecord [Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue]@- * 'Proto.Opentelemetry.Proto.Logs.V1.Logs_Fields.vec'attributes' @:: Lens' LogRecord (Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue)@- * 'Proto.Opentelemetry.Proto.Logs.V1.Logs_Fields.droppedAttributesCount' @:: Lens' LogRecord Data.Word.Word32@- * 'Proto.Opentelemetry.Proto.Logs.V1.Logs_Fields.flags' @:: Lens' LogRecord Data.Word.Word32@- * 'Proto.Opentelemetry.Proto.Logs.V1.Logs_Fields.traceId' @:: Lens' LogRecord Data.ByteString.ByteString@- * 'Proto.Opentelemetry.Proto.Logs.V1.Logs_Fields.spanId' @:: Lens' LogRecord Data.ByteString.ByteString@ -}-data LogRecord- = LogRecord'_constructor {_LogRecord'timeUnixNano :: !Data.Word.Word64,- _LogRecord'severityNumber :: !SeverityNumber,- _LogRecord'severityText :: !Data.Text.Text,- _LogRecord'name :: !Data.Text.Text,- _LogRecord'body :: !(Prelude.Maybe Proto.Opentelemetry.Proto.Common.V1.Common.AnyValue),- _LogRecord'attributes :: !(Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue),- _LogRecord'droppedAttributesCount :: !Data.Word.Word32,- _LogRecord'flags :: !Data.Word.Word32,- _LogRecord'traceId :: !Data.ByteString.ByteString,- _LogRecord'spanId :: !Data.ByteString.ByteString,- _LogRecord'_unknownFields :: !Data.ProtoLens.FieldSet}- deriving stock (Prelude.Eq, Prelude.Ord)-instance Prelude.Show LogRecord where- showsPrec _ __x __s- = Prelude.showChar- '{'- (Prelude.showString- (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))-instance Data.ProtoLens.Field.HasField LogRecord "timeUnixNano" Data.Word.Word64 where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _LogRecord'timeUnixNano- (\ x__ y__ -> x__ {_LogRecord'timeUnixNano = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField LogRecord "severityNumber" SeverityNumber where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _LogRecord'severityNumber- (\ x__ y__ -> x__ {_LogRecord'severityNumber = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField LogRecord "severityText" Data.Text.Text where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _LogRecord'severityText- (\ x__ y__ -> x__ {_LogRecord'severityText = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField LogRecord "name" Data.Text.Text where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _LogRecord'name (\ x__ y__ -> x__ {_LogRecord'name = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField LogRecord "body" Proto.Opentelemetry.Proto.Common.V1.Common.AnyValue where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _LogRecord'body (\ x__ y__ -> x__ {_LogRecord'body = y__}))- (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)-instance Data.ProtoLens.Field.HasField LogRecord "maybe'body" (Prelude.Maybe Proto.Opentelemetry.Proto.Common.V1.Common.AnyValue) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _LogRecord'body (\ x__ y__ -> x__ {_LogRecord'body = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField LogRecord "attributes" [Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue] where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _LogRecord'attributes- (\ x__ y__ -> x__ {_LogRecord'attributes = y__}))- (Lens.Family2.Unchecked.lens- Data.Vector.Generic.toList- (\ _ y__ -> Data.Vector.Generic.fromList y__))-instance Data.ProtoLens.Field.HasField LogRecord "vec'attributes" (Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _LogRecord'attributes- (\ x__ y__ -> x__ {_LogRecord'attributes = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField LogRecord "droppedAttributesCount" Data.Word.Word32 where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _LogRecord'droppedAttributesCount- (\ x__ y__ -> x__ {_LogRecord'droppedAttributesCount = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField LogRecord "flags" Data.Word.Word32 where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _LogRecord'flags (\ x__ y__ -> x__ {_LogRecord'flags = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField LogRecord "traceId" Data.ByteString.ByteString where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _LogRecord'traceId (\ x__ y__ -> x__ {_LogRecord'traceId = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField LogRecord "spanId" Data.ByteString.ByteString where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _LogRecord'spanId (\ x__ y__ -> x__ {_LogRecord'spanId = y__}))- Prelude.id-instance Data.ProtoLens.Message LogRecord where- messageName _- = Data.Text.pack "opentelemetry.proto.logs.v1.LogRecord"- packedMessageDescriptor _- = "\n\- \\tLogRecord\DC2$\n\- \\SOtime_unix_nano\CAN\SOH \SOH(\ACKR\ftimeUnixNano\DC2T\n\- \\SIseverity_number\CAN\STX \SOH(\SO2+.opentelemetry.proto.logs.v1.SeverityNumberR\SOseverityNumber\DC2#\n\- \\rseverity_text\CAN\ETX \SOH(\tR\fseverityText\DC2\DC2\n\- \\EOTname\CAN\EOT \SOH(\tR\EOTname\DC2;\n\- \\EOTbody\CAN\ENQ \SOH(\v2'.opentelemetry.proto.common.v1.AnyValueR\EOTbody\DC2G\n\- \\n\- \attributes\CAN\ACK \ETX(\v2'.opentelemetry.proto.common.v1.KeyValueR\n\- \attributes\DC28\n\- \\CANdropped_attributes_count\CAN\a \SOH(\rR\SYNdroppedAttributesCount\DC2\DC4\n\- \\ENQflags\CAN\b \SOH(\aR\ENQflags\DC2\EM\n\- \\btrace_id\CAN\t \SOH(\fR\atraceId\DC2\ETB\n\- \\aspan_id\CAN\n\- \ \SOH(\fR\ACKspanId"- packedFileDescriptor _ = packedFileDescriptor- fieldsByTag- = let- timeUnixNano__field_descriptor- = Data.ProtoLens.FieldDescriptor- "time_unix_nano"- (Data.ProtoLens.ScalarField Data.ProtoLens.Fixed64Field ::- Data.ProtoLens.FieldTypeDescriptor Data.Word.Word64)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional- (Data.ProtoLens.Field.field @"timeUnixNano")) ::- Data.ProtoLens.FieldDescriptor LogRecord- severityNumber__field_descriptor- = Data.ProtoLens.FieldDescriptor- "severity_number"- (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::- Data.ProtoLens.FieldTypeDescriptor SeverityNumber)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional- (Data.ProtoLens.Field.field @"severityNumber")) ::- Data.ProtoLens.FieldDescriptor LogRecord- severityText__field_descriptor- = Data.ProtoLens.FieldDescriptor- "severity_text"- (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::- Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional- (Data.ProtoLens.Field.field @"severityText")) ::- Data.ProtoLens.FieldDescriptor LogRecord- name__field_descriptor- = Data.ProtoLens.FieldDescriptor- "name"- (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::- Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"name")) ::- Data.ProtoLens.FieldDescriptor LogRecord- body__field_descriptor- = Data.ProtoLens.FieldDescriptor- "body"- (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::- Data.ProtoLens.FieldTypeDescriptor Proto.Opentelemetry.Proto.Common.V1.Common.AnyValue)- (Data.ProtoLens.OptionalField- (Data.ProtoLens.Field.field @"maybe'body")) ::- Data.ProtoLens.FieldDescriptor LogRecord- attributes__field_descriptor- = Data.ProtoLens.FieldDescriptor- "attributes"- (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::- Data.ProtoLens.FieldTypeDescriptor Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue)- (Data.ProtoLens.RepeatedField- Data.ProtoLens.Unpacked- (Data.ProtoLens.Field.field @"attributes")) ::- Data.ProtoLens.FieldDescriptor LogRecord- droppedAttributesCount__field_descriptor- = Data.ProtoLens.FieldDescriptor- "dropped_attributes_count"- (Data.ProtoLens.ScalarField Data.ProtoLens.UInt32Field ::- Data.ProtoLens.FieldTypeDescriptor Data.Word.Word32)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional- (Data.ProtoLens.Field.field @"droppedAttributesCount")) ::- Data.ProtoLens.FieldDescriptor LogRecord- flags__field_descriptor- = Data.ProtoLens.FieldDescriptor- "flags"- (Data.ProtoLens.ScalarField Data.ProtoLens.Fixed32Field ::- Data.ProtoLens.FieldTypeDescriptor Data.Word.Word32)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"flags")) ::- Data.ProtoLens.FieldDescriptor LogRecord- traceId__field_descriptor- = Data.ProtoLens.FieldDescriptor- "trace_id"- (Data.ProtoLens.ScalarField Data.ProtoLens.BytesField ::- Data.ProtoLens.FieldTypeDescriptor Data.ByteString.ByteString)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"traceId")) ::- Data.ProtoLens.FieldDescriptor LogRecord- spanId__field_descriptor- = Data.ProtoLens.FieldDescriptor- "span_id"- (Data.ProtoLens.ScalarField Data.ProtoLens.BytesField ::- Data.ProtoLens.FieldTypeDescriptor Data.ByteString.ByteString)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"spanId")) ::- Data.ProtoLens.FieldDescriptor LogRecord- in- Data.Map.fromList- [(Data.ProtoLens.Tag 1, timeUnixNano__field_descriptor),- (Data.ProtoLens.Tag 2, severityNumber__field_descriptor),- (Data.ProtoLens.Tag 3, severityText__field_descriptor),- (Data.ProtoLens.Tag 4, name__field_descriptor),- (Data.ProtoLens.Tag 5, body__field_descriptor),- (Data.ProtoLens.Tag 6, attributes__field_descriptor),- (Data.ProtoLens.Tag 7, droppedAttributesCount__field_descriptor),- (Data.ProtoLens.Tag 8, flags__field_descriptor),- (Data.ProtoLens.Tag 9, traceId__field_descriptor),- (Data.ProtoLens.Tag 10, spanId__field_descriptor)]- unknownFields- = Lens.Family2.Unchecked.lens- _LogRecord'_unknownFields- (\ x__ y__ -> x__ {_LogRecord'_unknownFields = y__})- defMessage- = LogRecord'_constructor- {_LogRecord'timeUnixNano = Data.ProtoLens.fieldDefault,- _LogRecord'severityNumber = Data.ProtoLens.fieldDefault,- _LogRecord'severityText = Data.ProtoLens.fieldDefault,- _LogRecord'name = Data.ProtoLens.fieldDefault,- _LogRecord'body = Prelude.Nothing,- _LogRecord'attributes = Data.Vector.Generic.empty,- _LogRecord'droppedAttributesCount = Data.ProtoLens.fieldDefault,- _LogRecord'flags = Data.ProtoLens.fieldDefault,- _LogRecord'traceId = Data.ProtoLens.fieldDefault,- _LogRecord'spanId = Data.ProtoLens.fieldDefault,- _LogRecord'_unknownFields = []}- parseMessage- = let- loop ::- LogRecord- -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue- -> Data.ProtoLens.Encoding.Bytes.Parser LogRecord- loop x mutable'attributes- = do end <- Data.ProtoLens.Encoding.Bytes.atEnd- if end then- do frozen'attributes <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.unsafeFreeze- mutable'attributes)- (let missing = []- in- if Prelude.null missing then- Prelude.return ()- else- Prelude.fail- ((Prelude.++)- "Missing required fields: "- (Prelude.show (missing :: [Prelude.String]))))- Prelude.return- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)- (Lens.Family2.set- (Data.ProtoLens.Field.field @"vec'attributes") frozen'attributes- x))- else- do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt- case tag of- 9 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- Data.ProtoLens.Encoding.Bytes.getFixed64 "time_unix_nano"- loop- (Lens.Family2.set- (Data.ProtoLens.Field.field @"timeUnixNano") y x)- mutable'attributes- 16- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (Prelude.fmap- Prelude.toEnum- (Prelude.fmap- Prelude.fromIntegral- Data.ProtoLens.Encoding.Bytes.getVarInt))- "severity_number"- loop- (Lens.Family2.set- (Data.ProtoLens.Field.field @"severityNumber") y x)- mutable'attributes- 26- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do value <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.getBytes- (Prelude.fromIntegral len)- Data.ProtoLens.Encoding.Bytes.runEither- (case Data.Text.Encoding.decodeUtf8' value of- (Prelude.Left err)- -> Prelude.Left (Prelude.show err)- (Prelude.Right r) -> Prelude.Right r))- "severity_text"- loop- (Lens.Family2.set- (Data.ProtoLens.Field.field @"severityText") y x)- mutable'attributes- 34- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do value <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.getBytes- (Prelude.fromIntegral len)- Data.ProtoLens.Encoding.Bytes.runEither- (case Data.Text.Encoding.decodeUtf8' value of- (Prelude.Left err)- -> Prelude.Left (Prelude.show err)- (Prelude.Right r) -> Prelude.Right r))- "name"- loop- (Lens.Family2.set (Data.ProtoLens.Field.field @"name") y x)- mutable'attributes- 42- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)- "body"- loop- (Lens.Family2.set (Data.ProtoLens.Field.field @"body") y x)- mutable'attributes- 50- -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len)- Data.ProtoLens.parseMessage)- "attributes"- v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.append mutable'attributes y)- loop x v- 56- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (Prelude.fmap- Prelude.fromIntegral- Data.ProtoLens.Encoding.Bytes.getVarInt)- "dropped_attributes_count"- loop- (Lens.Family2.set- (Data.ProtoLens.Field.field @"droppedAttributesCount") y x)- mutable'attributes- 69- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- Data.ProtoLens.Encoding.Bytes.getFixed32 "flags"- loop- (Lens.Family2.set (Data.ProtoLens.Field.field @"flags") y x)- mutable'attributes- 74- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.getBytes- (Prelude.fromIntegral len))- "trace_id"- loop- (Lens.Family2.set (Data.ProtoLens.Field.field @"traceId") y x)- mutable'attributes- 82- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.getBytes- (Prelude.fromIntegral len))- "span_id"- loop- (Lens.Family2.set (Data.ProtoLens.Field.field @"spanId") y x)- mutable'attributes- wire- -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire- wire- loop- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)- mutable'attributes- in- (Data.ProtoLens.Encoding.Bytes.<?>)- (do mutable'attributes <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- Data.ProtoLens.Encoding.Growing.new- loop Data.ProtoLens.defMessage mutable'attributes)- "LogRecord"- buildMessage- = \ _x- -> (Data.Monoid.<>)- (let- _v- = Lens.Family2.view (Data.ProtoLens.Field.field @"timeUnixNano") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 9)- (Data.ProtoLens.Encoding.Bytes.putFixed64 _v))- ((Data.Monoid.<>)- (let- _v- = Lens.Family2.view- (Data.ProtoLens.Field.field @"severityNumber") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 16)- ((Prelude..)- ((Prelude..)- Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)- Prelude.fromEnum _v))- ((Data.Monoid.<>)- (let- _v- = Lens.Family2.view (Data.ProtoLens.Field.field @"severityText") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 26)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.Text.Encoding.encodeUtf8 _v))- ((Data.Monoid.<>)- (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"name") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 34)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.Text.Encoding.encodeUtf8 _v))- ((Data.Monoid.<>)- (case- Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'body") _x- of- Prelude.Nothing -> Data.Monoid.mempty- (Prelude.Just _v)- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 42)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.ProtoLens.encodeMessage _v))- ((Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.foldMapBuilder- (\ _v- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 50)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral- (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.ProtoLens.encodeMessage _v))- (Lens.Family2.view- (Data.ProtoLens.Field.field @"vec'attributes") _x))- ((Data.Monoid.<>)- (let- _v- = Lens.Family2.view- (Data.ProtoLens.Field.field @"droppedAttributesCount") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 56)- ((Prelude..)- Data.ProtoLens.Encoding.Bytes.putVarInt- Prelude.fromIntegral _v))- ((Data.Monoid.<>)- (let- _v = Lens.Family2.view (Data.ProtoLens.Field.field @"flags") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 69)- (Data.ProtoLens.Encoding.Bytes.putFixed32 _v))- ((Data.Monoid.<>)- (let- _v- = Lens.Family2.view- (Data.ProtoLens.Field.field @"traceId") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 74)- ((\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral- (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- _v))- ((Data.Monoid.<>)- (let- _v- = Lens.Family2.view- (Data.ProtoLens.Field.field @"spanId") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 82)- ((\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral- (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes- bs))- _v))- (Data.ProtoLens.Encoding.Wire.buildFieldSet- (Lens.Family2.view- Data.ProtoLens.unknownFields _x)))))))))))-instance Control.DeepSeq.NFData LogRecord where- rnf- = \ x__- -> Control.DeepSeq.deepseq- (_LogRecord'_unknownFields x__)- (Control.DeepSeq.deepseq- (_LogRecord'timeUnixNano x__)- (Control.DeepSeq.deepseq- (_LogRecord'severityNumber x__)- (Control.DeepSeq.deepseq- (_LogRecord'severityText x__)- (Control.DeepSeq.deepseq- (_LogRecord'name x__)- (Control.DeepSeq.deepseq- (_LogRecord'body x__)- (Control.DeepSeq.deepseq- (_LogRecord'attributes x__)- (Control.DeepSeq.deepseq- (_LogRecord'droppedAttributesCount x__)- (Control.DeepSeq.deepseq- (_LogRecord'flags x__)- (Control.DeepSeq.deepseq- (_LogRecord'traceId x__)- (Control.DeepSeq.deepseq- (_LogRecord'spanId x__) ()))))))))))-newtype LogRecordFlags'UnrecognizedValue- = LogRecordFlags'UnrecognizedValue Data.Int.Int32- deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)-data LogRecordFlags- = LOG_RECORD_FLAG_UNSPECIFIED |- LOG_RECORD_FLAG_TRACE_FLAGS_MASK |- LogRecordFlags'Unrecognized !LogRecordFlags'UnrecognizedValue- deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)-instance Data.ProtoLens.MessageEnum LogRecordFlags where- maybeToEnum 0 = Prelude.Just LOG_RECORD_FLAG_UNSPECIFIED- maybeToEnum 255 = Prelude.Just LOG_RECORD_FLAG_TRACE_FLAGS_MASK- maybeToEnum k- = Prelude.Just- (LogRecordFlags'Unrecognized- (LogRecordFlags'UnrecognizedValue (Prelude.fromIntegral k)))- showEnum LOG_RECORD_FLAG_UNSPECIFIED- = "LOG_RECORD_FLAG_UNSPECIFIED"- showEnum LOG_RECORD_FLAG_TRACE_FLAGS_MASK- = "LOG_RECORD_FLAG_TRACE_FLAGS_MASK"- showEnum- (LogRecordFlags'Unrecognized (LogRecordFlags'UnrecognizedValue k))- = Prelude.show k- readEnum k- | (Prelude.==) k "LOG_RECORD_FLAG_UNSPECIFIED"- = Prelude.Just LOG_RECORD_FLAG_UNSPECIFIED- | (Prelude.==) k "LOG_RECORD_FLAG_TRACE_FLAGS_MASK"- = Prelude.Just LOG_RECORD_FLAG_TRACE_FLAGS_MASK- | Prelude.otherwise- = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum-instance Prelude.Bounded LogRecordFlags where- minBound = LOG_RECORD_FLAG_UNSPECIFIED- maxBound = LOG_RECORD_FLAG_TRACE_FLAGS_MASK-instance Prelude.Enum LogRecordFlags where- toEnum k__- = Prelude.maybe- (Prelude.error- ((Prelude.++)- "toEnum: unknown value for enum LogRecordFlags: "- (Prelude.show k__)))- Prelude.id (Data.ProtoLens.maybeToEnum k__)- fromEnum LOG_RECORD_FLAG_UNSPECIFIED = 0- fromEnum LOG_RECORD_FLAG_TRACE_FLAGS_MASK = 255- fromEnum- (LogRecordFlags'Unrecognized (LogRecordFlags'UnrecognizedValue k))- = Prelude.fromIntegral k- succ LOG_RECORD_FLAG_TRACE_FLAGS_MASK- = Prelude.error- "LogRecordFlags.succ: bad argument LOG_RECORD_FLAG_TRACE_FLAGS_MASK. This value would be out of bounds."- succ LOG_RECORD_FLAG_UNSPECIFIED = LOG_RECORD_FLAG_TRACE_FLAGS_MASK- succ (LogRecordFlags'Unrecognized _)- = Prelude.error- "LogRecordFlags.succ: bad argument: unrecognized value"- pred LOG_RECORD_FLAG_UNSPECIFIED- = Prelude.error- "LogRecordFlags.pred: bad argument LOG_RECORD_FLAG_UNSPECIFIED. This value would be out of bounds."- pred LOG_RECORD_FLAG_TRACE_FLAGS_MASK = LOG_RECORD_FLAG_UNSPECIFIED- pred (LogRecordFlags'Unrecognized _)- = Prelude.error- "LogRecordFlags.pred: bad argument: unrecognized value"- enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom- enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo- enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen- enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo-instance Data.ProtoLens.FieldDefault LogRecordFlags where- fieldDefault = LOG_RECORD_FLAG_UNSPECIFIED-instance Control.DeepSeq.NFData LogRecordFlags where- rnf x__ = Prelude.seq x__ ()-{- | Fields :- - * 'Proto.Opentelemetry.Proto.Logs.V1.Logs_Fields.resourceLogs' @:: Lens' LogsData [ResourceLogs]@- * 'Proto.Opentelemetry.Proto.Logs.V1.Logs_Fields.vec'resourceLogs' @:: Lens' LogsData (Data.Vector.Vector ResourceLogs)@ -}-data LogsData- = LogsData'_constructor {_LogsData'resourceLogs :: !(Data.Vector.Vector ResourceLogs),- _LogsData'_unknownFields :: !Data.ProtoLens.FieldSet}- deriving stock (Prelude.Eq, Prelude.Ord)-instance Prelude.Show LogsData where- showsPrec _ __x __s- = Prelude.showChar- '{'- (Prelude.showString- (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))-instance Data.ProtoLens.Field.HasField LogsData "resourceLogs" [ResourceLogs] where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _LogsData'resourceLogs- (\ x__ y__ -> x__ {_LogsData'resourceLogs = y__}))- (Lens.Family2.Unchecked.lens- Data.Vector.Generic.toList- (\ _ y__ -> Data.Vector.Generic.fromList y__))-instance Data.ProtoLens.Field.HasField LogsData "vec'resourceLogs" (Data.Vector.Vector ResourceLogs) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _LogsData'resourceLogs- (\ x__ y__ -> x__ {_LogsData'resourceLogs = y__}))- Prelude.id-instance Data.ProtoLens.Message LogsData where- messageName _- = Data.Text.pack "opentelemetry.proto.logs.v1.LogsData"- packedMessageDescriptor _- = "\n\- \\bLogsData\DC2N\n\- \\rresource_logs\CAN\SOH \ETX(\v2).opentelemetry.proto.logs.v1.ResourceLogsR\fresourceLogs"- packedFileDescriptor _ = packedFileDescriptor- fieldsByTag- = let- resourceLogs__field_descriptor- = Data.ProtoLens.FieldDescriptor- "resource_logs"- (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::- Data.ProtoLens.FieldTypeDescriptor ResourceLogs)- (Data.ProtoLens.RepeatedField- Data.ProtoLens.Unpacked- (Data.ProtoLens.Field.field @"resourceLogs")) ::- Data.ProtoLens.FieldDescriptor LogsData- in- Data.Map.fromList- [(Data.ProtoLens.Tag 1, resourceLogs__field_descriptor)]- unknownFields- = Lens.Family2.Unchecked.lens- _LogsData'_unknownFields- (\ x__ y__ -> x__ {_LogsData'_unknownFields = y__})- defMessage- = LogsData'_constructor- {_LogsData'resourceLogs = Data.Vector.Generic.empty,- _LogsData'_unknownFields = []}- parseMessage- = let- loop ::- LogsData- -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld ResourceLogs- -> Data.ProtoLens.Encoding.Bytes.Parser LogsData- loop x mutable'resourceLogs- = do end <- Data.ProtoLens.Encoding.Bytes.atEnd- if end then- do frozen'resourceLogs <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.unsafeFreeze- mutable'resourceLogs)- (let missing = []- in- if Prelude.null missing then- Prelude.return ()- else- Prelude.fail- ((Prelude.++)- "Missing required fields: "- (Prelude.show (missing :: [Prelude.String]))))- Prelude.return- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)- (Lens.Family2.set- (Data.ProtoLens.Field.field @"vec'resourceLogs")- frozen'resourceLogs x))- else- do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt- case tag of- 10- -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len)- Data.ProtoLens.parseMessage)- "resource_logs"- v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.append- mutable'resourceLogs y)- loop x v- wire- -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire- wire- loop- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)- mutable'resourceLogs- in- (Data.ProtoLens.Encoding.Bytes.<?>)- (do mutable'resourceLogs <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- Data.ProtoLens.Encoding.Growing.new- loop Data.ProtoLens.defMessage mutable'resourceLogs)- "LogsData"- buildMessage- = \ _x- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.foldMapBuilder- (\ _v- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 10)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.ProtoLens.encodeMessage _v))- (Lens.Family2.view- (Data.ProtoLens.Field.field @"vec'resourceLogs") _x))- (Data.ProtoLens.Encoding.Wire.buildFieldSet- (Lens.Family2.view Data.ProtoLens.unknownFields _x))-instance Control.DeepSeq.NFData LogsData where- rnf- = \ x__- -> Control.DeepSeq.deepseq- (_LogsData'_unknownFields x__)- (Control.DeepSeq.deepseq (_LogsData'resourceLogs x__) ())-{- | Fields :- - * 'Proto.Opentelemetry.Proto.Logs.V1.Logs_Fields.resource' @:: Lens' ResourceLogs Proto.Opentelemetry.Proto.Resource.V1.Resource.Resource@- * 'Proto.Opentelemetry.Proto.Logs.V1.Logs_Fields.maybe'resource' @:: Lens' ResourceLogs (Prelude.Maybe Proto.Opentelemetry.Proto.Resource.V1.Resource.Resource)@- * 'Proto.Opentelemetry.Proto.Logs.V1.Logs_Fields.instrumentationLibraryLogs' @:: Lens' ResourceLogs [InstrumentationLibraryLogs]@- * 'Proto.Opentelemetry.Proto.Logs.V1.Logs_Fields.vec'instrumentationLibraryLogs' @:: Lens' ResourceLogs (Data.Vector.Vector InstrumentationLibraryLogs)@- * 'Proto.Opentelemetry.Proto.Logs.V1.Logs_Fields.schemaUrl' @:: Lens' ResourceLogs Data.Text.Text@ -}-data ResourceLogs- = ResourceLogs'_constructor {_ResourceLogs'resource :: !(Prelude.Maybe Proto.Opentelemetry.Proto.Resource.V1.Resource.Resource),- _ResourceLogs'instrumentationLibraryLogs :: !(Data.Vector.Vector InstrumentationLibraryLogs),- _ResourceLogs'schemaUrl :: !Data.Text.Text,- _ResourceLogs'_unknownFields :: !Data.ProtoLens.FieldSet}- deriving stock (Prelude.Eq, Prelude.Ord)-instance Prelude.Show ResourceLogs where- showsPrec _ __x __s- = Prelude.showChar- '{'- (Prelude.showString- (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))-instance Data.ProtoLens.Field.HasField ResourceLogs "resource" Proto.Opentelemetry.Proto.Resource.V1.Resource.Resource where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _ResourceLogs'resource- (\ x__ y__ -> x__ {_ResourceLogs'resource = y__}))- (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)-instance Data.ProtoLens.Field.HasField ResourceLogs "maybe'resource" (Prelude.Maybe Proto.Opentelemetry.Proto.Resource.V1.Resource.Resource) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _ResourceLogs'resource- (\ x__ y__ -> x__ {_ResourceLogs'resource = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField ResourceLogs "instrumentationLibraryLogs" [InstrumentationLibraryLogs] where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _ResourceLogs'instrumentationLibraryLogs- (\ x__ y__- -> x__ {_ResourceLogs'instrumentationLibraryLogs = y__}))- (Lens.Family2.Unchecked.lens- Data.Vector.Generic.toList- (\ _ y__ -> Data.Vector.Generic.fromList y__))-instance Data.ProtoLens.Field.HasField ResourceLogs "vec'instrumentationLibraryLogs" (Data.Vector.Vector InstrumentationLibraryLogs) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _ResourceLogs'instrumentationLibraryLogs- (\ x__ y__- -> x__ {_ResourceLogs'instrumentationLibraryLogs = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField ResourceLogs "schemaUrl" Data.Text.Text where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _ResourceLogs'schemaUrl- (\ x__ y__ -> x__ {_ResourceLogs'schemaUrl = y__}))- Prelude.id-instance Data.ProtoLens.Message ResourceLogs where- messageName _- = Data.Text.pack "opentelemetry.proto.logs.v1.ResourceLogs"- packedMessageDescriptor _- = "\n\- \\fResourceLogs\DC2E\n\- \\bresource\CAN\SOH \SOH(\v2).opentelemetry.proto.resource.v1.ResourceR\bresource\DC2y\n\- \\FSinstrumentation_library_logs\CAN\STX \ETX(\v27.opentelemetry.proto.logs.v1.InstrumentationLibraryLogsR\SUBinstrumentationLibraryLogs\DC2\GS\n\- \\n\- \schema_url\CAN\ETX \SOH(\tR\tschemaUrl"- packedFileDescriptor _ = packedFileDescriptor- fieldsByTag- = let- resource__field_descriptor- = Data.ProtoLens.FieldDescriptor- "resource"- (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::- Data.ProtoLens.FieldTypeDescriptor Proto.Opentelemetry.Proto.Resource.V1.Resource.Resource)- (Data.ProtoLens.OptionalField- (Data.ProtoLens.Field.field @"maybe'resource")) ::- Data.ProtoLens.FieldDescriptor ResourceLogs- instrumentationLibraryLogs__field_descriptor- = Data.ProtoLens.FieldDescriptor- "instrumentation_library_logs"- (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::- Data.ProtoLens.FieldTypeDescriptor InstrumentationLibraryLogs)- (Data.ProtoLens.RepeatedField- Data.ProtoLens.Unpacked- (Data.ProtoLens.Field.field @"instrumentationLibraryLogs")) ::- Data.ProtoLens.FieldDescriptor ResourceLogs- schemaUrl__field_descriptor- = Data.ProtoLens.FieldDescriptor- "schema_url"- (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::- Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional- (Data.ProtoLens.Field.field @"schemaUrl")) ::- Data.ProtoLens.FieldDescriptor ResourceLogs- in- Data.Map.fromList- [(Data.ProtoLens.Tag 1, resource__field_descriptor),- (Data.ProtoLens.Tag 2, - instrumentationLibraryLogs__field_descriptor),- (Data.ProtoLens.Tag 3, schemaUrl__field_descriptor)]- unknownFields- = Lens.Family2.Unchecked.lens- _ResourceLogs'_unknownFields- (\ x__ y__ -> x__ {_ResourceLogs'_unknownFields = y__})- defMessage- = ResourceLogs'_constructor- {_ResourceLogs'resource = Prelude.Nothing,- _ResourceLogs'instrumentationLibraryLogs = Data.Vector.Generic.empty,- _ResourceLogs'schemaUrl = Data.ProtoLens.fieldDefault,- _ResourceLogs'_unknownFields = []}- parseMessage- = let- loop ::- ResourceLogs- -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld InstrumentationLibraryLogs- -> Data.ProtoLens.Encoding.Bytes.Parser ResourceLogs- loop x mutable'instrumentationLibraryLogs- = do end <- Data.ProtoLens.Encoding.Bytes.atEnd- if end then- do frozen'instrumentationLibraryLogs <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.unsafeFreeze- mutable'instrumentationLibraryLogs)- (let missing = []- in- if Prelude.null missing then- Prelude.return ()- else- Prelude.fail- ((Prelude.++)- "Missing required fields: "- (Prelude.show (missing :: [Prelude.String]))))- Prelude.return- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)- (Lens.Family2.set- (Data.ProtoLens.Field.field @"vec'instrumentationLibraryLogs")- frozen'instrumentationLibraryLogs x))- else- do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt- case tag of- 10- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)- "resource"- loop- (Lens.Family2.set (Data.ProtoLens.Field.field @"resource") y x)- mutable'instrumentationLibraryLogs- 18- -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len)- Data.ProtoLens.parseMessage)- "instrumentation_library_logs"- v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.append- mutable'instrumentationLibraryLogs y)- loop x v- 26- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do value <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.getBytes- (Prelude.fromIntegral len)- Data.ProtoLens.Encoding.Bytes.runEither- (case Data.Text.Encoding.decodeUtf8' value of- (Prelude.Left err)- -> Prelude.Left (Prelude.show err)- (Prelude.Right r) -> Prelude.Right r))- "schema_url"- loop- (Lens.Family2.set (Data.ProtoLens.Field.field @"schemaUrl") y x)- mutable'instrumentationLibraryLogs- wire- -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire- wire- loop- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)- mutable'instrumentationLibraryLogs- in- (Data.ProtoLens.Encoding.Bytes.<?>)- (do mutable'instrumentationLibraryLogs <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- Data.ProtoLens.Encoding.Growing.new- loop Data.ProtoLens.defMessage mutable'instrumentationLibraryLogs)- "ResourceLogs"- buildMessage- = \ _x- -> (Data.Monoid.<>)- (case- Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'resource") _x- of- Prelude.Nothing -> Data.Monoid.mempty- (Prelude.Just _v)- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 10)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.ProtoLens.encodeMessage _v))- ((Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.foldMapBuilder- (\ _v- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 18)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.ProtoLens.encodeMessage _v))- (Lens.Family2.view- (Data.ProtoLens.Field.field @"vec'instrumentationLibraryLogs") _x))- ((Data.Monoid.<>)- (let- _v = Lens.Family2.view (Data.ProtoLens.Field.field @"schemaUrl") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 26)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.Text.Encoding.encodeUtf8 _v))- (Data.ProtoLens.Encoding.Wire.buildFieldSet- (Lens.Family2.view Data.ProtoLens.unknownFields _x))))-instance Control.DeepSeq.NFData ResourceLogs where- rnf- = \ x__- -> Control.DeepSeq.deepseq- (_ResourceLogs'_unknownFields x__)- (Control.DeepSeq.deepseq- (_ResourceLogs'resource x__)- (Control.DeepSeq.deepseq- (_ResourceLogs'instrumentationLibraryLogs x__)- (Control.DeepSeq.deepseq (_ResourceLogs'schemaUrl x__) ())))-newtype SeverityNumber'UnrecognizedValue- = SeverityNumber'UnrecognizedValue Data.Int.Int32- deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)-data SeverityNumber- = SEVERITY_NUMBER_UNSPECIFIED |- SEVERITY_NUMBER_TRACE |- SEVERITY_NUMBER_TRACE2 |- SEVERITY_NUMBER_TRACE3 |- SEVERITY_NUMBER_TRACE4 |- SEVERITY_NUMBER_DEBUG |- SEVERITY_NUMBER_DEBUG2 |- SEVERITY_NUMBER_DEBUG3 |- SEVERITY_NUMBER_DEBUG4 |- SEVERITY_NUMBER_INFO |- SEVERITY_NUMBER_INFO2 |- SEVERITY_NUMBER_INFO3 |- SEVERITY_NUMBER_INFO4 |- SEVERITY_NUMBER_WARN |- SEVERITY_NUMBER_WARN2 |- SEVERITY_NUMBER_WARN3 |- SEVERITY_NUMBER_WARN4 |- SEVERITY_NUMBER_ERROR |- SEVERITY_NUMBER_ERROR2 |- SEVERITY_NUMBER_ERROR3 |- SEVERITY_NUMBER_ERROR4 |- SEVERITY_NUMBER_FATAL |- SEVERITY_NUMBER_FATAL2 |- SEVERITY_NUMBER_FATAL3 |- SEVERITY_NUMBER_FATAL4 |- SeverityNumber'Unrecognized !SeverityNumber'UnrecognizedValue- deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)-instance Data.ProtoLens.MessageEnum SeverityNumber where- maybeToEnum 0 = Prelude.Just SEVERITY_NUMBER_UNSPECIFIED- maybeToEnum 1 = Prelude.Just SEVERITY_NUMBER_TRACE- maybeToEnum 2 = Prelude.Just SEVERITY_NUMBER_TRACE2- maybeToEnum 3 = Prelude.Just SEVERITY_NUMBER_TRACE3- maybeToEnum 4 = Prelude.Just SEVERITY_NUMBER_TRACE4- maybeToEnum 5 = Prelude.Just SEVERITY_NUMBER_DEBUG- maybeToEnum 6 = Prelude.Just SEVERITY_NUMBER_DEBUG2- maybeToEnum 7 = Prelude.Just SEVERITY_NUMBER_DEBUG3- maybeToEnum 8 = Prelude.Just SEVERITY_NUMBER_DEBUG4- maybeToEnum 9 = Prelude.Just SEVERITY_NUMBER_INFO- maybeToEnum 10 = Prelude.Just SEVERITY_NUMBER_INFO2- maybeToEnum 11 = Prelude.Just SEVERITY_NUMBER_INFO3- maybeToEnum 12 = Prelude.Just SEVERITY_NUMBER_INFO4- maybeToEnum 13 = Prelude.Just SEVERITY_NUMBER_WARN- maybeToEnum 14 = Prelude.Just SEVERITY_NUMBER_WARN2- maybeToEnum 15 = Prelude.Just SEVERITY_NUMBER_WARN3- maybeToEnum 16 = Prelude.Just SEVERITY_NUMBER_WARN4- maybeToEnum 17 = Prelude.Just SEVERITY_NUMBER_ERROR- maybeToEnum 18 = Prelude.Just SEVERITY_NUMBER_ERROR2- maybeToEnum 19 = Prelude.Just SEVERITY_NUMBER_ERROR3- maybeToEnum 20 = Prelude.Just SEVERITY_NUMBER_ERROR4- maybeToEnum 21 = Prelude.Just SEVERITY_NUMBER_FATAL- maybeToEnum 22 = Prelude.Just SEVERITY_NUMBER_FATAL2- maybeToEnum 23 = Prelude.Just SEVERITY_NUMBER_FATAL3- maybeToEnum 24 = Prelude.Just SEVERITY_NUMBER_FATAL4- maybeToEnum k- = Prelude.Just- (SeverityNumber'Unrecognized- (SeverityNumber'UnrecognizedValue (Prelude.fromIntegral k)))- showEnum SEVERITY_NUMBER_UNSPECIFIED- = "SEVERITY_NUMBER_UNSPECIFIED"- showEnum SEVERITY_NUMBER_TRACE = "SEVERITY_NUMBER_TRACE"- showEnum SEVERITY_NUMBER_TRACE2 = "SEVERITY_NUMBER_TRACE2"- showEnum SEVERITY_NUMBER_TRACE3 = "SEVERITY_NUMBER_TRACE3"- showEnum SEVERITY_NUMBER_TRACE4 = "SEVERITY_NUMBER_TRACE4"- showEnum SEVERITY_NUMBER_DEBUG = "SEVERITY_NUMBER_DEBUG"- showEnum SEVERITY_NUMBER_DEBUG2 = "SEVERITY_NUMBER_DEBUG2"- showEnum SEVERITY_NUMBER_DEBUG3 = "SEVERITY_NUMBER_DEBUG3"- showEnum SEVERITY_NUMBER_DEBUG4 = "SEVERITY_NUMBER_DEBUG4"- showEnum SEVERITY_NUMBER_INFO = "SEVERITY_NUMBER_INFO"- showEnum SEVERITY_NUMBER_INFO2 = "SEVERITY_NUMBER_INFO2"- showEnum SEVERITY_NUMBER_INFO3 = "SEVERITY_NUMBER_INFO3"- showEnum SEVERITY_NUMBER_INFO4 = "SEVERITY_NUMBER_INFO4"- showEnum SEVERITY_NUMBER_WARN = "SEVERITY_NUMBER_WARN"- showEnum SEVERITY_NUMBER_WARN2 = "SEVERITY_NUMBER_WARN2"- showEnum SEVERITY_NUMBER_WARN3 = "SEVERITY_NUMBER_WARN3"- showEnum SEVERITY_NUMBER_WARN4 = "SEVERITY_NUMBER_WARN4"- showEnum SEVERITY_NUMBER_ERROR = "SEVERITY_NUMBER_ERROR"- showEnum SEVERITY_NUMBER_ERROR2 = "SEVERITY_NUMBER_ERROR2"- showEnum SEVERITY_NUMBER_ERROR3 = "SEVERITY_NUMBER_ERROR3"- showEnum SEVERITY_NUMBER_ERROR4 = "SEVERITY_NUMBER_ERROR4"- showEnum SEVERITY_NUMBER_FATAL = "SEVERITY_NUMBER_FATAL"- showEnum SEVERITY_NUMBER_FATAL2 = "SEVERITY_NUMBER_FATAL2"- showEnum SEVERITY_NUMBER_FATAL3 = "SEVERITY_NUMBER_FATAL3"- showEnum SEVERITY_NUMBER_FATAL4 = "SEVERITY_NUMBER_FATAL4"- showEnum- (SeverityNumber'Unrecognized (SeverityNumber'UnrecognizedValue k))- = Prelude.show k- readEnum k- | (Prelude.==) k "SEVERITY_NUMBER_UNSPECIFIED"- = Prelude.Just SEVERITY_NUMBER_UNSPECIFIED- | (Prelude.==) k "SEVERITY_NUMBER_TRACE"- = Prelude.Just SEVERITY_NUMBER_TRACE- | (Prelude.==) k "SEVERITY_NUMBER_TRACE2"- = Prelude.Just SEVERITY_NUMBER_TRACE2- | (Prelude.==) k "SEVERITY_NUMBER_TRACE3"- = Prelude.Just SEVERITY_NUMBER_TRACE3- | (Prelude.==) k "SEVERITY_NUMBER_TRACE4"- = Prelude.Just SEVERITY_NUMBER_TRACE4- | (Prelude.==) k "SEVERITY_NUMBER_DEBUG"- = Prelude.Just SEVERITY_NUMBER_DEBUG- | (Prelude.==) k "SEVERITY_NUMBER_DEBUG2"- = Prelude.Just SEVERITY_NUMBER_DEBUG2- | (Prelude.==) k "SEVERITY_NUMBER_DEBUG3"- = Prelude.Just SEVERITY_NUMBER_DEBUG3- | (Prelude.==) k "SEVERITY_NUMBER_DEBUG4"- = Prelude.Just SEVERITY_NUMBER_DEBUG4- | (Prelude.==) k "SEVERITY_NUMBER_INFO"- = Prelude.Just SEVERITY_NUMBER_INFO- | (Prelude.==) k "SEVERITY_NUMBER_INFO2"- = Prelude.Just SEVERITY_NUMBER_INFO2- | (Prelude.==) k "SEVERITY_NUMBER_INFO3"- = Prelude.Just SEVERITY_NUMBER_INFO3- | (Prelude.==) k "SEVERITY_NUMBER_INFO4"- = Prelude.Just SEVERITY_NUMBER_INFO4- | (Prelude.==) k "SEVERITY_NUMBER_WARN"- = Prelude.Just SEVERITY_NUMBER_WARN- | (Prelude.==) k "SEVERITY_NUMBER_WARN2"- = Prelude.Just SEVERITY_NUMBER_WARN2- | (Prelude.==) k "SEVERITY_NUMBER_WARN3"- = Prelude.Just SEVERITY_NUMBER_WARN3- | (Prelude.==) k "SEVERITY_NUMBER_WARN4"- = Prelude.Just SEVERITY_NUMBER_WARN4- | (Prelude.==) k "SEVERITY_NUMBER_ERROR"- = Prelude.Just SEVERITY_NUMBER_ERROR- | (Prelude.==) k "SEVERITY_NUMBER_ERROR2"- = Prelude.Just SEVERITY_NUMBER_ERROR2- | (Prelude.==) k "SEVERITY_NUMBER_ERROR3"- = Prelude.Just SEVERITY_NUMBER_ERROR3- | (Prelude.==) k "SEVERITY_NUMBER_ERROR4"- = Prelude.Just SEVERITY_NUMBER_ERROR4- | (Prelude.==) k "SEVERITY_NUMBER_FATAL"- = Prelude.Just SEVERITY_NUMBER_FATAL- | (Prelude.==) k "SEVERITY_NUMBER_FATAL2"- = Prelude.Just SEVERITY_NUMBER_FATAL2- | (Prelude.==) k "SEVERITY_NUMBER_FATAL3"- = Prelude.Just SEVERITY_NUMBER_FATAL3- | (Prelude.==) k "SEVERITY_NUMBER_FATAL4"- = Prelude.Just SEVERITY_NUMBER_FATAL4- | Prelude.otherwise- = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum-instance Prelude.Bounded SeverityNumber where- minBound = SEVERITY_NUMBER_UNSPECIFIED- maxBound = SEVERITY_NUMBER_FATAL4-instance Prelude.Enum SeverityNumber where- toEnum k__- = Prelude.maybe- (Prelude.error- ((Prelude.++)- "toEnum: unknown value for enum SeverityNumber: "- (Prelude.show k__)))- Prelude.id (Data.ProtoLens.maybeToEnum k__)- fromEnum SEVERITY_NUMBER_UNSPECIFIED = 0- fromEnum SEVERITY_NUMBER_TRACE = 1- fromEnum SEVERITY_NUMBER_TRACE2 = 2- fromEnum SEVERITY_NUMBER_TRACE3 = 3- fromEnum SEVERITY_NUMBER_TRACE4 = 4- fromEnum SEVERITY_NUMBER_DEBUG = 5- fromEnum SEVERITY_NUMBER_DEBUG2 = 6- fromEnum SEVERITY_NUMBER_DEBUG3 = 7- fromEnum SEVERITY_NUMBER_DEBUG4 = 8- fromEnum SEVERITY_NUMBER_INFO = 9- fromEnum SEVERITY_NUMBER_INFO2 = 10- fromEnum SEVERITY_NUMBER_INFO3 = 11- fromEnum SEVERITY_NUMBER_INFO4 = 12- fromEnum SEVERITY_NUMBER_WARN = 13- fromEnum SEVERITY_NUMBER_WARN2 = 14- fromEnum SEVERITY_NUMBER_WARN3 = 15- fromEnum SEVERITY_NUMBER_WARN4 = 16- fromEnum SEVERITY_NUMBER_ERROR = 17- fromEnum SEVERITY_NUMBER_ERROR2 = 18- fromEnum SEVERITY_NUMBER_ERROR3 = 19- fromEnum SEVERITY_NUMBER_ERROR4 = 20- fromEnum SEVERITY_NUMBER_FATAL = 21- fromEnum SEVERITY_NUMBER_FATAL2 = 22- fromEnum SEVERITY_NUMBER_FATAL3 = 23- fromEnum SEVERITY_NUMBER_FATAL4 = 24- fromEnum- (SeverityNumber'Unrecognized (SeverityNumber'UnrecognizedValue k))- = Prelude.fromIntegral k- succ SEVERITY_NUMBER_FATAL4- = Prelude.error- "SeverityNumber.succ: bad argument SEVERITY_NUMBER_FATAL4. This value would be out of bounds."- succ SEVERITY_NUMBER_UNSPECIFIED = SEVERITY_NUMBER_TRACE- succ SEVERITY_NUMBER_TRACE = SEVERITY_NUMBER_TRACE2- succ SEVERITY_NUMBER_TRACE2 = SEVERITY_NUMBER_TRACE3- succ SEVERITY_NUMBER_TRACE3 = SEVERITY_NUMBER_TRACE4- succ SEVERITY_NUMBER_TRACE4 = SEVERITY_NUMBER_DEBUG- succ SEVERITY_NUMBER_DEBUG = SEVERITY_NUMBER_DEBUG2- succ SEVERITY_NUMBER_DEBUG2 = SEVERITY_NUMBER_DEBUG3- succ SEVERITY_NUMBER_DEBUG3 = SEVERITY_NUMBER_DEBUG4- succ SEVERITY_NUMBER_DEBUG4 = SEVERITY_NUMBER_INFO- succ SEVERITY_NUMBER_INFO = SEVERITY_NUMBER_INFO2- succ SEVERITY_NUMBER_INFO2 = SEVERITY_NUMBER_INFO3- succ SEVERITY_NUMBER_INFO3 = SEVERITY_NUMBER_INFO4- succ SEVERITY_NUMBER_INFO4 = SEVERITY_NUMBER_WARN- succ SEVERITY_NUMBER_WARN = SEVERITY_NUMBER_WARN2- succ SEVERITY_NUMBER_WARN2 = SEVERITY_NUMBER_WARN3- succ SEVERITY_NUMBER_WARN3 = SEVERITY_NUMBER_WARN4- succ SEVERITY_NUMBER_WARN4 = SEVERITY_NUMBER_ERROR- succ SEVERITY_NUMBER_ERROR = SEVERITY_NUMBER_ERROR2- succ SEVERITY_NUMBER_ERROR2 = SEVERITY_NUMBER_ERROR3- succ SEVERITY_NUMBER_ERROR3 = SEVERITY_NUMBER_ERROR4- succ SEVERITY_NUMBER_ERROR4 = SEVERITY_NUMBER_FATAL- succ SEVERITY_NUMBER_FATAL = SEVERITY_NUMBER_FATAL2- succ SEVERITY_NUMBER_FATAL2 = SEVERITY_NUMBER_FATAL3- succ SEVERITY_NUMBER_FATAL3 = SEVERITY_NUMBER_FATAL4- succ (SeverityNumber'Unrecognized _)- = Prelude.error- "SeverityNumber.succ: bad argument: unrecognized value"- pred SEVERITY_NUMBER_UNSPECIFIED- = Prelude.error- "SeverityNumber.pred: bad argument SEVERITY_NUMBER_UNSPECIFIED. This value would be out of bounds."- pred SEVERITY_NUMBER_TRACE = SEVERITY_NUMBER_UNSPECIFIED- pred SEVERITY_NUMBER_TRACE2 = SEVERITY_NUMBER_TRACE- pred SEVERITY_NUMBER_TRACE3 = SEVERITY_NUMBER_TRACE2- pred SEVERITY_NUMBER_TRACE4 = SEVERITY_NUMBER_TRACE3- pred SEVERITY_NUMBER_DEBUG = SEVERITY_NUMBER_TRACE4- pred SEVERITY_NUMBER_DEBUG2 = SEVERITY_NUMBER_DEBUG- pred SEVERITY_NUMBER_DEBUG3 = SEVERITY_NUMBER_DEBUG2- pred SEVERITY_NUMBER_DEBUG4 = SEVERITY_NUMBER_DEBUG3- pred SEVERITY_NUMBER_INFO = SEVERITY_NUMBER_DEBUG4- pred SEVERITY_NUMBER_INFO2 = SEVERITY_NUMBER_INFO- pred SEVERITY_NUMBER_INFO3 = SEVERITY_NUMBER_INFO2- pred SEVERITY_NUMBER_INFO4 = SEVERITY_NUMBER_INFO3- pred SEVERITY_NUMBER_WARN = SEVERITY_NUMBER_INFO4- pred SEVERITY_NUMBER_WARN2 = SEVERITY_NUMBER_WARN- pred SEVERITY_NUMBER_WARN3 = SEVERITY_NUMBER_WARN2- pred SEVERITY_NUMBER_WARN4 = SEVERITY_NUMBER_WARN3- pred SEVERITY_NUMBER_ERROR = SEVERITY_NUMBER_WARN4- pred SEVERITY_NUMBER_ERROR2 = SEVERITY_NUMBER_ERROR- pred SEVERITY_NUMBER_ERROR3 = SEVERITY_NUMBER_ERROR2- pred SEVERITY_NUMBER_ERROR4 = SEVERITY_NUMBER_ERROR3- pred SEVERITY_NUMBER_FATAL = SEVERITY_NUMBER_ERROR4- pred SEVERITY_NUMBER_FATAL2 = SEVERITY_NUMBER_FATAL- pred SEVERITY_NUMBER_FATAL3 = SEVERITY_NUMBER_FATAL2- pred SEVERITY_NUMBER_FATAL4 = SEVERITY_NUMBER_FATAL3- pred (SeverityNumber'Unrecognized _)- = Prelude.error- "SeverityNumber.pred: bad argument: unrecognized value"- enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom- enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo- enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen- enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo-instance Data.ProtoLens.FieldDefault SeverityNumber where- fieldDefault = SEVERITY_NUMBER_UNSPECIFIED-instance Control.DeepSeq.NFData SeverityNumber where- rnf x__ = Prelude.seq x__ ()-packedFileDescriptor :: Data.ByteString.ByteString-packedFileDescriptor- = "\n\- \&opentelemetry/proto/logs/v1/logs.proto\DC2\ESCopentelemetry.proto.logs.v1\SUB*opentelemetry/proto/common/v1/common.proto\SUB.opentelemetry/proto/resource/v1/resource.proto\"Z\n\- \\bLogsData\DC2N\n\- \\rresource_logs\CAN\SOH \ETX(\v2).opentelemetry.proto.logs.v1.ResourceLogsR\fresourceLogs\"\239\SOH\n\- \\fResourceLogs\DC2E\n\- \\bresource\CAN\SOH \SOH(\v2).opentelemetry.proto.resource.v1.ResourceR\bresource\DC2y\n\- \\FSinstrumentation_library_logs\CAN\STX \ETX(\v27.opentelemetry.proto.logs.v1.InstrumentationLibraryLogsR\SUBinstrumentationLibraryLogs\DC2\GS\n\- \\n\- \schema_url\CAN\ETX \SOH(\tR\tschemaUrl\"\231\SOH\n\- \\SUBInstrumentationLibraryLogs\DC2n\n\- \\ETBinstrumentation_library\CAN\SOH \SOH(\v25.opentelemetry.proto.common.v1.InstrumentationLibraryR\SYNinstrumentationLibrary\DC2:\n\- \\EOTlogs\CAN\STX \ETX(\v2&.opentelemetry.proto.logs.v1.LogRecordR\EOTlogs\DC2\GS\n\- \\n\- \schema_url\CAN\ETX \SOH(\tR\tschemaUrl\"\202\ETX\n\- \\tLogRecord\DC2$\n\- \\SOtime_unix_nano\CAN\SOH \SOH(\ACKR\ftimeUnixNano\DC2T\n\- \\SIseverity_number\CAN\STX \SOH(\SO2+.opentelemetry.proto.logs.v1.SeverityNumberR\SOseverityNumber\DC2#\n\- \\rseverity_text\CAN\ETX \SOH(\tR\fseverityText\DC2\DC2\n\- \\EOTname\CAN\EOT \SOH(\tR\EOTname\DC2;\n\- \\EOTbody\CAN\ENQ \SOH(\v2'.opentelemetry.proto.common.v1.AnyValueR\EOTbody\DC2G\n\- \\n\- \attributes\CAN\ACK \ETX(\v2'.opentelemetry.proto.common.v1.KeyValueR\n\- \attributes\DC28\n\- \\CANdropped_attributes_count\CAN\a \SOH(\rR\SYNdroppedAttributesCount\DC2\DC4\n\- \\ENQflags\CAN\b \SOH(\aR\ENQflags\DC2\EM\n\- \\btrace_id\CAN\t \SOH(\fR\atraceId\DC2\ETB\n\- \\aspan_id\CAN\n\- \ \SOH(\fR\ACKspanId*\195\ENQ\n\- \\SOSeverityNumber\DC2\US\n\- \\ESCSEVERITY_NUMBER_UNSPECIFIED\DLE\NUL\DC2\EM\n\- \\NAKSEVERITY_NUMBER_TRACE\DLE\SOH\DC2\SUB\n\- \\SYNSEVERITY_NUMBER_TRACE2\DLE\STX\DC2\SUB\n\- \\SYNSEVERITY_NUMBER_TRACE3\DLE\ETX\DC2\SUB\n\- \\SYNSEVERITY_NUMBER_TRACE4\DLE\EOT\DC2\EM\n\- \\NAKSEVERITY_NUMBER_DEBUG\DLE\ENQ\DC2\SUB\n\- \\SYNSEVERITY_NUMBER_DEBUG2\DLE\ACK\DC2\SUB\n\- \\SYNSEVERITY_NUMBER_DEBUG3\DLE\a\DC2\SUB\n\- \\SYNSEVERITY_NUMBER_DEBUG4\DLE\b\DC2\CAN\n\- \\DC4SEVERITY_NUMBER_INFO\DLE\t\DC2\EM\n\- \\NAKSEVERITY_NUMBER_INFO2\DLE\n\- \\DC2\EM\n\- \\NAKSEVERITY_NUMBER_INFO3\DLE\v\DC2\EM\n\- \\NAKSEVERITY_NUMBER_INFO4\DLE\f\DC2\CAN\n\- \\DC4SEVERITY_NUMBER_WARN\DLE\r\DC2\EM\n\- \\NAKSEVERITY_NUMBER_WARN2\DLE\SO\DC2\EM\n\- \\NAKSEVERITY_NUMBER_WARN3\DLE\SI\DC2\EM\n\- \\NAKSEVERITY_NUMBER_WARN4\DLE\DLE\DC2\EM\n\- \\NAKSEVERITY_NUMBER_ERROR\DLE\DC1\DC2\SUB\n\- \\SYNSEVERITY_NUMBER_ERROR2\DLE\DC2\DC2\SUB\n\- \\SYNSEVERITY_NUMBER_ERROR3\DLE\DC3\DC2\SUB\n\- \\SYNSEVERITY_NUMBER_ERROR4\DLE\DC4\DC2\EM\n\- \\NAKSEVERITY_NUMBER_FATAL\DLE\NAK\DC2\SUB\n\- \\SYNSEVERITY_NUMBER_FATAL2\DLE\SYN\DC2\SUB\n\- \\SYNSEVERITY_NUMBER_FATAL3\DLE\ETB\DC2\SUB\n\- \\SYNSEVERITY_NUMBER_FATAL4\DLE\CAN*X\n\- \\SOLogRecordFlags\DC2\US\n\- \\ESCLOG_RECORD_FLAG_UNSPECIFIED\DLE\NUL\DC2%\n\- \ LOG_RECORD_FLAG_TRACE_FLAGS_MASK\DLE\255\SOHBk\n\- \\RSio.opentelemetry.proto.logs.v1B\tLogsProtoP\SOHZ<github.com/open-telemetry/opentelemetry-proto/gen/go/logs/v1J\147\&4\n\- \\a\DC2\ENQ\SO\NUL\158\SOH\SOH\n\- \\200\EOT\n\- \\SOH\f\DC2\ETX\SO\NUL\DC22\189\EOT Copyright 2020, OpenTelemetry Authors\n\- \\n\- \ Licensed under the Apache License, Version 2.0 (the \"License\");\n\- \ you may not use this file except in compliance with the License.\n\- \ You may obtain a copy of the License at\n\- \\n\- \ http://www.apache.org/licenses/LICENSE-2.0\n\- \\n\- \ Unless required by applicable law or agreed to in writing, software\n\- \ distributed under the License is distributed on an \"AS IS\" BASIS,\n\- \ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\- \ See the License for the specific language governing permissions and\n\- \ limitations under the License.\n\- \\n\- \\b\n\- \\SOH\STX\DC2\ETX\DLE\NUL$\n\- \\t\n\- \\STX\ETX\NUL\DC2\ETX\DC2\NUL4\n\- \\t\n\- \\STX\ETX\SOH\DC2\ETX\DC3\NUL8\n\- \\b\n\- \\SOH\b\DC2\ETX\NAK\NUL\"\n\- \\t\n\- \\STX\b\n\- \\DC2\ETX\NAK\NUL\"\n\- \\b\n\- \\SOH\b\DC2\ETX\SYN\NUL7\n\- \\t\n\- \\STX\b\SOH\DC2\ETX\SYN\NUL7\n\- \\b\n\- \\SOH\b\DC2\ETX\ETB\NUL*\n\- \\t\n\- \\STX\b\b\DC2\ETX\ETB\NUL*\n\- \\b\n\- \\SOH\b\DC2\ETX\CAN\NULS\n\- \\t\n\- \\STX\b\v\DC2\ETX\CAN\NULS\n\- \\200\ETX\n\- \\STX\EOT\NUL\DC2\EOT$\NUL+\SOH\SUB\187\ETX LogsData represents the logs data that can be stored in a persistent storage,\n\- \ OR can be embedded by other protocols that transfer OTLP logs data but do not\n\- \ implement the OTLP protocol.\n\- \\n\- \ The main difference between this message and collector protocol is that\n\- \ in this message there will not be any \"control\" or \"metadata\" specific to\n\- \ OTLP protocol.\n\- \\n\- \ When new fields are added into this message, the OTLP request MUST be updated\n\- \ as well.\n\- \\n\- \\n\- \\n\- \\ETX\EOT\NUL\SOH\DC2\ETX$\b\DLE\n\- \\173\STX\n\- \\EOT\EOT\NUL\STX\NUL\DC2\ETX*\STX*\SUB\159\STX An array of ResourceLogs.\n\- \ For data coming from a single resource this array will typically contain\n\- \ one element. Intermediary nodes that receive data from multiple origins\n\- \ typically batch the data before forwarding further and in that case this\n\- \ array will contain multiple elements.\n\- \\n\- \\f\n\- \\ENQ\EOT\NUL\STX\NUL\EOT\DC2\ETX*\STX\n\- \\n\- \\f\n\- \\ENQ\EOT\NUL\STX\NUL\ACK\DC2\ETX*\v\ETB\n\- \\f\n\- \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX*\CAN%\n\- \\f\n\- \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX*()\n\- \I\n\- \\STX\EOT\SOH\DC2\EOT.\NUL:\SOH\SUB= A collection of InstrumentationLibraryLogs from a Resource.\n\- \\n\- \\n\- \\n\- \\ETX\EOT\SOH\SOH\DC2\ETX.\b\DC4\n\- \r\n\- \\EOT\EOT\SOH\STX\NUL\DC2\ETX1\STX8\SUBe The resource for the logs in this message.\n\- \ If this field is not set then resource info is unknown.\n\- \\n\- \\f\n\- \\ENQ\EOT\SOH\STX\NUL\ACK\DC2\ETX1\STX*\n\- \\f\n\- \\ENQ\EOT\SOH\STX\NUL\SOH\DC2\ETX1+3\n\- \\f\n\- \\ENQ\EOT\SOH\STX\NUL\ETX\DC2\ETX167\n\- \S\n\- \\EOT\EOT\SOH\STX\SOH\DC2\ETX4\STXG\SUBF A list of InstrumentationLibraryLogs that originate from a resource.\n\- \\n\- \\f\n\- \\ENQ\EOT\SOH\STX\SOH\EOT\DC2\ETX4\STX\n\- \\n\- \\f\n\- \\ENQ\EOT\SOH\STX\SOH\ACK\DC2\ETX4\v%\n\- \\f\n\- \\ENQ\EOT\SOH\STX\SOH\SOH\DC2\ETX4&B\n\- \\f\n\- \\ENQ\EOT\SOH\STX\SOH\ETX\DC2\ETX4EF\n\- \\191\SOH\n\- \\EOT\EOT\SOH\STX\STX\DC2\ETX9\STX\CAN\SUB\177\SOH This schema_url applies to the data in the \"resource\" field. It does not apply\n\- \ to the data in the \"instrumentation_library_logs\" field which have their own\n\- \ schema_url field.\n\- \\n\- \\f\n\- \\ENQ\EOT\SOH\STX\STX\ENQ\DC2\ETX9\STX\b\n\- \\f\n\- \\ENQ\EOT\SOH\STX\STX\SOH\DC2\ETX9\t\DC3\n\- \\f\n\- \\ENQ\EOT\SOH\STX\STX\ETX\DC2\ETX9\SYN\ETB\n\- \I\n\- \\STX\EOT\STX\DC2\EOT=\NULH\SOH\SUB= A collection of Logs produced by an InstrumentationLibrary.\n\- \\n\- \\n\- \\n\- \\ETX\EOT\STX\SOH\DC2\ETX=\b\"\n\- \\210\SOH\n\- \\EOT\EOT\STX\STX\NUL\DC2\ETXA\STXS\SUB\196\SOH The instrumentation library information for the logs in this message.\n\- \ Semantically when InstrumentationLibrary isn't set, it is equivalent with\n\- \ an empty instrumentation library name (unknown).\n\- \\n\- \\f\n\- \\ENQ\EOT\STX\STX\NUL\ACK\DC2\ETXA\STX6\n\- \\f\n\- \\ENQ\EOT\STX\STX\NUL\SOH\DC2\ETXA7N\n\- \\f\n\- \\ENQ\EOT\STX\STX\NUL\ETX\DC2\ETXAQR\n\- \%\n\- \\EOT\EOT\STX\STX\SOH\DC2\ETXD\STX\RS\SUB\CAN A list of log records.\n\- \\n\- \\f\n\- \\ENQ\EOT\STX\STX\SOH\EOT\DC2\ETXD\STX\n\- \\n\- \\f\n\- \\ENQ\EOT\STX\STX\SOH\ACK\DC2\ETXD\v\DC4\n\- \\f\n\- \\ENQ\EOT\STX\STX\SOH\SOH\DC2\ETXD\NAK\EM\n\- \\f\n\- \\ENQ\EOT\STX\STX\SOH\ETX\DC2\ETXD\FS\GS\n\- \G\n\- \\EOT\EOT\STX\STX\STX\DC2\ETXG\STX\CAN\SUB: This schema_url applies to all logs in the \"logs\" field.\n\- \\n\- \\f\n\- \\ENQ\EOT\STX\STX\STX\ENQ\DC2\ETXG\STX\b\n\- \\f\n\- \\ENQ\EOT\STX\STX\STX\SOH\DC2\ETXG\t\DC3\n\- \\f\n\- \\ENQ\EOT\STX\STX\STX\ETX\DC2\ETXG\SYN\ETB\n\- \;\n\- \\STX\ENQ\NUL\DC2\EOTK\NULf\SOH\SUB/ Possible values for LogRecord.SeverityNumber.\n\- \\n\- \\n\- \\n\- \\ETX\ENQ\NUL\SOH\DC2\ETXK\ENQ\DC3\n\- \N\n\- \\EOT\ENQ\NUL\STX\NUL\DC2\ETXM\STX\"\SUBA UNSPECIFIED is the default SeverityNumber, it MUST NOT be used.\n\- \\n\- \\f\n\- \\ENQ\ENQ\NUL\STX\NUL\SOH\DC2\ETXM\STX\GS\n\- \\f\n\- \\ENQ\ENQ\NUL\STX\NUL\STX\DC2\ETXM !\n\- \\v\n\- \\EOT\ENQ\NUL\STX\SOH\DC2\ETXN\STX\GS\n\- \\f\n\- \\ENQ\ENQ\NUL\STX\SOH\SOH\DC2\ETXN\STX\ETB\n\- \\f\n\- \\ENQ\ENQ\NUL\STX\SOH\STX\DC2\ETXN\ESC\FS\n\- \\v\n\- \\EOT\ENQ\NUL\STX\STX\DC2\ETXO\STX\GS\n\- \\f\n\- \\ENQ\ENQ\NUL\STX\STX\SOH\DC2\ETXO\STX\CAN\n\- \\f\n\- \\ENQ\ENQ\NUL\STX\STX\STX\DC2\ETXO\ESC\FS\n\- \\v\n\- \\EOT\ENQ\NUL\STX\ETX\DC2\ETXP\STX\GS\n\- \\f\n\- \\ENQ\ENQ\NUL\STX\ETX\SOH\DC2\ETXP\STX\CAN\n\- \\f\n\- \\ENQ\ENQ\NUL\STX\ETX\STX\DC2\ETXP\ESC\FS\n\- \\v\n\- \\EOT\ENQ\NUL\STX\EOT\DC2\ETXQ\STX\GS\n\- \\f\n\- \\ENQ\ENQ\NUL\STX\EOT\SOH\DC2\ETXQ\STX\CAN\n\- \\f\n\- \\ENQ\ENQ\NUL\STX\EOT\STX\DC2\ETXQ\ESC\FS\n\- \\v\n\- \\EOT\ENQ\NUL\STX\ENQ\DC2\ETXR\STX\GS\n\- \\f\n\- \\ENQ\ENQ\NUL\STX\ENQ\SOH\DC2\ETXR\STX\ETB\n\- \\f\n\- \\ENQ\ENQ\NUL\STX\ENQ\STX\DC2\ETXR\ESC\FS\n\- \\v\n\- \\EOT\ENQ\NUL\STX\ACK\DC2\ETXS\STX\GS\n\- \\f\n\- \\ENQ\ENQ\NUL\STX\ACK\SOH\DC2\ETXS\STX\CAN\n\- \\f\n\- \\ENQ\ENQ\NUL\STX\ACK\STX\DC2\ETXS\ESC\FS\n\- \\v\n\- \\EOT\ENQ\NUL\STX\a\DC2\ETXT\STX\GS\n\- \\f\n\- \\ENQ\ENQ\NUL\STX\a\SOH\DC2\ETXT\STX\CAN\n\- \\f\n\- \\ENQ\ENQ\NUL\STX\a\STX\DC2\ETXT\ESC\FS\n\- \\v\n\- \\EOT\ENQ\NUL\STX\b\DC2\ETXU\STX\GS\n\- \\f\n\- \\ENQ\ENQ\NUL\STX\b\SOH\DC2\ETXU\STX\CAN\n\- \\f\n\- \\ENQ\ENQ\NUL\STX\b\STX\DC2\ETXU\ESC\FS\n\- \\v\n\- \\EOT\ENQ\NUL\STX\t\DC2\ETXV\STX\GS\n\- \\f\n\- \\ENQ\ENQ\NUL\STX\t\SOH\DC2\ETXV\STX\SYN\n\- \\f\n\- \\ENQ\ENQ\NUL\STX\t\STX\DC2\ETXV\ESC\FS\n\- \\v\n\- \\EOT\ENQ\NUL\STX\n\- \\DC2\ETXW\STX\RS\n\- \\f\n\- \\ENQ\ENQ\NUL\STX\n\- \\SOH\DC2\ETXW\STX\ETB\n\- \\f\n\- \\ENQ\ENQ\NUL\STX\n\- \\STX\DC2\ETXW\ESC\GS\n\- \\v\n\- \\EOT\ENQ\NUL\STX\v\DC2\ETXX\STX\RS\n\- \\f\n\- \\ENQ\ENQ\NUL\STX\v\SOH\DC2\ETXX\STX\ETB\n\- \\f\n\- \\ENQ\ENQ\NUL\STX\v\STX\DC2\ETXX\ESC\GS\n\- \\v\n\- \\EOT\ENQ\NUL\STX\f\DC2\ETXY\STX\RS\n\- \\f\n\- \\ENQ\ENQ\NUL\STX\f\SOH\DC2\ETXY\STX\ETB\n\- \\f\n\- \\ENQ\ENQ\NUL\STX\f\STX\DC2\ETXY\ESC\GS\n\- \\v\n\- \\EOT\ENQ\NUL\STX\r\DC2\ETXZ\STX\RS\n\- \\f\n\- \\ENQ\ENQ\NUL\STX\r\SOH\DC2\ETXZ\STX\SYN\n\- \\f\n\- \\ENQ\ENQ\NUL\STX\r\STX\DC2\ETXZ\ESC\GS\n\- \\v\n\- \\EOT\ENQ\NUL\STX\SO\DC2\ETX[\STX\RS\n\- \\f\n\- \\ENQ\ENQ\NUL\STX\SO\SOH\DC2\ETX[\STX\ETB\n\- \\f\n\- \\ENQ\ENQ\NUL\STX\SO\STX\DC2\ETX[\ESC\GS\n\- \\v\n\- \\EOT\ENQ\NUL\STX\SI\DC2\ETX\\\STX\RS\n\- \\f\n\- \\ENQ\ENQ\NUL\STX\SI\SOH\DC2\ETX\\\STX\ETB\n\- \\f\n\- \\ENQ\ENQ\NUL\STX\SI\STX\DC2\ETX\\\ESC\GS\n\- \\v\n\- \\EOT\ENQ\NUL\STX\DLE\DC2\ETX]\STX\RS\n\- \\f\n\- \\ENQ\ENQ\NUL\STX\DLE\SOH\DC2\ETX]\STX\ETB\n\- \\f\n\- \\ENQ\ENQ\NUL\STX\DLE\STX\DC2\ETX]\ESC\GS\n\- \\v\n\- \\EOT\ENQ\NUL\STX\DC1\DC2\ETX^\STX\RS\n\- \\f\n\- \\ENQ\ENQ\NUL\STX\DC1\SOH\DC2\ETX^\STX\ETB\n\- \\f\n\- \\ENQ\ENQ\NUL\STX\DC1\STX\DC2\ETX^\ESC\GS\n\- \\v\n\- \\EOT\ENQ\NUL\STX\DC2\DC2\ETX_\STX\RS\n\- \\f\n\- \\ENQ\ENQ\NUL\STX\DC2\SOH\DC2\ETX_\STX\CAN\n\- \\f\n\- \\ENQ\ENQ\NUL\STX\DC2\STX\DC2\ETX_\ESC\GS\n\- \\v\n\- \\EOT\ENQ\NUL\STX\DC3\DC2\ETX`\STX\RS\n\- \\f\n\- \\ENQ\ENQ\NUL\STX\DC3\SOH\DC2\ETX`\STX\CAN\n\- \\f\n\- \\ENQ\ENQ\NUL\STX\DC3\STX\DC2\ETX`\ESC\GS\n\- \\v\n\- \\EOT\ENQ\NUL\STX\DC4\DC2\ETXa\STX\RS\n\- \\f\n\- \\ENQ\ENQ\NUL\STX\DC4\SOH\DC2\ETXa\STX\CAN\n\- \\f\n\- \\ENQ\ENQ\NUL\STX\DC4\STX\DC2\ETXa\ESC\GS\n\- \\v\n\- \\EOT\ENQ\NUL\STX\NAK\DC2\ETXb\STX\RS\n\- \\f\n\- \\ENQ\ENQ\NUL\STX\NAK\SOH\DC2\ETXb\STX\ETB\n\- \\f\n\- \\ENQ\ENQ\NUL\STX\NAK\STX\DC2\ETXb\ESC\GS\n\- \\v\n\- \\EOT\ENQ\NUL\STX\SYN\DC2\ETXc\STX\RS\n\- \\f\n\- \\ENQ\ENQ\NUL\STX\SYN\SOH\DC2\ETXc\STX\CAN\n\- \\f\n\- \\ENQ\ENQ\NUL\STX\SYN\STX\DC2\ETXc\ESC\GS\n\- \\v\n\- \\EOT\ENQ\NUL\STX\ETB\DC2\ETXd\STX\RS\n\- \\f\n\- \\ENQ\ENQ\NUL\STX\ETB\SOH\DC2\ETXd\STX\CAN\n\- \\f\n\- \\ENQ\ENQ\NUL\STX\ETB\STX\DC2\ETXd\ESC\GS\n\- \\v\n\- \\EOT\ENQ\NUL\STX\CAN\DC2\ETXe\STX\RS\n\- \\f\n\- \\ENQ\ENQ\NUL\STX\CAN\SOH\DC2\ETXe\STX\CAN\n\- \\f\n\- \\ENQ\ENQ\NUL\STX\CAN\STX\DC2\ETXe\ESC\GS\n\- \.\n\- \\STX\ENQ\SOH\DC2\EOTi\NULl\SOH\SUB\" Masks for LogRecord.flags field.\n\- \\n\- \\n\- \\n\- \\ETX\ENQ\SOH\SOH\DC2\ETXi\ENQ\DC3\n\- \\v\n\- \\EOT\ENQ\SOH\STX\NUL\DC2\ETXj\STX\"\n\- \\f\n\- \\ENQ\ENQ\SOH\STX\NUL\SOH\DC2\ETXj\STX\GS\n\- \\f\n\- \\ENQ\ENQ\SOH\STX\NUL\STX\DC2\ETXj !\n\- \\v\n\- \\EOT\ENQ\SOH\STX\SOH\DC2\ETXk\STX0\n\- \\f\n\- \\ENQ\ENQ\SOH\STX\SOH\SOH\DC2\ETXk\STX\"\n\- \\f\n\- \\ENQ\ENQ\SOH\STX\SOH\STX\DC2\ETXk%/\n\- \\155\SOH\n\- \\STX\EOT\ETX\DC2\ENQp\NUL\158\SOH\SOH\SUB\141\SOH A log record according to OpenTelemetry Log Data Model:\n\- \ https://github.com/open-telemetry/oteps/blob/main/text/logs/0097-log-data-model.md\n\- \\n\- \\n\- \\n\- \\ETX\EOT\ETX\SOH\DC2\ETXp\b\DC1\n\- \\198\SOH\n\- \\EOT\EOT\ETX\STX\NUL\DC2\ETXt\STX\GS\SUB\184\SOH time_unix_nano is the time when the event occurred.\n\- \ Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970.\n\- \ Value of 0 indicates unknown or missing timestamp.\n\- \\n\- \\f\n\- \\ENQ\EOT\ETX\STX\NUL\ENQ\DC2\ETXt\STX\t\n\- \\f\n\- \\ENQ\EOT\ETX\STX\NUL\SOH\DC2\ETXt\n\- \\CAN\n\- \\f\n\- \\ENQ\EOT\ETX\STX\NUL\ETX\DC2\ETXt\ESC\FS\n\- \n\n\- \\EOT\EOT\ETX\STX\SOH\DC2\ETXx\STX%\SUBa Numerical value of the severity, normalized to values described in Log Data Model.\n\- \ [Optional].\n\- \\n\- \\f\n\- \\ENQ\EOT\ETX\STX\SOH\ACK\DC2\ETXx\STX\DLE\n\- \\f\n\- \\ENQ\EOT\ETX\STX\SOH\SOH\DC2\ETXx\DC1 \n\- \\f\n\- \\ENQ\EOT\ETX\STX\SOH\ETX\DC2\ETXx#$\n\- \\137\SOH\n\- \\EOT\EOT\ETX\STX\STX\DC2\ETX|\STX\ESC\SUB| The severity text (also known as log level). The original string representation as\n\- \ it is known at the source. [Optional].\n\- \\n\- \\f\n\- \\ENQ\EOT\ETX\STX\STX\ENQ\DC2\ETX|\STX\b\n\- \\f\n\- \\ENQ\EOT\ETX\STX\STX\SOH\DC2\ETX|\t\SYN\n\- \\f\n\- \\ENQ\EOT\ETX\STX\STX\ETX\DC2\ETX|\EM\SUB\n\- \\232\SOH\n\- \\EOT\EOT\ETX\STX\ETX\DC2\EOT\129\SOH\STX\DC2\SUB\217\SOH Short event identifier that does not contain varying parts. Name describes\n\- \ what happened (e.g. \"ProcessStarted\"). Recommended to be no longer than 50\n\- \ characters. Not guaranteed to be unique in any way. [Optional].\n\- \\n\- \\r\n\- \\ENQ\EOT\ETX\STX\ETX\ENQ\DC2\EOT\129\SOH\STX\b\n\- \\r\n\- \\ENQ\EOT\ETX\STX\ETX\SOH\DC2\EOT\129\SOH\t\r\n\- \\r\n\- \\ENQ\EOT\ETX\STX\ETX\ETX\DC2\EOT\129\SOH\DLE\DC1\n\- \\135\STX\n\- \\EOT\EOT\ETX\STX\EOT\DC2\EOT\134\SOH\STX2\SUB\248\SOH A value containing the body of the log record. Can be for example a human-readable\n\- \ string message (including multi-line) describing the event in a free form or it can\n\- \ be a structured data composed of arrays and maps of other values. [Optional].\n\- \\n\- \\r\n\- \\ENQ\EOT\ETX\STX\EOT\ACK\DC2\EOT\134\SOH\STX(\n\- \\r\n\- \\ENQ\EOT\ETX\STX\EOT\SOH\DC2\EOT\134\SOH)-\n\- \\r\n\- \\ENQ\EOT\ETX\STX\EOT\ETX\DC2\EOT\134\SOH01\n\- \^\n\- \\EOT\EOT\ETX\STX\ENQ\DC2\EOT\137\SOH\STXA\SUBP Additional attributes that describe the specific event occurrence. [Optional].\n\- \\n\- \\r\n\- \\ENQ\EOT\ETX\STX\ENQ\EOT\DC2\EOT\137\SOH\STX\n\- \\n\- \\r\n\- \\ENQ\EOT\ETX\STX\ENQ\ACK\DC2\EOT\137\SOH\v1\n\- \\r\n\- \\ENQ\EOT\ETX\STX\ENQ\SOH\DC2\EOT\137\SOH2<\n\- \\r\n\- \\ENQ\EOT\ETX\STX\ENQ\ETX\DC2\EOT\137\SOH?@\n\- \\f\n\- \\EOT\EOT\ETX\STX\ACK\DC2\EOT\138\SOH\STX&\n\- \\r\n\- \\ENQ\EOT\ETX\STX\ACK\ENQ\DC2\EOT\138\SOH\STX\b\n\- \\r\n\- \\ENQ\EOT\ETX\STX\ACK\SOH\DC2\EOT\138\SOH\t!\n\- \\r\n\- \\ENQ\EOT\ETX\STX\ACK\ETX\DC2\EOT\138\SOH$%\n\- \\238\STX\n\- \\EOT\EOT\ETX\STX\a\DC2\EOT\145\SOH\STX\DC4\SUB\223\STX Flags, a bit field. 8 least significant bits are the trace flags as\n\- \ defined in W3C Trace Context specification. 24 most significant bits are reserved\n\- \ and must be set to 0. Readers must not assume that 24 most significant bits\n\- \ will be zero and must correctly mask the bits when reading 8-bit trace flag (use\n\- \ flags & TRACE_FLAGS_MASK). [Optional].\n\- \\n\- \\r\n\- \\ENQ\EOT\ETX\STX\a\ENQ\DC2\EOT\145\SOH\STX\t\n\- \\r\n\- \\ENQ\EOT\ETX\STX\a\SOH\DC2\EOT\145\SOH\n\- \\SI\n\- \\r\n\- \\ENQ\EOT\ETX\STX\a\ETX\DC2\EOT\145\SOH\DC2\DC3\n\- \\151\STX\n\- \\EOT\EOT\ETX\STX\b\DC2\EOT\151\SOH\STX\NAK\SUB\136\STX A unique identifier for a trace. All logs from the same trace share\n\- \ the same `trace_id`. The ID is a 16-byte array. An ID with all zeroes\n\- \ is considered invalid. Can be set for logs that are part of request processing\n\- \ and have an assigned trace id. [Optional].\n\- \\n\- \\r\n\- \\ENQ\EOT\ETX\STX\b\ENQ\DC2\EOT\151\SOH\STX\a\n\- \\r\n\- \\ENQ\EOT\ETX\STX\b\SOH\DC2\EOT\151\SOH\b\DLE\n\- \\r\n\- \\ENQ\EOT\ETX\STX\b\ETX\DC2\EOT\151\SOH\DC3\DC4\n\- \\179\STX\n\- \\EOT\EOT\ETX\STX\t\DC2\EOT\157\SOH\STX\NAK\SUB\164\STX A unique identifier for a span within a trace, assigned when the span\n\- \ is created. The ID is an 8-byte array. An ID with all zeroes is considered\n\- \ invalid. Can be set for logs that are part of a particular processing span.\n\- \ If span_id is present trace_id SHOULD be also present. [Optional].\n\- \\n\- \\r\n\- \\ENQ\EOT\ETX\STX\t\ENQ\DC2\EOT\157\SOH\STX\a\n\- \\r\n\- \\ENQ\EOT\ETX\STX\t\SOH\DC2\EOT\157\SOH\b\SI\n\- \\r\n\- \\ENQ\EOT\ETX\STX\t\ETX\DC2\EOT\157\SOH\DC2\DC4b\ACKproto3"+{- HLINT ignore -}+{- This file was auto-generated from opentelemetry/proto/logs/v1/logs.proto by the proto-lens-protoc program. -}+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}+{-# OPTIONS_GHC -Wno-unused-imports#-}+{-# OPTIONS_GHC -Wno-duplicate-exports#-}+{-# OPTIONS_GHC -Wno-dodgy-exports#-}+module Proto.Opentelemetry.Proto.Logs.V1.Logs (+ LogRecord(), LogRecordFlags(..), LogRecordFlags(),+ LogRecordFlags'UnrecognizedValue, LogsData(), ResourceLogs(),+ ScopeLogs(), SeverityNumber(..), SeverityNumber(),+ SeverityNumber'UnrecognizedValue+ ) where+import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism+import qualified Data.ProtoLens.Runtime.Prelude as Prelude+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read+import qualified Proto.Opentelemetry.Proto.Common.V1.Common+import qualified Proto.Opentelemetry.Proto.Resource.V1.Resource+{- | Fields :+ + * 'Proto.Opentelemetry.Proto.Logs.V1.Logs_Fields.timeUnixNano' @:: Lens' LogRecord Data.Word.Word64@+ * 'Proto.Opentelemetry.Proto.Logs.V1.Logs_Fields.observedTimeUnixNano' @:: Lens' LogRecord Data.Word.Word64@+ * 'Proto.Opentelemetry.Proto.Logs.V1.Logs_Fields.severityNumber' @:: Lens' LogRecord SeverityNumber@+ * 'Proto.Opentelemetry.Proto.Logs.V1.Logs_Fields.severityText' @:: Lens' LogRecord Data.Text.Text@+ * 'Proto.Opentelemetry.Proto.Logs.V1.Logs_Fields.body' @:: Lens' LogRecord Proto.Opentelemetry.Proto.Common.V1.Common.AnyValue@+ * 'Proto.Opentelemetry.Proto.Logs.V1.Logs_Fields.maybe'body' @:: Lens' LogRecord (Prelude.Maybe Proto.Opentelemetry.Proto.Common.V1.Common.AnyValue)@+ * 'Proto.Opentelemetry.Proto.Logs.V1.Logs_Fields.attributes' @:: Lens' LogRecord [Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue]@+ * 'Proto.Opentelemetry.Proto.Logs.V1.Logs_Fields.vec'attributes' @:: Lens' LogRecord (Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue)@+ * 'Proto.Opentelemetry.Proto.Logs.V1.Logs_Fields.droppedAttributesCount' @:: Lens' LogRecord Data.Word.Word32@+ * 'Proto.Opentelemetry.Proto.Logs.V1.Logs_Fields.flags' @:: Lens' LogRecord Data.Word.Word32@+ * 'Proto.Opentelemetry.Proto.Logs.V1.Logs_Fields.traceId' @:: Lens' LogRecord Data.ByteString.ByteString@+ * 'Proto.Opentelemetry.Proto.Logs.V1.Logs_Fields.spanId' @:: Lens' LogRecord Data.ByteString.ByteString@ -}+data LogRecord+ = LogRecord'_constructor {_LogRecord'timeUnixNano :: !Data.Word.Word64,+ _LogRecord'observedTimeUnixNano :: !Data.Word.Word64,+ _LogRecord'severityNumber :: !SeverityNumber,+ _LogRecord'severityText :: !Data.Text.Text,+ _LogRecord'body :: !(Prelude.Maybe Proto.Opentelemetry.Proto.Common.V1.Common.AnyValue),+ _LogRecord'attributes :: !(Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue),+ _LogRecord'droppedAttributesCount :: !Data.Word.Word32,+ _LogRecord'flags :: !Data.Word.Word32,+ _LogRecord'traceId :: !Data.ByteString.ByteString,+ _LogRecord'spanId :: !Data.ByteString.ByteString,+ _LogRecord'_unknownFields :: !Data.ProtoLens.FieldSet}+ deriving stock (Prelude.Eq, Prelude.Ord)+instance Prelude.Show LogRecord where+ showsPrec _ __x __s+ = Prelude.showChar+ '{'+ (Prelude.showString+ (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))+instance Data.ProtoLens.Field.HasField LogRecord "timeUnixNano" Data.Word.Word64 where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _LogRecord'timeUnixNano+ (\ x__ y__ -> x__ {_LogRecord'timeUnixNano = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField LogRecord "observedTimeUnixNano" Data.Word.Word64 where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _LogRecord'observedTimeUnixNano+ (\ x__ y__ -> x__ {_LogRecord'observedTimeUnixNano = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField LogRecord "severityNumber" SeverityNumber where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _LogRecord'severityNumber+ (\ x__ y__ -> x__ {_LogRecord'severityNumber = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField LogRecord "severityText" Data.Text.Text where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _LogRecord'severityText+ (\ x__ y__ -> x__ {_LogRecord'severityText = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField LogRecord "body" Proto.Opentelemetry.Proto.Common.V1.Common.AnyValue where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _LogRecord'body (\ x__ y__ -> x__ {_LogRecord'body = y__}))+ (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)+instance Data.ProtoLens.Field.HasField LogRecord "maybe'body" (Prelude.Maybe Proto.Opentelemetry.Proto.Common.V1.Common.AnyValue) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _LogRecord'body (\ x__ y__ -> x__ {_LogRecord'body = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField LogRecord "attributes" [Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue] where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _LogRecord'attributes+ (\ x__ y__ -> x__ {_LogRecord'attributes = y__}))+ (Lens.Family2.Unchecked.lens+ Data.Vector.Generic.toList+ (\ _ y__ -> Data.Vector.Generic.fromList y__))+instance Data.ProtoLens.Field.HasField LogRecord "vec'attributes" (Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _LogRecord'attributes+ (\ x__ y__ -> x__ {_LogRecord'attributes = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField LogRecord "droppedAttributesCount" Data.Word.Word32 where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _LogRecord'droppedAttributesCount+ (\ x__ y__ -> x__ {_LogRecord'droppedAttributesCount = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField LogRecord "flags" Data.Word.Word32 where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _LogRecord'flags (\ x__ y__ -> x__ {_LogRecord'flags = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField LogRecord "traceId" Data.ByteString.ByteString where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _LogRecord'traceId (\ x__ y__ -> x__ {_LogRecord'traceId = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField LogRecord "spanId" Data.ByteString.ByteString where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _LogRecord'spanId (\ x__ y__ -> x__ {_LogRecord'spanId = y__}))+ Prelude.id+instance Data.ProtoLens.Message LogRecord where+ messageName _+ = Data.Text.pack "opentelemetry.proto.logs.v1.LogRecord"+ packedMessageDescriptor _+ = "\n\+ \\tLogRecord\DC2$\n\+ \\SOtime_unix_nano\CAN\SOH \SOH(\ACKR\ftimeUnixNano\DC25\n\+ \\ETBobserved_time_unix_nano\CAN\v \SOH(\ACKR\DC4observedTimeUnixNano\DC2T\n\+ \\SIseverity_number\CAN\STX \SOH(\SO2+.opentelemetry.proto.logs.v1.SeverityNumberR\SOseverityNumber\DC2#\n\+ \\rseverity_text\CAN\ETX \SOH(\tR\fseverityText\DC2;\n\+ \\EOTbody\CAN\ENQ \SOH(\v2'.opentelemetry.proto.common.v1.AnyValueR\EOTbody\DC2G\n\+ \\n\+ \attributes\CAN\ACK \ETX(\v2'.opentelemetry.proto.common.v1.KeyValueR\n\+ \attributes\DC28\n\+ \\CANdropped_attributes_count\CAN\a \SOH(\rR\SYNdroppedAttributesCount\DC2\DC4\n\+ \\ENQflags\CAN\b \SOH(\aR\ENQflags\DC2\EM\n\+ \\btrace_id\CAN\t \SOH(\fR\atraceId\DC2\ETB\n\+ \\aspan_id\CAN\n\+ \ \SOH(\fR\ACKspanIdJ\EOT\b\EOT\DLE\ENQ"+ packedFileDescriptor _ = packedFileDescriptor+ fieldsByTag+ = let+ timeUnixNano__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "time_unix_nano"+ (Data.ProtoLens.ScalarField Data.ProtoLens.Fixed64Field ::+ Data.ProtoLens.FieldTypeDescriptor Data.Word.Word64)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional+ (Data.ProtoLens.Field.field @"timeUnixNano")) ::+ Data.ProtoLens.FieldDescriptor LogRecord+ observedTimeUnixNano__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "observed_time_unix_nano"+ (Data.ProtoLens.ScalarField Data.ProtoLens.Fixed64Field ::+ Data.ProtoLens.FieldTypeDescriptor Data.Word.Word64)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional+ (Data.ProtoLens.Field.field @"observedTimeUnixNano")) ::+ Data.ProtoLens.FieldDescriptor LogRecord+ severityNumber__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "severity_number"+ (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::+ Data.ProtoLens.FieldTypeDescriptor SeverityNumber)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional+ (Data.ProtoLens.Field.field @"severityNumber")) ::+ Data.ProtoLens.FieldDescriptor LogRecord+ severityText__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "severity_text"+ (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::+ Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional+ (Data.ProtoLens.Field.field @"severityText")) ::+ Data.ProtoLens.FieldDescriptor LogRecord+ body__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "body"+ (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::+ Data.ProtoLens.FieldTypeDescriptor Proto.Opentelemetry.Proto.Common.V1.Common.AnyValue)+ (Data.ProtoLens.OptionalField+ (Data.ProtoLens.Field.field @"maybe'body")) ::+ Data.ProtoLens.FieldDescriptor LogRecord+ attributes__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "attributes"+ (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::+ Data.ProtoLens.FieldTypeDescriptor Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue)+ (Data.ProtoLens.RepeatedField+ Data.ProtoLens.Unpacked+ (Data.ProtoLens.Field.field @"attributes")) ::+ Data.ProtoLens.FieldDescriptor LogRecord+ droppedAttributesCount__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "dropped_attributes_count"+ (Data.ProtoLens.ScalarField Data.ProtoLens.UInt32Field ::+ Data.ProtoLens.FieldTypeDescriptor Data.Word.Word32)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional+ (Data.ProtoLens.Field.field @"droppedAttributesCount")) ::+ Data.ProtoLens.FieldDescriptor LogRecord+ flags__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "flags"+ (Data.ProtoLens.ScalarField Data.ProtoLens.Fixed32Field ::+ Data.ProtoLens.FieldTypeDescriptor Data.Word.Word32)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"flags")) ::+ Data.ProtoLens.FieldDescriptor LogRecord+ traceId__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "trace_id"+ (Data.ProtoLens.ScalarField Data.ProtoLens.BytesField ::+ Data.ProtoLens.FieldTypeDescriptor Data.ByteString.ByteString)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"traceId")) ::+ Data.ProtoLens.FieldDescriptor LogRecord+ spanId__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "span_id"+ (Data.ProtoLens.ScalarField Data.ProtoLens.BytesField ::+ Data.ProtoLens.FieldTypeDescriptor Data.ByteString.ByteString)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"spanId")) ::+ Data.ProtoLens.FieldDescriptor LogRecord+ in+ Data.Map.fromList+ [(Data.ProtoLens.Tag 1, timeUnixNano__field_descriptor),+ (Data.ProtoLens.Tag 11, observedTimeUnixNano__field_descriptor),+ (Data.ProtoLens.Tag 2, severityNumber__field_descriptor),+ (Data.ProtoLens.Tag 3, severityText__field_descriptor),+ (Data.ProtoLens.Tag 5, body__field_descriptor),+ (Data.ProtoLens.Tag 6, attributes__field_descriptor),+ (Data.ProtoLens.Tag 7, droppedAttributesCount__field_descriptor),+ (Data.ProtoLens.Tag 8, flags__field_descriptor),+ (Data.ProtoLens.Tag 9, traceId__field_descriptor),+ (Data.ProtoLens.Tag 10, spanId__field_descriptor)]+ unknownFields+ = Lens.Family2.Unchecked.lens+ _LogRecord'_unknownFields+ (\ x__ y__ -> x__ {_LogRecord'_unknownFields = y__})+ defMessage+ = LogRecord'_constructor+ {_LogRecord'timeUnixNano = Data.ProtoLens.fieldDefault,+ _LogRecord'observedTimeUnixNano = Data.ProtoLens.fieldDefault,+ _LogRecord'severityNumber = Data.ProtoLens.fieldDefault,+ _LogRecord'severityText = Data.ProtoLens.fieldDefault,+ _LogRecord'body = Prelude.Nothing,+ _LogRecord'attributes = Data.Vector.Generic.empty,+ _LogRecord'droppedAttributesCount = Data.ProtoLens.fieldDefault,+ _LogRecord'flags = Data.ProtoLens.fieldDefault,+ _LogRecord'traceId = Data.ProtoLens.fieldDefault,+ _LogRecord'spanId = Data.ProtoLens.fieldDefault,+ _LogRecord'_unknownFields = []}+ parseMessage+ = let+ loop ::+ LogRecord+ -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue+ -> Data.ProtoLens.Encoding.Bytes.Parser LogRecord+ loop x mutable'attributes+ = do end <- Data.ProtoLens.Encoding.Bytes.atEnd+ if end then+ do frozen'attributes <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.unsafeFreeze+ mutable'attributes)+ (let missing = []+ in+ if Prelude.null missing then+ Prelude.return ()+ else+ Prelude.fail+ ((Prelude.++)+ "Missing required fields: "+ (Prelude.show (missing :: [Prelude.String]))))+ Prelude.return+ (Lens.Family2.over+ Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"vec'attributes") frozen'attributes+ x))+ else+ do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt+ case tag of+ 9 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ Data.ProtoLens.Encoding.Bytes.getFixed64 "time_unix_nano"+ loop+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"timeUnixNano") y x)+ mutable'attributes+ 89+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ Data.ProtoLens.Encoding.Bytes.getFixed64+ "observed_time_unix_nano"+ loop+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"observedTimeUnixNano") y x)+ mutable'attributes+ 16+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (Prelude.fmap+ Prelude.toEnum+ (Prelude.fmap+ Prelude.fromIntegral+ Data.ProtoLens.Encoding.Bytes.getVarInt))+ "severity_number"+ loop+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"severityNumber") y x)+ mutable'attributes+ 26+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.getText+ (Prelude.fromIntegral len))+ "severity_text"+ loop+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"severityText") y x)+ mutable'attributes+ 42+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.isolate+ (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)+ "body"+ loop+ (Lens.Family2.set (Data.ProtoLens.Field.field @"body") y x)+ mutable'attributes+ 50+ -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.isolate+ (Prelude.fromIntegral len)+ Data.ProtoLens.parseMessage)+ "attributes"+ v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.append mutable'attributes y)+ loop x v+ 56+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (Prelude.fmap+ Prelude.fromIntegral+ Data.ProtoLens.Encoding.Bytes.getVarInt)+ "dropped_attributes_count"+ loop+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"droppedAttributesCount") y x)+ mutable'attributes+ 69+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ Data.ProtoLens.Encoding.Bytes.getFixed32 "flags"+ loop+ (Lens.Family2.set (Data.ProtoLens.Field.field @"flags") y x)+ mutable'attributes+ 74+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.getBytes+ (Prelude.fromIntegral len))+ "trace_id"+ loop+ (Lens.Family2.set (Data.ProtoLens.Field.field @"traceId") y x)+ mutable'attributes+ 82+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.getBytes+ (Prelude.fromIntegral len))+ "span_id"+ loop+ (Lens.Family2.set (Data.ProtoLens.Field.field @"spanId") y x)+ mutable'attributes+ wire+ -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire+ wire+ loop+ (Lens.Family2.over+ Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)+ mutable'attributes+ in+ (Data.ProtoLens.Encoding.Bytes.<?>)+ (do mutable'attributes <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ Data.ProtoLens.Encoding.Growing.new+ loop Data.ProtoLens.defMessage mutable'attributes)+ "LogRecord"+ buildMessage+ = \ _x+ -> (Data.Monoid.<>)+ (let+ _v+ = Lens.Family2.view (Data.ProtoLens.Field.field @"timeUnixNano") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 9)+ (Data.ProtoLens.Encoding.Bytes.putFixed64 _v))+ ((Data.Monoid.<>)+ (let+ _v+ = Lens.Family2.view+ (Data.ProtoLens.Field.field @"observedTimeUnixNano") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 89)+ (Data.ProtoLens.Encoding.Bytes.putFixed64 _v))+ ((Data.Monoid.<>)+ (let+ _v+ = Lens.Family2.view+ (Data.ProtoLens.Field.field @"severityNumber") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 16)+ ((Prelude..)+ ((Prelude..)+ Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)+ Prelude.fromEnum _v))+ ((Data.Monoid.<>)+ (let+ _v+ = Lens.Family2.view (Data.ProtoLens.Field.field @"severityText") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 26)+ ((Prelude..)+ (\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ Data.Text.Encoding.encodeUtf8 _v))+ ((Data.Monoid.<>)+ (case+ Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'body") _x+ of+ Prelude.Nothing -> Data.Monoid.mempty+ (Prelude.Just _v)+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 42)+ ((Prelude..)+ (\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ Data.ProtoLens.encodeMessage _v))+ ((Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.foldMapBuilder+ (\ _v+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 50)+ ((Prelude..)+ (\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral+ (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ Data.ProtoLens.encodeMessage _v))+ (Lens.Family2.view+ (Data.ProtoLens.Field.field @"vec'attributes") _x))+ ((Data.Monoid.<>)+ (let+ _v+ = Lens.Family2.view+ (Data.ProtoLens.Field.field @"droppedAttributesCount") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 56)+ ((Prelude..)+ Data.ProtoLens.Encoding.Bytes.putVarInt+ Prelude.fromIntegral _v))+ ((Data.Monoid.<>)+ (let+ _v = Lens.Family2.view (Data.ProtoLens.Field.field @"flags") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 69)+ (Data.ProtoLens.Encoding.Bytes.putFixed32 _v))+ ((Data.Monoid.<>)+ (let+ _v+ = Lens.Family2.view+ (Data.ProtoLens.Field.field @"traceId") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 74)+ ((\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral+ (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ _v))+ ((Data.Monoid.<>)+ (let+ _v+ = Lens.Family2.view+ (Data.ProtoLens.Field.field @"spanId") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 82)+ ((\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral+ (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes+ bs))+ _v))+ (Data.ProtoLens.Encoding.Wire.buildFieldSet+ (Lens.Family2.view+ Data.ProtoLens.unknownFields _x)))))))))))+instance Control.DeepSeq.NFData LogRecord where+ rnf+ = \ x__+ -> Control.DeepSeq.deepseq+ (_LogRecord'_unknownFields x__)+ (Control.DeepSeq.deepseq+ (_LogRecord'timeUnixNano x__)+ (Control.DeepSeq.deepseq+ (_LogRecord'observedTimeUnixNano x__)+ (Control.DeepSeq.deepseq+ (_LogRecord'severityNumber x__)+ (Control.DeepSeq.deepseq+ (_LogRecord'severityText x__)+ (Control.DeepSeq.deepseq+ (_LogRecord'body x__)+ (Control.DeepSeq.deepseq+ (_LogRecord'attributes x__)+ (Control.DeepSeq.deepseq+ (_LogRecord'droppedAttributesCount x__)+ (Control.DeepSeq.deepseq+ (_LogRecord'flags x__)+ (Control.DeepSeq.deepseq+ (_LogRecord'traceId x__)+ (Control.DeepSeq.deepseq+ (_LogRecord'spanId x__) ()))))))))))+newtype LogRecordFlags'UnrecognizedValue+ = LogRecordFlags'UnrecognizedValue Data.Int.Int32+ deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)+data LogRecordFlags+ = LOG_RECORD_FLAGS_DO_NOT_USE |+ LOG_RECORD_FLAGS_TRACE_FLAGS_MASK |+ LogRecordFlags'Unrecognized !LogRecordFlags'UnrecognizedValue+ deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)+instance Data.ProtoLens.MessageEnum LogRecordFlags where+ maybeToEnum 0 = Prelude.Just LOG_RECORD_FLAGS_DO_NOT_USE+ maybeToEnum 255 = Prelude.Just LOG_RECORD_FLAGS_TRACE_FLAGS_MASK+ maybeToEnum k+ = Prelude.Just+ (LogRecordFlags'Unrecognized+ (LogRecordFlags'UnrecognizedValue (Prelude.fromIntegral k)))+ showEnum LOG_RECORD_FLAGS_DO_NOT_USE+ = "LOG_RECORD_FLAGS_DO_NOT_USE"+ showEnum LOG_RECORD_FLAGS_TRACE_FLAGS_MASK+ = "LOG_RECORD_FLAGS_TRACE_FLAGS_MASK"+ showEnum+ (LogRecordFlags'Unrecognized (LogRecordFlags'UnrecognizedValue k))+ = Prelude.show k+ readEnum k+ | (Prelude.==) k "LOG_RECORD_FLAGS_DO_NOT_USE"+ = Prelude.Just LOG_RECORD_FLAGS_DO_NOT_USE+ | (Prelude.==) k "LOG_RECORD_FLAGS_TRACE_FLAGS_MASK"+ = Prelude.Just LOG_RECORD_FLAGS_TRACE_FLAGS_MASK+ | Prelude.otherwise+ = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum+instance Prelude.Bounded LogRecordFlags where+ minBound = LOG_RECORD_FLAGS_DO_NOT_USE+ maxBound = LOG_RECORD_FLAGS_TRACE_FLAGS_MASK+instance Prelude.Enum LogRecordFlags where+ toEnum k__+ = Prelude.maybe+ (Prelude.error+ ((Prelude.++)+ "toEnum: unknown value for enum LogRecordFlags: "+ (Prelude.show k__)))+ Prelude.id (Data.ProtoLens.maybeToEnum k__)+ fromEnum LOG_RECORD_FLAGS_DO_NOT_USE = 0+ fromEnum LOG_RECORD_FLAGS_TRACE_FLAGS_MASK = 255+ fromEnum+ (LogRecordFlags'Unrecognized (LogRecordFlags'UnrecognizedValue k))+ = Prelude.fromIntegral k+ succ LOG_RECORD_FLAGS_TRACE_FLAGS_MASK+ = Prelude.error+ "LogRecordFlags.succ: bad argument LOG_RECORD_FLAGS_TRACE_FLAGS_MASK. This value would be out of bounds."+ succ LOG_RECORD_FLAGS_DO_NOT_USE+ = LOG_RECORD_FLAGS_TRACE_FLAGS_MASK+ succ (LogRecordFlags'Unrecognized _)+ = Prelude.error+ "LogRecordFlags.succ: bad argument: unrecognized value"+ pred LOG_RECORD_FLAGS_DO_NOT_USE+ = Prelude.error+ "LogRecordFlags.pred: bad argument LOG_RECORD_FLAGS_DO_NOT_USE. This value would be out of bounds."+ pred LOG_RECORD_FLAGS_TRACE_FLAGS_MASK+ = LOG_RECORD_FLAGS_DO_NOT_USE+ pred (LogRecordFlags'Unrecognized _)+ = Prelude.error+ "LogRecordFlags.pred: bad argument: unrecognized value"+ enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom+ enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo+ enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen+ enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo+instance Data.ProtoLens.FieldDefault LogRecordFlags where+ fieldDefault = LOG_RECORD_FLAGS_DO_NOT_USE+instance Control.DeepSeq.NFData LogRecordFlags where+ rnf x__ = Prelude.seq x__ ()+{- | Fields :+ + * 'Proto.Opentelemetry.Proto.Logs.V1.Logs_Fields.resourceLogs' @:: Lens' LogsData [ResourceLogs]@+ * 'Proto.Opentelemetry.Proto.Logs.V1.Logs_Fields.vec'resourceLogs' @:: Lens' LogsData (Data.Vector.Vector ResourceLogs)@ -}+data LogsData+ = LogsData'_constructor {_LogsData'resourceLogs :: !(Data.Vector.Vector ResourceLogs),+ _LogsData'_unknownFields :: !Data.ProtoLens.FieldSet}+ deriving stock (Prelude.Eq, Prelude.Ord)+instance Prelude.Show LogsData where+ showsPrec _ __x __s+ = Prelude.showChar+ '{'+ (Prelude.showString+ (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))+instance Data.ProtoLens.Field.HasField LogsData "resourceLogs" [ResourceLogs] where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _LogsData'resourceLogs+ (\ x__ y__ -> x__ {_LogsData'resourceLogs = y__}))+ (Lens.Family2.Unchecked.lens+ Data.Vector.Generic.toList+ (\ _ y__ -> Data.Vector.Generic.fromList y__))+instance Data.ProtoLens.Field.HasField LogsData "vec'resourceLogs" (Data.Vector.Vector ResourceLogs) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _LogsData'resourceLogs+ (\ x__ y__ -> x__ {_LogsData'resourceLogs = y__}))+ Prelude.id+instance Data.ProtoLens.Message LogsData where+ messageName _+ = Data.Text.pack "opentelemetry.proto.logs.v1.LogsData"+ packedMessageDescriptor _+ = "\n\+ \\bLogsData\DC2N\n\+ \\rresource_logs\CAN\SOH \ETX(\v2).opentelemetry.proto.logs.v1.ResourceLogsR\fresourceLogs"+ packedFileDescriptor _ = packedFileDescriptor+ fieldsByTag+ = let+ resourceLogs__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "resource_logs"+ (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::+ Data.ProtoLens.FieldTypeDescriptor ResourceLogs)+ (Data.ProtoLens.RepeatedField+ Data.ProtoLens.Unpacked+ (Data.ProtoLens.Field.field @"resourceLogs")) ::+ Data.ProtoLens.FieldDescriptor LogsData+ in+ Data.Map.fromList+ [(Data.ProtoLens.Tag 1, resourceLogs__field_descriptor)]+ unknownFields+ = Lens.Family2.Unchecked.lens+ _LogsData'_unknownFields+ (\ x__ y__ -> x__ {_LogsData'_unknownFields = y__})+ defMessage+ = LogsData'_constructor+ {_LogsData'resourceLogs = Data.Vector.Generic.empty,+ _LogsData'_unknownFields = []}+ parseMessage+ = let+ loop ::+ LogsData+ -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld ResourceLogs+ -> Data.ProtoLens.Encoding.Bytes.Parser LogsData+ loop x mutable'resourceLogs+ = do end <- Data.ProtoLens.Encoding.Bytes.atEnd+ if end then+ do frozen'resourceLogs <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.unsafeFreeze+ mutable'resourceLogs)+ (let missing = []+ in+ if Prelude.null missing then+ Prelude.return ()+ else+ Prelude.fail+ ((Prelude.++)+ "Missing required fields: "+ (Prelude.show (missing :: [Prelude.String]))))+ Prelude.return+ (Lens.Family2.over+ Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"vec'resourceLogs")+ frozen'resourceLogs x))+ else+ do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt+ case tag of+ 10+ -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.isolate+ (Prelude.fromIntegral len)+ Data.ProtoLens.parseMessage)+ "resource_logs"+ v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.append+ mutable'resourceLogs y)+ loop x v+ wire+ -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire+ wire+ loop+ (Lens.Family2.over+ Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)+ mutable'resourceLogs+ in+ (Data.ProtoLens.Encoding.Bytes.<?>)+ (do mutable'resourceLogs <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ Data.ProtoLens.Encoding.Growing.new+ loop Data.ProtoLens.defMessage mutable'resourceLogs)+ "LogsData"+ buildMessage+ = \ _x+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.foldMapBuilder+ (\ _v+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 10)+ ((Prelude..)+ (\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ Data.ProtoLens.encodeMessage _v))+ (Lens.Family2.view+ (Data.ProtoLens.Field.field @"vec'resourceLogs") _x))+ (Data.ProtoLens.Encoding.Wire.buildFieldSet+ (Lens.Family2.view Data.ProtoLens.unknownFields _x))+instance Control.DeepSeq.NFData LogsData where+ rnf+ = \ x__+ -> Control.DeepSeq.deepseq+ (_LogsData'_unknownFields x__)+ (Control.DeepSeq.deepseq (_LogsData'resourceLogs x__) ())+{- | Fields :+ + * 'Proto.Opentelemetry.Proto.Logs.V1.Logs_Fields.resource' @:: Lens' ResourceLogs Proto.Opentelemetry.Proto.Resource.V1.Resource.Resource@+ * 'Proto.Opentelemetry.Proto.Logs.V1.Logs_Fields.maybe'resource' @:: Lens' ResourceLogs (Prelude.Maybe Proto.Opentelemetry.Proto.Resource.V1.Resource.Resource)@+ * 'Proto.Opentelemetry.Proto.Logs.V1.Logs_Fields.scopeLogs' @:: Lens' ResourceLogs [ScopeLogs]@+ * 'Proto.Opentelemetry.Proto.Logs.V1.Logs_Fields.vec'scopeLogs' @:: Lens' ResourceLogs (Data.Vector.Vector ScopeLogs)@+ * 'Proto.Opentelemetry.Proto.Logs.V1.Logs_Fields.schemaUrl' @:: Lens' ResourceLogs Data.Text.Text@ -}+data ResourceLogs+ = ResourceLogs'_constructor {_ResourceLogs'resource :: !(Prelude.Maybe Proto.Opentelemetry.Proto.Resource.V1.Resource.Resource),+ _ResourceLogs'scopeLogs :: !(Data.Vector.Vector ScopeLogs),+ _ResourceLogs'schemaUrl :: !Data.Text.Text,+ _ResourceLogs'_unknownFields :: !Data.ProtoLens.FieldSet}+ deriving stock (Prelude.Eq, Prelude.Ord)+instance Prelude.Show ResourceLogs where+ showsPrec _ __x __s+ = Prelude.showChar+ '{'+ (Prelude.showString+ (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))+instance Data.ProtoLens.Field.HasField ResourceLogs "resource" Proto.Opentelemetry.Proto.Resource.V1.Resource.Resource where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ResourceLogs'resource+ (\ x__ y__ -> x__ {_ResourceLogs'resource = y__}))+ (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)+instance Data.ProtoLens.Field.HasField ResourceLogs "maybe'resource" (Prelude.Maybe Proto.Opentelemetry.Proto.Resource.V1.Resource.Resource) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ResourceLogs'resource+ (\ x__ y__ -> x__ {_ResourceLogs'resource = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField ResourceLogs "scopeLogs" [ScopeLogs] where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ResourceLogs'scopeLogs+ (\ x__ y__ -> x__ {_ResourceLogs'scopeLogs = y__}))+ (Lens.Family2.Unchecked.lens+ Data.Vector.Generic.toList+ (\ _ y__ -> Data.Vector.Generic.fromList y__))+instance Data.ProtoLens.Field.HasField ResourceLogs "vec'scopeLogs" (Data.Vector.Vector ScopeLogs) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ResourceLogs'scopeLogs+ (\ x__ y__ -> x__ {_ResourceLogs'scopeLogs = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField ResourceLogs "schemaUrl" Data.Text.Text where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ResourceLogs'schemaUrl+ (\ x__ y__ -> x__ {_ResourceLogs'schemaUrl = y__}))+ Prelude.id+instance Data.ProtoLens.Message ResourceLogs where+ messageName _+ = Data.Text.pack "opentelemetry.proto.logs.v1.ResourceLogs"+ packedMessageDescriptor _+ = "\n\+ \\fResourceLogs\DC2E\n\+ \\bresource\CAN\SOH \SOH(\v2).opentelemetry.proto.resource.v1.ResourceR\bresource\DC2E\n\+ \\n\+ \scope_logs\CAN\STX \ETX(\v2&.opentelemetry.proto.logs.v1.ScopeLogsR\tscopeLogs\DC2\GS\n\+ \\n\+ \schema_url\CAN\ETX \SOH(\tR\tschemaUrlJ\ACK\b\232\a\DLE\233\a"+ packedFileDescriptor _ = packedFileDescriptor+ fieldsByTag+ = let+ resource__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "resource"+ (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::+ Data.ProtoLens.FieldTypeDescriptor Proto.Opentelemetry.Proto.Resource.V1.Resource.Resource)+ (Data.ProtoLens.OptionalField+ (Data.ProtoLens.Field.field @"maybe'resource")) ::+ Data.ProtoLens.FieldDescriptor ResourceLogs+ scopeLogs__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "scope_logs"+ (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::+ Data.ProtoLens.FieldTypeDescriptor ScopeLogs)+ (Data.ProtoLens.RepeatedField+ Data.ProtoLens.Unpacked+ (Data.ProtoLens.Field.field @"scopeLogs")) ::+ Data.ProtoLens.FieldDescriptor ResourceLogs+ schemaUrl__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "schema_url"+ (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::+ Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional+ (Data.ProtoLens.Field.field @"schemaUrl")) ::+ Data.ProtoLens.FieldDescriptor ResourceLogs+ in+ Data.Map.fromList+ [(Data.ProtoLens.Tag 1, resource__field_descriptor),+ (Data.ProtoLens.Tag 2, scopeLogs__field_descriptor),+ (Data.ProtoLens.Tag 3, schemaUrl__field_descriptor)]+ unknownFields+ = Lens.Family2.Unchecked.lens+ _ResourceLogs'_unknownFields+ (\ x__ y__ -> x__ {_ResourceLogs'_unknownFields = y__})+ defMessage+ = ResourceLogs'_constructor+ {_ResourceLogs'resource = Prelude.Nothing,+ _ResourceLogs'scopeLogs = Data.Vector.Generic.empty,+ _ResourceLogs'schemaUrl = Data.ProtoLens.fieldDefault,+ _ResourceLogs'_unknownFields = []}+ parseMessage+ = let+ loop ::+ ResourceLogs+ -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld ScopeLogs+ -> Data.ProtoLens.Encoding.Bytes.Parser ResourceLogs+ loop x mutable'scopeLogs+ = do end <- Data.ProtoLens.Encoding.Bytes.atEnd+ if end then+ do frozen'scopeLogs <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.unsafeFreeze+ mutable'scopeLogs)+ (let missing = []+ in+ if Prelude.null missing then+ Prelude.return ()+ else+ Prelude.fail+ ((Prelude.++)+ "Missing required fields: "+ (Prelude.show (missing :: [Prelude.String]))))+ Prelude.return+ (Lens.Family2.over+ Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"vec'scopeLogs") frozen'scopeLogs x))+ else+ do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt+ case tag of+ 10+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.isolate+ (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)+ "resource"+ loop+ (Lens.Family2.set (Data.ProtoLens.Field.field @"resource") y x)+ mutable'scopeLogs+ 18+ -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.isolate+ (Prelude.fromIntegral len)+ Data.ProtoLens.parseMessage)+ "scope_logs"+ v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.append mutable'scopeLogs y)+ loop x v+ 26+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.getText+ (Prelude.fromIntegral len))+ "schema_url"+ loop+ (Lens.Family2.set (Data.ProtoLens.Field.field @"schemaUrl") y x)+ mutable'scopeLogs+ wire+ -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire+ wire+ loop+ (Lens.Family2.over+ Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)+ mutable'scopeLogs+ in+ (Data.ProtoLens.Encoding.Bytes.<?>)+ (do mutable'scopeLogs <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ Data.ProtoLens.Encoding.Growing.new+ loop Data.ProtoLens.defMessage mutable'scopeLogs)+ "ResourceLogs"+ buildMessage+ = \ _x+ -> (Data.Monoid.<>)+ (case+ Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'resource") _x+ of+ Prelude.Nothing -> Data.Monoid.mempty+ (Prelude.Just _v)+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 10)+ ((Prelude..)+ (\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ Data.ProtoLens.encodeMessage _v))+ ((Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.foldMapBuilder+ (\ _v+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 18)+ ((Prelude..)+ (\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ Data.ProtoLens.encodeMessage _v))+ (Lens.Family2.view+ (Data.ProtoLens.Field.field @"vec'scopeLogs") _x))+ ((Data.Monoid.<>)+ (let+ _v = Lens.Family2.view (Data.ProtoLens.Field.field @"schemaUrl") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 26)+ ((Prelude..)+ (\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ Data.Text.Encoding.encodeUtf8 _v))+ (Data.ProtoLens.Encoding.Wire.buildFieldSet+ (Lens.Family2.view Data.ProtoLens.unknownFields _x))))+instance Control.DeepSeq.NFData ResourceLogs where+ rnf+ = \ x__+ -> Control.DeepSeq.deepseq+ (_ResourceLogs'_unknownFields x__)+ (Control.DeepSeq.deepseq+ (_ResourceLogs'resource x__)+ (Control.DeepSeq.deepseq+ (_ResourceLogs'scopeLogs x__)+ (Control.DeepSeq.deepseq (_ResourceLogs'schemaUrl x__) ())))+{- | Fields :+ + * 'Proto.Opentelemetry.Proto.Logs.V1.Logs_Fields.scope' @:: Lens' ScopeLogs Proto.Opentelemetry.Proto.Common.V1.Common.InstrumentationScope@+ * 'Proto.Opentelemetry.Proto.Logs.V1.Logs_Fields.maybe'scope' @:: Lens' ScopeLogs (Prelude.Maybe Proto.Opentelemetry.Proto.Common.V1.Common.InstrumentationScope)@+ * 'Proto.Opentelemetry.Proto.Logs.V1.Logs_Fields.logRecords' @:: Lens' ScopeLogs [LogRecord]@+ * 'Proto.Opentelemetry.Proto.Logs.V1.Logs_Fields.vec'logRecords' @:: Lens' ScopeLogs (Data.Vector.Vector LogRecord)@+ * 'Proto.Opentelemetry.Proto.Logs.V1.Logs_Fields.schemaUrl' @:: Lens' ScopeLogs Data.Text.Text@ -}+data ScopeLogs+ = ScopeLogs'_constructor {_ScopeLogs'scope :: !(Prelude.Maybe Proto.Opentelemetry.Proto.Common.V1.Common.InstrumentationScope),+ _ScopeLogs'logRecords :: !(Data.Vector.Vector LogRecord),+ _ScopeLogs'schemaUrl :: !Data.Text.Text,+ _ScopeLogs'_unknownFields :: !Data.ProtoLens.FieldSet}+ deriving stock (Prelude.Eq, Prelude.Ord)+instance Prelude.Show ScopeLogs where+ showsPrec _ __x __s+ = Prelude.showChar+ '{'+ (Prelude.showString+ (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))+instance Data.ProtoLens.Field.HasField ScopeLogs "scope" Proto.Opentelemetry.Proto.Common.V1.Common.InstrumentationScope where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ScopeLogs'scope (\ x__ y__ -> x__ {_ScopeLogs'scope = y__}))+ (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)+instance Data.ProtoLens.Field.HasField ScopeLogs "maybe'scope" (Prelude.Maybe Proto.Opentelemetry.Proto.Common.V1.Common.InstrumentationScope) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ScopeLogs'scope (\ x__ y__ -> x__ {_ScopeLogs'scope = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField ScopeLogs "logRecords" [LogRecord] where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ScopeLogs'logRecords+ (\ x__ y__ -> x__ {_ScopeLogs'logRecords = y__}))+ (Lens.Family2.Unchecked.lens+ Data.Vector.Generic.toList+ (\ _ y__ -> Data.Vector.Generic.fromList y__))+instance Data.ProtoLens.Field.HasField ScopeLogs "vec'logRecords" (Data.Vector.Vector LogRecord) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ScopeLogs'logRecords+ (\ x__ y__ -> x__ {_ScopeLogs'logRecords = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField ScopeLogs "schemaUrl" Data.Text.Text where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ScopeLogs'schemaUrl+ (\ x__ y__ -> x__ {_ScopeLogs'schemaUrl = y__}))+ Prelude.id+instance Data.ProtoLens.Message ScopeLogs where+ messageName _+ = Data.Text.pack "opentelemetry.proto.logs.v1.ScopeLogs"+ packedMessageDescriptor _+ = "\n\+ \\tScopeLogs\DC2I\n\+ \\ENQscope\CAN\SOH \SOH(\v23.opentelemetry.proto.common.v1.InstrumentationScopeR\ENQscope\DC2G\n\+ \\vlog_records\CAN\STX \ETX(\v2&.opentelemetry.proto.logs.v1.LogRecordR\n\+ \logRecords\DC2\GS\n\+ \\n\+ \schema_url\CAN\ETX \SOH(\tR\tschemaUrl"+ packedFileDescriptor _ = packedFileDescriptor+ fieldsByTag+ = let+ scope__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "scope"+ (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::+ Data.ProtoLens.FieldTypeDescriptor Proto.Opentelemetry.Proto.Common.V1.Common.InstrumentationScope)+ (Data.ProtoLens.OptionalField+ (Data.ProtoLens.Field.field @"maybe'scope")) ::+ Data.ProtoLens.FieldDescriptor ScopeLogs+ logRecords__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "log_records"+ (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::+ Data.ProtoLens.FieldTypeDescriptor LogRecord)+ (Data.ProtoLens.RepeatedField+ Data.ProtoLens.Unpacked+ (Data.ProtoLens.Field.field @"logRecords")) ::+ Data.ProtoLens.FieldDescriptor ScopeLogs+ schemaUrl__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "schema_url"+ (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::+ Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional+ (Data.ProtoLens.Field.field @"schemaUrl")) ::+ Data.ProtoLens.FieldDescriptor ScopeLogs+ in+ Data.Map.fromList+ [(Data.ProtoLens.Tag 1, scope__field_descriptor),+ (Data.ProtoLens.Tag 2, logRecords__field_descriptor),+ (Data.ProtoLens.Tag 3, schemaUrl__field_descriptor)]+ unknownFields+ = Lens.Family2.Unchecked.lens+ _ScopeLogs'_unknownFields+ (\ x__ y__ -> x__ {_ScopeLogs'_unknownFields = y__})+ defMessage+ = ScopeLogs'_constructor+ {_ScopeLogs'scope = Prelude.Nothing,+ _ScopeLogs'logRecords = Data.Vector.Generic.empty,+ _ScopeLogs'schemaUrl = Data.ProtoLens.fieldDefault,+ _ScopeLogs'_unknownFields = []}+ parseMessage+ = let+ loop ::+ ScopeLogs+ -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld LogRecord+ -> Data.ProtoLens.Encoding.Bytes.Parser ScopeLogs+ loop x mutable'logRecords+ = do end <- Data.ProtoLens.Encoding.Bytes.atEnd+ if end then+ do frozen'logRecords <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.unsafeFreeze+ mutable'logRecords)+ (let missing = []+ in+ if Prelude.null missing then+ Prelude.return ()+ else+ Prelude.fail+ ((Prelude.++)+ "Missing required fields: "+ (Prelude.show (missing :: [Prelude.String]))))+ Prelude.return+ (Lens.Family2.over+ Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"vec'logRecords") frozen'logRecords+ x))+ else+ do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt+ case tag of+ 10+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.isolate+ (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)+ "scope"+ loop+ (Lens.Family2.set (Data.ProtoLens.Field.field @"scope") y x)+ mutable'logRecords+ 18+ -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.isolate+ (Prelude.fromIntegral len)+ Data.ProtoLens.parseMessage)+ "log_records"+ v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.append mutable'logRecords y)+ loop x v+ 26+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.getText+ (Prelude.fromIntegral len))+ "schema_url"+ loop+ (Lens.Family2.set (Data.ProtoLens.Field.field @"schemaUrl") y x)+ mutable'logRecords+ wire+ -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire+ wire+ loop+ (Lens.Family2.over+ Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)+ mutable'logRecords+ in+ (Data.ProtoLens.Encoding.Bytes.<?>)+ (do mutable'logRecords <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ Data.ProtoLens.Encoding.Growing.new+ loop Data.ProtoLens.defMessage mutable'logRecords)+ "ScopeLogs"+ buildMessage+ = \ _x+ -> (Data.Monoid.<>)+ (case+ Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'scope") _x+ of+ Prelude.Nothing -> Data.Monoid.mempty+ (Prelude.Just _v)+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 10)+ ((Prelude..)+ (\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ Data.ProtoLens.encodeMessage _v))+ ((Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.foldMapBuilder+ (\ _v+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 18)+ ((Prelude..)+ (\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ Data.ProtoLens.encodeMessage _v))+ (Lens.Family2.view+ (Data.ProtoLens.Field.field @"vec'logRecords") _x))+ ((Data.Monoid.<>)+ (let+ _v = Lens.Family2.view (Data.ProtoLens.Field.field @"schemaUrl") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 26)+ ((Prelude..)+ (\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ Data.Text.Encoding.encodeUtf8 _v))+ (Data.ProtoLens.Encoding.Wire.buildFieldSet+ (Lens.Family2.view Data.ProtoLens.unknownFields _x))))+instance Control.DeepSeq.NFData ScopeLogs where+ rnf+ = \ x__+ -> Control.DeepSeq.deepseq+ (_ScopeLogs'_unknownFields x__)+ (Control.DeepSeq.deepseq+ (_ScopeLogs'scope x__)+ (Control.DeepSeq.deepseq+ (_ScopeLogs'logRecords x__)+ (Control.DeepSeq.deepseq (_ScopeLogs'schemaUrl x__) ())))+newtype SeverityNumber'UnrecognizedValue+ = SeverityNumber'UnrecognizedValue Data.Int.Int32+ deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)+data SeverityNumber+ = SEVERITY_NUMBER_UNSPECIFIED |+ SEVERITY_NUMBER_TRACE |+ SEVERITY_NUMBER_TRACE2 |+ SEVERITY_NUMBER_TRACE3 |+ SEVERITY_NUMBER_TRACE4 |+ SEVERITY_NUMBER_DEBUG |+ SEVERITY_NUMBER_DEBUG2 |+ SEVERITY_NUMBER_DEBUG3 |+ SEVERITY_NUMBER_DEBUG4 |+ SEVERITY_NUMBER_INFO |+ SEVERITY_NUMBER_INFO2 |+ SEVERITY_NUMBER_INFO3 |+ SEVERITY_NUMBER_INFO4 |+ SEVERITY_NUMBER_WARN |+ SEVERITY_NUMBER_WARN2 |+ SEVERITY_NUMBER_WARN3 |+ SEVERITY_NUMBER_WARN4 |+ SEVERITY_NUMBER_ERROR |+ SEVERITY_NUMBER_ERROR2 |+ SEVERITY_NUMBER_ERROR3 |+ SEVERITY_NUMBER_ERROR4 |+ SEVERITY_NUMBER_FATAL |+ SEVERITY_NUMBER_FATAL2 |+ SEVERITY_NUMBER_FATAL3 |+ SEVERITY_NUMBER_FATAL4 |+ SeverityNumber'Unrecognized !SeverityNumber'UnrecognizedValue+ deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)+instance Data.ProtoLens.MessageEnum SeverityNumber where+ maybeToEnum 0 = Prelude.Just SEVERITY_NUMBER_UNSPECIFIED+ maybeToEnum 1 = Prelude.Just SEVERITY_NUMBER_TRACE+ maybeToEnum 2 = Prelude.Just SEVERITY_NUMBER_TRACE2+ maybeToEnum 3 = Prelude.Just SEVERITY_NUMBER_TRACE3+ maybeToEnum 4 = Prelude.Just SEVERITY_NUMBER_TRACE4+ maybeToEnum 5 = Prelude.Just SEVERITY_NUMBER_DEBUG+ maybeToEnum 6 = Prelude.Just SEVERITY_NUMBER_DEBUG2+ maybeToEnum 7 = Prelude.Just SEVERITY_NUMBER_DEBUG3+ maybeToEnum 8 = Prelude.Just SEVERITY_NUMBER_DEBUG4+ maybeToEnum 9 = Prelude.Just SEVERITY_NUMBER_INFO+ maybeToEnum 10 = Prelude.Just SEVERITY_NUMBER_INFO2+ maybeToEnum 11 = Prelude.Just SEVERITY_NUMBER_INFO3+ maybeToEnum 12 = Prelude.Just SEVERITY_NUMBER_INFO4+ maybeToEnum 13 = Prelude.Just SEVERITY_NUMBER_WARN+ maybeToEnum 14 = Prelude.Just SEVERITY_NUMBER_WARN2+ maybeToEnum 15 = Prelude.Just SEVERITY_NUMBER_WARN3+ maybeToEnum 16 = Prelude.Just SEVERITY_NUMBER_WARN4+ maybeToEnum 17 = Prelude.Just SEVERITY_NUMBER_ERROR+ maybeToEnum 18 = Prelude.Just SEVERITY_NUMBER_ERROR2+ maybeToEnum 19 = Prelude.Just SEVERITY_NUMBER_ERROR3+ maybeToEnum 20 = Prelude.Just SEVERITY_NUMBER_ERROR4+ maybeToEnum 21 = Prelude.Just SEVERITY_NUMBER_FATAL+ maybeToEnum 22 = Prelude.Just SEVERITY_NUMBER_FATAL2+ maybeToEnum 23 = Prelude.Just SEVERITY_NUMBER_FATAL3+ maybeToEnum 24 = Prelude.Just SEVERITY_NUMBER_FATAL4+ maybeToEnum k+ = Prelude.Just+ (SeverityNumber'Unrecognized+ (SeverityNumber'UnrecognizedValue (Prelude.fromIntegral k)))+ showEnum SEVERITY_NUMBER_UNSPECIFIED+ = "SEVERITY_NUMBER_UNSPECIFIED"+ showEnum SEVERITY_NUMBER_TRACE = "SEVERITY_NUMBER_TRACE"+ showEnum SEVERITY_NUMBER_TRACE2 = "SEVERITY_NUMBER_TRACE2"+ showEnum SEVERITY_NUMBER_TRACE3 = "SEVERITY_NUMBER_TRACE3"+ showEnum SEVERITY_NUMBER_TRACE4 = "SEVERITY_NUMBER_TRACE4"+ showEnum SEVERITY_NUMBER_DEBUG = "SEVERITY_NUMBER_DEBUG"+ showEnum SEVERITY_NUMBER_DEBUG2 = "SEVERITY_NUMBER_DEBUG2"+ showEnum SEVERITY_NUMBER_DEBUG3 = "SEVERITY_NUMBER_DEBUG3"+ showEnum SEVERITY_NUMBER_DEBUG4 = "SEVERITY_NUMBER_DEBUG4"+ showEnum SEVERITY_NUMBER_INFO = "SEVERITY_NUMBER_INFO"+ showEnum SEVERITY_NUMBER_INFO2 = "SEVERITY_NUMBER_INFO2"+ showEnum SEVERITY_NUMBER_INFO3 = "SEVERITY_NUMBER_INFO3"+ showEnum SEVERITY_NUMBER_INFO4 = "SEVERITY_NUMBER_INFO4"+ showEnum SEVERITY_NUMBER_WARN = "SEVERITY_NUMBER_WARN"+ showEnum SEVERITY_NUMBER_WARN2 = "SEVERITY_NUMBER_WARN2"+ showEnum SEVERITY_NUMBER_WARN3 = "SEVERITY_NUMBER_WARN3"+ showEnum SEVERITY_NUMBER_WARN4 = "SEVERITY_NUMBER_WARN4"+ showEnum SEVERITY_NUMBER_ERROR = "SEVERITY_NUMBER_ERROR"+ showEnum SEVERITY_NUMBER_ERROR2 = "SEVERITY_NUMBER_ERROR2"+ showEnum SEVERITY_NUMBER_ERROR3 = "SEVERITY_NUMBER_ERROR3"+ showEnum SEVERITY_NUMBER_ERROR4 = "SEVERITY_NUMBER_ERROR4"+ showEnum SEVERITY_NUMBER_FATAL = "SEVERITY_NUMBER_FATAL"+ showEnum SEVERITY_NUMBER_FATAL2 = "SEVERITY_NUMBER_FATAL2"+ showEnum SEVERITY_NUMBER_FATAL3 = "SEVERITY_NUMBER_FATAL3"+ showEnum SEVERITY_NUMBER_FATAL4 = "SEVERITY_NUMBER_FATAL4"+ showEnum+ (SeverityNumber'Unrecognized (SeverityNumber'UnrecognizedValue k))+ = Prelude.show k+ readEnum k+ | (Prelude.==) k "SEVERITY_NUMBER_UNSPECIFIED"+ = Prelude.Just SEVERITY_NUMBER_UNSPECIFIED+ | (Prelude.==) k "SEVERITY_NUMBER_TRACE"+ = Prelude.Just SEVERITY_NUMBER_TRACE+ | (Prelude.==) k "SEVERITY_NUMBER_TRACE2"+ = Prelude.Just SEVERITY_NUMBER_TRACE2+ | (Prelude.==) k "SEVERITY_NUMBER_TRACE3"+ = Prelude.Just SEVERITY_NUMBER_TRACE3+ | (Prelude.==) k "SEVERITY_NUMBER_TRACE4"+ = Prelude.Just SEVERITY_NUMBER_TRACE4+ | (Prelude.==) k "SEVERITY_NUMBER_DEBUG"+ = Prelude.Just SEVERITY_NUMBER_DEBUG+ | (Prelude.==) k "SEVERITY_NUMBER_DEBUG2"+ = Prelude.Just SEVERITY_NUMBER_DEBUG2+ | (Prelude.==) k "SEVERITY_NUMBER_DEBUG3"+ = Prelude.Just SEVERITY_NUMBER_DEBUG3+ | (Prelude.==) k "SEVERITY_NUMBER_DEBUG4"+ = Prelude.Just SEVERITY_NUMBER_DEBUG4+ | (Prelude.==) k "SEVERITY_NUMBER_INFO"+ = Prelude.Just SEVERITY_NUMBER_INFO+ | (Prelude.==) k "SEVERITY_NUMBER_INFO2"+ = Prelude.Just SEVERITY_NUMBER_INFO2+ | (Prelude.==) k "SEVERITY_NUMBER_INFO3"+ = Prelude.Just SEVERITY_NUMBER_INFO3+ | (Prelude.==) k "SEVERITY_NUMBER_INFO4"+ = Prelude.Just SEVERITY_NUMBER_INFO4+ | (Prelude.==) k "SEVERITY_NUMBER_WARN"+ = Prelude.Just SEVERITY_NUMBER_WARN+ | (Prelude.==) k "SEVERITY_NUMBER_WARN2"+ = Prelude.Just SEVERITY_NUMBER_WARN2+ | (Prelude.==) k "SEVERITY_NUMBER_WARN3"+ = Prelude.Just SEVERITY_NUMBER_WARN3+ | (Prelude.==) k "SEVERITY_NUMBER_WARN4"+ = Prelude.Just SEVERITY_NUMBER_WARN4+ | (Prelude.==) k "SEVERITY_NUMBER_ERROR"+ = Prelude.Just SEVERITY_NUMBER_ERROR+ | (Prelude.==) k "SEVERITY_NUMBER_ERROR2"+ = Prelude.Just SEVERITY_NUMBER_ERROR2+ | (Prelude.==) k "SEVERITY_NUMBER_ERROR3"+ = Prelude.Just SEVERITY_NUMBER_ERROR3+ | (Prelude.==) k "SEVERITY_NUMBER_ERROR4"+ = Prelude.Just SEVERITY_NUMBER_ERROR4+ | (Prelude.==) k "SEVERITY_NUMBER_FATAL"+ = Prelude.Just SEVERITY_NUMBER_FATAL+ | (Prelude.==) k "SEVERITY_NUMBER_FATAL2"+ = Prelude.Just SEVERITY_NUMBER_FATAL2+ | (Prelude.==) k "SEVERITY_NUMBER_FATAL3"+ = Prelude.Just SEVERITY_NUMBER_FATAL3+ | (Prelude.==) k "SEVERITY_NUMBER_FATAL4"+ = Prelude.Just SEVERITY_NUMBER_FATAL4+ | Prelude.otherwise+ = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum+instance Prelude.Bounded SeverityNumber where+ minBound = SEVERITY_NUMBER_UNSPECIFIED+ maxBound = SEVERITY_NUMBER_FATAL4+instance Prelude.Enum SeverityNumber where+ toEnum k__+ = Prelude.maybe+ (Prelude.error+ ((Prelude.++)+ "toEnum: unknown value for enum SeverityNumber: "+ (Prelude.show k__)))+ Prelude.id (Data.ProtoLens.maybeToEnum k__)+ fromEnum SEVERITY_NUMBER_UNSPECIFIED = 0+ fromEnum SEVERITY_NUMBER_TRACE = 1+ fromEnum SEVERITY_NUMBER_TRACE2 = 2+ fromEnum SEVERITY_NUMBER_TRACE3 = 3+ fromEnum SEVERITY_NUMBER_TRACE4 = 4+ fromEnum SEVERITY_NUMBER_DEBUG = 5+ fromEnum SEVERITY_NUMBER_DEBUG2 = 6+ fromEnum SEVERITY_NUMBER_DEBUG3 = 7+ fromEnum SEVERITY_NUMBER_DEBUG4 = 8+ fromEnum SEVERITY_NUMBER_INFO = 9+ fromEnum SEVERITY_NUMBER_INFO2 = 10+ fromEnum SEVERITY_NUMBER_INFO3 = 11+ fromEnum SEVERITY_NUMBER_INFO4 = 12+ fromEnum SEVERITY_NUMBER_WARN = 13+ fromEnum SEVERITY_NUMBER_WARN2 = 14+ fromEnum SEVERITY_NUMBER_WARN3 = 15+ fromEnum SEVERITY_NUMBER_WARN4 = 16+ fromEnum SEVERITY_NUMBER_ERROR = 17+ fromEnum SEVERITY_NUMBER_ERROR2 = 18+ fromEnum SEVERITY_NUMBER_ERROR3 = 19+ fromEnum SEVERITY_NUMBER_ERROR4 = 20+ fromEnum SEVERITY_NUMBER_FATAL = 21+ fromEnum SEVERITY_NUMBER_FATAL2 = 22+ fromEnum SEVERITY_NUMBER_FATAL3 = 23+ fromEnum SEVERITY_NUMBER_FATAL4 = 24+ fromEnum+ (SeverityNumber'Unrecognized (SeverityNumber'UnrecognizedValue k))+ = Prelude.fromIntegral k+ succ SEVERITY_NUMBER_FATAL4+ = Prelude.error+ "SeverityNumber.succ: bad argument SEVERITY_NUMBER_FATAL4. This value would be out of bounds."+ succ SEVERITY_NUMBER_UNSPECIFIED = SEVERITY_NUMBER_TRACE+ succ SEVERITY_NUMBER_TRACE = SEVERITY_NUMBER_TRACE2+ succ SEVERITY_NUMBER_TRACE2 = SEVERITY_NUMBER_TRACE3+ succ SEVERITY_NUMBER_TRACE3 = SEVERITY_NUMBER_TRACE4+ succ SEVERITY_NUMBER_TRACE4 = SEVERITY_NUMBER_DEBUG+ succ SEVERITY_NUMBER_DEBUG = SEVERITY_NUMBER_DEBUG2+ succ SEVERITY_NUMBER_DEBUG2 = SEVERITY_NUMBER_DEBUG3+ succ SEVERITY_NUMBER_DEBUG3 = SEVERITY_NUMBER_DEBUG4+ succ SEVERITY_NUMBER_DEBUG4 = SEVERITY_NUMBER_INFO+ succ SEVERITY_NUMBER_INFO = SEVERITY_NUMBER_INFO2+ succ SEVERITY_NUMBER_INFO2 = SEVERITY_NUMBER_INFO3+ succ SEVERITY_NUMBER_INFO3 = SEVERITY_NUMBER_INFO4+ succ SEVERITY_NUMBER_INFO4 = SEVERITY_NUMBER_WARN+ succ SEVERITY_NUMBER_WARN = SEVERITY_NUMBER_WARN2+ succ SEVERITY_NUMBER_WARN2 = SEVERITY_NUMBER_WARN3+ succ SEVERITY_NUMBER_WARN3 = SEVERITY_NUMBER_WARN4+ succ SEVERITY_NUMBER_WARN4 = SEVERITY_NUMBER_ERROR+ succ SEVERITY_NUMBER_ERROR = SEVERITY_NUMBER_ERROR2+ succ SEVERITY_NUMBER_ERROR2 = SEVERITY_NUMBER_ERROR3+ succ SEVERITY_NUMBER_ERROR3 = SEVERITY_NUMBER_ERROR4+ succ SEVERITY_NUMBER_ERROR4 = SEVERITY_NUMBER_FATAL+ succ SEVERITY_NUMBER_FATAL = SEVERITY_NUMBER_FATAL2+ succ SEVERITY_NUMBER_FATAL2 = SEVERITY_NUMBER_FATAL3+ succ SEVERITY_NUMBER_FATAL3 = SEVERITY_NUMBER_FATAL4+ succ (SeverityNumber'Unrecognized _)+ = Prelude.error+ "SeverityNumber.succ: bad argument: unrecognized value"+ pred SEVERITY_NUMBER_UNSPECIFIED+ = Prelude.error+ "SeverityNumber.pred: bad argument SEVERITY_NUMBER_UNSPECIFIED. This value would be out of bounds."+ pred SEVERITY_NUMBER_TRACE = SEVERITY_NUMBER_UNSPECIFIED+ pred SEVERITY_NUMBER_TRACE2 = SEVERITY_NUMBER_TRACE+ pred SEVERITY_NUMBER_TRACE3 = SEVERITY_NUMBER_TRACE2+ pred SEVERITY_NUMBER_TRACE4 = SEVERITY_NUMBER_TRACE3+ pred SEVERITY_NUMBER_DEBUG = SEVERITY_NUMBER_TRACE4+ pred SEVERITY_NUMBER_DEBUG2 = SEVERITY_NUMBER_DEBUG+ pred SEVERITY_NUMBER_DEBUG3 = SEVERITY_NUMBER_DEBUG2+ pred SEVERITY_NUMBER_DEBUG4 = SEVERITY_NUMBER_DEBUG3+ pred SEVERITY_NUMBER_INFO = SEVERITY_NUMBER_DEBUG4+ pred SEVERITY_NUMBER_INFO2 = SEVERITY_NUMBER_INFO+ pred SEVERITY_NUMBER_INFO3 = SEVERITY_NUMBER_INFO2+ pred SEVERITY_NUMBER_INFO4 = SEVERITY_NUMBER_INFO3+ pred SEVERITY_NUMBER_WARN = SEVERITY_NUMBER_INFO4+ pred SEVERITY_NUMBER_WARN2 = SEVERITY_NUMBER_WARN+ pred SEVERITY_NUMBER_WARN3 = SEVERITY_NUMBER_WARN2+ pred SEVERITY_NUMBER_WARN4 = SEVERITY_NUMBER_WARN3+ pred SEVERITY_NUMBER_ERROR = SEVERITY_NUMBER_WARN4+ pred SEVERITY_NUMBER_ERROR2 = SEVERITY_NUMBER_ERROR+ pred SEVERITY_NUMBER_ERROR3 = SEVERITY_NUMBER_ERROR2+ pred SEVERITY_NUMBER_ERROR4 = SEVERITY_NUMBER_ERROR3+ pred SEVERITY_NUMBER_FATAL = SEVERITY_NUMBER_ERROR4+ pred SEVERITY_NUMBER_FATAL2 = SEVERITY_NUMBER_FATAL+ pred SEVERITY_NUMBER_FATAL3 = SEVERITY_NUMBER_FATAL2+ pred SEVERITY_NUMBER_FATAL4 = SEVERITY_NUMBER_FATAL3+ pred (SeverityNumber'Unrecognized _)+ = Prelude.error+ "SeverityNumber.pred: bad argument: unrecognized value"+ enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom+ enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo+ enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen+ enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo+instance Data.ProtoLens.FieldDefault SeverityNumber where+ fieldDefault = SEVERITY_NUMBER_UNSPECIFIED+instance Control.DeepSeq.NFData SeverityNumber where+ rnf x__ = Prelude.seq x__ ()+packedFileDescriptor :: Data.ByteString.ByteString+packedFileDescriptor+ = "\n\+ \&opentelemetry/proto/logs/v1/logs.proto\DC2\ESCopentelemetry.proto.logs.v1\SUB*opentelemetry/proto/common/v1/common.proto\SUB.opentelemetry/proto/resource/v1/resource.proto\"Z\n\+ \\bLogsData\DC2N\n\+ \\rresource_logs\CAN\SOH \ETX(\v2).opentelemetry.proto.logs.v1.ResourceLogsR\fresourceLogs\"\195\SOH\n\+ \\fResourceLogs\DC2E\n\+ \\bresource\CAN\SOH \SOH(\v2).opentelemetry.proto.resource.v1.ResourceR\bresource\DC2E\n\+ \\n\+ \scope_logs\CAN\STX \ETX(\v2&.opentelemetry.proto.logs.v1.ScopeLogsR\tscopeLogs\DC2\GS\n\+ \\n\+ \schema_url\CAN\ETX \SOH(\tR\tschemaUrlJ\ACK\b\232\a\DLE\233\a\"\190\SOH\n\+ \\tScopeLogs\DC2I\n\+ \\ENQscope\CAN\SOH \SOH(\v23.opentelemetry.proto.common.v1.InstrumentationScopeR\ENQscope\DC2G\n\+ \\vlog_records\CAN\STX \ETX(\v2&.opentelemetry.proto.logs.v1.LogRecordR\n\+ \logRecords\DC2\GS\n\+ \\n\+ \schema_url\CAN\ETX \SOH(\tR\tschemaUrl\"\243\ETX\n\+ \\tLogRecord\DC2$\n\+ \\SOtime_unix_nano\CAN\SOH \SOH(\ACKR\ftimeUnixNano\DC25\n\+ \\ETBobserved_time_unix_nano\CAN\v \SOH(\ACKR\DC4observedTimeUnixNano\DC2T\n\+ \\SIseverity_number\CAN\STX \SOH(\SO2+.opentelemetry.proto.logs.v1.SeverityNumberR\SOseverityNumber\DC2#\n\+ \\rseverity_text\CAN\ETX \SOH(\tR\fseverityText\DC2;\n\+ \\EOTbody\CAN\ENQ \SOH(\v2'.opentelemetry.proto.common.v1.AnyValueR\EOTbody\DC2G\n\+ \\n\+ \attributes\CAN\ACK \ETX(\v2'.opentelemetry.proto.common.v1.KeyValueR\n\+ \attributes\DC28\n\+ \\CANdropped_attributes_count\CAN\a \SOH(\rR\SYNdroppedAttributesCount\DC2\DC4\n\+ \\ENQflags\CAN\b \SOH(\aR\ENQflags\DC2\EM\n\+ \\btrace_id\CAN\t \SOH(\fR\atraceId\DC2\ETB\n\+ \\aspan_id\CAN\n\+ \ \SOH(\fR\ACKspanIdJ\EOT\b\EOT\DLE\ENQ*\195\ENQ\n\+ \\SOSeverityNumber\DC2\US\n\+ \\ESCSEVERITY_NUMBER_UNSPECIFIED\DLE\NUL\DC2\EM\n\+ \\NAKSEVERITY_NUMBER_TRACE\DLE\SOH\DC2\SUB\n\+ \\SYNSEVERITY_NUMBER_TRACE2\DLE\STX\DC2\SUB\n\+ \\SYNSEVERITY_NUMBER_TRACE3\DLE\ETX\DC2\SUB\n\+ \\SYNSEVERITY_NUMBER_TRACE4\DLE\EOT\DC2\EM\n\+ \\NAKSEVERITY_NUMBER_DEBUG\DLE\ENQ\DC2\SUB\n\+ \\SYNSEVERITY_NUMBER_DEBUG2\DLE\ACK\DC2\SUB\n\+ \\SYNSEVERITY_NUMBER_DEBUG3\DLE\a\DC2\SUB\n\+ \\SYNSEVERITY_NUMBER_DEBUG4\DLE\b\DC2\CAN\n\+ \\DC4SEVERITY_NUMBER_INFO\DLE\t\DC2\EM\n\+ \\NAKSEVERITY_NUMBER_INFO2\DLE\n\+ \\DC2\EM\n\+ \\NAKSEVERITY_NUMBER_INFO3\DLE\v\DC2\EM\n\+ \\NAKSEVERITY_NUMBER_INFO4\DLE\f\DC2\CAN\n\+ \\DC4SEVERITY_NUMBER_WARN\DLE\r\DC2\EM\n\+ \\NAKSEVERITY_NUMBER_WARN2\DLE\SO\DC2\EM\n\+ \\NAKSEVERITY_NUMBER_WARN3\DLE\SI\DC2\EM\n\+ \\NAKSEVERITY_NUMBER_WARN4\DLE\DLE\DC2\EM\n\+ \\NAKSEVERITY_NUMBER_ERROR\DLE\DC1\DC2\SUB\n\+ \\SYNSEVERITY_NUMBER_ERROR2\DLE\DC2\DC2\SUB\n\+ \\SYNSEVERITY_NUMBER_ERROR3\DLE\DC3\DC2\SUB\n\+ \\SYNSEVERITY_NUMBER_ERROR4\DLE\DC4\DC2\EM\n\+ \\NAKSEVERITY_NUMBER_FATAL\DLE\NAK\DC2\SUB\n\+ \\SYNSEVERITY_NUMBER_FATAL2\DLE\SYN\DC2\SUB\n\+ \\SYNSEVERITY_NUMBER_FATAL3\DLE\ETB\DC2\SUB\n\+ \\SYNSEVERITY_NUMBER_FATAL4\DLE\CAN*Y\n\+ \\SOLogRecordFlags\DC2\US\n\+ \\ESCLOG_RECORD_FLAGS_DO_NOT_USE\DLE\NUL\DC2&\n\+ \!LOG_RECORD_FLAGS_TRACE_FLAGS_MASK\DLE\255\SOHBs\n\+ \\RSio.opentelemetry.proto.logs.v1B\tLogsProtoP\SOHZ&go.opentelemetry.io/proto/otlp/logs/v1\170\STX\ESCOpenTelemetry.Proto.Logs.V1J\146B\n\+ \\a\DC2\ENQ\SO\NUL\202\SOH\SOH\n\+ \\200\EOT\n\+ \\SOH\f\DC2\ETX\SO\NUL\DC22\189\EOT Copyright 2020, OpenTelemetry Authors\n\+ \\n\+ \ Licensed under the Apache License, Version 2.0 (the \"License\");\n\+ \ you may not use this file except in compliance with the License.\n\+ \ You may obtain a copy of the License at\n\+ \\n\+ \ http://www.apache.org/licenses/LICENSE-2.0\n\+ \\n\+ \ Unless required by applicable law or agreed to in writing, software\n\+ \ distributed under the License is distributed on an \"AS IS\" BASIS,\n\+ \ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\+ \ See the License for the specific language governing permissions and\n\+ \ limitations under the License.\n\+ \\n\+ \\b\n\+ \\SOH\STX\DC2\ETX\DLE\NUL$\n\+ \\t\n\+ \\STX\ETX\NUL\DC2\ETX\DC2\NUL4\n\+ \\t\n\+ \\STX\ETX\SOH\DC2\ETX\DC3\NUL8\n\+ \\b\n\+ \\SOH\b\DC2\ETX\NAK\NUL8\n\+ \\t\n\+ \\STX\b%\DC2\ETX\NAK\NUL8\n\+ \\b\n\+ \\SOH\b\DC2\ETX\SYN\NUL\"\n\+ \\t\n\+ \\STX\b\n\+ \\DC2\ETX\SYN\NUL\"\n\+ \\b\n\+ \\SOH\b\DC2\ETX\ETB\NUL7\n\+ \\t\n\+ \\STX\b\SOH\DC2\ETX\ETB\NUL7\n\+ \\b\n\+ \\SOH\b\DC2\ETX\CAN\NUL*\n\+ \\t\n\+ \\STX\b\b\DC2\ETX\CAN\NUL*\n\+ \\b\n\+ \\SOH\b\DC2\ETX\EM\NUL=\n\+ \\t\n\+ \\STX\b\v\DC2\ETX\EM\NUL=\n\+ \\200\ETX\n\+ \\STX\EOT\NUL\DC2\EOT%\NUL,\SOH\SUB\187\ETX LogsData represents the logs data that can be stored in a persistent storage,\n\+ \ OR can be embedded by other protocols that transfer OTLP logs data but do not\n\+ \ implement the OTLP protocol.\n\+ \\n\+ \ The main difference between this message and collector protocol is that\n\+ \ in this message there will not be any \"control\" or \"metadata\" specific to\n\+ \ OTLP protocol.\n\+ \\n\+ \ When new fields are added into this message, the OTLP request MUST be updated\n\+ \ as well.\n\+ \\n\+ \\n\+ \\n\+ \\ETX\EOT\NUL\SOH\DC2\ETX%\b\DLE\n\+ \\173\STX\n\+ \\EOT\EOT\NUL\STX\NUL\DC2\ETX+\STX*\SUB\159\STX An array of ResourceLogs.\n\+ \ For data coming from a single resource this array will typically contain\n\+ \ one element. Intermediary nodes that receive data from multiple origins\n\+ \ typically batch the data before forwarding further and in that case this\n\+ \ array will contain multiple elements.\n\+ \\n\+ \\f\n\+ \\ENQ\EOT\NUL\STX\NUL\EOT\DC2\ETX+\STX\n\+ \\n\+ \\f\n\+ \\ENQ\EOT\NUL\STX\NUL\ACK\DC2\ETX+\v\ETB\n\+ \\f\n\+ \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX+\CAN%\n\+ \\f\n\+ \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX+()\n\+ \8\n\+ \\STX\EOT\SOH\DC2\EOT/\NUL<\SOH\SUB, A collection of ScopeLogs from a Resource.\n\+ \\n\+ \\n\+ \\n\+ \\ETX\EOT\SOH\SOH\DC2\ETX/\b\DC4\n\+ \\n\+ \\n\+ \\ETX\EOT\SOH\t\DC2\ETX0\STX\DLE\n\+ \\v\n\+ \\EOT\EOT\SOH\t\NUL\DC2\ETX0\v\SI\n\+ \\f\n\+ \\ENQ\EOT\SOH\t\NUL\SOH\DC2\ETX0\v\SI\n\+ \\f\n\+ \\ENQ\EOT\SOH\t\NUL\STX\DC2\ETX0\v\SI\n\+ \r\n\+ \\EOT\EOT\SOH\STX\NUL\DC2\ETX4\STX8\SUBe The resource for the logs in this message.\n\+ \ If this field is not set then resource info is unknown.\n\+ \\n\+ \\f\n\+ \\ENQ\EOT\SOH\STX\NUL\ACK\DC2\ETX4\STX*\n\+ \\f\n\+ \\ENQ\EOT\SOH\STX\NUL\SOH\DC2\ETX4+3\n\+ \\f\n\+ \\ENQ\EOT\SOH\STX\NUL\ETX\DC2\ETX467\n\+ \B\n\+ \\EOT\EOT\SOH\STX\SOH\DC2\ETX7\STX$\SUB5 A list of ScopeLogs that originate from a resource.\n\+ \\n\+ \\f\n\+ \\ENQ\EOT\SOH\STX\SOH\EOT\DC2\ETX7\STX\n\+ \\n\+ \\f\n\+ \\ENQ\EOT\SOH\STX\SOH\ACK\DC2\ETX7\v\DC4\n\+ \\f\n\+ \\ENQ\EOT\SOH\STX\SOH\SOH\DC2\ETX7\NAK\US\n\+ \\f\n\+ \\ENQ\EOT\SOH\STX\SOH\ETX\DC2\ETX7\"#\n\+ \\172\SOH\n\+ \\EOT\EOT\SOH\STX\STX\DC2\ETX;\STX\CAN\SUB\158\SOH This schema_url applies to the data in the \"resource\" field. It does not apply\n\+ \ to the data in the \"scope_logs\" field which have their own schema_url field.\n\+ \\n\+ \\f\n\+ \\ENQ\EOT\SOH\STX\STX\ENQ\DC2\ETX;\STX\b\n\+ \\f\n\+ \\ENQ\EOT\SOH\STX\STX\SOH\DC2\ETX;\t\DC3\n\+ \\f\n\+ \\ENQ\EOT\SOH\STX\STX\ETX\DC2\ETX;\SYN\ETB\n\+ \7\n\+ \\STX\EOT\STX\DC2\EOT?\NULJ\SOH\SUB+ A collection of Logs produced by a Scope.\n\+ \\n\+ \\n\+ \\n\+ \\ETX\EOT\STX\SOH\DC2\ETX?\b\DC1\n\+ \\204\SOH\n\+ \\EOT\EOT\STX\STX\NUL\DC2\ETXC\STX?\SUB\190\SOH The instrumentation scope information for the logs in this message.\n\+ \ Semantically when InstrumentationScope isn't set, it is equivalent with\n\+ \ an empty instrumentation scope name (unknown).\n\+ \\n\+ \\f\n\+ \\ENQ\EOT\STX\STX\NUL\ACK\DC2\ETXC\STX4\n\+ \\f\n\+ \\ENQ\EOT\STX\STX\NUL\SOH\DC2\ETXC5:\n\+ \\f\n\+ \\ENQ\EOT\STX\STX\NUL\ETX\DC2\ETXC=>\n\+ \%\n\+ \\EOT\EOT\STX\STX\SOH\DC2\ETXF\STX%\SUB\CAN A list of log records.\n\+ \\n\+ \\f\n\+ \\ENQ\EOT\STX\STX\SOH\EOT\DC2\ETXF\STX\n\+ \\n\+ \\f\n\+ \\ENQ\EOT\STX\STX\SOH\ACK\DC2\ETXF\v\DC4\n\+ \\f\n\+ \\ENQ\EOT\STX\STX\SOH\SOH\DC2\ETXF\NAK \n\+ \\f\n\+ \\ENQ\EOT\STX\STX\SOH\ETX\DC2\ETXF#$\n\+ \G\n\+ \\EOT\EOT\STX\STX\STX\DC2\ETXI\STX\CAN\SUB: This schema_url applies to all logs in the \"logs\" field.\n\+ \\n\+ \\f\n\+ \\ENQ\EOT\STX\STX\STX\ENQ\DC2\ETXI\STX\b\n\+ \\f\n\+ \\ENQ\EOT\STX\STX\STX\SOH\DC2\ETXI\t\DC3\n\+ \\f\n\+ \\ENQ\EOT\STX\STX\STX\ETX\DC2\ETXI\SYN\ETB\n\+ \;\n\+ \\STX\ENQ\NUL\DC2\EOTM\NULh\SOH\SUB/ Possible values for LogRecord.SeverityNumber.\n\+ \\n\+ \\n\+ \\n\+ \\ETX\ENQ\NUL\SOH\DC2\ETXM\ENQ\DC3\n\+ \N\n\+ \\EOT\ENQ\NUL\STX\NUL\DC2\ETXO\STX\"\SUBA UNSPECIFIED is the default SeverityNumber, it MUST NOT be used.\n\+ \\n\+ \\f\n\+ \\ENQ\ENQ\NUL\STX\NUL\SOH\DC2\ETXO\STX\GS\n\+ \\f\n\+ \\ENQ\ENQ\NUL\STX\NUL\STX\DC2\ETXO !\n\+ \\v\n\+ \\EOT\ENQ\NUL\STX\SOH\DC2\ETXP\STX\GS\n\+ \\f\n\+ \\ENQ\ENQ\NUL\STX\SOH\SOH\DC2\ETXP\STX\ETB\n\+ \\f\n\+ \\ENQ\ENQ\NUL\STX\SOH\STX\DC2\ETXP\ESC\FS\n\+ \\v\n\+ \\EOT\ENQ\NUL\STX\STX\DC2\ETXQ\STX\GS\n\+ \\f\n\+ \\ENQ\ENQ\NUL\STX\STX\SOH\DC2\ETXQ\STX\CAN\n\+ \\f\n\+ \\ENQ\ENQ\NUL\STX\STX\STX\DC2\ETXQ\ESC\FS\n\+ \\v\n\+ \\EOT\ENQ\NUL\STX\ETX\DC2\ETXR\STX\GS\n\+ \\f\n\+ \\ENQ\ENQ\NUL\STX\ETX\SOH\DC2\ETXR\STX\CAN\n\+ \\f\n\+ \\ENQ\ENQ\NUL\STX\ETX\STX\DC2\ETXR\ESC\FS\n\+ \\v\n\+ \\EOT\ENQ\NUL\STX\EOT\DC2\ETXS\STX\GS\n\+ \\f\n\+ \\ENQ\ENQ\NUL\STX\EOT\SOH\DC2\ETXS\STX\CAN\n\+ \\f\n\+ \\ENQ\ENQ\NUL\STX\EOT\STX\DC2\ETXS\ESC\FS\n\+ \\v\n\+ \\EOT\ENQ\NUL\STX\ENQ\DC2\ETXT\STX\GS\n\+ \\f\n\+ \\ENQ\ENQ\NUL\STX\ENQ\SOH\DC2\ETXT\STX\ETB\n\+ \\f\n\+ \\ENQ\ENQ\NUL\STX\ENQ\STX\DC2\ETXT\ESC\FS\n\+ \\v\n\+ \\EOT\ENQ\NUL\STX\ACK\DC2\ETXU\STX\GS\n\+ \\f\n\+ \\ENQ\ENQ\NUL\STX\ACK\SOH\DC2\ETXU\STX\CAN\n\+ \\f\n\+ \\ENQ\ENQ\NUL\STX\ACK\STX\DC2\ETXU\ESC\FS\n\+ \\v\n\+ \\EOT\ENQ\NUL\STX\a\DC2\ETXV\STX\GS\n\+ \\f\n\+ \\ENQ\ENQ\NUL\STX\a\SOH\DC2\ETXV\STX\CAN\n\+ \\f\n\+ \\ENQ\ENQ\NUL\STX\a\STX\DC2\ETXV\ESC\FS\n\+ \\v\n\+ \\EOT\ENQ\NUL\STX\b\DC2\ETXW\STX\GS\n\+ \\f\n\+ \\ENQ\ENQ\NUL\STX\b\SOH\DC2\ETXW\STX\CAN\n\+ \\f\n\+ \\ENQ\ENQ\NUL\STX\b\STX\DC2\ETXW\ESC\FS\n\+ \\v\n\+ \\EOT\ENQ\NUL\STX\t\DC2\ETXX\STX\GS\n\+ \\f\n\+ \\ENQ\ENQ\NUL\STX\t\SOH\DC2\ETXX\STX\SYN\n\+ \\f\n\+ \\ENQ\ENQ\NUL\STX\t\STX\DC2\ETXX\ESC\FS\n\+ \\v\n\+ \\EOT\ENQ\NUL\STX\n\+ \\DC2\ETXY\STX\RS\n\+ \\f\n\+ \\ENQ\ENQ\NUL\STX\n\+ \\SOH\DC2\ETXY\STX\ETB\n\+ \\f\n\+ \\ENQ\ENQ\NUL\STX\n\+ \\STX\DC2\ETXY\ESC\GS\n\+ \\v\n\+ \\EOT\ENQ\NUL\STX\v\DC2\ETXZ\STX\RS\n\+ \\f\n\+ \\ENQ\ENQ\NUL\STX\v\SOH\DC2\ETXZ\STX\ETB\n\+ \\f\n\+ \\ENQ\ENQ\NUL\STX\v\STX\DC2\ETXZ\ESC\GS\n\+ \\v\n\+ \\EOT\ENQ\NUL\STX\f\DC2\ETX[\STX\RS\n\+ \\f\n\+ \\ENQ\ENQ\NUL\STX\f\SOH\DC2\ETX[\STX\ETB\n\+ \\f\n\+ \\ENQ\ENQ\NUL\STX\f\STX\DC2\ETX[\ESC\GS\n\+ \\v\n\+ \\EOT\ENQ\NUL\STX\r\DC2\ETX\\\STX\RS\n\+ \\f\n\+ \\ENQ\ENQ\NUL\STX\r\SOH\DC2\ETX\\\STX\SYN\n\+ \\f\n\+ \\ENQ\ENQ\NUL\STX\r\STX\DC2\ETX\\\ESC\GS\n\+ \\v\n\+ \\EOT\ENQ\NUL\STX\SO\DC2\ETX]\STX\RS\n\+ \\f\n\+ \\ENQ\ENQ\NUL\STX\SO\SOH\DC2\ETX]\STX\ETB\n\+ \\f\n\+ \\ENQ\ENQ\NUL\STX\SO\STX\DC2\ETX]\ESC\GS\n\+ \\v\n\+ \\EOT\ENQ\NUL\STX\SI\DC2\ETX^\STX\RS\n\+ \\f\n\+ \\ENQ\ENQ\NUL\STX\SI\SOH\DC2\ETX^\STX\ETB\n\+ \\f\n\+ \\ENQ\ENQ\NUL\STX\SI\STX\DC2\ETX^\ESC\GS\n\+ \\v\n\+ \\EOT\ENQ\NUL\STX\DLE\DC2\ETX_\STX\RS\n\+ \\f\n\+ \\ENQ\ENQ\NUL\STX\DLE\SOH\DC2\ETX_\STX\ETB\n\+ \\f\n\+ \\ENQ\ENQ\NUL\STX\DLE\STX\DC2\ETX_\ESC\GS\n\+ \\v\n\+ \\EOT\ENQ\NUL\STX\DC1\DC2\ETX`\STX\RS\n\+ \\f\n\+ \\ENQ\ENQ\NUL\STX\DC1\SOH\DC2\ETX`\STX\ETB\n\+ \\f\n\+ \\ENQ\ENQ\NUL\STX\DC1\STX\DC2\ETX`\ESC\GS\n\+ \\v\n\+ \\EOT\ENQ\NUL\STX\DC2\DC2\ETXa\STX\RS\n\+ \\f\n\+ \\ENQ\ENQ\NUL\STX\DC2\SOH\DC2\ETXa\STX\CAN\n\+ \\f\n\+ \\ENQ\ENQ\NUL\STX\DC2\STX\DC2\ETXa\ESC\GS\n\+ \\v\n\+ \\EOT\ENQ\NUL\STX\DC3\DC2\ETXb\STX\RS\n\+ \\f\n\+ \\ENQ\ENQ\NUL\STX\DC3\SOH\DC2\ETXb\STX\CAN\n\+ \\f\n\+ \\ENQ\ENQ\NUL\STX\DC3\STX\DC2\ETXb\ESC\GS\n\+ \\v\n\+ \\EOT\ENQ\NUL\STX\DC4\DC2\ETXc\STX\RS\n\+ \\f\n\+ \\ENQ\ENQ\NUL\STX\DC4\SOH\DC2\ETXc\STX\CAN\n\+ \\f\n\+ \\ENQ\ENQ\NUL\STX\DC4\STX\DC2\ETXc\ESC\GS\n\+ \\v\n\+ \\EOT\ENQ\NUL\STX\NAK\DC2\ETXd\STX\RS\n\+ \\f\n\+ \\ENQ\ENQ\NUL\STX\NAK\SOH\DC2\ETXd\STX\ETB\n\+ \\f\n\+ \\ENQ\ENQ\NUL\STX\NAK\STX\DC2\ETXd\ESC\GS\n\+ \\v\n\+ \\EOT\ENQ\NUL\STX\SYN\DC2\ETXe\STX\RS\n\+ \\f\n\+ \\ENQ\ENQ\NUL\STX\SYN\SOH\DC2\ETXe\STX\CAN\n\+ \\f\n\+ \\ENQ\ENQ\NUL\STX\SYN\STX\DC2\ETXe\ESC\GS\n\+ \\v\n\+ \\EOT\ENQ\NUL\STX\ETB\DC2\ETXf\STX\RS\n\+ \\f\n\+ \\ENQ\ENQ\NUL\STX\ETB\SOH\DC2\ETXf\STX\CAN\n\+ \\f\n\+ \\ENQ\ENQ\NUL\STX\ETB\STX\DC2\ETXf\ESC\GS\n\+ \\v\n\+ \\EOT\ENQ\NUL\STX\CAN\DC2\ETXg\STX\RS\n\+ \\f\n\+ \\ENQ\ENQ\NUL\STX\CAN\SOH\DC2\ETXg\STX\CAN\n\+ \\f\n\+ \\ENQ\ENQ\NUL\STX\CAN\STX\DC2\ETXg\ESC\GS\n\+ \\153\STX\n\+ \\STX\ENQ\SOH\DC2\EOTp\NULy\SOH\SUB\140\STX LogRecordFlags is defined as a protobuf 'uint32' type and is to be used as\n\+ \ bit-fields. Each non-zero value defined in this enum is a bit-mask.\n\+ \ To extract the bit-field, for example, use an expression like:\n\+ \\n\+ \ (logRecord.flags & LOG_RECORD_FLAGS_TRACE_FLAGS_MASK)\n\+ \\n\+ \\n\+ \\n\+ \\n\+ \\ETX\ENQ\SOH\SOH\DC2\ETXp\ENQ\DC3\n\+ \\149\SOH\n\+ \\EOT\ENQ\SOH\STX\NUL\DC2\ETXs\STX\"\SUB\135\SOH The zero value for the enum. Should not be used for comparisons.\n\+ \ Instead use bitwise \"and\" with the appropriate mask as shown above.\n\+ \\n\+ \\f\n\+ \\ENQ\ENQ\SOH\STX\NUL\SOH\DC2\ETXs\STX\GS\n\+ \\f\n\+ \\ENQ\ENQ\SOH\STX\NUL\STX\DC2\ETXs !\n\+ \1\n\+ \\EOT\ENQ\SOH\STX\SOH\DC2\ETXv\STX1\SUB$ Bits 0-7 are used for trace flags.\n\+ \\n\+ \\f\n\+ \\ENQ\ENQ\SOH\STX\SOH\SOH\DC2\ETXv\STX#\n\+ \\f\n\+ \\ENQ\ENQ\SOH\STX\SOH\STX\DC2\ETXv&0\n\+ \\155\SOH\n\+ \\STX\EOT\ETX\DC2\ENQ}\NUL\202\SOH\SOH\SUB\141\SOH A log record according to OpenTelemetry Log Data Model:\n\+ \ https://github.com/open-telemetry/oteps/blob/main/text/logs/0097-log-data-model.md\n\+ \\n\+ \\n\+ \\n\+ \\ETX\EOT\ETX\SOH\DC2\ETX}\b\DC1\n\+ \\n\+ \\n\+ \\ETX\EOT\ETX\t\DC2\ETX~\STX\r\n\+ \\v\n\+ \\EOT\EOT\ETX\t\NUL\DC2\ETX~\v\f\n\+ \\f\n\+ \\ENQ\EOT\ETX\t\NUL\SOH\DC2\ETX~\v\f\n\+ \\f\n\+ \\ENQ\EOT\ETX\t\NUL\STX\DC2\ETX~\v\f\n\+ \\199\SOH\n\+ \\EOT\EOT\ETX\STX\NUL\DC2\EOT\131\SOH\STX\GS\SUB\184\SOH time_unix_nano is the time when the event occurred.\n\+ \ Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970.\n\+ \ Value of 0 indicates unknown or missing timestamp.\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\NUL\ENQ\DC2\EOT\131\SOH\STX\t\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\NUL\SOH\DC2\EOT\131\SOH\n\+ \\CAN\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\NUL\ETX\DC2\EOT\131\SOH\ESC\FS\n\+ \\176\a\n\+ \\EOT\EOT\ETX\STX\SOH\DC2\EOT\148\SOH\STX'\SUB\161\a Time when the event was observed by the collection system.\n\+ \ For events that originate in OpenTelemetry (e.g. using OpenTelemetry Logging SDK)\n\+ \ this timestamp is typically set at the generation time and is equal to Timestamp.\n\+ \ For events originating externally and collected by OpenTelemetry (e.g. using\n\+ \ Collector) this is the time when OpenTelemetry's code observed the event measured\n\+ \ by the clock of the OpenTelemetry code. This field MUST be set once the event is\n\+ \ observed by OpenTelemetry.\n\+ \\n\+ \ For converting OpenTelemetry log data to formats that support only one timestamp or\n\+ \ when receiving OpenTelemetry log data by recipients that support only one timestamp\n\+ \ internally the following logic is recommended:\n\+ \ - Use time_unix_nano if it is present, otherwise use observed_time_unix_nano.\n\+ \\n\+ \ Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970.\n\+ \ Value of 0 indicates unknown or missing timestamp.\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\SOH\ENQ\DC2\EOT\148\SOH\STX\t\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\SOH\SOH\DC2\EOT\148\SOH\n\+ \!\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\SOH\ETX\DC2\EOT\148\SOH$&\n\+ \o\n\+ \\EOT\EOT\ETX\STX\STX\DC2\EOT\152\SOH\STX%\SUBa Numerical value of the severity, normalized to values described in Log Data Model.\n\+ \ [Optional].\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\STX\ACK\DC2\EOT\152\SOH\STX\DLE\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\STX\SOH\DC2\EOT\152\SOH\DC1 \n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\STX\ETX\DC2\EOT\152\SOH#$\n\+ \\138\SOH\n\+ \\EOT\EOT\ETX\STX\ETX\DC2\EOT\156\SOH\STX\ESC\SUB| The severity text (also known as log level). The original string representation as\n\+ \ it is known at the source. [Optional].\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\ETX\ENQ\DC2\EOT\156\SOH\STX\b\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\ETX\SOH\DC2\EOT\156\SOH\t\SYN\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\ETX\ETX\DC2\EOT\156\SOH\EM\SUB\n\+ \\135\STX\n\+ \\EOT\EOT\ETX\STX\EOT\DC2\EOT\161\SOH\STX2\SUB\248\SOH A value containing the body of the log record. Can be for example a human-readable\n\+ \ string message (including multi-line) describing the event in a free form or it can\n\+ \ be a structured data composed of arrays and maps of other values. [Optional].\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\EOT\ACK\DC2\EOT\161\SOH\STX(\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\EOT\SOH\DC2\EOT\161\SOH)-\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\EOT\ETX\DC2\EOT\161\SOH01\n\+ \\198\SOH\n\+ \\EOT\EOT\ETX\STX\ENQ\DC2\EOT\166\SOH\STXA\SUB\183\SOH Additional attributes that describe the specific event occurrence. [Optional].\n\+ \ Attribute keys MUST be unique (it is not allowed to have more than one\n\+ \ attribute with the same key).\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\ENQ\EOT\DC2\EOT\166\SOH\STX\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\ENQ\ACK\DC2\EOT\166\SOH\v1\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\ENQ\SOH\DC2\EOT\166\SOH2<\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\ENQ\ETX\DC2\EOT\166\SOH?@\n\+ \\f\n\+ \\EOT\EOT\ETX\STX\ACK\DC2\EOT\167\SOH\STX&\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\ACK\ENQ\DC2\EOT\167\SOH\STX\b\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\ACK\SOH\DC2\EOT\167\SOH\t!\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\ACK\ETX\DC2\EOT\167\SOH$%\n\+ \\255\STX\n\+ \\EOT\EOT\ETX\STX\a\DC2\EOT\174\SOH\STX\DC4\SUB\240\STX Flags, a bit field. 8 least significant bits are the trace flags as\n\+ \ defined in W3C Trace Context specification. 24 most significant bits are reserved\n\+ \ and must be set to 0. Readers must not assume that 24 most significant bits\n\+ \ will be zero and must correctly mask the bits when reading 8-bit trace flag (use\n\+ \ flags & LOG_RECORD_FLAGS_TRACE_FLAGS_MASK). [Optional].\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\a\ENQ\DC2\EOT\174\SOH\STX\t\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\a\SOH\DC2\EOT\174\SOH\n\+ \\SI\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\a\ETX\DC2\EOT\174\SOH\DC2\DC3\n\+ \\239\ETX\n\+ \\EOT\EOT\ETX\STX\b\DC2\EOT\187\SOH\STX\NAK\SUB\224\ETX A unique identifier for a trace. All logs from the same trace share\n\+ \ the same `trace_id`. The ID is a 16-byte array. An ID with all zeroes OR\n\+ \ of length other than 16 bytes is considered invalid (empty string in OTLP/JSON\n\+ \ is zero-length and thus is also invalid).\n\+ \\n\+ \ This field is optional.\n\+ \\n\+ \ The receivers SHOULD assume that the log record is not associated with a\n\+ \ trace if any of the following is true:\n\+ \ - the field is not present,\n\+ \ - the field contains an invalid value.\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\b\ENQ\DC2\EOT\187\SOH\STX\a\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\b\SOH\DC2\EOT\187\SOH\b\DLE\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\b\ETX\DC2\EOT\187\SOH\DC3\DC4\n\+ \\189\EOT\n\+ \\EOT\EOT\ETX\STX\t\DC2\EOT\201\SOH\STX\NAK\SUB\174\EOT A unique identifier for a span within a trace, assigned when the span\n\+ \ is created. The ID is an 8-byte array. An ID with all zeroes OR of length\n\+ \ other than 8 bytes is considered invalid (empty string in OTLP/JSON\n\+ \ is zero-length and thus is also invalid).\n\+ \\n\+ \ This field is optional. If the sender specifies a valid span_id then it SHOULD also\n\+ \ specify a valid trace_id.\n\+ \\n\+ \ The receivers SHOULD assume that the log record is not associated with a\n\+ \ span if any of the following is true:\n\+ \ - the field is not present,\n\+ \ - the field contains an invalid value.\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\t\ENQ\DC2\EOT\201\SOH\STX\a\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\t\SOH\DC2\EOT\201\SOH\b\SI\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\t\ETX\DC2\EOT\201\SOH\DC2\DC4b\ACKproto3"
src/Proto/Opentelemetry/Proto/Logs/V1/Logs_Fields.hs view
@@ -1,3 +1,4 @@+{- HLINT ignore -} {- This file was auto-generated from opentelemetry/proto/logs/v1/logs.proto by the proto-lens-protoc program. -} {-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-} {-# OPTIONS_GHC -Wno-unused-imports#-}@@ -52,49 +53,37 @@ (Prelude.Functor f, Data.ProtoLens.Field.HasField s "flags" a) => Lens.Family2.LensLike' f s a flags = Data.ProtoLens.Field.field @"flags"-instrumentationLibrary ::- forall f s a.- (Prelude.Functor f,- Data.ProtoLens.Field.HasField s "instrumentationLibrary" a) =>- Lens.Family2.LensLike' f s a-instrumentationLibrary- = Data.ProtoLens.Field.field @"instrumentationLibrary"-instrumentationLibraryLogs ::+logRecords :: forall f s a. (Prelude.Functor f,- Data.ProtoLens.Field.HasField s "instrumentationLibraryLogs" a) =>- Lens.Family2.LensLike' f s a-instrumentationLibraryLogs- = Data.ProtoLens.Field.field @"instrumentationLibraryLogs"-logs ::- forall f s a.- (Prelude.Functor f, Data.ProtoLens.Field.HasField s "logs" a) =>+ Data.ProtoLens.Field.HasField s "logRecords" a) => Lens.Family2.LensLike' f s a-logs = Data.ProtoLens.Field.field @"logs"+logRecords = Data.ProtoLens.Field.field @"logRecords" maybe'body :: forall f s a. (Prelude.Functor f, Data.ProtoLens.Field.HasField s "maybe'body" a) => Lens.Family2.LensLike' f s a maybe'body = Data.ProtoLens.Field.field @"maybe'body"-maybe'instrumentationLibrary ::- forall f s a.- (Prelude.Functor f,- Data.ProtoLens.Field.HasField s "maybe'instrumentationLibrary" a) =>- Lens.Family2.LensLike' f s a-maybe'instrumentationLibrary- = Data.ProtoLens.Field.field @"maybe'instrumentationLibrary" maybe'resource :: forall f s a. (Prelude.Functor f, Data.ProtoLens.Field.HasField s "maybe'resource" a) => Lens.Family2.LensLike' f s a maybe'resource = Data.ProtoLens.Field.field @"maybe'resource"-name ::+maybe'scope :: forall f s a.- (Prelude.Functor f, Data.ProtoLens.Field.HasField s "name" a) =>+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "maybe'scope" a) => Lens.Family2.LensLike' f s a-name = Data.ProtoLens.Field.field @"name"+maybe'scope = Data.ProtoLens.Field.field @"maybe'scope"+observedTimeUnixNano ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "observedTimeUnixNano" a) =>+ Lens.Family2.LensLike' f s a+observedTimeUnixNano+ = Data.ProtoLens.Field.field @"observedTimeUnixNano" resource :: forall f s a. (Prelude.Functor f,@@ -113,6 +102,17 @@ Data.ProtoLens.Field.HasField s "schemaUrl" a) => Lens.Family2.LensLike' f s a schemaUrl = Data.ProtoLens.Field.field @"schemaUrl"+scope ::+ forall f s a.+ (Prelude.Functor f, Data.ProtoLens.Field.HasField s "scope" a) =>+ Lens.Family2.LensLike' f s a+scope = Data.ProtoLens.Field.field @"scope"+scopeLogs ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "scopeLogs" a) =>+ Lens.Family2.LensLike' f s a+scopeLogs = Data.ProtoLens.Field.field @"scopeLogs" severityNumber :: forall f s a. (Prelude.Functor f,@@ -147,22 +147,21 @@ Data.ProtoLens.Field.HasField s "vec'attributes" a) => Lens.Family2.LensLike' f s a vec'attributes = Data.ProtoLens.Field.field @"vec'attributes"-vec'instrumentationLibraryLogs ::- forall f s a.- (Prelude.Functor f,- Data.ProtoLens.Field.HasField s "vec'instrumentationLibraryLogs" a) =>- Lens.Family2.LensLike' f s a-vec'instrumentationLibraryLogs- = Data.ProtoLens.Field.field @"vec'instrumentationLibraryLogs"-vec'logs ::+vec'logRecords :: forall f s a. (Prelude.Functor f,- Data.ProtoLens.Field.HasField s "vec'logs" a) =>+ Data.ProtoLens.Field.HasField s "vec'logRecords" a) => Lens.Family2.LensLike' f s a-vec'logs = Data.ProtoLens.Field.field @"vec'logs"+vec'logRecords = Data.ProtoLens.Field.field @"vec'logRecords" vec'resourceLogs :: forall f s a. (Prelude.Functor f, Data.ProtoLens.Field.HasField s "vec'resourceLogs" a) => Lens.Family2.LensLike' f s a vec'resourceLogs = Data.ProtoLens.Field.field @"vec'resourceLogs"+vec'scopeLogs ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "vec'scopeLogs" a) =>+ Lens.Family2.LensLike' f s a+vec'scopeLogs = Data.ProtoLens.Field.field @"vec'scopeLogs"
− src/Proto/Opentelemetry/Proto/Metrics/Experimental/MetricsConfigService.hs
@@ -1,1223 +0,0 @@-{- This file was auto-generated from opentelemetry/proto/metrics/experimental/metrics_config_service.proto by the proto-lens-protoc program. -}-{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}-{-# OPTIONS_GHC -Wno-unused-imports#-}-{-# OPTIONS_GHC -Wno-duplicate-exports#-}-{-# OPTIONS_GHC -Wno-dodgy-exports#-}-module Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService (- MetricConfig(..), MetricConfigRequest(), MetricConfigResponse(),- MetricConfigResponse'Schedule(),- MetricConfigResponse'Schedule'Pattern(),- MetricConfigResponse'Schedule'Pattern'Match(..),- _MetricConfigResponse'Schedule'Pattern'Equals,- _MetricConfigResponse'Schedule'Pattern'StartsWith- ) where-import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq-import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism-import qualified Data.ProtoLens.Runtime.Prelude as Prelude-import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int-import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid-import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word-import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens-import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes-import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing-import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe-import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire-import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field-import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum-import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types-import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2-import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked-import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text-import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map-import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString-import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8-import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding-import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector-import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic-import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed-import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read-import qualified Proto.Opentelemetry.Proto.Resource.V1.Resource-{- | Fields :- - * 'Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService_Fields.resource' @:: Lens' MetricConfigRequest Proto.Opentelemetry.Proto.Resource.V1.Resource.Resource@- * 'Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService_Fields.maybe'resource' @:: Lens' MetricConfigRequest (Prelude.Maybe Proto.Opentelemetry.Proto.Resource.V1.Resource.Resource)@- * 'Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService_Fields.lastKnownFingerprint' @:: Lens' MetricConfigRequest Data.ByteString.ByteString@ -}-data MetricConfigRequest- = MetricConfigRequest'_constructor {_MetricConfigRequest'resource :: !(Prelude.Maybe Proto.Opentelemetry.Proto.Resource.V1.Resource.Resource),- _MetricConfigRequest'lastKnownFingerprint :: !Data.ByteString.ByteString,- _MetricConfigRequest'_unknownFields :: !Data.ProtoLens.FieldSet}- deriving stock (Prelude.Eq, Prelude.Ord)-instance Prelude.Show MetricConfigRequest where- showsPrec _ __x __s- = Prelude.showChar- '{'- (Prelude.showString- (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))-instance Data.ProtoLens.Field.HasField MetricConfigRequest "resource" Proto.Opentelemetry.Proto.Resource.V1.Resource.Resource where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _MetricConfigRequest'resource- (\ x__ y__ -> x__ {_MetricConfigRequest'resource = y__}))- (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)-instance Data.ProtoLens.Field.HasField MetricConfigRequest "maybe'resource" (Prelude.Maybe Proto.Opentelemetry.Proto.Resource.V1.Resource.Resource) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _MetricConfigRequest'resource- (\ x__ y__ -> x__ {_MetricConfigRequest'resource = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField MetricConfigRequest "lastKnownFingerprint" Data.ByteString.ByteString where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _MetricConfigRequest'lastKnownFingerprint- (\ x__ y__- -> x__ {_MetricConfigRequest'lastKnownFingerprint = y__}))- Prelude.id-instance Data.ProtoLens.Message MetricConfigRequest where- messageName _- = Data.Text.pack- "opentelemetry.proto.metrics.experimental.MetricConfigRequest"- packedMessageDescriptor _- = "\n\- \\DC3MetricConfigRequest\DC2E\n\- \\bresource\CAN\SOH \SOH(\v2).opentelemetry.proto.resource.v1.ResourceR\bresource\DC24\n\- \\SYNlast_known_fingerprint\CAN\STX \SOH(\fR\DC4lastKnownFingerprint"- packedFileDescriptor _ = packedFileDescriptor- fieldsByTag- = let- resource__field_descriptor- = Data.ProtoLens.FieldDescriptor- "resource"- (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::- Data.ProtoLens.FieldTypeDescriptor Proto.Opentelemetry.Proto.Resource.V1.Resource.Resource)- (Data.ProtoLens.OptionalField- (Data.ProtoLens.Field.field @"maybe'resource")) ::- Data.ProtoLens.FieldDescriptor MetricConfigRequest- lastKnownFingerprint__field_descriptor- = Data.ProtoLens.FieldDescriptor- "last_known_fingerprint"- (Data.ProtoLens.ScalarField Data.ProtoLens.BytesField ::- Data.ProtoLens.FieldTypeDescriptor Data.ByteString.ByteString)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional- (Data.ProtoLens.Field.field @"lastKnownFingerprint")) ::- Data.ProtoLens.FieldDescriptor MetricConfigRequest- in- Data.Map.fromList- [(Data.ProtoLens.Tag 1, resource__field_descriptor),- (Data.ProtoLens.Tag 2, lastKnownFingerprint__field_descriptor)]- unknownFields- = Lens.Family2.Unchecked.lens- _MetricConfigRequest'_unknownFields- (\ x__ y__ -> x__ {_MetricConfigRequest'_unknownFields = y__})- defMessage- = MetricConfigRequest'_constructor- {_MetricConfigRequest'resource = Prelude.Nothing,- _MetricConfigRequest'lastKnownFingerprint = Data.ProtoLens.fieldDefault,- _MetricConfigRequest'_unknownFields = []}- parseMessage- = let- loop ::- MetricConfigRequest- -> Data.ProtoLens.Encoding.Bytes.Parser MetricConfigRequest- loop x- = do end <- Data.ProtoLens.Encoding.Bytes.atEnd- if end then- do (let missing = []- in- if Prelude.null missing then- Prelude.return ()- else- Prelude.fail- ((Prelude.++)- "Missing required fields: "- (Prelude.show (missing :: [Prelude.String]))))- Prelude.return- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)- else- do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt- case tag of- 10- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)- "resource"- loop- (Lens.Family2.set (Data.ProtoLens.Field.field @"resource") y x)- 18- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.getBytes- (Prelude.fromIntegral len))- "last_known_fingerprint"- loop- (Lens.Family2.set- (Data.ProtoLens.Field.field @"lastKnownFingerprint") y x)- wire- -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire- wire- loop- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)- in- (Data.ProtoLens.Encoding.Bytes.<?>)- (do loop Data.ProtoLens.defMessage) "MetricConfigRequest"- buildMessage- = \ _x- -> (Data.Monoid.<>)- (case- Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'resource") _x- of- Prelude.Nothing -> Data.Monoid.mempty- (Prelude.Just _v)- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 10)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.ProtoLens.encodeMessage _v))- ((Data.Monoid.<>)- (let- _v- = Lens.Family2.view- (Data.ProtoLens.Field.field @"lastKnownFingerprint") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 18)- ((\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- _v))- (Data.ProtoLens.Encoding.Wire.buildFieldSet- (Lens.Family2.view Data.ProtoLens.unknownFields _x)))-instance Control.DeepSeq.NFData MetricConfigRequest where- rnf- = \ x__- -> Control.DeepSeq.deepseq- (_MetricConfigRequest'_unknownFields x__)- (Control.DeepSeq.deepseq- (_MetricConfigRequest'resource x__)- (Control.DeepSeq.deepseq- (_MetricConfigRequest'lastKnownFingerprint x__) ()))-{- | Fields :- - * 'Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService_Fields.fingerprint' @:: Lens' MetricConfigResponse Data.ByteString.ByteString@- * 'Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService_Fields.schedules' @:: Lens' MetricConfigResponse [MetricConfigResponse'Schedule]@- * 'Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService_Fields.vec'schedules' @:: Lens' MetricConfigResponse (Data.Vector.Vector MetricConfigResponse'Schedule)@- * 'Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService_Fields.suggestedWaitTimeSec' @:: Lens' MetricConfigResponse Data.Int.Int32@ -}-data MetricConfigResponse- = MetricConfigResponse'_constructor {_MetricConfigResponse'fingerprint :: !Data.ByteString.ByteString,- _MetricConfigResponse'schedules :: !(Data.Vector.Vector MetricConfigResponse'Schedule),- _MetricConfigResponse'suggestedWaitTimeSec :: !Data.Int.Int32,- _MetricConfigResponse'_unknownFields :: !Data.ProtoLens.FieldSet}- deriving stock (Prelude.Eq, Prelude.Ord)-instance Prelude.Show MetricConfigResponse where- showsPrec _ __x __s- = Prelude.showChar- '{'- (Prelude.showString- (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))-instance Data.ProtoLens.Field.HasField MetricConfigResponse "fingerprint" Data.ByteString.ByteString where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _MetricConfigResponse'fingerprint- (\ x__ y__ -> x__ {_MetricConfigResponse'fingerprint = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField MetricConfigResponse "schedules" [MetricConfigResponse'Schedule] where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _MetricConfigResponse'schedules- (\ x__ y__ -> x__ {_MetricConfigResponse'schedules = y__}))- (Lens.Family2.Unchecked.lens- Data.Vector.Generic.toList- (\ _ y__ -> Data.Vector.Generic.fromList y__))-instance Data.ProtoLens.Field.HasField MetricConfigResponse "vec'schedules" (Data.Vector.Vector MetricConfigResponse'Schedule) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _MetricConfigResponse'schedules- (\ x__ y__ -> x__ {_MetricConfigResponse'schedules = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField MetricConfigResponse "suggestedWaitTimeSec" Data.Int.Int32 where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _MetricConfigResponse'suggestedWaitTimeSec- (\ x__ y__- -> x__ {_MetricConfigResponse'suggestedWaitTimeSec = y__}))- Prelude.id-instance Data.ProtoLens.Message MetricConfigResponse where- messageName _- = Data.Text.pack- "opentelemetry.proto.metrics.experimental.MetricConfigResponse"- packedMessageDescriptor _- = "\n\- \\DC4MetricConfigResponse\DC2 \n\- \\vfingerprint\CAN\SOH \SOH(\fR\vfingerprint\DC2e\n\- \\tschedules\CAN\STX \ETX(\v2G.opentelemetry.proto.metrics.experimental.MetricConfigResponse.ScheduleR\tschedules\DC25\n\- \\ETBsuggested_wait_time_sec\CAN\ETX \SOH(\ENQR\DC4suggestedWaitTimeSec\SUB\250\STX\n\- \\bSchedule\DC2~\n\- \\DC2exclusion_patterns\CAN\SOH \ETX(\v2O.opentelemetry.proto.metrics.experimental.MetricConfigResponse.Schedule.PatternR\DC1exclusionPatterns\DC2~\n\- \\DC2inclusion_patterns\CAN\STX \ETX(\v2O.opentelemetry.proto.metrics.experimental.MetricConfigResponse.Schedule.PatternR\DC1inclusionPatterns\DC2\GS\n\- \\n\- \period_sec\CAN\ETX \SOH(\ENQR\tperiodSec\SUBO\n\- \\aPattern\DC2\CAN\n\- \\ACKequals\CAN\SOH \SOH(\tH\NULR\ACKequals\DC2!\n\- \\vstarts_with\CAN\STX \SOH(\tH\NULR\n\- \startsWithB\a\n\- \\ENQmatch"- packedFileDescriptor _ = packedFileDescriptor- fieldsByTag- = let- fingerprint__field_descriptor- = Data.ProtoLens.FieldDescriptor- "fingerprint"- (Data.ProtoLens.ScalarField Data.ProtoLens.BytesField ::- Data.ProtoLens.FieldTypeDescriptor Data.ByteString.ByteString)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional- (Data.ProtoLens.Field.field @"fingerprint")) ::- Data.ProtoLens.FieldDescriptor MetricConfigResponse- schedules__field_descriptor- = Data.ProtoLens.FieldDescriptor- "schedules"- (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::- Data.ProtoLens.FieldTypeDescriptor MetricConfigResponse'Schedule)- (Data.ProtoLens.RepeatedField- Data.ProtoLens.Unpacked- (Data.ProtoLens.Field.field @"schedules")) ::- Data.ProtoLens.FieldDescriptor MetricConfigResponse- suggestedWaitTimeSec__field_descriptor- = Data.ProtoLens.FieldDescriptor- "suggested_wait_time_sec"- (Data.ProtoLens.ScalarField Data.ProtoLens.Int32Field ::- Data.ProtoLens.FieldTypeDescriptor Data.Int.Int32)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional- (Data.ProtoLens.Field.field @"suggestedWaitTimeSec")) ::- Data.ProtoLens.FieldDescriptor MetricConfigResponse- in- Data.Map.fromList- [(Data.ProtoLens.Tag 1, fingerprint__field_descriptor),- (Data.ProtoLens.Tag 2, schedules__field_descriptor),- (Data.ProtoLens.Tag 3, suggestedWaitTimeSec__field_descriptor)]- unknownFields- = Lens.Family2.Unchecked.lens- _MetricConfigResponse'_unknownFields- (\ x__ y__ -> x__ {_MetricConfigResponse'_unknownFields = y__})- defMessage- = MetricConfigResponse'_constructor- {_MetricConfigResponse'fingerprint = Data.ProtoLens.fieldDefault,- _MetricConfigResponse'schedules = Data.Vector.Generic.empty,- _MetricConfigResponse'suggestedWaitTimeSec = Data.ProtoLens.fieldDefault,- _MetricConfigResponse'_unknownFields = []}- parseMessage- = let- loop ::- MetricConfigResponse- -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld MetricConfigResponse'Schedule- -> Data.ProtoLens.Encoding.Bytes.Parser MetricConfigResponse- loop x mutable'schedules- = do end <- Data.ProtoLens.Encoding.Bytes.atEnd- if end then- do frozen'schedules <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.unsafeFreeze- mutable'schedules)- (let missing = []- in- if Prelude.null missing then- Prelude.return ()- else- Prelude.fail- ((Prelude.++)- "Missing required fields: "- (Prelude.show (missing :: [Prelude.String]))))- Prelude.return- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)- (Lens.Family2.set- (Data.ProtoLens.Field.field @"vec'schedules") frozen'schedules x))- else- do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt- case tag of- 10- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.getBytes- (Prelude.fromIntegral len))- "fingerprint"- loop- (Lens.Family2.set (Data.ProtoLens.Field.field @"fingerprint") y x)- mutable'schedules- 18- -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len)- Data.ProtoLens.parseMessage)- "schedules"- v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.append mutable'schedules y)- loop x v- 24- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (Prelude.fmap- Prelude.fromIntegral- Data.ProtoLens.Encoding.Bytes.getVarInt)- "suggested_wait_time_sec"- loop- (Lens.Family2.set- (Data.ProtoLens.Field.field @"suggestedWaitTimeSec") y x)- mutable'schedules- wire- -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire- wire- loop- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)- mutable'schedules- in- (Data.ProtoLens.Encoding.Bytes.<?>)- (do mutable'schedules <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- Data.ProtoLens.Encoding.Growing.new- loop Data.ProtoLens.defMessage mutable'schedules)- "MetricConfigResponse"- buildMessage- = \ _x- -> (Data.Monoid.<>)- (let- _v- = Lens.Family2.view (Data.ProtoLens.Field.field @"fingerprint") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 10)- ((\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- _v))- ((Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.foldMapBuilder- (\ _v- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 18)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.ProtoLens.encodeMessage _v))- (Lens.Family2.view- (Data.ProtoLens.Field.field @"vec'schedules") _x))- ((Data.Monoid.<>)- (let- _v- = Lens.Family2.view- (Data.ProtoLens.Field.field @"suggestedWaitTimeSec") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 24)- ((Prelude..)- Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))- (Data.ProtoLens.Encoding.Wire.buildFieldSet- (Lens.Family2.view Data.ProtoLens.unknownFields _x))))-instance Control.DeepSeq.NFData MetricConfigResponse where- rnf- = \ x__- -> Control.DeepSeq.deepseq- (_MetricConfigResponse'_unknownFields x__)- (Control.DeepSeq.deepseq- (_MetricConfigResponse'fingerprint x__)- (Control.DeepSeq.deepseq- (_MetricConfigResponse'schedules x__)- (Control.DeepSeq.deepseq- (_MetricConfigResponse'suggestedWaitTimeSec x__) ())))-{- | Fields :- - * 'Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService_Fields.exclusionPatterns' @:: Lens' MetricConfigResponse'Schedule [MetricConfigResponse'Schedule'Pattern]@- * 'Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService_Fields.vec'exclusionPatterns' @:: Lens' MetricConfigResponse'Schedule (Data.Vector.Vector MetricConfigResponse'Schedule'Pattern)@- * 'Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService_Fields.inclusionPatterns' @:: Lens' MetricConfigResponse'Schedule [MetricConfigResponse'Schedule'Pattern]@- * 'Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService_Fields.vec'inclusionPatterns' @:: Lens' MetricConfigResponse'Schedule (Data.Vector.Vector MetricConfigResponse'Schedule'Pattern)@- * 'Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService_Fields.periodSec' @:: Lens' MetricConfigResponse'Schedule Data.Int.Int32@ -}-data MetricConfigResponse'Schedule- = MetricConfigResponse'Schedule'_constructor {_MetricConfigResponse'Schedule'exclusionPatterns :: !(Data.Vector.Vector MetricConfigResponse'Schedule'Pattern),- _MetricConfigResponse'Schedule'inclusionPatterns :: !(Data.Vector.Vector MetricConfigResponse'Schedule'Pattern),- _MetricConfigResponse'Schedule'periodSec :: !Data.Int.Int32,- _MetricConfigResponse'Schedule'_unknownFields :: !Data.ProtoLens.FieldSet}- deriving stock (Prelude.Eq, Prelude.Ord)-instance Prelude.Show MetricConfigResponse'Schedule where- showsPrec _ __x __s- = Prelude.showChar- '{'- (Prelude.showString- (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))-instance Data.ProtoLens.Field.HasField MetricConfigResponse'Schedule "exclusionPatterns" [MetricConfigResponse'Schedule'Pattern] where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _MetricConfigResponse'Schedule'exclusionPatterns- (\ x__ y__- -> x__ {_MetricConfigResponse'Schedule'exclusionPatterns = y__}))- (Lens.Family2.Unchecked.lens- Data.Vector.Generic.toList- (\ _ y__ -> Data.Vector.Generic.fromList y__))-instance Data.ProtoLens.Field.HasField MetricConfigResponse'Schedule "vec'exclusionPatterns" (Data.Vector.Vector MetricConfigResponse'Schedule'Pattern) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _MetricConfigResponse'Schedule'exclusionPatterns- (\ x__ y__- -> x__ {_MetricConfigResponse'Schedule'exclusionPatterns = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField MetricConfigResponse'Schedule "inclusionPatterns" [MetricConfigResponse'Schedule'Pattern] where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _MetricConfigResponse'Schedule'inclusionPatterns- (\ x__ y__- -> x__ {_MetricConfigResponse'Schedule'inclusionPatterns = y__}))- (Lens.Family2.Unchecked.lens- Data.Vector.Generic.toList- (\ _ y__ -> Data.Vector.Generic.fromList y__))-instance Data.ProtoLens.Field.HasField MetricConfigResponse'Schedule "vec'inclusionPatterns" (Data.Vector.Vector MetricConfigResponse'Schedule'Pattern) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _MetricConfigResponse'Schedule'inclusionPatterns- (\ x__ y__- -> x__ {_MetricConfigResponse'Schedule'inclusionPatterns = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField MetricConfigResponse'Schedule "periodSec" Data.Int.Int32 where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _MetricConfigResponse'Schedule'periodSec- (\ x__ y__- -> x__ {_MetricConfigResponse'Schedule'periodSec = y__}))- Prelude.id-instance Data.ProtoLens.Message MetricConfigResponse'Schedule where- messageName _- = Data.Text.pack- "opentelemetry.proto.metrics.experimental.MetricConfigResponse.Schedule"- packedMessageDescriptor _- = "\n\- \\bSchedule\DC2~\n\- \\DC2exclusion_patterns\CAN\SOH \ETX(\v2O.opentelemetry.proto.metrics.experimental.MetricConfigResponse.Schedule.PatternR\DC1exclusionPatterns\DC2~\n\- \\DC2inclusion_patterns\CAN\STX \ETX(\v2O.opentelemetry.proto.metrics.experimental.MetricConfigResponse.Schedule.PatternR\DC1inclusionPatterns\DC2\GS\n\- \\n\- \period_sec\CAN\ETX \SOH(\ENQR\tperiodSec\SUBO\n\- \\aPattern\DC2\CAN\n\- \\ACKequals\CAN\SOH \SOH(\tH\NULR\ACKequals\DC2!\n\- \\vstarts_with\CAN\STX \SOH(\tH\NULR\n\- \startsWithB\a\n\- \\ENQmatch"- packedFileDescriptor _ = packedFileDescriptor- fieldsByTag- = let- exclusionPatterns__field_descriptor- = Data.ProtoLens.FieldDescriptor- "exclusion_patterns"- (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::- Data.ProtoLens.FieldTypeDescriptor MetricConfigResponse'Schedule'Pattern)- (Data.ProtoLens.RepeatedField- Data.ProtoLens.Unpacked- (Data.ProtoLens.Field.field @"exclusionPatterns")) ::- Data.ProtoLens.FieldDescriptor MetricConfigResponse'Schedule- inclusionPatterns__field_descriptor- = Data.ProtoLens.FieldDescriptor- "inclusion_patterns"- (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::- Data.ProtoLens.FieldTypeDescriptor MetricConfigResponse'Schedule'Pattern)- (Data.ProtoLens.RepeatedField- Data.ProtoLens.Unpacked- (Data.ProtoLens.Field.field @"inclusionPatterns")) ::- Data.ProtoLens.FieldDescriptor MetricConfigResponse'Schedule- periodSec__field_descriptor- = Data.ProtoLens.FieldDescriptor- "period_sec"- (Data.ProtoLens.ScalarField Data.ProtoLens.Int32Field ::- Data.ProtoLens.FieldTypeDescriptor Data.Int.Int32)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional- (Data.ProtoLens.Field.field @"periodSec")) ::- Data.ProtoLens.FieldDescriptor MetricConfigResponse'Schedule- in- Data.Map.fromList- [(Data.ProtoLens.Tag 1, exclusionPatterns__field_descriptor),- (Data.ProtoLens.Tag 2, inclusionPatterns__field_descriptor),- (Data.ProtoLens.Tag 3, periodSec__field_descriptor)]- unknownFields- = Lens.Family2.Unchecked.lens- _MetricConfigResponse'Schedule'_unknownFields- (\ x__ y__- -> x__ {_MetricConfigResponse'Schedule'_unknownFields = y__})- defMessage- = MetricConfigResponse'Schedule'_constructor- {_MetricConfigResponse'Schedule'exclusionPatterns = Data.Vector.Generic.empty,- _MetricConfigResponse'Schedule'inclusionPatterns = Data.Vector.Generic.empty,- _MetricConfigResponse'Schedule'periodSec = Data.ProtoLens.fieldDefault,- _MetricConfigResponse'Schedule'_unknownFields = []}- parseMessage- = let- loop ::- MetricConfigResponse'Schedule- -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld MetricConfigResponse'Schedule'Pattern- -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld MetricConfigResponse'Schedule'Pattern- -> Data.ProtoLens.Encoding.Bytes.Parser MetricConfigResponse'Schedule- loop x mutable'exclusionPatterns mutable'inclusionPatterns- = do end <- Data.ProtoLens.Encoding.Bytes.atEnd- if end then- do frozen'exclusionPatterns <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.unsafeFreeze- mutable'exclusionPatterns)- frozen'inclusionPatterns <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.unsafeFreeze- mutable'inclusionPatterns)- (let missing = []- in- if Prelude.null missing then- Prelude.return ()- else- Prelude.fail- ((Prelude.++)- "Missing required fields: "- (Prelude.show (missing :: [Prelude.String]))))- Prelude.return- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)- (Lens.Family2.set- (Data.ProtoLens.Field.field @"vec'exclusionPatterns")- frozen'exclusionPatterns- (Lens.Family2.set- (Data.ProtoLens.Field.field @"vec'inclusionPatterns")- frozen'inclusionPatterns x)))- else- do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt- case tag of- 10- -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len)- Data.ProtoLens.parseMessage)- "exclusion_patterns"- v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.append- mutable'exclusionPatterns y)- loop x v mutable'inclusionPatterns- 18- -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len)- Data.ProtoLens.parseMessage)- "inclusion_patterns"- v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.append- mutable'inclusionPatterns y)- loop x mutable'exclusionPatterns v- 24- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (Prelude.fmap- Prelude.fromIntegral- Data.ProtoLens.Encoding.Bytes.getVarInt)- "period_sec"- loop- (Lens.Family2.set (Data.ProtoLens.Field.field @"periodSec") y x)- mutable'exclusionPatterns mutable'inclusionPatterns- wire- -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire- wire- loop- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)- mutable'exclusionPatterns mutable'inclusionPatterns- in- (Data.ProtoLens.Encoding.Bytes.<?>)- (do mutable'exclusionPatterns <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- Data.ProtoLens.Encoding.Growing.new- mutable'inclusionPatterns <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- Data.ProtoLens.Encoding.Growing.new- loop- Data.ProtoLens.defMessage mutable'exclusionPatterns- mutable'inclusionPatterns)- "Schedule"- buildMessage- = \ _x- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.foldMapBuilder- (\ _v- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 10)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.ProtoLens.encodeMessage _v))- (Lens.Family2.view- (Data.ProtoLens.Field.field @"vec'exclusionPatterns") _x))- ((Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.foldMapBuilder- (\ _v- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 18)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.ProtoLens.encodeMessage _v))- (Lens.Family2.view- (Data.ProtoLens.Field.field @"vec'inclusionPatterns") _x))- ((Data.Monoid.<>)- (let- _v = Lens.Family2.view (Data.ProtoLens.Field.field @"periodSec") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 24)- ((Prelude..)- Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))- (Data.ProtoLens.Encoding.Wire.buildFieldSet- (Lens.Family2.view Data.ProtoLens.unknownFields _x))))-instance Control.DeepSeq.NFData MetricConfigResponse'Schedule where- rnf- = \ x__- -> Control.DeepSeq.deepseq- (_MetricConfigResponse'Schedule'_unknownFields x__)- (Control.DeepSeq.deepseq- (_MetricConfigResponse'Schedule'exclusionPatterns x__)- (Control.DeepSeq.deepseq- (_MetricConfigResponse'Schedule'inclusionPatterns x__)- (Control.DeepSeq.deepseq- (_MetricConfigResponse'Schedule'periodSec x__) ())))-{- | Fields :- - * 'Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService_Fields.maybe'match' @:: Lens' MetricConfigResponse'Schedule'Pattern (Prelude.Maybe MetricConfigResponse'Schedule'Pattern'Match)@- * 'Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService_Fields.maybe'equals' @:: Lens' MetricConfigResponse'Schedule'Pattern (Prelude.Maybe Data.Text.Text)@- * 'Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService_Fields.equals' @:: Lens' MetricConfigResponse'Schedule'Pattern Data.Text.Text@- * 'Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService_Fields.maybe'startsWith' @:: Lens' MetricConfigResponse'Schedule'Pattern (Prelude.Maybe Data.Text.Text)@- * 'Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService_Fields.startsWith' @:: Lens' MetricConfigResponse'Schedule'Pattern Data.Text.Text@ -}-data MetricConfigResponse'Schedule'Pattern- = MetricConfigResponse'Schedule'Pattern'_constructor {_MetricConfigResponse'Schedule'Pattern'match :: !(Prelude.Maybe MetricConfigResponse'Schedule'Pattern'Match),- _MetricConfigResponse'Schedule'Pattern'_unknownFields :: !Data.ProtoLens.FieldSet}- deriving stock (Prelude.Eq, Prelude.Ord)-instance Prelude.Show MetricConfigResponse'Schedule'Pattern where- showsPrec _ __x __s- = Prelude.showChar- '{'- (Prelude.showString- (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))-data MetricConfigResponse'Schedule'Pattern'Match- = MetricConfigResponse'Schedule'Pattern'Equals !Data.Text.Text |- MetricConfigResponse'Schedule'Pattern'StartsWith !Data.Text.Text- deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)-instance Data.ProtoLens.Field.HasField MetricConfigResponse'Schedule'Pattern "maybe'match" (Prelude.Maybe MetricConfigResponse'Schedule'Pattern'Match) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _MetricConfigResponse'Schedule'Pattern'match- (\ x__ y__- -> x__ {_MetricConfigResponse'Schedule'Pattern'match = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField MetricConfigResponse'Schedule'Pattern "maybe'equals" (Prelude.Maybe Data.Text.Text) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _MetricConfigResponse'Schedule'Pattern'match- (\ x__ y__- -> x__ {_MetricConfigResponse'Schedule'Pattern'match = y__}))- (Lens.Family2.Unchecked.lens- (\ x__- -> case x__ of- (Prelude.Just (MetricConfigResponse'Schedule'Pattern'Equals x__val))- -> Prelude.Just x__val- _otherwise -> Prelude.Nothing)- (\ _ y__- -> Prelude.fmap MetricConfigResponse'Schedule'Pattern'Equals y__))-instance Data.ProtoLens.Field.HasField MetricConfigResponse'Schedule'Pattern "equals" Data.Text.Text where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _MetricConfigResponse'Schedule'Pattern'match- (\ x__ y__- -> x__ {_MetricConfigResponse'Schedule'Pattern'match = y__}))- ((Prelude..)- (Lens.Family2.Unchecked.lens- (\ x__- -> case x__ of- (Prelude.Just (MetricConfigResponse'Schedule'Pattern'Equals x__val))- -> Prelude.Just x__val- _otherwise -> Prelude.Nothing)- (\ _ y__- -> Prelude.fmap MetricConfigResponse'Schedule'Pattern'Equals y__))- (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault))-instance Data.ProtoLens.Field.HasField MetricConfigResponse'Schedule'Pattern "maybe'startsWith" (Prelude.Maybe Data.Text.Text) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _MetricConfigResponse'Schedule'Pattern'match- (\ x__ y__- -> x__ {_MetricConfigResponse'Schedule'Pattern'match = y__}))- (Lens.Family2.Unchecked.lens- (\ x__- -> case x__ of- (Prelude.Just (MetricConfigResponse'Schedule'Pattern'StartsWith x__val))- -> Prelude.Just x__val- _otherwise -> Prelude.Nothing)- (\ _ y__- -> Prelude.fmap- MetricConfigResponse'Schedule'Pattern'StartsWith y__))-instance Data.ProtoLens.Field.HasField MetricConfigResponse'Schedule'Pattern "startsWith" Data.Text.Text where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _MetricConfigResponse'Schedule'Pattern'match- (\ x__ y__- -> x__ {_MetricConfigResponse'Schedule'Pattern'match = y__}))- ((Prelude..)- (Lens.Family2.Unchecked.lens- (\ x__- -> case x__ of- (Prelude.Just (MetricConfigResponse'Schedule'Pattern'StartsWith x__val))- -> Prelude.Just x__val- _otherwise -> Prelude.Nothing)- (\ _ y__- -> Prelude.fmap- MetricConfigResponse'Schedule'Pattern'StartsWith y__))- (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault))-instance Data.ProtoLens.Message MetricConfigResponse'Schedule'Pattern where- messageName _- = Data.Text.pack- "opentelemetry.proto.metrics.experimental.MetricConfigResponse.Schedule.Pattern"- packedMessageDescriptor _- = "\n\- \\aPattern\DC2\CAN\n\- \\ACKequals\CAN\SOH \SOH(\tH\NULR\ACKequals\DC2!\n\- \\vstarts_with\CAN\STX \SOH(\tH\NULR\n\- \startsWithB\a\n\- \\ENQmatch"- packedFileDescriptor _ = packedFileDescriptor- fieldsByTag- = let- equals__field_descriptor- = Data.ProtoLens.FieldDescriptor- "equals"- (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::- Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)- (Data.ProtoLens.OptionalField- (Data.ProtoLens.Field.field @"maybe'equals")) ::- Data.ProtoLens.FieldDescriptor MetricConfigResponse'Schedule'Pattern- startsWith__field_descriptor- = Data.ProtoLens.FieldDescriptor- "starts_with"- (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::- Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)- (Data.ProtoLens.OptionalField- (Data.ProtoLens.Field.field @"maybe'startsWith")) ::- Data.ProtoLens.FieldDescriptor MetricConfigResponse'Schedule'Pattern- in- Data.Map.fromList- [(Data.ProtoLens.Tag 1, equals__field_descriptor),- (Data.ProtoLens.Tag 2, startsWith__field_descriptor)]- unknownFields- = Lens.Family2.Unchecked.lens- _MetricConfigResponse'Schedule'Pattern'_unknownFields- (\ x__ y__- -> x__- {_MetricConfigResponse'Schedule'Pattern'_unknownFields = y__})- defMessage- = MetricConfigResponse'Schedule'Pattern'_constructor- {_MetricConfigResponse'Schedule'Pattern'match = Prelude.Nothing,- _MetricConfigResponse'Schedule'Pattern'_unknownFields = []}- parseMessage- = let- loop ::- MetricConfigResponse'Schedule'Pattern- -> Data.ProtoLens.Encoding.Bytes.Parser MetricConfigResponse'Schedule'Pattern- loop x- = do end <- Data.ProtoLens.Encoding.Bytes.atEnd- if end then- do (let missing = []- in- if Prelude.null missing then- Prelude.return ()- else- Prelude.fail- ((Prelude.++)- "Missing required fields: "- (Prelude.show (missing :: [Prelude.String]))))- Prelude.return- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)- else- do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt- case tag of- 10- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do value <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.getBytes- (Prelude.fromIntegral len)- Data.ProtoLens.Encoding.Bytes.runEither- (case Data.Text.Encoding.decodeUtf8' value of- (Prelude.Left err)- -> Prelude.Left (Prelude.show err)- (Prelude.Right r) -> Prelude.Right r))- "equals"- loop (Lens.Family2.set (Data.ProtoLens.Field.field @"equals") y x)- 18- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do value <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.getBytes- (Prelude.fromIntegral len)- Data.ProtoLens.Encoding.Bytes.runEither- (case Data.Text.Encoding.decodeUtf8' value of- (Prelude.Left err)- -> Prelude.Left (Prelude.show err)- (Prelude.Right r) -> Prelude.Right r))- "starts_with"- loop- (Lens.Family2.set (Data.ProtoLens.Field.field @"startsWith") y x)- wire- -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire- wire- loop- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)- in- (Data.ProtoLens.Encoding.Bytes.<?>)- (do loop Data.ProtoLens.defMessage) "Pattern"- buildMessage- = \ _x- -> (Data.Monoid.<>)- (case- Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'match") _x- of- Prelude.Nothing -> Data.Monoid.mempty- (Prelude.Just (MetricConfigResponse'Schedule'Pattern'Equals v))- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 10)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.Text.Encoding.encodeUtf8 v)- (Prelude.Just (MetricConfigResponse'Schedule'Pattern'StartsWith v))- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 18)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.Text.Encoding.encodeUtf8 v))- (Data.ProtoLens.Encoding.Wire.buildFieldSet- (Lens.Family2.view Data.ProtoLens.unknownFields _x))-instance Control.DeepSeq.NFData MetricConfigResponse'Schedule'Pattern where- rnf- = \ x__- -> Control.DeepSeq.deepseq- (_MetricConfigResponse'Schedule'Pattern'_unknownFields x__)- (Control.DeepSeq.deepseq- (_MetricConfigResponse'Schedule'Pattern'match x__) ())-instance Control.DeepSeq.NFData MetricConfigResponse'Schedule'Pattern'Match where- rnf (MetricConfigResponse'Schedule'Pattern'Equals x__)- = Control.DeepSeq.rnf x__- rnf (MetricConfigResponse'Schedule'Pattern'StartsWith x__)- = Control.DeepSeq.rnf x__-_MetricConfigResponse'Schedule'Pattern'Equals ::- Data.ProtoLens.Prism.Prism' MetricConfigResponse'Schedule'Pattern'Match Data.Text.Text-_MetricConfigResponse'Schedule'Pattern'Equals- = Data.ProtoLens.Prism.prism'- MetricConfigResponse'Schedule'Pattern'Equals- (\ p__- -> case p__ of- (MetricConfigResponse'Schedule'Pattern'Equals p__val)- -> Prelude.Just p__val- _otherwise -> Prelude.Nothing)-_MetricConfigResponse'Schedule'Pattern'StartsWith ::- Data.ProtoLens.Prism.Prism' MetricConfigResponse'Schedule'Pattern'Match Data.Text.Text-_MetricConfigResponse'Schedule'Pattern'StartsWith- = Data.ProtoLens.Prism.prism'- MetricConfigResponse'Schedule'Pattern'StartsWith- (\ p__- -> case p__ of- (MetricConfigResponse'Schedule'Pattern'StartsWith p__val)- -> Prelude.Just p__val- _otherwise -> Prelude.Nothing)-data MetricConfig = MetricConfig {}-instance Data.ProtoLens.Service.Types.Service MetricConfig where- type ServiceName MetricConfig = "MetricConfig"- type ServicePackage MetricConfig = "opentelemetry.proto.metrics.experimental"- type ServiceMethods MetricConfig = '["getMetricConfig"]- packedServiceDescriptor _- = "\n\- \\fMetricConfig\DC2\144\SOH\n\- \\SIGetMetricConfig\DC2=.opentelemetry.proto.metrics.experimental.MetricConfigRequest\SUB>.opentelemetry.proto.metrics.experimental.MetricConfigResponse"-instance Data.ProtoLens.Service.Types.HasMethodImpl MetricConfig "getMetricConfig" where- type MethodName MetricConfig "getMetricConfig" = "GetMetricConfig"- type MethodInput MetricConfig "getMetricConfig" = MetricConfigRequest- type MethodOutput MetricConfig "getMetricConfig" = MetricConfigResponse- type MethodStreamingType MetricConfig "getMetricConfig" = 'Data.ProtoLens.Service.Types.NonStreaming-packedFileDescriptor :: Data.ByteString.ByteString-packedFileDescriptor- = "\n\- \Eopentelemetry/proto/metrics/experimental/metrics_config_service.proto\DC2(opentelemetry.proto.metrics.experimental\SUB.opentelemetry/proto/resource/v1/resource.proto\"\146\SOH\n\- \\DC3MetricConfigRequest\DC2E\n\- \\bresource\CAN\SOH \SOH(\v2).opentelemetry.proto.resource.v1.ResourceR\bresource\DC24\n\- \\SYNlast_known_fingerprint\CAN\STX \SOH(\fR\DC4lastKnownFingerprint\"\211\EOT\n\- \\DC4MetricConfigResponse\DC2 \n\- \\vfingerprint\CAN\SOH \SOH(\fR\vfingerprint\DC2e\n\- \\tschedules\CAN\STX \ETX(\v2G.opentelemetry.proto.metrics.experimental.MetricConfigResponse.ScheduleR\tschedules\DC25\n\- \\ETBsuggested_wait_time_sec\CAN\ETX \SOH(\ENQR\DC4suggestedWaitTimeSec\SUB\250\STX\n\- \\bSchedule\DC2~\n\- \\DC2exclusion_patterns\CAN\SOH \ETX(\v2O.opentelemetry.proto.metrics.experimental.MetricConfigResponse.Schedule.PatternR\DC1exclusionPatterns\DC2~\n\- \\DC2inclusion_patterns\CAN\STX \ETX(\v2O.opentelemetry.proto.metrics.experimental.MetricConfigResponse.Schedule.PatternR\DC1inclusionPatterns\DC2\GS\n\- \\n\- \period_sec\CAN\ETX \SOH(\ENQR\tperiodSec\SUBO\n\- \\aPattern\DC2\CAN\n\- \\ACKequals\CAN\SOH \SOH(\tH\NULR\ACKequals\DC2!\n\- \\vstarts_with\CAN\STX \SOH(\tH\NULR\n\- \startsWithB\a\n\- \\ENQmatch2\161\SOH\n\- \\fMetricConfig\DC2\144\SOH\n\- \\SIGetMetricConfig\DC2=.opentelemetry.proto.metrics.experimental.MetricConfigRequest\SUB>.opentelemetry.proto.metrics.experimental.MetricConfigResponseB\148\SOH\n\- \+io.opentelemetry.proto.metrics.experimentalB\CANMetricConfigServiceProtoP\SOHZIgithub.com/open-telemetry/opentelemetry-proto/gen/go/metrics/experimentalJ\182!\n\- \\ACK\DC2\EOT\SO\NULe\SOH\n\- \\200\EOT\n\- \\SOH\f\DC2\ETX\SO\NUL\DC22\189\EOT Copyright 2019, OpenTelemetry Authors\n\- \\n\- \ Licensed under the Apache License, Version 2.0 (the \"License\");\n\- \ you may not use this file except in compliance with the License.\n\- \ You may obtain a copy of the License at\n\- \\n\- \ http://www.apache.org/licenses/LICENSE-2.0\n\- \\n\- \ Unless required by applicable law or agreed to in writing, software\n\- \ distributed under the License is distributed on an \"AS IS\" BASIS,\n\- \ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\- \ See the License for the specific language governing permissions and\n\- \ limitations under the License.\n\- \\n\- \\b\n\- \\SOH\STX\DC2\ETX\DLE\NUL1\n\- \\t\n\- \\STX\ETX\NUL\DC2\ETX\DC2\NUL8\n\- \\b\n\- \\SOH\b\DC2\ETX\DC4\NUL\"\n\- \\t\n\- \\STX\b\n\- \\DC2\ETX\DC4\NUL\"\n\- \\b\n\- \\SOH\b\DC2\ETX\NAK\NULD\n\- \\t\n\- \\STX\b\SOH\DC2\ETX\NAK\NULD\n\- \\b\n\- \\SOH\b\DC2\ETX\SYN\NUL9\n\- \\t\n\- \\STX\b\b\DC2\ETX\SYN\NUL9\n\- \\b\n\- \\SOH\b\DC2\ETX\ETB\NUL`\n\- \\t\n\- \\STX\b\v\DC2\ETX\ETB\NUL`\n\- \\154\ETX\n\- \\STX\ACK\NUL\DC2\EOT\US\NUL!\SOH\SUB\141\ETX MetricConfig is a service that enables updating metric schedules, trace\n\- \ parameters, and other configurations on the SDK without having to restart the\n\- \ instrumented application. The collector can also serve as the configuration\n\- \ service, acting as a bridge between third-party configuration services and\n\- \ the SDK, piping updated configs from a third-party source to an instrumented\n\- \ application.\n\- \\n\- \\n\- \\n\- \\ETX\ACK\NUL\SOH\DC2\ETX\US\b\DC4\n\- \\v\n\- \\EOT\ACK\NUL\STX\NUL\DC2\ETX \STXK\n\- \\f\n\- \\ENQ\ACK\NUL\STX\NUL\SOH\DC2\ETX \ACK\NAK\n\- \\f\n\- \\ENQ\ACK\NUL\STX\NUL\STX\DC2\ETX \ETB*\n\- \\f\n\- \\ENQ\ACK\NUL\STX\NUL\ETX\DC2\ETX 5I\n\- \\n\- \\n\- \\STX\EOT\NUL\DC2\EOT#\NUL+\SOH\n\- \\n\- \\n\- \\ETX\EOT\NUL\SOH\DC2\ETX#\b\ESC\n\- \Q\n\- \\EOT\EOT\NUL\STX\NUL\DC2\ETX&\STX8\SUBD Required. The resource for which configuration should be returned.\n\- \\n\- \\f\n\- \\ENQ\EOT\NUL\STX\NUL\ACK\DC2\ETX&\STX*\n\- \\f\n\- \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX&+3\n\- \\f\n\- \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX&67\n\- \\150\SOH\n\- \\EOT\EOT\NUL\STX\SOH\DC2\ETX*\STX#\SUB\136\SOH Optional. The value of MetricConfigResponse.fingerprint for the last\n\- \ configuration that the caller received and successfully applied.\n\- \\n\- \\f\n\- \\ENQ\EOT\NUL\STX\SOH\ENQ\DC2\ETX*\STX\a\n\- \\f\n\- \\ENQ\EOT\NUL\STX\SOH\SOH\DC2\ETX*\b\RS\n\- \\f\n\- \\ENQ\EOT\NUL\STX\SOH\ETX\DC2\ETX*!\"\n\- \\n\- \\n\- \\STX\EOT\SOH\DC2\EOT-\NULe\SOH\n\- \\n\- \\n\- \\ETX\EOT\SOH\SOH\DC2\ETX-\b\FS\n\- \\171\ACK\n\- \\EOT\EOT\SOH\STX\NUL\DC2\ETX<\STX\CAN\SUB\157\ACK Optional. The fingerprint associated with this MetricConfigResponse. Each\n\- \ change in configs yields a different fingerprint. The resource SHOULD copy\n\- \ this value to MetricConfigRequest.last_known_fingerprint for the next\n\- \ configuration request. If there are no changes between fingerprint and\n\- \ MetricConfigRequest.last_known_fingerprint, then all other fields besides\n\- \ fingerprint in the response are optional, or the same as the last update if\n\- \ present.\n\- \\n\- \ The exact mechanics of generating the fingerprint is up to the\n\- \ implementation. However, a fingerprint must be deterministically determined\n\- \ by the configurations -- the same configuration will generate the same\n\- \ fingerprint on any instance of an implementation. Hence using a timestamp is\n\- \ unacceptable, but a deterministic hash is fine.\n\- \\n\- \\f\n\- \\ENQ\EOT\SOH\STX\NUL\ENQ\DC2\ETX<\STX\a\n\- \\f\n\- \\ENQ\EOT\SOH\STX\NUL\SOH\DC2\ETX<\b\DC3\n\- \\f\n\- \\ENQ\EOT\SOH\STX\NUL\ETX\DC2\ETX<\SYN\ETB\n\- \\213\SOH\n\- \\EOT\EOT\SOH\ETX\NUL\DC2\EOTA\STXW\ETX\SUB\198\SOH A Schedule is used to apply a particular scheduling configuration to\n\- \ a metric. If a metric name matches a schedule's patterns, then the metric\n\- \ adopts the configuration specified by the schedule.\n\- \\n\- \\f\n\- \\ENQ\EOT\SOH\ETX\NUL\SOH\DC2\ETXA\n\- \\DC2\n\- \\201\SOH\n\- \\ACK\EOT\SOH\ETX\NUL\ETX\NUL\DC2\EOTF\EOTK\ENQ\SUB\184\SOH A light-weight pattern that can match 1 or more\n\- \ metrics, for which this schedule will apply. The string is used to\n\- \ match against metric names. It should not exceed 100k characters.\n\- \\n\- \\SO\n\- \\a\EOT\SOH\ETX\NUL\ETX\NUL\SOH\DC2\ETXF\f\DC3\n\- \\DLE\n\- \\b\EOT\SOH\ETX\NUL\ETX\NUL\b\NUL\DC2\EOTG\ACKJ\a\n\- \\DLE\n\- \\t\EOT\SOH\ETX\NUL\ETX\NUL\b\NUL\SOH\DC2\ETXG\f\DC1\n\- \2\n\- \\b\EOT\SOH\ETX\NUL\ETX\NUL\STX\NUL\DC2\ETXH\b\SUB\"! matches the metric name exactly\n\- \\n\- \\DLE\n\- \\t\EOT\SOH\ETX\NUL\ETX\NUL\STX\NUL\ENQ\DC2\ETXH\b\SO\n\- \\DLE\n\- \\t\EOT\SOH\ETX\NUL\ETX\NUL\STX\NUL\SOH\DC2\ETXH\SI\NAK\n\- \\DLE\n\- \\t\EOT\SOH\ETX\NUL\ETX\NUL\STX\NUL\ETX\DC2\ETXH\CAN\EM\n\- \1\n\- \\b\EOT\SOH\ETX\NUL\ETX\NUL\STX\SOH\DC2\ETXI\b\US\" prefix-matches the metric name\n\- \\n\- \\DLE\n\- \\t\EOT\SOH\ETX\NUL\ETX\NUL\STX\SOH\ENQ\DC2\ETXI\b\SO\n\- \\DLE\n\- \\t\EOT\SOH\ETX\NUL\ETX\NUL\STX\SOH\SOH\DC2\ETXI\SI\SUB\n\- \\DLE\n\- \\t\EOT\SOH\ETX\NUL\ETX\NUL\STX\SOH\ETX\DC2\ETXI\GS\RS\n\- \\233\SOH\n\- \\ACK\EOT\SOH\ETX\NUL\STX\NUL\DC2\ETXQ\EOT,\SUB\217\SOH Metrics with names that match a rule in the inclusion_patterns are\n\- \ targeted by this schedule. Metrics that match the exclusion_patterns\n\- \ are not targeted for this schedule, even if they match an inclusion\n\- \ pattern.\n\- \\n\- \\SO\n\- \\a\EOT\SOH\ETX\NUL\STX\NUL\EOT\DC2\ETXQ\EOT\f\n\- \\SO\n\- \\a\EOT\SOH\ETX\NUL\STX\NUL\ACK\DC2\ETXQ\r\DC4\n\- \\SO\n\- \\a\EOT\SOH\ETX\NUL\STX\NUL\SOH\DC2\ETXQ\NAK'\n\- \\SO\n\- \\a\EOT\SOH\ETX\NUL\STX\NUL\ETX\DC2\ETXQ*+\n\- \\r\n\- \\ACK\EOT\SOH\ETX\NUL\STX\SOH\DC2\ETXR\EOT,\n\- \\SO\n\- \\a\EOT\SOH\ETX\NUL\STX\SOH\EOT\DC2\ETXR\EOT\f\n\- \\SO\n\- \\a\EOT\SOH\ETX\NUL\STX\SOH\ACK\DC2\ETXR\r\DC4\n\- \\SO\n\- \\a\EOT\SOH\ETX\NUL\STX\SOH\SOH\DC2\ETXR\NAK'\n\- \\SO\n\- \\a\EOT\SOH\ETX\NUL\STX\SOH\ETX\DC2\ETXR*+\n\- \p\n\- \\ACK\EOT\SOH\ETX\NUL\STX\STX\DC2\ETXV\EOT\EM\SUBa Describes the collection period for each metric in seconds.\n\- \ A period of 0 means to not export.\n\- \\n\- \\SO\n\- \\a\EOT\SOH\ETX\NUL\STX\STX\ENQ\DC2\ETXV\EOT\t\n\- \\SO\n\- \\a\EOT\SOH\ETX\NUL\STX\STX\SOH\DC2\ETXV\n\- \\DC4\n\- \\SO\n\- \\a\EOT\SOH\ETX\NUL\STX\STX\ETX\DC2\ETXV\ETB\CAN\n\- \\148\ETX\n\- \\EOT\EOT\SOH\STX\SOH\DC2\ETX`\STX\"\SUB\134\ETX A single metric may match multiple schedules. In such cases, the schedule\n\- \ that specifies the smallest period is applied.\n\- \\n\- \ Note, for optimization purposes, it is recommended to use as few schedules\n\- \ as possible to capture all required metric updates. Where you can be\n\- \ conservative, do take full advantage of the inclusion/exclusion patterns to\n\- \ capture as much of your targeted metrics.\n\- \\n\- \\f\n\- \\ENQ\EOT\SOH\STX\SOH\EOT\DC2\ETX`\STX\n\- \\n\- \\f\n\- \\ENQ\EOT\SOH\STX\SOH\ACK\DC2\ETX`\v\DC3\n\- \\f\n\- \\ENQ\EOT\SOH\STX\SOH\SOH\DC2\ETX`\DC4\GS\n\- \\f\n\- \\ENQ\EOT\SOH\STX\SOH\ETX\DC2\ETX` !\n\- \\128\SOH\n\- \\EOT\EOT\SOH\STX\STX\DC2\ETXd\STX$\SUBs Optional. The client is suggested to wait this long (in seconds) before\n\- \ pinging the configuration service again.\n\- \\n\- \\f\n\- \\ENQ\EOT\SOH\STX\STX\ENQ\DC2\ETXd\STX\a\n\- \\f\n\- \\ENQ\EOT\SOH\STX\STX\SOH\DC2\ETXd\b\US\n\- \\f\n\- \\ENQ\EOT\SOH\STX\STX\ETX\DC2\ETXd\"#b\ACKproto3"
− src/Proto/Opentelemetry/Proto/Metrics/Experimental/MetricsConfigService_Fields.hs
@@ -1,135 +0,0 @@-{- This file was auto-generated from opentelemetry/proto/metrics/experimental/metrics_config_service.proto by the proto-lens-protoc program. -}-{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}-{-# OPTIONS_GHC -Wno-unused-imports#-}-{-# OPTIONS_GHC -Wno-duplicate-exports#-}-{-# OPTIONS_GHC -Wno-dodgy-exports#-}-module Proto.Opentelemetry.Proto.Metrics.Experimental.MetricsConfigService_Fields where-import qualified Data.ProtoLens.Runtime.Prelude as Prelude-import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int-import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid-import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word-import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens-import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes-import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing-import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe-import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire-import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field-import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum-import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types-import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2-import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked-import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text-import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map-import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString-import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8-import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding-import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector-import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic-import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed-import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read-import qualified Proto.Opentelemetry.Proto.Resource.V1.Resource-equals ::- forall f s a.- (Prelude.Functor f, Data.ProtoLens.Field.HasField s "equals" a) =>- Lens.Family2.LensLike' f s a-equals = Data.ProtoLens.Field.field @"equals"-exclusionPatterns ::- forall f s a.- (Prelude.Functor f,- Data.ProtoLens.Field.HasField s "exclusionPatterns" a) =>- Lens.Family2.LensLike' f s a-exclusionPatterns = Data.ProtoLens.Field.field @"exclusionPatterns"-fingerprint ::- forall f s a.- (Prelude.Functor f,- Data.ProtoLens.Field.HasField s "fingerprint" a) =>- Lens.Family2.LensLike' f s a-fingerprint = Data.ProtoLens.Field.field @"fingerprint"-inclusionPatterns ::- forall f s a.- (Prelude.Functor f,- Data.ProtoLens.Field.HasField s "inclusionPatterns" a) =>- Lens.Family2.LensLike' f s a-inclusionPatterns = Data.ProtoLens.Field.field @"inclusionPatterns"-lastKnownFingerprint ::- forall f s a.- (Prelude.Functor f,- Data.ProtoLens.Field.HasField s "lastKnownFingerprint" a) =>- Lens.Family2.LensLike' f s a-lastKnownFingerprint- = Data.ProtoLens.Field.field @"lastKnownFingerprint"-maybe'equals ::- forall f s a.- (Prelude.Functor f,- Data.ProtoLens.Field.HasField s "maybe'equals" a) =>- Lens.Family2.LensLike' f s a-maybe'equals = Data.ProtoLens.Field.field @"maybe'equals"-maybe'match ::- forall f s a.- (Prelude.Functor f,- Data.ProtoLens.Field.HasField s "maybe'match" a) =>- Lens.Family2.LensLike' f s a-maybe'match = Data.ProtoLens.Field.field @"maybe'match"-maybe'resource ::- forall f s a.- (Prelude.Functor f,- Data.ProtoLens.Field.HasField s "maybe'resource" a) =>- Lens.Family2.LensLike' f s a-maybe'resource = Data.ProtoLens.Field.field @"maybe'resource"-maybe'startsWith ::- forall f s a.- (Prelude.Functor f,- Data.ProtoLens.Field.HasField s "maybe'startsWith" a) =>- Lens.Family2.LensLike' f s a-maybe'startsWith = Data.ProtoLens.Field.field @"maybe'startsWith"-periodSec ::- forall f s a.- (Prelude.Functor f,- Data.ProtoLens.Field.HasField s "periodSec" a) =>- Lens.Family2.LensLike' f s a-periodSec = Data.ProtoLens.Field.field @"periodSec"-resource ::- forall f s a.- (Prelude.Functor f,- Data.ProtoLens.Field.HasField s "resource" a) =>- Lens.Family2.LensLike' f s a-resource = Data.ProtoLens.Field.field @"resource"-schedules ::- forall f s a.- (Prelude.Functor f,- Data.ProtoLens.Field.HasField s "schedules" a) =>- Lens.Family2.LensLike' f s a-schedules = Data.ProtoLens.Field.field @"schedules"-startsWith ::- forall f s a.- (Prelude.Functor f,- Data.ProtoLens.Field.HasField s "startsWith" a) =>- Lens.Family2.LensLike' f s a-startsWith = Data.ProtoLens.Field.field @"startsWith"-suggestedWaitTimeSec ::- forall f s a.- (Prelude.Functor f,- Data.ProtoLens.Field.HasField s "suggestedWaitTimeSec" a) =>- Lens.Family2.LensLike' f s a-suggestedWaitTimeSec- = Data.ProtoLens.Field.field @"suggestedWaitTimeSec"-vec'exclusionPatterns ::- forall f s a.- (Prelude.Functor f,- Data.ProtoLens.Field.HasField s "vec'exclusionPatterns" a) =>- Lens.Family2.LensLike' f s a-vec'exclusionPatterns- = Data.ProtoLens.Field.field @"vec'exclusionPatterns"-vec'inclusionPatterns ::- forall f s a.- (Prelude.Functor f,- Data.ProtoLens.Field.HasField s "vec'inclusionPatterns" a) =>- Lens.Family2.LensLike' f s a-vec'inclusionPatterns- = Data.ProtoLens.Field.field @"vec'inclusionPatterns"-vec'schedules ::- forall f s a.- (Prelude.Functor f,- Data.ProtoLens.Field.HasField s "vec'schedules" a) =>- Lens.Family2.LensLike' f s a-vec'schedules = Data.ProtoLens.Field.field @"vec'schedules"
src/Proto/Opentelemetry/Proto/Metrics/V1/Metrics.hs view
@@ -1,9355 +1,6996 @@-{- This file was auto-generated from opentelemetry/proto/metrics/v1/metrics.proto by the proto-lens-protoc program. -}-{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}-{-# OPTIONS_GHC -Wno-unused-imports#-}-{-# OPTIONS_GHC -Wno-duplicate-exports#-}-{-# OPTIONS_GHC -Wno-dodgy-exports#-}-module Proto.Opentelemetry.Proto.Metrics.V1.Metrics (- AggregationTemporality(..), AggregationTemporality(),- AggregationTemporality'UnrecognizedValue, DataPointFlags(..),- DataPointFlags(), DataPointFlags'UnrecognizedValue, Exemplar(),- Exemplar'Value(..), _Exemplar'AsDouble, _Exemplar'AsInt,- ExponentialHistogram(), ExponentialHistogramDataPoint(),- ExponentialHistogramDataPoint'Buckets(), Gauge(), Histogram(),- HistogramDataPoint(), InstrumentationLibraryMetrics(),- IntDataPoint(), IntExemplar(), IntGauge(), IntHistogram(),- IntHistogramDataPoint(), IntSum(), Metric(), Metric'Data(..),- _Metric'IntGauge, _Metric'Gauge, _Metric'IntSum, _Metric'Sum,- _Metric'IntHistogram, _Metric'Histogram,- _Metric'ExponentialHistogram, _Metric'Summary, MetricsData(),- NumberDataPoint(), NumberDataPoint'Value(..),- _NumberDataPoint'AsDouble, _NumberDataPoint'AsInt,- ResourceMetrics(), Sum(), Summary(), SummaryDataPoint(),- SummaryDataPoint'ValueAtQuantile()- ) where-import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq-import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism-import qualified Data.ProtoLens.Runtime.Prelude as Prelude-import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int-import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid-import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word-import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens-import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes-import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing-import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe-import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire-import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field-import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum-import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types-import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2-import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked-import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text-import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map-import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString-import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8-import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding-import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector-import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic-import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed-import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read-import qualified Proto.Opentelemetry.Proto.Common.V1.Common-import qualified Proto.Opentelemetry.Proto.Resource.V1.Resource-newtype AggregationTemporality'UnrecognizedValue- = AggregationTemporality'UnrecognizedValue Data.Int.Int32- deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)-data AggregationTemporality- = AGGREGATION_TEMPORALITY_UNSPECIFIED |- AGGREGATION_TEMPORALITY_DELTA |- AGGREGATION_TEMPORALITY_CUMULATIVE |- AggregationTemporality'Unrecognized !AggregationTemporality'UnrecognizedValue- deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)-instance Data.ProtoLens.MessageEnum AggregationTemporality where- maybeToEnum 0 = Prelude.Just AGGREGATION_TEMPORALITY_UNSPECIFIED- maybeToEnum 1 = Prelude.Just AGGREGATION_TEMPORALITY_DELTA- maybeToEnum 2 = Prelude.Just AGGREGATION_TEMPORALITY_CUMULATIVE- maybeToEnum k- = Prelude.Just- (AggregationTemporality'Unrecognized- (AggregationTemporality'UnrecognizedValue- (Prelude.fromIntegral k)))- showEnum AGGREGATION_TEMPORALITY_UNSPECIFIED- = "AGGREGATION_TEMPORALITY_UNSPECIFIED"- showEnum AGGREGATION_TEMPORALITY_DELTA- = "AGGREGATION_TEMPORALITY_DELTA"- showEnum AGGREGATION_TEMPORALITY_CUMULATIVE- = "AGGREGATION_TEMPORALITY_CUMULATIVE"- showEnum- (AggregationTemporality'Unrecognized (AggregationTemporality'UnrecognizedValue k))- = Prelude.show k- readEnum k- | (Prelude.==) k "AGGREGATION_TEMPORALITY_UNSPECIFIED"- = Prelude.Just AGGREGATION_TEMPORALITY_UNSPECIFIED- | (Prelude.==) k "AGGREGATION_TEMPORALITY_DELTA"- = Prelude.Just AGGREGATION_TEMPORALITY_DELTA- | (Prelude.==) k "AGGREGATION_TEMPORALITY_CUMULATIVE"- = Prelude.Just AGGREGATION_TEMPORALITY_CUMULATIVE- | Prelude.otherwise- = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum-instance Prelude.Bounded AggregationTemporality where- minBound = AGGREGATION_TEMPORALITY_UNSPECIFIED- maxBound = AGGREGATION_TEMPORALITY_CUMULATIVE-instance Prelude.Enum AggregationTemporality where- toEnum k__- = Prelude.maybe- (Prelude.error- ((Prelude.++)- "toEnum: unknown value for enum AggregationTemporality: "- (Prelude.show k__)))- Prelude.id (Data.ProtoLens.maybeToEnum k__)- fromEnum AGGREGATION_TEMPORALITY_UNSPECIFIED = 0- fromEnum AGGREGATION_TEMPORALITY_DELTA = 1- fromEnum AGGREGATION_TEMPORALITY_CUMULATIVE = 2- fromEnum- (AggregationTemporality'Unrecognized (AggregationTemporality'UnrecognizedValue k))- = Prelude.fromIntegral k- succ AGGREGATION_TEMPORALITY_CUMULATIVE- = Prelude.error- "AggregationTemporality.succ: bad argument AGGREGATION_TEMPORALITY_CUMULATIVE. This value would be out of bounds."- succ AGGREGATION_TEMPORALITY_UNSPECIFIED- = AGGREGATION_TEMPORALITY_DELTA- succ AGGREGATION_TEMPORALITY_DELTA- = AGGREGATION_TEMPORALITY_CUMULATIVE- succ (AggregationTemporality'Unrecognized _)- = Prelude.error- "AggregationTemporality.succ: bad argument: unrecognized value"- pred AGGREGATION_TEMPORALITY_UNSPECIFIED- = Prelude.error- "AggregationTemporality.pred: bad argument AGGREGATION_TEMPORALITY_UNSPECIFIED. This value would be out of bounds."- pred AGGREGATION_TEMPORALITY_DELTA- = AGGREGATION_TEMPORALITY_UNSPECIFIED- pred AGGREGATION_TEMPORALITY_CUMULATIVE- = AGGREGATION_TEMPORALITY_DELTA- pred (AggregationTemporality'Unrecognized _)- = Prelude.error- "AggregationTemporality.pred: bad argument: unrecognized value"- enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom- enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo- enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen- enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo-instance Data.ProtoLens.FieldDefault AggregationTemporality where- fieldDefault = AGGREGATION_TEMPORALITY_UNSPECIFIED-instance Control.DeepSeq.NFData AggregationTemporality where- rnf x__ = Prelude.seq x__ ()-newtype DataPointFlags'UnrecognizedValue- = DataPointFlags'UnrecognizedValue Data.Int.Int32- deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)-data DataPointFlags- = FLAG_NONE |- FLAG_NO_RECORDED_VALUE |- DataPointFlags'Unrecognized !DataPointFlags'UnrecognizedValue- deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)-instance Data.ProtoLens.MessageEnum DataPointFlags where- maybeToEnum 0 = Prelude.Just FLAG_NONE- maybeToEnum 1 = Prelude.Just FLAG_NO_RECORDED_VALUE- maybeToEnum k- = Prelude.Just- (DataPointFlags'Unrecognized- (DataPointFlags'UnrecognizedValue (Prelude.fromIntegral k)))- showEnum FLAG_NONE = "FLAG_NONE"- showEnum FLAG_NO_RECORDED_VALUE = "FLAG_NO_RECORDED_VALUE"- showEnum- (DataPointFlags'Unrecognized (DataPointFlags'UnrecognizedValue k))- = Prelude.show k- readEnum k- | (Prelude.==) k "FLAG_NONE" = Prelude.Just FLAG_NONE- | (Prelude.==) k "FLAG_NO_RECORDED_VALUE"- = Prelude.Just FLAG_NO_RECORDED_VALUE- | Prelude.otherwise- = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum-instance Prelude.Bounded DataPointFlags where- minBound = FLAG_NONE- maxBound = FLAG_NO_RECORDED_VALUE-instance Prelude.Enum DataPointFlags where- toEnum k__- = Prelude.maybe- (Prelude.error- ((Prelude.++)- "toEnum: unknown value for enum DataPointFlags: "- (Prelude.show k__)))- Prelude.id (Data.ProtoLens.maybeToEnum k__)- fromEnum FLAG_NONE = 0- fromEnum FLAG_NO_RECORDED_VALUE = 1- fromEnum- (DataPointFlags'Unrecognized (DataPointFlags'UnrecognizedValue k))- = Prelude.fromIntegral k- succ FLAG_NO_RECORDED_VALUE- = Prelude.error- "DataPointFlags.succ: bad argument FLAG_NO_RECORDED_VALUE. This value would be out of bounds."- succ FLAG_NONE = FLAG_NO_RECORDED_VALUE- succ (DataPointFlags'Unrecognized _)- = Prelude.error- "DataPointFlags.succ: bad argument: unrecognized value"- pred FLAG_NONE- = Prelude.error- "DataPointFlags.pred: bad argument FLAG_NONE. This value would be out of bounds."- pred FLAG_NO_RECORDED_VALUE = FLAG_NONE- pred (DataPointFlags'Unrecognized _)- = Prelude.error- "DataPointFlags.pred: bad argument: unrecognized value"- enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom- enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo- enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen- enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo-instance Data.ProtoLens.FieldDefault DataPointFlags where- fieldDefault = FLAG_NONE-instance Control.DeepSeq.NFData DataPointFlags where- rnf x__ = Prelude.seq x__ ()-{- | Fields :- - * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.filteredAttributes' @:: Lens' Exemplar [Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue]@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.vec'filteredAttributes' @:: Lens' Exemplar (Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue)@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.filteredLabels' @:: Lens' Exemplar [Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue]@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.vec'filteredLabels' @:: Lens' Exemplar (Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue)@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.timeUnixNano' @:: Lens' Exemplar Data.Word.Word64@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.spanId' @:: Lens' Exemplar Data.ByteString.ByteString@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.traceId' @:: Lens' Exemplar Data.ByteString.ByteString@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.maybe'value' @:: Lens' Exemplar (Prelude.Maybe Exemplar'Value)@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.maybe'asDouble' @:: Lens' Exemplar (Prelude.Maybe Prelude.Double)@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.asDouble' @:: Lens' Exemplar Prelude.Double@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.maybe'asInt' @:: Lens' Exemplar (Prelude.Maybe Data.Int.Int64)@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.asInt' @:: Lens' Exemplar Data.Int.Int64@ -}-data Exemplar- = Exemplar'_constructor {_Exemplar'filteredAttributes :: !(Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue),- _Exemplar'filteredLabels :: !(Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue),- _Exemplar'timeUnixNano :: !Data.Word.Word64,- _Exemplar'spanId :: !Data.ByteString.ByteString,- _Exemplar'traceId :: !Data.ByteString.ByteString,- _Exemplar'value :: !(Prelude.Maybe Exemplar'Value),- _Exemplar'_unknownFields :: !Data.ProtoLens.FieldSet}- deriving stock (Prelude.Eq, Prelude.Ord)-instance Prelude.Show Exemplar where- showsPrec _ __x __s- = Prelude.showChar- '{'- (Prelude.showString- (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))-data Exemplar'Value- = Exemplar'AsDouble !Prelude.Double |- Exemplar'AsInt !Data.Int.Int64- deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)-instance Data.ProtoLens.Field.HasField Exemplar "filteredAttributes" [Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue] where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Exemplar'filteredAttributes- (\ x__ y__ -> x__ {_Exemplar'filteredAttributes = y__}))- (Lens.Family2.Unchecked.lens- Data.Vector.Generic.toList- (\ _ y__ -> Data.Vector.Generic.fromList y__))-instance Data.ProtoLens.Field.HasField Exemplar "vec'filteredAttributes" (Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Exemplar'filteredAttributes- (\ x__ y__ -> x__ {_Exemplar'filteredAttributes = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField Exemplar "filteredLabels" [Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue] where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Exemplar'filteredLabels- (\ x__ y__ -> x__ {_Exemplar'filteredLabels = y__}))- (Lens.Family2.Unchecked.lens- Data.Vector.Generic.toList- (\ _ y__ -> Data.Vector.Generic.fromList y__))-instance Data.ProtoLens.Field.HasField Exemplar "vec'filteredLabels" (Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Exemplar'filteredLabels- (\ x__ y__ -> x__ {_Exemplar'filteredLabels = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField Exemplar "timeUnixNano" Data.Word.Word64 where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Exemplar'timeUnixNano- (\ x__ y__ -> x__ {_Exemplar'timeUnixNano = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField Exemplar "spanId" Data.ByteString.ByteString where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Exemplar'spanId (\ x__ y__ -> x__ {_Exemplar'spanId = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField Exemplar "traceId" Data.ByteString.ByteString where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Exemplar'traceId (\ x__ y__ -> x__ {_Exemplar'traceId = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField Exemplar "maybe'value" (Prelude.Maybe Exemplar'Value) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Exemplar'value (\ x__ y__ -> x__ {_Exemplar'value = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField Exemplar "maybe'asDouble" (Prelude.Maybe Prelude.Double) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Exemplar'value (\ x__ y__ -> x__ {_Exemplar'value = y__}))- (Lens.Family2.Unchecked.lens- (\ x__- -> case x__ of- (Prelude.Just (Exemplar'AsDouble x__val)) -> Prelude.Just x__val- _otherwise -> Prelude.Nothing)- (\ _ y__ -> Prelude.fmap Exemplar'AsDouble y__))-instance Data.ProtoLens.Field.HasField Exemplar "asDouble" Prelude.Double where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Exemplar'value (\ x__ y__ -> x__ {_Exemplar'value = y__}))- ((Prelude..)- (Lens.Family2.Unchecked.lens- (\ x__- -> case x__ of- (Prelude.Just (Exemplar'AsDouble x__val)) -> Prelude.Just x__val- _otherwise -> Prelude.Nothing)- (\ _ y__ -> Prelude.fmap Exemplar'AsDouble y__))- (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault))-instance Data.ProtoLens.Field.HasField Exemplar "maybe'asInt" (Prelude.Maybe Data.Int.Int64) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Exemplar'value (\ x__ y__ -> x__ {_Exemplar'value = y__}))- (Lens.Family2.Unchecked.lens- (\ x__- -> case x__ of- (Prelude.Just (Exemplar'AsInt x__val)) -> Prelude.Just x__val- _otherwise -> Prelude.Nothing)- (\ _ y__ -> Prelude.fmap Exemplar'AsInt y__))-instance Data.ProtoLens.Field.HasField Exemplar "asInt" Data.Int.Int64 where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Exemplar'value (\ x__ y__ -> x__ {_Exemplar'value = y__}))- ((Prelude..)- (Lens.Family2.Unchecked.lens- (\ x__- -> case x__ of- (Prelude.Just (Exemplar'AsInt x__val)) -> Prelude.Just x__val- _otherwise -> Prelude.Nothing)- (\ _ y__ -> Prelude.fmap Exemplar'AsInt y__))- (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault))-instance Data.ProtoLens.Message Exemplar where- messageName _- = Data.Text.pack "opentelemetry.proto.metrics.v1.Exemplar"- packedMessageDescriptor _- = "\n\- \\bExemplar\DC2X\n\- \\DC3filtered_attributes\CAN\a \ETX(\v2'.opentelemetry.proto.common.v1.KeyValueR\DC2filteredAttributes\DC2Z\n\- \\SIfiltered_labels\CAN\SOH \ETX(\v2-.opentelemetry.proto.common.v1.StringKeyValueR\SOfilteredLabelsB\STX\CAN\SOH\DC2$\n\- \\SOtime_unix_nano\CAN\STX \SOH(\ACKR\ftimeUnixNano\DC2\GS\n\- \\tas_double\CAN\ETX \SOH(\SOHH\NULR\basDouble\DC2\ETB\n\- \\ACKas_int\CAN\ACK \SOH(\DLEH\NULR\ENQasInt\DC2\ETB\n\- \\aspan_id\CAN\EOT \SOH(\fR\ACKspanId\DC2\EM\n\- \\btrace_id\CAN\ENQ \SOH(\fR\atraceIdB\a\n\- \\ENQvalue"- packedFileDescriptor _ = packedFileDescriptor- fieldsByTag- = let- filteredAttributes__field_descriptor- = Data.ProtoLens.FieldDescriptor- "filtered_attributes"- (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::- Data.ProtoLens.FieldTypeDescriptor Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue)- (Data.ProtoLens.RepeatedField- Data.ProtoLens.Unpacked- (Data.ProtoLens.Field.field @"filteredAttributes")) ::- Data.ProtoLens.FieldDescriptor Exemplar- filteredLabels__field_descriptor- = Data.ProtoLens.FieldDescriptor- "filtered_labels"- (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::- Data.ProtoLens.FieldTypeDescriptor Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue)- (Data.ProtoLens.RepeatedField- Data.ProtoLens.Unpacked- (Data.ProtoLens.Field.field @"filteredLabels")) ::- Data.ProtoLens.FieldDescriptor Exemplar- timeUnixNano__field_descriptor- = Data.ProtoLens.FieldDescriptor- "time_unix_nano"- (Data.ProtoLens.ScalarField Data.ProtoLens.Fixed64Field ::- Data.ProtoLens.FieldTypeDescriptor Data.Word.Word64)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional- (Data.ProtoLens.Field.field @"timeUnixNano")) ::- Data.ProtoLens.FieldDescriptor Exemplar- spanId__field_descriptor- = Data.ProtoLens.FieldDescriptor- "span_id"- (Data.ProtoLens.ScalarField Data.ProtoLens.BytesField ::- Data.ProtoLens.FieldTypeDescriptor Data.ByteString.ByteString)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"spanId")) ::- Data.ProtoLens.FieldDescriptor Exemplar- traceId__field_descriptor- = Data.ProtoLens.FieldDescriptor- "trace_id"- (Data.ProtoLens.ScalarField Data.ProtoLens.BytesField ::- Data.ProtoLens.FieldTypeDescriptor Data.ByteString.ByteString)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"traceId")) ::- Data.ProtoLens.FieldDescriptor Exemplar- asDouble__field_descriptor- = Data.ProtoLens.FieldDescriptor- "as_double"- (Data.ProtoLens.ScalarField Data.ProtoLens.DoubleField ::- Data.ProtoLens.FieldTypeDescriptor Prelude.Double)- (Data.ProtoLens.OptionalField- (Data.ProtoLens.Field.field @"maybe'asDouble")) ::- Data.ProtoLens.FieldDescriptor Exemplar- asInt__field_descriptor- = Data.ProtoLens.FieldDescriptor- "as_int"- (Data.ProtoLens.ScalarField Data.ProtoLens.SFixed64Field ::- Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)- (Data.ProtoLens.OptionalField- (Data.ProtoLens.Field.field @"maybe'asInt")) ::- Data.ProtoLens.FieldDescriptor Exemplar- in- Data.Map.fromList- [(Data.ProtoLens.Tag 7, filteredAttributes__field_descriptor),- (Data.ProtoLens.Tag 1, filteredLabels__field_descriptor),- (Data.ProtoLens.Tag 2, timeUnixNano__field_descriptor),- (Data.ProtoLens.Tag 4, spanId__field_descriptor),- (Data.ProtoLens.Tag 5, traceId__field_descriptor),- (Data.ProtoLens.Tag 3, asDouble__field_descriptor),- (Data.ProtoLens.Tag 6, asInt__field_descriptor)]- unknownFields- = Lens.Family2.Unchecked.lens- _Exemplar'_unknownFields- (\ x__ y__ -> x__ {_Exemplar'_unknownFields = y__})- defMessage- = Exemplar'_constructor- {_Exemplar'filteredAttributes = Data.Vector.Generic.empty,- _Exemplar'filteredLabels = Data.Vector.Generic.empty,- _Exemplar'timeUnixNano = Data.ProtoLens.fieldDefault,- _Exemplar'spanId = Data.ProtoLens.fieldDefault,- _Exemplar'traceId = Data.ProtoLens.fieldDefault,- _Exemplar'value = Prelude.Nothing, _Exemplar'_unknownFields = []}- parseMessage- = let- loop ::- Exemplar- -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue- -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue- -> Data.ProtoLens.Encoding.Bytes.Parser Exemplar- loop x mutable'filteredAttributes mutable'filteredLabels- = do end <- Data.ProtoLens.Encoding.Bytes.atEnd- if end then- do frozen'filteredAttributes <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.unsafeFreeze- mutable'filteredAttributes)- frozen'filteredLabels <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.unsafeFreeze- mutable'filteredLabels)- (let missing = []- in- if Prelude.null missing then- Prelude.return ()- else- Prelude.fail- ((Prelude.++)- "Missing required fields: "- (Prelude.show (missing :: [Prelude.String]))))- Prelude.return- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)- (Lens.Family2.set- (Data.ProtoLens.Field.field @"vec'filteredAttributes")- frozen'filteredAttributes- (Lens.Family2.set- (Data.ProtoLens.Field.field @"vec'filteredLabels")- frozen'filteredLabels x)))- else- do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt- case tag of- 58- -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len)- Data.ProtoLens.parseMessage)- "filtered_attributes"- v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.append- mutable'filteredAttributes y)- loop x v mutable'filteredLabels- 10- -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len)- Data.ProtoLens.parseMessage)- "filtered_labels"- v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.append- mutable'filteredLabels y)- loop x mutable'filteredAttributes v- 17- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- Data.ProtoLens.Encoding.Bytes.getFixed64 "time_unix_nano"- loop- (Lens.Family2.set- (Data.ProtoLens.Field.field @"timeUnixNano") y x)- mutable'filteredAttributes mutable'filteredLabels- 34- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.getBytes- (Prelude.fromIntegral len))- "span_id"- loop- (Lens.Family2.set (Data.ProtoLens.Field.field @"spanId") y x)- mutable'filteredAttributes mutable'filteredLabels- 42- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.getBytes- (Prelude.fromIntegral len))- "trace_id"- loop- (Lens.Family2.set (Data.ProtoLens.Field.field @"traceId") y x)- mutable'filteredAttributes mutable'filteredLabels- 25- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (Prelude.fmap- Data.ProtoLens.Encoding.Bytes.wordToDouble- Data.ProtoLens.Encoding.Bytes.getFixed64)- "as_double"- loop- (Lens.Family2.set (Data.ProtoLens.Field.field @"asDouble") y x)- mutable'filteredAttributes mutable'filteredLabels- 49- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (Prelude.fmap- Prelude.fromIntegral- Data.ProtoLens.Encoding.Bytes.getFixed64)- "as_int"- loop- (Lens.Family2.set (Data.ProtoLens.Field.field @"asInt") y x)- mutable'filteredAttributes mutable'filteredLabels- wire- -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire- wire- loop- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)- mutable'filteredAttributes mutable'filteredLabels- in- (Data.ProtoLens.Encoding.Bytes.<?>)- (do mutable'filteredAttributes <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- Data.ProtoLens.Encoding.Growing.new- mutable'filteredLabels <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- Data.ProtoLens.Encoding.Growing.new- loop- Data.ProtoLens.defMessage mutable'filteredAttributes- mutable'filteredLabels)- "Exemplar"- buildMessage- = \ _x- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.foldMapBuilder- (\ _v- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 58)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.ProtoLens.encodeMessage _v))- (Lens.Family2.view- (Data.ProtoLens.Field.field @"vec'filteredAttributes") _x))- ((Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.foldMapBuilder- (\ _v- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 10)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.ProtoLens.encodeMessage _v))- (Lens.Family2.view- (Data.ProtoLens.Field.field @"vec'filteredLabels") _x))- ((Data.Monoid.<>)- (let- _v- = Lens.Family2.view (Data.ProtoLens.Field.field @"timeUnixNano") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 17)- (Data.ProtoLens.Encoding.Bytes.putFixed64 _v))- ((Data.Monoid.<>)- (let- _v = Lens.Family2.view (Data.ProtoLens.Field.field @"spanId") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 34)- ((\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- _v))- ((Data.Monoid.<>)- (let- _v = Lens.Family2.view (Data.ProtoLens.Field.field @"traceId") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 42)- ((\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- _v))- ((Data.Monoid.<>)- (case- Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'value") _x- of- Prelude.Nothing -> Data.Monoid.mempty- (Prelude.Just (Exemplar'AsDouble v))- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 25)- ((Prelude..)- Data.ProtoLens.Encoding.Bytes.putFixed64- Data.ProtoLens.Encoding.Bytes.doubleToWord v)- (Prelude.Just (Exemplar'AsInt v))- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 49)- ((Prelude..)- Data.ProtoLens.Encoding.Bytes.putFixed64- Prelude.fromIntegral v))- (Data.ProtoLens.Encoding.Wire.buildFieldSet- (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))))-instance Control.DeepSeq.NFData Exemplar where- rnf- = \ x__- -> Control.DeepSeq.deepseq- (_Exemplar'_unknownFields x__)- (Control.DeepSeq.deepseq- (_Exemplar'filteredAttributes x__)- (Control.DeepSeq.deepseq- (_Exemplar'filteredLabels x__)- (Control.DeepSeq.deepseq- (_Exemplar'timeUnixNano x__)- (Control.DeepSeq.deepseq- (_Exemplar'spanId x__)- (Control.DeepSeq.deepseq- (_Exemplar'traceId x__)- (Control.DeepSeq.deepseq (_Exemplar'value x__) ()))))))-instance Control.DeepSeq.NFData Exemplar'Value where- rnf (Exemplar'AsDouble x__) = Control.DeepSeq.rnf x__- rnf (Exemplar'AsInt x__) = Control.DeepSeq.rnf x__-_Exemplar'AsDouble ::- Data.ProtoLens.Prism.Prism' Exemplar'Value Prelude.Double-_Exemplar'AsDouble- = Data.ProtoLens.Prism.prism'- Exemplar'AsDouble- (\ p__- -> case p__ of- (Exemplar'AsDouble p__val) -> Prelude.Just p__val- _otherwise -> Prelude.Nothing)-_Exemplar'AsInt ::- Data.ProtoLens.Prism.Prism' Exemplar'Value Data.Int.Int64-_Exemplar'AsInt- = Data.ProtoLens.Prism.prism'- Exemplar'AsInt- (\ p__- -> case p__ of- (Exemplar'AsInt p__val) -> Prelude.Just p__val- _otherwise -> Prelude.Nothing)-{- | Fields :- - * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.dataPoints' @:: Lens' ExponentialHistogram [ExponentialHistogramDataPoint]@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.vec'dataPoints' @:: Lens' ExponentialHistogram (Data.Vector.Vector ExponentialHistogramDataPoint)@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.aggregationTemporality' @:: Lens' ExponentialHistogram AggregationTemporality@ -}-data ExponentialHistogram- = ExponentialHistogram'_constructor {_ExponentialHistogram'dataPoints :: !(Data.Vector.Vector ExponentialHistogramDataPoint),- _ExponentialHistogram'aggregationTemporality :: !AggregationTemporality,- _ExponentialHistogram'_unknownFields :: !Data.ProtoLens.FieldSet}- deriving stock (Prelude.Eq, Prelude.Ord)-instance Prelude.Show ExponentialHistogram where- showsPrec _ __x __s- = Prelude.showChar- '{'- (Prelude.showString- (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))-instance Data.ProtoLens.Field.HasField ExponentialHistogram "dataPoints" [ExponentialHistogramDataPoint] where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _ExponentialHistogram'dataPoints- (\ x__ y__ -> x__ {_ExponentialHistogram'dataPoints = y__}))- (Lens.Family2.Unchecked.lens- Data.Vector.Generic.toList- (\ _ y__ -> Data.Vector.Generic.fromList y__))-instance Data.ProtoLens.Field.HasField ExponentialHistogram "vec'dataPoints" (Data.Vector.Vector ExponentialHistogramDataPoint) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _ExponentialHistogram'dataPoints- (\ x__ y__ -> x__ {_ExponentialHistogram'dataPoints = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField ExponentialHistogram "aggregationTemporality" AggregationTemporality where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _ExponentialHistogram'aggregationTemporality- (\ x__ y__- -> x__ {_ExponentialHistogram'aggregationTemporality = y__}))- Prelude.id-instance Data.ProtoLens.Message ExponentialHistogram where- messageName _- = Data.Text.pack- "opentelemetry.proto.metrics.v1.ExponentialHistogram"- packedMessageDescriptor _- = "\n\- \\DC4ExponentialHistogram\DC2^\n\- \\vdata_points\CAN\SOH \ETX(\v2=.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPointR\n\- \dataPoints\DC2o\n\- \\ETBaggregation_temporality\CAN\STX \SOH(\SO26.opentelemetry.proto.metrics.v1.AggregationTemporalityR\SYNaggregationTemporality"- packedFileDescriptor _ = packedFileDescriptor- fieldsByTag- = let- dataPoints__field_descriptor- = Data.ProtoLens.FieldDescriptor- "data_points"- (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::- Data.ProtoLens.FieldTypeDescriptor ExponentialHistogramDataPoint)- (Data.ProtoLens.RepeatedField- Data.ProtoLens.Unpacked- (Data.ProtoLens.Field.field @"dataPoints")) ::- Data.ProtoLens.FieldDescriptor ExponentialHistogram- aggregationTemporality__field_descriptor- = Data.ProtoLens.FieldDescriptor- "aggregation_temporality"- (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::- Data.ProtoLens.FieldTypeDescriptor AggregationTemporality)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional- (Data.ProtoLens.Field.field @"aggregationTemporality")) ::- Data.ProtoLens.FieldDescriptor ExponentialHistogram- in- Data.Map.fromList- [(Data.ProtoLens.Tag 1, dataPoints__field_descriptor),- (Data.ProtoLens.Tag 2, aggregationTemporality__field_descriptor)]- unknownFields- = Lens.Family2.Unchecked.lens- _ExponentialHistogram'_unknownFields- (\ x__ y__ -> x__ {_ExponentialHistogram'_unknownFields = y__})- defMessage- = ExponentialHistogram'_constructor- {_ExponentialHistogram'dataPoints = Data.Vector.Generic.empty,- _ExponentialHistogram'aggregationTemporality = Data.ProtoLens.fieldDefault,- _ExponentialHistogram'_unknownFields = []}- parseMessage- = let- loop ::- ExponentialHistogram- -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld ExponentialHistogramDataPoint- -> Data.ProtoLens.Encoding.Bytes.Parser ExponentialHistogram- loop x mutable'dataPoints- = do end <- Data.ProtoLens.Encoding.Bytes.atEnd- if end then- do frozen'dataPoints <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.unsafeFreeze- mutable'dataPoints)- (let missing = []- in- if Prelude.null missing then- Prelude.return ()- else- Prelude.fail- ((Prelude.++)- "Missing required fields: "- (Prelude.show (missing :: [Prelude.String]))))- Prelude.return- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)- (Lens.Family2.set- (Data.ProtoLens.Field.field @"vec'dataPoints") frozen'dataPoints- x))- else- do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt- case tag of- 10- -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len)- Data.ProtoLens.parseMessage)- "data_points"- v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.append mutable'dataPoints y)- loop x v- 16- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (Prelude.fmap- Prelude.toEnum- (Prelude.fmap- Prelude.fromIntegral- Data.ProtoLens.Encoding.Bytes.getVarInt))- "aggregation_temporality"- loop- (Lens.Family2.set- (Data.ProtoLens.Field.field @"aggregationTemporality") y x)- mutable'dataPoints- wire- -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire- wire- loop- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)- mutable'dataPoints- in- (Data.ProtoLens.Encoding.Bytes.<?>)- (do mutable'dataPoints <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- Data.ProtoLens.Encoding.Growing.new- loop Data.ProtoLens.defMessage mutable'dataPoints)- "ExponentialHistogram"- buildMessage- = \ _x- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.foldMapBuilder- (\ _v- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 10)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.ProtoLens.encodeMessage _v))- (Lens.Family2.view- (Data.ProtoLens.Field.field @"vec'dataPoints") _x))- ((Data.Monoid.<>)- (let- _v- = Lens.Family2.view- (Data.ProtoLens.Field.field @"aggregationTemporality") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 16)- ((Prelude..)- ((Prelude..)- Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)- Prelude.fromEnum _v))- (Data.ProtoLens.Encoding.Wire.buildFieldSet- (Lens.Family2.view Data.ProtoLens.unknownFields _x)))-instance Control.DeepSeq.NFData ExponentialHistogram where- rnf- = \ x__- -> Control.DeepSeq.deepseq- (_ExponentialHistogram'_unknownFields x__)- (Control.DeepSeq.deepseq- (_ExponentialHistogram'dataPoints x__)- (Control.DeepSeq.deepseq- (_ExponentialHistogram'aggregationTemporality x__) ()))-{- | Fields :- - * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.attributes' @:: Lens' ExponentialHistogramDataPoint [Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue]@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.vec'attributes' @:: Lens' ExponentialHistogramDataPoint (Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue)@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.startTimeUnixNano' @:: Lens' ExponentialHistogramDataPoint Data.Word.Word64@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.timeUnixNano' @:: Lens' ExponentialHistogramDataPoint Data.Word.Word64@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.count' @:: Lens' ExponentialHistogramDataPoint Data.Word.Word64@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.sum' @:: Lens' ExponentialHistogramDataPoint Prelude.Double@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.scale' @:: Lens' ExponentialHistogramDataPoint Data.Int.Int32@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.zeroCount' @:: Lens' ExponentialHistogramDataPoint Data.Word.Word64@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.positive' @:: Lens' ExponentialHistogramDataPoint ExponentialHistogramDataPoint'Buckets@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.maybe'positive' @:: Lens' ExponentialHistogramDataPoint (Prelude.Maybe ExponentialHistogramDataPoint'Buckets)@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.negative' @:: Lens' ExponentialHistogramDataPoint ExponentialHistogramDataPoint'Buckets@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.maybe'negative' @:: Lens' ExponentialHistogramDataPoint (Prelude.Maybe ExponentialHistogramDataPoint'Buckets)@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.flags' @:: Lens' ExponentialHistogramDataPoint Data.Word.Word32@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.exemplars' @:: Lens' ExponentialHistogramDataPoint [Exemplar]@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.vec'exemplars' @:: Lens' ExponentialHistogramDataPoint (Data.Vector.Vector Exemplar)@ -}-data ExponentialHistogramDataPoint- = ExponentialHistogramDataPoint'_constructor {_ExponentialHistogramDataPoint'attributes :: !(Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue),- _ExponentialHistogramDataPoint'startTimeUnixNano :: !Data.Word.Word64,- _ExponentialHistogramDataPoint'timeUnixNano :: !Data.Word.Word64,- _ExponentialHistogramDataPoint'count :: !Data.Word.Word64,- _ExponentialHistogramDataPoint'sum :: !Prelude.Double,- _ExponentialHistogramDataPoint'scale :: !Data.Int.Int32,- _ExponentialHistogramDataPoint'zeroCount :: !Data.Word.Word64,- _ExponentialHistogramDataPoint'positive :: !(Prelude.Maybe ExponentialHistogramDataPoint'Buckets),- _ExponentialHistogramDataPoint'negative :: !(Prelude.Maybe ExponentialHistogramDataPoint'Buckets),- _ExponentialHistogramDataPoint'flags :: !Data.Word.Word32,- _ExponentialHistogramDataPoint'exemplars :: !(Data.Vector.Vector Exemplar),- _ExponentialHistogramDataPoint'_unknownFields :: !Data.ProtoLens.FieldSet}- deriving stock (Prelude.Eq, Prelude.Ord)-instance Prelude.Show ExponentialHistogramDataPoint where- showsPrec _ __x __s- = Prelude.showChar- '{'- (Prelude.showString- (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))-instance Data.ProtoLens.Field.HasField ExponentialHistogramDataPoint "attributes" [Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue] where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _ExponentialHistogramDataPoint'attributes- (\ x__ y__- -> x__ {_ExponentialHistogramDataPoint'attributes = y__}))- (Lens.Family2.Unchecked.lens- Data.Vector.Generic.toList- (\ _ y__ -> Data.Vector.Generic.fromList y__))-instance Data.ProtoLens.Field.HasField ExponentialHistogramDataPoint "vec'attributes" (Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _ExponentialHistogramDataPoint'attributes- (\ x__ y__- -> x__ {_ExponentialHistogramDataPoint'attributes = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField ExponentialHistogramDataPoint "startTimeUnixNano" Data.Word.Word64 where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _ExponentialHistogramDataPoint'startTimeUnixNano- (\ x__ y__- -> x__ {_ExponentialHistogramDataPoint'startTimeUnixNano = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField ExponentialHistogramDataPoint "timeUnixNano" Data.Word.Word64 where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _ExponentialHistogramDataPoint'timeUnixNano- (\ x__ y__- -> x__ {_ExponentialHistogramDataPoint'timeUnixNano = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField ExponentialHistogramDataPoint "count" Data.Word.Word64 where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _ExponentialHistogramDataPoint'count- (\ x__ y__ -> x__ {_ExponentialHistogramDataPoint'count = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField ExponentialHistogramDataPoint "sum" Prelude.Double where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _ExponentialHistogramDataPoint'sum- (\ x__ y__ -> x__ {_ExponentialHistogramDataPoint'sum = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField ExponentialHistogramDataPoint "scale" Data.Int.Int32 where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _ExponentialHistogramDataPoint'scale- (\ x__ y__ -> x__ {_ExponentialHistogramDataPoint'scale = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField ExponentialHistogramDataPoint "zeroCount" Data.Word.Word64 where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _ExponentialHistogramDataPoint'zeroCount- (\ x__ y__- -> x__ {_ExponentialHistogramDataPoint'zeroCount = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField ExponentialHistogramDataPoint "positive" ExponentialHistogramDataPoint'Buckets where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _ExponentialHistogramDataPoint'positive- (\ x__ y__ -> x__ {_ExponentialHistogramDataPoint'positive = y__}))- (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)-instance Data.ProtoLens.Field.HasField ExponentialHistogramDataPoint "maybe'positive" (Prelude.Maybe ExponentialHistogramDataPoint'Buckets) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _ExponentialHistogramDataPoint'positive- (\ x__ y__ -> x__ {_ExponentialHistogramDataPoint'positive = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField ExponentialHistogramDataPoint "negative" ExponentialHistogramDataPoint'Buckets where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _ExponentialHistogramDataPoint'negative- (\ x__ y__ -> x__ {_ExponentialHistogramDataPoint'negative = y__}))- (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)-instance Data.ProtoLens.Field.HasField ExponentialHistogramDataPoint "maybe'negative" (Prelude.Maybe ExponentialHistogramDataPoint'Buckets) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _ExponentialHistogramDataPoint'negative- (\ x__ y__ -> x__ {_ExponentialHistogramDataPoint'negative = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField ExponentialHistogramDataPoint "flags" Data.Word.Word32 where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _ExponentialHistogramDataPoint'flags- (\ x__ y__ -> x__ {_ExponentialHistogramDataPoint'flags = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField ExponentialHistogramDataPoint "exemplars" [Exemplar] where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _ExponentialHistogramDataPoint'exemplars- (\ x__ y__- -> x__ {_ExponentialHistogramDataPoint'exemplars = y__}))- (Lens.Family2.Unchecked.lens- Data.Vector.Generic.toList- (\ _ y__ -> Data.Vector.Generic.fromList y__))-instance Data.ProtoLens.Field.HasField ExponentialHistogramDataPoint "vec'exemplars" (Data.Vector.Vector Exemplar) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _ExponentialHistogramDataPoint'exemplars- (\ x__ y__- -> x__ {_ExponentialHistogramDataPoint'exemplars = y__}))- Prelude.id-instance Data.ProtoLens.Message ExponentialHistogramDataPoint where- messageName _- = Data.Text.pack- "opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint"- packedMessageDescriptor _- = "\n\- \\GSExponentialHistogramDataPoint\DC2G\n\- \\n\- \attributes\CAN\SOH \ETX(\v2'.opentelemetry.proto.common.v1.KeyValueR\n\- \attributes\DC2/\n\- \\DC4start_time_unix_nano\CAN\STX \SOH(\ACKR\DC1startTimeUnixNano\DC2$\n\- \\SOtime_unix_nano\CAN\ETX \SOH(\ACKR\ftimeUnixNano\DC2\DC4\n\- \\ENQcount\CAN\EOT \SOH(\ACKR\ENQcount\DC2\DLE\n\- \\ETXsum\CAN\ENQ \SOH(\SOHR\ETXsum\DC2\DC4\n\- \\ENQscale\CAN\ACK \SOH(\DC1R\ENQscale\DC2\GS\n\- \\n\- \zero_count\CAN\a \SOH(\ACKR\tzeroCount\DC2a\n\- \\bpositive\CAN\b \SOH(\v2E.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.BucketsR\bpositive\DC2a\n\- \\bnegative\CAN\t \SOH(\v2E.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.BucketsR\bnegative\DC2\DC4\n\- \\ENQflags\CAN\n\- \ \SOH(\rR\ENQflags\DC2F\n\- \\texemplars\CAN\v \ETX(\v2(.opentelemetry.proto.metrics.v1.ExemplarR\texemplars\SUBF\n\- \\aBuckets\DC2\SYN\n\- \\ACKoffset\CAN\SOH \SOH(\DC1R\ACKoffset\DC2#\n\- \\rbucket_counts\CAN\STX \ETX(\EOTR\fbucketCounts"- packedFileDescriptor _ = packedFileDescriptor- fieldsByTag- = let- attributes__field_descriptor- = Data.ProtoLens.FieldDescriptor- "attributes"- (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::- Data.ProtoLens.FieldTypeDescriptor Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue)- (Data.ProtoLens.RepeatedField- Data.ProtoLens.Unpacked- (Data.ProtoLens.Field.field @"attributes")) ::- Data.ProtoLens.FieldDescriptor ExponentialHistogramDataPoint- startTimeUnixNano__field_descriptor- = Data.ProtoLens.FieldDescriptor- "start_time_unix_nano"- (Data.ProtoLens.ScalarField Data.ProtoLens.Fixed64Field ::- Data.ProtoLens.FieldTypeDescriptor Data.Word.Word64)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional- (Data.ProtoLens.Field.field @"startTimeUnixNano")) ::- Data.ProtoLens.FieldDescriptor ExponentialHistogramDataPoint- timeUnixNano__field_descriptor- = Data.ProtoLens.FieldDescriptor- "time_unix_nano"- (Data.ProtoLens.ScalarField Data.ProtoLens.Fixed64Field ::- Data.ProtoLens.FieldTypeDescriptor Data.Word.Word64)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional- (Data.ProtoLens.Field.field @"timeUnixNano")) ::- Data.ProtoLens.FieldDescriptor ExponentialHistogramDataPoint- count__field_descriptor- = Data.ProtoLens.FieldDescriptor- "count"- (Data.ProtoLens.ScalarField Data.ProtoLens.Fixed64Field ::- Data.ProtoLens.FieldTypeDescriptor Data.Word.Word64)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"count")) ::- Data.ProtoLens.FieldDescriptor ExponentialHistogramDataPoint- sum__field_descriptor- = Data.ProtoLens.FieldDescriptor- "sum"- (Data.ProtoLens.ScalarField Data.ProtoLens.DoubleField ::- Data.ProtoLens.FieldTypeDescriptor Prelude.Double)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"sum")) ::- Data.ProtoLens.FieldDescriptor ExponentialHistogramDataPoint- scale__field_descriptor- = Data.ProtoLens.FieldDescriptor- "scale"- (Data.ProtoLens.ScalarField Data.ProtoLens.SInt32Field ::- Data.ProtoLens.FieldTypeDescriptor Data.Int.Int32)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"scale")) ::- Data.ProtoLens.FieldDescriptor ExponentialHistogramDataPoint- zeroCount__field_descriptor- = Data.ProtoLens.FieldDescriptor- "zero_count"- (Data.ProtoLens.ScalarField Data.ProtoLens.Fixed64Field ::- Data.ProtoLens.FieldTypeDescriptor Data.Word.Word64)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional- (Data.ProtoLens.Field.field @"zeroCount")) ::- Data.ProtoLens.FieldDescriptor ExponentialHistogramDataPoint- positive__field_descriptor- = Data.ProtoLens.FieldDescriptor- "positive"- (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::- Data.ProtoLens.FieldTypeDescriptor ExponentialHistogramDataPoint'Buckets)- (Data.ProtoLens.OptionalField- (Data.ProtoLens.Field.field @"maybe'positive")) ::- Data.ProtoLens.FieldDescriptor ExponentialHistogramDataPoint- negative__field_descriptor- = Data.ProtoLens.FieldDescriptor- "negative"- (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::- Data.ProtoLens.FieldTypeDescriptor ExponentialHistogramDataPoint'Buckets)- (Data.ProtoLens.OptionalField- (Data.ProtoLens.Field.field @"maybe'negative")) ::- Data.ProtoLens.FieldDescriptor ExponentialHistogramDataPoint- flags__field_descriptor- = Data.ProtoLens.FieldDescriptor- "flags"- (Data.ProtoLens.ScalarField Data.ProtoLens.UInt32Field ::- Data.ProtoLens.FieldTypeDescriptor Data.Word.Word32)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"flags")) ::- Data.ProtoLens.FieldDescriptor ExponentialHistogramDataPoint- exemplars__field_descriptor- = Data.ProtoLens.FieldDescriptor- "exemplars"- (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::- Data.ProtoLens.FieldTypeDescriptor Exemplar)- (Data.ProtoLens.RepeatedField- Data.ProtoLens.Unpacked- (Data.ProtoLens.Field.field @"exemplars")) ::- Data.ProtoLens.FieldDescriptor ExponentialHistogramDataPoint- in- Data.Map.fromList- [(Data.ProtoLens.Tag 1, attributes__field_descriptor),- (Data.ProtoLens.Tag 2, startTimeUnixNano__field_descriptor),- (Data.ProtoLens.Tag 3, timeUnixNano__field_descriptor),- (Data.ProtoLens.Tag 4, count__field_descriptor),- (Data.ProtoLens.Tag 5, sum__field_descriptor),- (Data.ProtoLens.Tag 6, scale__field_descriptor),- (Data.ProtoLens.Tag 7, zeroCount__field_descriptor),- (Data.ProtoLens.Tag 8, positive__field_descriptor),- (Data.ProtoLens.Tag 9, negative__field_descriptor),- (Data.ProtoLens.Tag 10, flags__field_descriptor),- (Data.ProtoLens.Tag 11, exemplars__field_descriptor)]- unknownFields- = Lens.Family2.Unchecked.lens- _ExponentialHistogramDataPoint'_unknownFields- (\ x__ y__- -> x__ {_ExponentialHistogramDataPoint'_unknownFields = y__})- defMessage- = ExponentialHistogramDataPoint'_constructor- {_ExponentialHistogramDataPoint'attributes = Data.Vector.Generic.empty,- _ExponentialHistogramDataPoint'startTimeUnixNano = Data.ProtoLens.fieldDefault,- _ExponentialHistogramDataPoint'timeUnixNano = Data.ProtoLens.fieldDefault,- _ExponentialHistogramDataPoint'count = Data.ProtoLens.fieldDefault,- _ExponentialHistogramDataPoint'sum = Data.ProtoLens.fieldDefault,- _ExponentialHistogramDataPoint'scale = Data.ProtoLens.fieldDefault,- _ExponentialHistogramDataPoint'zeroCount = Data.ProtoLens.fieldDefault,- _ExponentialHistogramDataPoint'positive = Prelude.Nothing,- _ExponentialHistogramDataPoint'negative = Prelude.Nothing,- _ExponentialHistogramDataPoint'flags = Data.ProtoLens.fieldDefault,- _ExponentialHistogramDataPoint'exemplars = Data.Vector.Generic.empty,- _ExponentialHistogramDataPoint'_unknownFields = []}- parseMessage- = let- loop ::- ExponentialHistogramDataPoint- -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue- -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Exemplar- -> Data.ProtoLens.Encoding.Bytes.Parser ExponentialHistogramDataPoint- loop x mutable'attributes mutable'exemplars- = do end <- Data.ProtoLens.Encoding.Bytes.atEnd- if end then- do frozen'attributes <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.unsafeFreeze- mutable'attributes)- frozen'exemplars <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.unsafeFreeze- mutable'exemplars)- (let missing = []- in- if Prelude.null missing then- Prelude.return ()- else- Prelude.fail- ((Prelude.++)- "Missing required fields: "- (Prelude.show (missing :: [Prelude.String]))))- Prelude.return- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)- (Lens.Family2.set- (Data.ProtoLens.Field.field @"vec'attributes") frozen'attributes- (Lens.Family2.set- (Data.ProtoLens.Field.field @"vec'exemplars") frozen'exemplars x)))- else- do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt- case tag of- 10- -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len)- Data.ProtoLens.parseMessage)- "attributes"- v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.append mutable'attributes y)- loop x v mutable'exemplars- 17- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- Data.ProtoLens.Encoding.Bytes.getFixed64- "start_time_unix_nano"- loop- (Lens.Family2.set- (Data.ProtoLens.Field.field @"startTimeUnixNano") y x)- mutable'attributes mutable'exemplars- 25- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- Data.ProtoLens.Encoding.Bytes.getFixed64 "time_unix_nano"- loop- (Lens.Family2.set- (Data.ProtoLens.Field.field @"timeUnixNano") y x)- mutable'attributes mutable'exemplars- 33- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- Data.ProtoLens.Encoding.Bytes.getFixed64 "count"- loop- (Lens.Family2.set (Data.ProtoLens.Field.field @"count") y x)- mutable'attributes mutable'exemplars- 41- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (Prelude.fmap- Data.ProtoLens.Encoding.Bytes.wordToDouble- Data.ProtoLens.Encoding.Bytes.getFixed64)- "sum"- loop- (Lens.Family2.set (Data.ProtoLens.Field.field @"sum") y x)- mutable'attributes mutable'exemplars- 48- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (Prelude.fmap- Data.ProtoLens.Encoding.Bytes.wordToSignedInt32- (Prelude.fmap- Prelude.fromIntegral- Data.ProtoLens.Encoding.Bytes.getVarInt))- "scale"- loop- (Lens.Family2.set (Data.ProtoLens.Field.field @"scale") y x)- mutable'attributes mutable'exemplars- 57- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- Data.ProtoLens.Encoding.Bytes.getFixed64 "zero_count"- loop- (Lens.Family2.set (Data.ProtoLens.Field.field @"zeroCount") y x)- mutable'attributes mutable'exemplars- 66- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)- "positive"- loop- (Lens.Family2.set (Data.ProtoLens.Field.field @"positive") y x)- mutable'attributes mutable'exemplars- 74- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)- "negative"- loop- (Lens.Family2.set (Data.ProtoLens.Field.field @"negative") y x)- mutable'attributes mutable'exemplars- 80- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (Prelude.fmap- Prelude.fromIntegral- Data.ProtoLens.Encoding.Bytes.getVarInt)- "flags"- loop- (Lens.Family2.set (Data.ProtoLens.Field.field @"flags") y x)- mutable'attributes mutable'exemplars- 90- -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len)- Data.ProtoLens.parseMessage)- "exemplars"- v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.append mutable'exemplars y)- loop x mutable'attributes v- wire- -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire- wire- loop- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)- mutable'attributes mutable'exemplars- in- (Data.ProtoLens.Encoding.Bytes.<?>)- (do mutable'attributes <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- Data.ProtoLens.Encoding.Growing.new- mutable'exemplars <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- Data.ProtoLens.Encoding.Growing.new- loop- Data.ProtoLens.defMessage mutable'attributes mutable'exemplars)- "ExponentialHistogramDataPoint"- buildMessage- = \ _x- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.foldMapBuilder- (\ _v- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 10)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.ProtoLens.encodeMessage _v))- (Lens.Family2.view- (Data.ProtoLens.Field.field @"vec'attributes") _x))- ((Data.Monoid.<>)- (let- _v- = Lens.Family2.view- (Data.ProtoLens.Field.field @"startTimeUnixNano") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 17)- (Data.ProtoLens.Encoding.Bytes.putFixed64 _v))- ((Data.Monoid.<>)- (let- _v- = Lens.Family2.view (Data.ProtoLens.Field.field @"timeUnixNano") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 25)- (Data.ProtoLens.Encoding.Bytes.putFixed64 _v))- ((Data.Monoid.<>)- (let- _v = Lens.Family2.view (Data.ProtoLens.Field.field @"count") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 33)- (Data.ProtoLens.Encoding.Bytes.putFixed64 _v))- ((Data.Monoid.<>)- (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"sum") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 41)- ((Prelude..)- Data.ProtoLens.Encoding.Bytes.putFixed64- Data.ProtoLens.Encoding.Bytes.doubleToWord _v))- ((Data.Monoid.<>)- (let- _v = Lens.Family2.view (Data.ProtoLens.Field.field @"scale") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 48)- ((Prelude..)- ((Prelude..)- Data.ProtoLens.Encoding.Bytes.putVarInt- Prelude.fromIntegral)- Data.ProtoLens.Encoding.Bytes.signedInt32ToWord _v))- ((Data.Monoid.<>)- (let- _v- = Lens.Family2.view (Data.ProtoLens.Field.field @"zeroCount") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 57)- (Data.ProtoLens.Encoding.Bytes.putFixed64 _v))- ((Data.Monoid.<>)- (case- Lens.Family2.view- (Data.ProtoLens.Field.field @"maybe'positive") _x- of- Prelude.Nothing -> Data.Monoid.mempty- (Prelude.Just _v)- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 66)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral- (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.ProtoLens.encodeMessage _v))- ((Data.Monoid.<>)- (case- Lens.Family2.view- (Data.ProtoLens.Field.field @"maybe'negative") _x- of- Prelude.Nothing -> Data.Monoid.mempty- (Prelude.Just _v)- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 74)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral- (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes- bs))- Data.ProtoLens.encodeMessage _v))- ((Data.Monoid.<>)- (let- _v- = Lens.Family2.view- (Data.ProtoLens.Field.field @"flags") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 80)- ((Prelude..)- Data.ProtoLens.Encoding.Bytes.putVarInt- Prelude.fromIntegral _v))- ((Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.foldMapBuilder- (\ _v- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 90)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral- (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes- bs))- Data.ProtoLens.encodeMessage _v))- (Lens.Family2.view- (Data.ProtoLens.Field.field @"vec'exemplars") _x))- (Data.ProtoLens.Encoding.Wire.buildFieldSet- (Lens.Family2.view- Data.ProtoLens.unknownFields _x))))))))))))-instance Control.DeepSeq.NFData ExponentialHistogramDataPoint where- rnf- = \ x__- -> Control.DeepSeq.deepseq- (_ExponentialHistogramDataPoint'_unknownFields x__)- (Control.DeepSeq.deepseq- (_ExponentialHistogramDataPoint'attributes x__)- (Control.DeepSeq.deepseq- (_ExponentialHistogramDataPoint'startTimeUnixNano x__)- (Control.DeepSeq.deepseq- (_ExponentialHistogramDataPoint'timeUnixNano x__)- (Control.DeepSeq.deepseq- (_ExponentialHistogramDataPoint'count x__)- (Control.DeepSeq.deepseq- (_ExponentialHistogramDataPoint'sum x__)- (Control.DeepSeq.deepseq- (_ExponentialHistogramDataPoint'scale x__)- (Control.DeepSeq.deepseq- (_ExponentialHistogramDataPoint'zeroCount x__)- (Control.DeepSeq.deepseq- (_ExponentialHistogramDataPoint'positive x__)- (Control.DeepSeq.deepseq- (_ExponentialHistogramDataPoint'negative x__)- (Control.DeepSeq.deepseq- (_ExponentialHistogramDataPoint'flags x__)- (Control.DeepSeq.deepseq- (_ExponentialHistogramDataPoint'exemplars x__)- ())))))))))))-{- | Fields :- - * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.offset' @:: Lens' ExponentialHistogramDataPoint'Buckets Data.Int.Int32@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.bucketCounts' @:: Lens' ExponentialHistogramDataPoint'Buckets [Data.Word.Word64]@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.vec'bucketCounts' @:: Lens' ExponentialHistogramDataPoint'Buckets (Data.Vector.Unboxed.Vector Data.Word.Word64)@ -}-data ExponentialHistogramDataPoint'Buckets- = ExponentialHistogramDataPoint'Buckets'_constructor {_ExponentialHistogramDataPoint'Buckets'offset :: !Data.Int.Int32,- _ExponentialHistogramDataPoint'Buckets'bucketCounts :: !(Data.Vector.Unboxed.Vector Data.Word.Word64),- _ExponentialHistogramDataPoint'Buckets'_unknownFields :: !Data.ProtoLens.FieldSet}- deriving stock (Prelude.Eq, Prelude.Ord)-instance Prelude.Show ExponentialHistogramDataPoint'Buckets where- showsPrec _ __x __s- = Prelude.showChar- '{'- (Prelude.showString- (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))-instance Data.ProtoLens.Field.HasField ExponentialHistogramDataPoint'Buckets "offset" Data.Int.Int32 where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _ExponentialHistogramDataPoint'Buckets'offset- (\ x__ y__- -> x__ {_ExponentialHistogramDataPoint'Buckets'offset = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField ExponentialHistogramDataPoint'Buckets "bucketCounts" [Data.Word.Word64] where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _ExponentialHistogramDataPoint'Buckets'bucketCounts- (\ x__ y__- -> x__- {_ExponentialHistogramDataPoint'Buckets'bucketCounts = y__}))- (Lens.Family2.Unchecked.lens- Data.Vector.Generic.toList- (\ _ y__ -> Data.Vector.Generic.fromList y__))-instance Data.ProtoLens.Field.HasField ExponentialHistogramDataPoint'Buckets "vec'bucketCounts" (Data.Vector.Unboxed.Vector Data.Word.Word64) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _ExponentialHistogramDataPoint'Buckets'bucketCounts- (\ x__ y__- -> x__- {_ExponentialHistogramDataPoint'Buckets'bucketCounts = y__}))- Prelude.id-instance Data.ProtoLens.Message ExponentialHistogramDataPoint'Buckets where- messageName _- = Data.Text.pack- "opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets"- packedMessageDescriptor _- = "\n\- \\aBuckets\DC2\SYN\n\- \\ACKoffset\CAN\SOH \SOH(\DC1R\ACKoffset\DC2#\n\- \\rbucket_counts\CAN\STX \ETX(\EOTR\fbucketCounts"- packedFileDescriptor _ = packedFileDescriptor- fieldsByTag- = let- offset__field_descriptor- = Data.ProtoLens.FieldDescriptor- "offset"- (Data.ProtoLens.ScalarField Data.ProtoLens.SInt32Field ::- Data.ProtoLens.FieldTypeDescriptor Data.Int.Int32)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"offset")) ::- Data.ProtoLens.FieldDescriptor ExponentialHistogramDataPoint'Buckets- bucketCounts__field_descriptor- = Data.ProtoLens.FieldDescriptor- "bucket_counts"- (Data.ProtoLens.ScalarField Data.ProtoLens.UInt64Field ::- Data.ProtoLens.FieldTypeDescriptor Data.Word.Word64)- (Data.ProtoLens.RepeatedField- Data.ProtoLens.Packed- (Data.ProtoLens.Field.field @"bucketCounts")) ::- Data.ProtoLens.FieldDescriptor ExponentialHistogramDataPoint'Buckets- in- Data.Map.fromList- [(Data.ProtoLens.Tag 1, offset__field_descriptor),- (Data.ProtoLens.Tag 2, bucketCounts__field_descriptor)]- unknownFields- = Lens.Family2.Unchecked.lens- _ExponentialHistogramDataPoint'Buckets'_unknownFields- (\ x__ y__- -> x__- {_ExponentialHistogramDataPoint'Buckets'_unknownFields = y__})- defMessage- = ExponentialHistogramDataPoint'Buckets'_constructor- {_ExponentialHistogramDataPoint'Buckets'offset = Data.ProtoLens.fieldDefault,- _ExponentialHistogramDataPoint'Buckets'bucketCounts = Data.Vector.Generic.empty,- _ExponentialHistogramDataPoint'Buckets'_unknownFields = []}- parseMessage- = let- loop ::- ExponentialHistogramDataPoint'Buckets- -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Unboxed.Vector Data.ProtoLens.Encoding.Growing.RealWorld Data.Word.Word64- -> Data.ProtoLens.Encoding.Bytes.Parser ExponentialHistogramDataPoint'Buckets- loop x mutable'bucketCounts- = do end <- Data.ProtoLens.Encoding.Bytes.atEnd- if end then- do frozen'bucketCounts <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.unsafeFreeze- mutable'bucketCounts)- (let missing = []- in- if Prelude.null missing then- Prelude.return ()- else- Prelude.fail- ((Prelude.++)- "Missing required fields: "- (Prelude.show (missing :: [Prelude.String]))))- Prelude.return- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)- (Lens.Family2.set- (Data.ProtoLens.Field.field @"vec'bucketCounts")- frozen'bucketCounts x))- else- do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt- case tag of- 8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (Prelude.fmap- Data.ProtoLens.Encoding.Bytes.wordToSignedInt32- (Prelude.fmap- Prelude.fromIntegral- Data.ProtoLens.Encoding.Bytes.getVarInt))- "offset"- loop- (Lens.Family2.set (Data.ProtoLens.Field.field @"offset") y x)- mutable'bucketCounts- 16- -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)- Data.ProtoLens.Encoding.Bytes.getVarInt "bucket_counts"- v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.append- mutable'bucketCounts y)- loop x v- 18- -> do y <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len)- ((let- ploop qs- = do packedEnd <- Data.ProtoLens.Encoding.Bytes.atEnd- if packedEnd then- Prelude.return qs- else- do !q <- (Data.ProtoLens.Encoding.Bytes.<?>)- Data.ProtoLens.Encoding.Bytes.getVarInt- "bucket_counts"- qs' <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.append- qs q)- ploop qs'- in ploop)- mutable'bucketCounts)- loop x y- wire- -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire- wire- loop- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)- mutable'bucketCounts- in- (Data.ProtoLens.Encoding.Bytes.<?>)- (do mutable'bucketCounts <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- Data.ProtoLens.Encoding.Growing.new- loop Data.ProtoLens.defMessage mutable'bucketCounts)- "Buckets"- buildMessage- = \ _x- -> (Data.Monoid.<>)- (let- _v = Lens.Family2.view (Data.ProtoLens.Field.field @"offset") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 8)- ((Prelude..)- ((Prelude..)- Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)- Data.ProtoLens.Encoding.Bytes.signedInt32ToWord _v))- ((Data.Monoid.<>)- (let- p = Lens.Family2.view- (Data.ProtoLens.Field.field @"vec'bucketCounts") _x- in- if Data.Vector.Generic.null p then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 18)- ((\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- (Data.ProtoLens.Encoding.Bytes.runBuilder- (Data.ProtoLens.Encoding.Bytes.foldMapBuilder- Data.ProtoLens.Encoding.Bytes.putVarInt p))))- (Data.ProtoLens.Encoding.Wire.buildFieldSet- (Lens.Family2.view Data.ProtoLens.unknownFields _x)))-instance Control.DeepSeq.NFData ExponentialHistogramDataPoint'Buckets where- rnf- = \ x__- -> Control.DeepSeq.deepseq- (_ExponentialHistogramDataPoint'Buckets'_unknownFields x__)- (Control.DeepSeq.deepseq- (_ExponentialHistogramDataPoint'Buckets'offset x__)- (Control.DeepSeq.deepseq- (_ExponentialHistogramDataPoint'Buckets'bucketCounts x__) ()))-{- | Fields :- - * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.dataPoints' @:: Lens' Gauge [NumberDataPoint]@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.vec'dataPoints' @:: Lens' Gauge (Data.Vector.Vector NumberDataPoint)@ -}-data Gauge- = Gauge'_constructor {_Gauge'dataPoints :: !(Data.Vector.Vector NumberDataPoint),- _Gauge'_unknownFields :: !Data.ProtoLens.FieldSet}- deriving stock (Prelude.Eq, Prelude.Ord)-instance Prelude.Show Gauge where- showsPrec _ __x __s- = Prelude.showChar- '{'- (Prelude.showString- (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))-instance Data.ProtoLens.Field.HasField Gauge "dataPoints" [NumberDataPoint] where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Gauge'dataPoints (\ x__ y__ -> x__ {_Gauge'dataPoints = y__}))- (Lens.Family2.Unchecked.lens- Data.Vector.Generic.toList- (\ _ y__ -> Data.Vector.Generic.fromList y__))-instance Data.ProtoLens.Field.HasField Gauge "vec'dataPoints" (Data.Vector.Vector NumberDataPoint) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Gauge'dataPoints (\ x__ y__ -> x__ {_Gauge'dataPoints = y__}))- Prelude.id-instance Data.ProtoLens.Message Gauge where- messageName _- = Data.Text.pack "opentelemetry.proto.metrics.v1.Gauge"- packedMessageDescriptor _- = "\n\- \\ENQGauge\DC2P\n\- \\vdata_points\CAN\SOH \ETX(\v2/.opentelemetry.proto.metrics.v1.NumberDataPointR\n\- \dataPoints"- packedFileDescriptor _ = packedFileDescriptor- fieldsByTag- = let- dataPoints__field_descriptor- = Data.ProtoLens.FieldDescriptor- "data_points"- (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::- Data.ProtoLens.FieldTypeDescriptor NumberDataPoint)- (Data.ProtoLens.RepeatedField- Data.ProtoLens.Unpacked- (Data.ProtoLens.Field.field @"dataPoints")) ::- Data.ProtoLens.FieldDescriptor Gauge- in- Data.Map.fromList- [(Data.ProtoLens.Tag 1, dataPoints__field_descriptor)]- unknownFields- = Lens.Family2.Unchecked.lens- _Gauge'_unknownFields- (\ x__ y__ -> x__ {_Gauge'_unknownFields = y__})- defMessage- = Gauge'_constructor- {_Gauge'dataPoints = Data.Vector.Generic.empty,- _Gauge'_unknownFields = []}- parseMessage- = let- loop ::- Gauge- -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld NumberDataPoint- -> Data.ProtoLens.Encoding.Bytes.Parser Gauge- loop x mutable'dataPoints- = do end <- Data.ProtoLens.Encoding.Bytes.atEnd- if end then- do frozen'dataPoints <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.unsafeFreeze- mutable'dataPoints)- (let missing = []- in- if Prelude.null missing then- Prelude.return ()- else- Prelude.fail- ((Prelude.++)- "Missing required fields: "- (Prelude.show (missing :: [Prelude.String]))))- Prelude.return- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)- (Lens.Family2.set- (Data.ProtoLens.Field.field @"vec'dataPoints") frozen'dataPoints- x))- else- do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt- case tag of- 10- -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len)- Data.ProtoLens.parseMessage)- "data_points"- v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.append mutable'dataPoints y)- loop x v- wire- -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire- wire- loop- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)- mutable'dataPoints- in- (Data.ProtoLens.Encoding.Bytes.<?>)- (do mutable'dataPoints <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- Data.ProtoLens.Encoding.Growing.new- loop Data.ProtoLens.defMessage mutable'dataPoints)- "Gauge"- buildMessage- = \ _x- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.foldMapBuilder- (\ _v- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 10)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.ProtoLens.encodeMessage _v))- (Lens.Family2.view- (Data.ProtoLens.Field.field @"vec'dataPoints") _x))- (Data.ProtoLens.Encoding.Wire.buildFieldSet- (Lens.Family2.view Data.ProtoLens.unknownFields _x))-instance Control.DeepSeq.NFData Gauge where- rnf- = \ x__- -> Control.DeepSeq.deepseq- (_Gauge'_unknownFields x__)- (Control.DeepSeq.deepseq (_Gauge'dataPoints x__) ())-{- | Fields :- - * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.dataPoints' @:: Lens' Histogram [HistogramDataPoint]@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.vec'dataPoints' @:: Lens' Histogram (Data.Vector.Vector HistogramDataPoint)@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.aggregationTemporality' @:: Lens' Histogram AggregationTemporality@ -}-data Histogram- = Histogram'_constructor {_Histogram'dataPoints :: !(Data.Vector.Vector HistogramDataPoint),- _Histogram'aggregationTemporality :: !AggregationTemporality,- _Histogram'_unknownFields :: !Data.ProtoLens.FieldSet}- deriving stock (Prelude.Eq, Prelude.Ord)-instance Prelude.Show Histogram where- showsPrec _ __x __s- = Prelude.showChar- '{'- (Prelude.showString- (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))-instance Data.ProtoLens.Field.HasField Histogram "dataPoints" [HistogramDataPoint] where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Histogram'dataPoints- (\ x__ y__ -> x__ {_Histogram'dataPoints = y__}))- (Lens.Family2.Unchecked.lens- Data.Vector.Generic.toList- (\ _ y__ -> Data.Vector.Generic.fromList y__))-instance Data.ProtoLens.Field.HasField Histogram "vec'dataPoints" (Data.Vector.Vector HistogramDataPoint) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Histogram'dataPoints- (\ x__ y__ -> x__ {_Histogram'dataPoints = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField Histogram "aggregationTemporality" AggregationTemporality where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Histogram'aggregationTemporality- (\ x__ y__ -> x__ {_Histogram'aggregationTemporality = y__}))- Prelude.id-instance Data.ProtoLens.Message Histogram where- messageName _- = Data.Text.pack "opentelemetry.proto.metrics.v1.Histogram"- packedMessageDescriptor _- = "\n\- \\tHistogram\DC2S\n\- \\vdata_points\CAN\SOH \ETX(\v22.opentelemetry.proto.metrics.v1.HistogramDataPointR\n\- \dataPoints\DC2o\n\- \\ETBaggregation_temporality\CAN\STX \SOH(\SO26.opentelemetry.proto.metrics.v1.AggregationTemporalityR\SYNaggregationTemporality"- packedFileDescriptor _ = packedFileDescriptor- fieldsByTag- = let- dataPoints__field_descriptor- = Data.ProtoLens.FieldDescriptor- "data_points"- (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::- Data.ProtoLens.FieldTypeDescriptor HistogramDataPoint)- (Data.ProtoLens.RepeatedField- Data.ProtoLens.Unpacked- (Data.ProtoLens.Field.field @"dataPoints")) ::- Data.ProtoLens.FieldDescriptor Histogram- aggregationTemporality__field_descriptor- = Data.ProtoLens.FieldDescriptor- "aggregation_temporality"- (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::- Data.ProtoLens.FieldTypeDescriptor AggregationTemporality)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional- (Data.ProtoLens.Field.field @"aggregationTemporality")) ::- Data.ProtoLens.FieldDescriptor Histogram- in- Data.Map.fromList- [(Data.ProtoLens.Tag 1, dataPoints__field_descriptor),- (Data.ProtoLens.Tag 2, aggregationTemporality__field_descriptor)]- unknownFields- = Lens.Family2.Unchecked.lens- _Histogram'_unknownFields- (\ x__ y__ -> x__ {_Histogram'_unknownFields = y__})- defMessage- = Histogram'_constructor- {_Histogram'dataPoints = Data.Vector.Generic.empty,- _Histogram'aggregationTemporality = Data.ProtoLens.fieldDefault,- _Histogram'_unknownFields = []}- parseMessage- = let- loop ::- Histogram- -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld HistogramDataPoint- -> Data.ProtoLens.Encoding.Bytes.Parser Histogram- loop x mutable'dataPoints- = do end <- Data.ProtoLens.Encoding.Bytes.atEnd- if end then- do frozen'dataPoints <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.unsafeFreeze- mutable'dataPoints)- (let missing = []- in- if Prelude.null missing then- Prelude.return ()- else- Prelude.fail- ((Prelude.++)- "Missing required fields: "- (Prelude.show (missing :: [Prelude.String]))))- Prelude.return- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)- (Lens.Family2.set- (Data.ProtoLens.Field.field @"vec'dataPoints") frozen'dataPoints- x))- else- do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt- case tag of- 10- -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len)- Data.ProtoLens.parseMessage)- "data_points"- v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.append mutable'dataPoints y)- loop x v- 16- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (Prelude.fmap- Prelude.toEnum- (Prelude.fmap- Prelude.fromIntegral- Data.ProtoLens.Encoding.Bytes.getVarInt))- "aggregation_temporality"- loop- (Lens.Family2.set- (Data.ProtoLens.Field.field @"aggregationTemporality") y x)- mutable'dataPoints- wire- -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire- wire- loop- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)- mutable'dataPoints- in- (Data.ProtoLens.Encoding.Bytes.<?>)- (do mutable'dataPoints <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- Data.ProtoLens.Encoding.Growing.new- loop Data.ProtoLens.defMessage mutable'dataPoints)- "Histogram"- buildMessage- = \ _x- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.foldMapBuilder- (\ _v- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 10)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.ProtoLens.encodeMessage _v))- (Lens.Family2.view- (Data.ProtoLens.Field.field @"vec'dataPoints") _x))- ((Data.Monoid.<>)- (let- _v- = Lens.Family2.view- (Data.ProtoLens.Field.field @"aggregationTemporality") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 16)- ((Prelude..)- ((Prelude..)- Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)- Prelude.fromEnum _v))- (Data.ProtoLens.Encoding.Wire.buildFieldSet- (Lens.Family2.view Data.ProtoLens.unknownFields _x)))-instance Control.DeepSeq.NFData Histogram where- rnf- = \ x__- -> Control.DeepSeq.deepseq- (_Histogram'_unknownFields x__)- (Control.DeepSeq.deepseq- (_Histogram'dataPoints x__)- (Control.DeepSeq.deepseq- (_Histogram'aggregationTemporality x__) ()))-{- | Fields :- - * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.attributes' @:: Lens' HistogramDataPoint [Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue]@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.vec'attributes' @:: Lens' HistogramDataPoint (Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue)@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.labels' @:: Lens' HistogramDataPoint [Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue]@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.vec'labels' @:: Lens' HistogramDataPoint (Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue)@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.startTimeUnixNano' @:: Lens' HistogramDataPoint Data.Word.Word64@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.timeUnixNano' @:: Lens' HistogramDataPoint Data.Word.Word64@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.count' @:: Lens' HistogramDataPoint Data.Word.Word64@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.sum' @:: Lens' HistogramDataPoint Prelude.Double@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.bucketCounts' @:: Lens' HistogramDataPoint [Data.Word.Word64]@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.vec'bucketCounts' @:: Lens' HistogramDataPoint (Data.Vector.Unboxed.Vector Data.Word.Word64)@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.explicitBounds' @:: Lens' HistogramDataPoint [Prelude.Double]@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.vec'explicitBounds' @:: Lens' HistogramDataPoint (Data.Vector.Unboxed.Vector Prelude.Double)@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.exemplars' @:: Lens' HistogramDataPoint [Exemplar]@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.vec'exemplars' @:: Lens' HistogramDataPoint (Data.Vector.Vector Exemplar)@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.flags' @:: Lens' HistogramDataPoint Data.Word.Word32@ -}-data HistogramDataPoint- = HistogramDataPoint'_constructor {_HistogramDataPoint'attributes :: !(Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue),- _HistogramDataPoint'labels :: !(Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue),- _HistogramDataPoint'startTimeUnixNano :: !Data.Word.Word64,- _HistogramDataPoint'timeUnixNano :: !Data.Word.Word64,- _HistogramDataPoint'count :: !Data.Word.Word64,- _HistogramDataPoint'sum :: !Prelude.Double,- _HistogramDataPoint'bucketCounts :: !(Data.Vector.Unboxed.Vector Data.Word.Word64),- _HistogramDataPoint'explicitBounds :: !(Data.Vector.Unboxed.Vector Prelude.Double),- _HistogramDataPoint'exemplars :: !(Data.Vector.Vector Exemplar),- _HistogramDataPoint'flags :: !Data.Word.Word32,- _HistogramDataPoint'_unknownFields :: !Data.ProtoLens.FieldSet}- deriving stock (Prelude.Eq, Prelude.Ord)-instance Prelude.Show HistogramDataPoint where- showsPrec _ __x __s- = Prelude.showChar- '{'- (Prelude.showString- (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))-instance Data.ProtoLens.Field.HasField HistogramDataPoint "attributes" [Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue] where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _HistogramDataPoint'attributes- (\ x__ y__ -> x__ {_HistogramDataPoint'attributes = y__}))- (Lens.Family2.Unchecked.lens- Data.Vector.Generic.toList- (\ _ y__ -> Data.Vector.Generic.fromList y__))-instance Data.ProtoLens.Field.HasField HistogramDataPoint "vec'attributes" (Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _HistogramDataPoint'attributes- (\ x__ y__ -> x__ {_HistogramDataPoint'attributes = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField HistogramDataPoint "labels" [Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue] where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _HistogramDataPoint'labels- (\ x__ y__ -> x__ {_HistogramDataPoint'labels = y__}))- (Lens.Family2.Unchecked.lens- Data.Vector.Generic.toList- (\ _ y__ -> Data.Vector.Generic.fromList y__))-instance Data.ProtoLens.Field.HasField HistogramDataPoint "vec'labels" (Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _HistogramDataPoint'labels- (\ x__ y__ -> x__ {_HistogramDataPoint'labels = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField HistogramDataPoint "startTimeUnixNano" Data.Word.Word64 where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _HistogramDataPoint'startTimeUnixNano- (\ x__ y__ -> x__ {_HistogramDataPoint'startTimeUnixNano = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField HistogramDataPoint "timeUnixNano" Data.Word.Word64 where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _HistogramDataPoint'timeUnixNano- (\ x__ y__ -> x__ {_HistogramDataPoint'timeUnixNano = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField HistogramDataPoint "count" Data.Word.Word64 where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _HistogramDataPoint'count- (\ x__ y__ -> x__ {_HistogramDataPoint'count = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField HistogramDataPoint "sum" Prelude.Double where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _HistogramDataPoint'sum- (\ x__ y__ -> x__ {_HistogramDataPoint'sum = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField HistogramDataPoint "bucketCounts" [Data.Word.Word64] where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _HistogramDataPoint'bucketCounts- (\ x__ y__ -> x__ {_HistogramDataPoint'bucketCounts = y__}))- (Lens.Family2.Unchecked.lens- Data.Vector.Generic.toList- (\ _ y__ -> Data.Vector.Generic.fromList y__))-instance Data.ProtoLens.Field.HasField HistogramDataPoint "vec'bucketCounts" (Data.Vector.Unboxed.Vector Data.Word.Word64) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _HistogramDataPoint'bucketCounts- (\ x__ y__ -> x__ {_HistogramDataPoint'bucketCounts = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField HistogramDataPoint "explicitBounds" [Prelude.Double] where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _HistogramDataPoint'explicitBounds- (\ x__ y__ -> x__ {_HistogramDataPoint'explicitBounds = y__}))- (Lens.Family2.Unchecked.lens- Data.Vector.Generic.toList- (\ _ y__ -> Data.Vector.Generic.fromList y__))-instance Data.ProtoLens.Field.HasField HistogramDataPoint "vec'explicitBounds" (Data.Vector.Unboxed.Vector Prelude.Double) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _HistogramDataPoint'explicitBounds- (\ x__ y__ -> x__ {_HistogramDataPoint'explicitBounds = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField HistogramDataPoint "exemplars" [Exemplar] where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _HistogramDataPoint'exemplars- (\ x__ y__ -> x__ {_HistogramDataPoint'exemplars = y__}))- (Lens.Family2.Unchecked.lens- Data.Vector.Generic.toList- (\ _ y__ -> Data.Vector.Generic.fromList y__))-instance Data.ProtoLens.Field.HasField HistogramDataPoint "vec'exemplars" (Data.Vector.Vector Exemplar) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _HistogramDataPoint'exemplars- (\ x__ y__ -> x__ {_HistogramDataPoint'exemplars = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField HistogramDataPoint "flags" Data.Word.Word32 where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _HistogramDataPoint'flags- (\ x__ y__ -> x__ {_HistogramDataPoint'flags = y__}))- Prelude.id-instance Data.ProtoLens.Message HistogramDataPoint where- messageName _- = Data.Text.pack- "opentelemetry.proto.metrics.v1.HistogramDataPoint"- packedMessageDescriptor _- = "\n\- \\DC2HistogramDataPoint\DC2G\n\- \\n\- \attributes\CAN\t \ETX(\v2'.opentelemetry.proto.common.v1.KeyValueR\n\- \attributes\DC2I\n\- \\ACKlabels\CAN\SOH \ETX(\v2-.opentelemetry.proto.common.v1.StringKeyValueR\ACKlabelsB\STX\CAN\SOH\DC2/\n\- \\DC4start_time_unix_nano\CAN\STX \SOH(\ACKR\DC1startTimeUnixNano\DC2$\n\- \\SOtime_unix_nano\CAN\ETX \SOH(\ACKR\ftimeUnixNano\DC2\DC4\n\- \\ENQcount\CAN\EOT \SOH(\ACKR\ENQcount\DC2\DLE\n\- \\ETXsum\CAN\ENQ \SOH(\SOHR\ETXsum\DC2#\n\- \\rbucket_counts\CAN\ACK \ETX(\ACKR\fbucketCounts\DC2'\n\- \\SIexplicit_bounds\CAN\a \ETX(\SOHR\SOexplicitBounds\DC2F\n\- \\texemplars\CAN\b \ETX(\v2(.opentelemetry.proto.metrics.v1.ExemplarR\texemplars\DC2\DC4\n\- \\ENQflags\CAN\n\- \ \SOH(\rR\ENQflags"- packedFileDescriptor _ = packedFileDescriptor- fieldsByTag- = let- attributes__field_descriptor- = Data.ProtoLens.FieldDescriptor- "attributes"- (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::- Data.ProtoLens.FieldTypeDescriptor Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue)- (Data.ProtoLens.RepeatedField- Data.ProtoLens.Unpacked- (Data.ProtoLens.Field.field @"attributes")) ::- Data.ProtoLens.FieldDescriptor HistogramDataPoint- labels__field_descriptor- = Data.ProtoLens.FieldDescriptor- "labels"- (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::- Data.ProtoLens.FieldTypeDescriptor Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue)- (Data.ProtoLens.RepeatedField- Data.ProtoLens.Unpacked (Data.ProtoLens.Field.field @"labels")) ::- Data.ProtoLens.FieldDescriptor HistogramDataPoint- startTimeUnixNano__field_descriptor- = Data.ProtoLens.FieldDescriptor- "start_time_unix_nano"- (Data.ProtoLens.ScalarField Data.ProtoLens.Fixed64Field ::- Data.ProtoLens.FieldTypeDescriptor Data.Word.Word64)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional- (Data.ProtoLens.Field.field @"startTimeUnixNano")) ::- Data.ProtoLens.FieldDescriptor HistogramDataPoint- timeUnixNano__field_descriptor- = Data.ProtoLens.FieldDescriptor- "time_unix_nano"- (Data.ProtoLens.ScalarField Data.ProtoLens.Fixed64Field ::- Data.ProtoLens.FieldTypeDescriptor Data.Word.Word64)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional- (Data.ProtoLens.Field.field @"timeUnixNano")) ::- Data.ProtoLens.FieldDescriptor HistogramDataPoint- count__field_descriptor- = Data.ProtoLens.FieldDescriptor- "count"- (Data.ProtoLens.ScalarField Data.ProtoLens.Fixed64Field ::- Data.ProtoLens.FieldTypeDescriptor Data.Word.Word64)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"count")) ::- Data.ProtoLens.FieldDescriptor HistogramDataPoint- sum__field_descriptor- = Data.ProtoLens.FieldDescriptor- "sum"- (Data.ProtoLens.ScalarField Data.ProtoLens.DoubleField ::- Data.ProtoLens.FieldTypeDescriptor Prelude.Double)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"sum")) ::- Data.ProtoLens.FieldDescriptor HistogramDataPoint- bucketCounts__field_descriptor- = Data.ProtoLens.FieldDescriptor- "bucket_counts"- (Data.ProtoLens.ScalarField Data.ProtoLens.Fixed64Field ::- Data.ProtoLens.FieldTypeDescriptor Data.Word.Word64)- (Data.ProtoLens.RepeatedField- Data.ProtoLens.Packed- (Data.ProtoLens.Field.field @"bucketCounts")) ::- Data.ProtoLens.FieldDescriptor HistogramDataPoint- explicitBounds__field_descriptor- = Data.ProtoLens.FieldDescriptor- "explicit_bounds"- (Data.ProtoLens.ScalarField Data.ProtoLens.DoubleField ::- Data.ProtoLens.FieldTypeDescriptor Prelude.Double)- (Data.ProtoLens.RepeatedField- Data.ProtoLens.Packed- (Data.ProtoLens.Field.field @"explicitBounds")) ::- Data.ProtoLens.FieldDescriptor HistogramDataPoint- exemplars__field_descriptor- = Data.ProtoLens.FieldDescriptor- "exemplars"- (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::- Data.ProtoLens.FieldTypeDescriptor Exemplar)- (Data.ProtoLens.RepeatedField- Data.ProtoLens.Unpacked- (Data.ProtoLens.Field.field @"exemplars")) ::- Data.ProtoLens.FieldDescriptor HistogramDataPoint- flags__field_descriptor- = Data.ProtoLens.FieldDescriptor- "flags"- (Data.ProtoLens.ScalarField Data.ProtoLens.UInt32Field ::- Data.ProtoLens.FieldTypeDescriptor Data.Word.Word32)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"flags")) ::- Data.ProtoLens.FieldDescriptor HistogramDataPoint- in- Data.Map.fromList- [(Data.ProtoLens.Tag 9, attributes__field_descriptor),- (Data.ProtoLens.Tag 1, labels__field_descriptor),- (Data.ProtoLens.Tag 2, startTimeUnixNano__field_descriptor),- (Data.ProtoLens.Tag 3, timeUnixNano__field_descriptor),- (Data.ProtoLens.Tag 4, count__field_descriptor),- (Data.ProtoLens.Tag 5, sum__field_descriptor),- (Data.ProtoLens.Tag 6, bucketCounts__field_descriptor),- (Data.ProtoLens.Tag 7, explicitBounds__field_descriptor),- (Data.ProtoLens.Tag 8, exemplars__field_descriptor),- (Data.ProtoLens.Tag 10, flags__field_descriptor)]- unknownFields- = Lens.Family2.Unchecked.lens- _HistogramDataPoint'_unknownFields- (\ x__ y__ -> x__ {_HistogramDataPoint'_unknownFields = y__})- defMessage- = HistogramDataPoint'_constructor- {_HistogramDataPoint'attributes = Data.Vector.Generic.empty,- _HistogramDataPoint'labels = Data.Vector.Generic.empty,- _HistogramDataPoint'startTimeUnixNano = Data.ProtoLens.fieldDefault,- _HistogramDataPoint'timeUnixNano = Data.ProtoLens.fieldDefault,- _HistogramDataPoint'count = Data.ProtoLens.fieldDefault,- _HistogramDataPoint'sum = Data.ProtoLens.fieldDefault,- _HistogramDataPoint'bucketCounts = Data.Vector.Generic.empty,- _HistogramDataPoint'explicitBounds = Data.Vector.Generic.empty,- _HistogramDataPoint'exemplars = Data.Vector.Generic.empty,- _HistogramDataPoint'flags = Data.ProtoLens.fieldDefault,- _HistogramDataPoint'_unknownFields = []}- parseMessage- = let- loop ::- HistogramDataPoint- -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue- -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Unboxed.Vector Data.ProtoLens.Encoding.Growing.RealWorld Data.Word.Word64- -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Exemplar- -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Unboxed.Vector Data.ProtoLens.Encoding.Growing.RealWorld Prelude.Double- -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue- -> Data.ProtoLens.Encoding.Bytes.Parser HistogramDataPoint- loop- x- mutable'attributes- mutable'bucketCounts- mutable'exemplars- mutable'explicitBounds- mutable'labels- = do end <- Data.ProtoLens.Encoding.Bytes.atEnd- if end then- do frozen'attributes <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.unsafeFreeze- mutable'attributes)- frozen'bucketCounts <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.unsafeFreeze- mutable'bucketCounts)- frozen'exemplars <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.unsafeFreeze- mutable'exemplars)- frozen'explicitBounds <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.unsafeFreeze- mutable'explicitBounds)- frozen'labels <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.unsafeFreeze- mutable'labels)- (let missing = []- in- if Prelude.null missing then- Prelude.return ()- else- Prelude.fail- ((Prelude.++)- "Missing required fields: "- (Prelude.show (missing :: [Prelude.String]))))- Prelude.return- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)- (Lens.Family2.set- (Data.ProtoLens.Field.field @"vec'attributes") frozen'attributes- (Lens.Family2.set- (Data.ProtoLens.Field.field @"vec'bucketCounts")- frozen'bucketCounts- (Lens.Family2.set- (Data.ProtoLens.Field.field @"vec'exemplars") frozen'exemplars- (Lens.Family2.set- (Data.ProtoLens.Field.field @"vec'explicitBounds")- frozen'explicitBounds- (Lens.Family2.set- (Data.ProtoLens.Field.field @"vec'labels") frozen'labels- x))))))- else- do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt- case tag of- 74- -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len)- Data.ProtoLens.parseMessage)- "attributes"- v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.append mutable'attributes y)- loop- x v mutable'bucketCounts mutable'exemplars mutable'explicitBounds- mutable'labels- 10- -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len)- Data.ProtoLens.parseMessage)- "labels"- v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.append mutable'labels y)- loop- x mutable'attributes mutable'bucketCounts mutable'exemplars- mutable'explicitBounds v- 17- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- Data.ProtoLens.Encoding.Bytes.getFixed64- "start_time_unix_nano"- loop- (Lens.Family2.set- (Data.ProtoLens.Field.field @"startTimeUnixNano") y x)- mutable'attributes mutable'bucketCounts mutable'exemplars- mutable'explicitBounds mutable'labels- 25- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- Data.ProtoLens.Encoding.Bytes.getFixed64 "time_unix_nano"- loop- (Lens.Family2.set- (Data.ProtoLens.Field.field @"timeUnixNano") y x)- mutable'attributes mutable'bucketCounts mutable'exemplars- mutable'explicitBounds mutable'labels- 33- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- Data.ProtoLens.Encoding.Bytes.getFixed64 "count"- loop- (Lens.Family2.set (Data.ProtoLens.Field.field @"count") y x)- mutable'attributes mutable'bucketCounts mutable'exemplars- mutable'explicitBounds mutable'labels- 41- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (Prelude.fmap- Data.ProtoLens.Encoding.Bytes.wordToDouble- Data.ProtoLens.Encoding.Bytes.getFixed64)- "sum"- loop- (Lens.Family2.set (Data.ProtoLens.Field.field @"sum") y x)- mutable'attributes mutable'bucketCounts mutable'exemplars- mutable'explicitBounds mutable'labels- 49- -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)- Data.ProtoLens.Encoding.Bytes.getFixed64 "bucket_counts"- v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.append- mutable'bucketCounts y)- loop- x mutable'attributes v mutable'exemplars mutable'explicitBounds- mutable'labels- 50- -> do y <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len)- ((let- ploop qs- = do packedEnd <- Data.ProtoLens.Encoding.Bytes.atEnd- if packedEnd then- Prelude.return qs- else- do !q <- (Data.ProtoLens.Encoding.Bytes.<?>)- Data.ProtoLens.Encoding.Bytes.getFixed64- "bucket_counts"- qs' <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.append- qs q)- ploop qs'- in ploop)- mutable'bucketCounts)- loop- x mutable'attributes y mutable'exemplars mutable'explicitBounds- mutable'labels- 57- -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (Prelude.fmap- Data.ProtoLens.Encoding.Bytes.wordToDouble- Data.ProtoLens.Encoding.Bytes.getFixed64)- "explicit_bounds"- v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.append- mutable'explicitBounds y)- loop- x mutable'attributes mutable'bucketCounts mutable'exemplars v- mutable'labels- 58- -> do y <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len)- ((let- ploop qs- = do packedEnd <- Data.ProtoLens.Encoding.Bytes.atEnd- if packedEnd then- Prelude.return qs- else- do !q <- (Data.ProtoLens.Encoding.Bytes.<?>)- (Prelude.fmap- Data.ProtoLens.Encoding.Bytes.wordToDouble- Data.ProtoLens.Encoding.Bytes.getFixed64)- "explicit_bounds"- qs' <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.append- qs q)- ploop qs'- in ploop)- mutable'explicitBounds)- loop- x mutable'attributes mutable'bucketCounts mutable'exemplars y- mutable'labels- 66- -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len)- Data.ProtoLens.parseMessage)- "exemplars"- v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.append mutable'exemplars y)- loop- x mutable'attributes mutable'bucketCounts v mutable'explicitBounds- mutable'labels- 80- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (Prelude.fmap- Prelude.fromIntegral- Data.ProtoLens.Encoding.Bytes.getVarInt)- "flags"- loop- (Lens.Family2.set (Data.ProtoLens.Field.field @"flags") y x)- mutable'attributes mutable'bucketCounts mutable'exemplars- mutable'explicitBounds mutable'labels- wire- -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire- wire- loop- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)- mutable'attributes mutable'bucketCounts mutable'exemplars- mutable'explicitBounds mutable'labels- in- (Data.ProtoLens.Encoding.Bytes.<?>)- (do mutable'attributes <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- Data.ProtoLens.Encoding.Growing.new- mutable'bucketCounts <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- Data.ProtoLens.Encoding.Growing.new- mutable'exemplars <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- Data.ProtoLens.Encoding.Growing.new- mutable'explicitBounds <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- Data.ProtoLens.Encoding.Growing.new- mutable'labels <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- Data.ProtoLens.Encoding.Growing.new- loop- Data.ProtoLens.defMessage mutable'attributes mutable'bucketCounts- mutable'exemplars mutable'explicitBounds mutable'labels)- "HistogramDataPoint"- buildMessage- = \ _x- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.foldMapBuilder- (\ _v- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 74)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.ProtoLens.encodeMessage _v))- (Lens.Family2.view- (Data.ProtoLens.Field.field @"vec'attributes") _x))- ((Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.foldMapBuilder- (\ _v- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 10)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.ProtoLens.encodeMessage _v))- (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'labels") _x))- ((Data.Monoid.<>)- (let- _v- = Lens.Family2.view- (Data.ProtoLens.Field.field @"startTimeUnixNano") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 17)- (Data.ProtoLens.Encoding.Bytes.putFixed64 _v))- ((Data.Monoid.<>)- (let- _v- = Lens.Family2.view (Data.ProtoLens.Field.field @"timeUnixNano") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 25)- (Data.ProtoLens.Encoding.Bytes.putFixed64 _v))- ((Data.Monoid.<>)- (let- _v = Lens.Family2.view (Data.ProtoLens.Field.field @"count") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 33)- (Data.ProtoLens.Encoding.Bytes.putFixed64 _v))- ((Data.Monoid.<>)- (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"sum") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 41)- ((Prelude..)- Data.ProtoLens.Encoding.Bytes.putFixed64- Data.ProtoLens.Encoding.Bytes.doubleToWord _v))- ((Data.Monoid.<>)- (let- p = Lens.Family2.view- (Data.ProtoLens.Field.field @"vec'bucketCounts") _x- in- if Data.Vector.Generic.null p then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 50)- ((\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral- (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- (Data.ProtoLens.Encoding.Bytes.runBuilder- (Data.ProtoLens.Encoding.Bytes.foldMapBuilder- Data.ProtoLens.Encoding.Bytes.putFixed64 p))))- ((Data.Monoid.<>)- (let- p = Lens.Family2.view- (Data.ProtoLens.Field.field @"vec'explicitBounds") _x- in- if Data.Vector.Generic.null p then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 58)- ((\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral- (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- (Data.ProtoLens.Encoding.Bytes.runBuilder- (Data.ProtoLens.Encoding.Bytes.foldMapBuilder- ((Prelude..)- Data.ProtoLens.Encoding.Bytes.putFixed64- Data.ProtoLens.Encoding.Bytes.doubleToWord)- p))))- ((Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.foldMapBuilder- (\ _v- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 66)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral- (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes- bs))- Data.ProtoLens.encodeMessage _v))- (Lens.Family2.view- (Data.ProtoLens.Field.field @"vec'exemplars") _x))- ((Data.Monoid.<>)- (let- _v- = Lens.Family2.view- (Data.ProtoLens.Field.field @"flags") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 80)- ((Prelude..)- Data.ProtoLens.Encoding.Bytes.putVarInt- Prelude.fromIntegral _v))- (Data.ProtoLens.Encoding.Wire.buildFieldSet- (Lens.Family2.view- Data.ProtoLens.unknownFields _x)))))))))))-instance Control.DeepSeq.NFData HistogramDataPoint where- rnf- = \ x__- -> Control.DeepSeq.deepseq- (_HistogramDataPoint'_unknownFields x__)- (Control.DeepSeq.deepseq- (_HistogramDataPoint'attributes x__)- (Control.DeepSeq.deepseq- (_HistogramDataPoint'labels x__)- (Control.DeepSeq.deepseq- (_HistogramDataPoint'startTimeUnixNano x__)- (Control.DeepSeq.deepseq- (_HistogramDataPoint'timeUnixNano x__)- (Control.DeepSeq.deepseq- (_HistogramDataPoint'count x__)- (Control.DeepSeq.deepseq- (_HistogramDataPoint'sum x__)- (Control.DeepSeq.deepseq- (_HistogramDataPoint'bucketCounts x__)- (Control.DeepSeq.deepseq- (_HistogramDataPoint'explicitBounds x__)- (Control.DeepSeq.deepseq- (_HistogramDataPoint'exemplars x__)- (Control.DeepSeq.deepseq- (_HistogramDataPoint'flags x__) ()))))))))))-{- | Fields :- - * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.instrumentationLibrary' @:: Lens' InstrumentationLibraryMetrics Proto.Opentelemetry.Proto.Common.V1.Common.InstrumentationLibrary@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.maybe'instrumentationLibrary' @:: Lens' InstrumentationLibraryMetrics (Prelude.Maybe Proto.Opentelemetry.Proto.Common.V1.Common.InstrumentationLibrary)@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.metrics' @:: Lens' InstrumentationLibraryMetrics [Metric]@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.vec'metrics' @:: Lens' InstrumentationLibraryMetrics (Data.Vector.Vector Metric)@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.schemaUrl' @:: Lens' InstrumentationLibraryMetrics Data.Text.Text@ -}-data InstrumentationLibraryMetrics- = InstrumentationLibraryMetrics'_constructor {_InstrumentationLibraryMetrics'instrumentationLibrary :: !(Prelude.Maybe Proto.Opentelemetry.Proto.Common.V1.Common.InstrumentationLibrary),- _InstrumentationLibraryMetrics'metrics :: !(Data.Vector.Vector Metric),- _InstrumentationLibraryMetrics'schemaUrl :: !Data.Text.Text,- _InstrumentationLibraryMetrics'_unknownFields :: !Data.ProtoLens.FieldSet}- deriving stock (Prelude.Eq, Prelude.Ord)-instance Prelude.Show InstrumentationLibraryMetrics where- showsPrec _ __x __s- = Prelude.showChar- '{'- (Prelude.showString- (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))-instance Data.ProtoLens.Field.HasField InstrumentationLibraryMetrics "instrumentationLibrary" Proto.Opentelemetry.Proto.Common.V1.Common.InstrumentationLibrary where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _InstrumentationLibraryMetrics'instrumentationLibrary- (\ x__ y__- -> x__- {_InstrumentationLibraryMetrics'instrumentationLibrary = y__}))- (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)-instance Data.ProtoLens.Field.HasField InstrumentationLibraryMetrics "maybe'instrumentationLibrary" (Prelude.Maybe Proto.Opentelemetry.Proto.Common.V1.Common.InstrumentationLibrary) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _InstrumentationLibraryMetrics'instrumentationLibrary- (\ x__ y__- -> x__- {_InstrumentationLibraryMetrics'instrumentationLibrary = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField InstrumentationLibraryMetrics "metrics" [Metric] where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _InstrumentationLibraryMetrics'metrics- (\ x__ y__ -> x__ {_InstrumentationLibraryMetrics'metrics = y__}))- (Lens.Family2.Unchecked.lens- Data.Vector.Generic.toList- (\ _ y__ -> Data.Vector.Generic.fromList y__))-instance Data.ProtoLens.Field.HasField InstrumentationLibraryMetrics "vec'metrics" (Data.Vector.Vector Metric) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _InstrumentationLibraryMetrics'metrics- (\ x__ y__ -> x__ {_InstrumentationLibraryMetrics'metrics = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField InstrumentationLibraryMetrics "schemaUrl" Data.Text.Text where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _InstrumentationLibraryMetrics'schemaUrl- (\ x__ y__- -> x__ {_InstrumentationLibraryMetrics'schemaUrl = y__}))- Prelude.id-instance Data.ProtoLens.Message InstrumentationLibraryMetrics where- messageName _- = Data.Text.pack- "opentelemetry.proto.metrics.v1.InstrumentationLibraryMetrics"- packedMessageDescriptor _- = "\n\- \\GSInstrumentationLibraryMetrics\DC2n\n\- \\ETBinstrumentation_library\CAN\SOH \SOH(\v25.opentelemetry.proto.common.v1.InstrumentationLibraryR\SYNinstrumentationLibrary\DC2@\n\- \\ametrics\CAN\STX \ETX(\v2&.opentelemetry.proto.metrics.v1.MetricR\ametrics\DC2\GS\n\- \\n\- \schema_url\CAN\ETX \SOH(\tR\tschemaUrl"- packedFileDescriptor _ = packedFileDescriptor- fieldsByTag- = let- instrumentationLibrary__field_descriptor- = Data.ProtoLens.FieldDescriptor- "instrumentation_library"- (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::- Data.ProtoLens.FieldTypeDescriptor Proto.Opentelemetry.Proto.Common.V1.Common.InstrumentationLibrary)- (Data.ProtoLens.OptionalField- (Data.ProtoLens.Field.field @"maybe'instrumentationLibrary")) ::- Data.ProtoLens.FieldDescriptor InstrumentationLibraryMetrics- metrics__field_descriptor- = Data.ProtoLens.FieldDescriptor- "metrics"- (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::- Data.ProtoLens.FieldTypeDescriptor Metric)- (Data.ProtoLens.RepeatedField- Data.ProtoLens.Unpacked (Data.ProtoLens.Field.field @"metrics")) ::- Data.ProtoLens.FieldDescriptor InstrumentationLibraryMetrics- schemaUrl__field_descriptor- = Data.ProtoLens.FieldDescriptor- "schema_url"- (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::- Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional- (Data.ProtoLens.Field.field @"schemaUrl")) ::- Data.ProtoLens.FieldDescriptor InstrumentationLibraryMetrics- in- Data.Map.fromList- [(Data.ProtoLens.Tag 1, instrumentationLibrary__field_descriptor),- (Data.ProtoLens.Tag 2, metrics__field_descriptor),- (Data.ProtoLens.Tag 3, schemaUrl__field_descriptor)]- unknownFields- = Lens.Family2.Unchecked.lens- _InstrumentationLibraryMetrics'_unknownFields- (\ x__ y__- -> x__ {_InstrumentationLibraryMetrics'_unknownFields = y__})- defMessage- = InstrumentationLibraryMetrics'_constructor- {_InstrumentationLibraryMetrics'instrumentationLibrary = Prelude.Nothing,- _InstrumentationLibraryMetrics'metrics = Data.Vector.Generic.empty,- _InstrumentationLibraryMetrics'schemaUrl = Data.ProtoLens.fieldDefault,- _InstrumentationLibraryMetrics'_unknownFields = []}- parseMessage- = let- loop ::- InstrumentationLibraryMetrics- -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Metric- -> Data.ProtoLens.Encoding.Bytes.Parser InstrumentationLibraryMetrics- loop x mutable'metrics- = do end <- Data.ProtoLens.Encoding.Bytes.atEnd- if end then- do frozen'metrics <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.unsafeFreeze- mutable'metrics)- (let missing = []- in- if Prelude.null missing then- Prelude.return ()- else- Prelude.fail- ((Prelude.++)- "Missing required fields: "- (Prelude.show (missing :: [Prelude.String]))))- Prelude.return- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)- (Lens.Family2.set- (Data.ProtoLens.Field.field @"vec'metrics") frozen'metrics x))- else- do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt- case tag of- 10- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)- "instrumentation_library"- loop- (Lens.Family2.set- (Data.ProtoLens.Field.field @"instrumentationLibrary") y x)- mutable'metrics- 18- -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len)- Data.ProtoLens.parseMessage)- "metrics"- v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.append mutable'metrics y)- loop x v- 26- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do value <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.getBytes- (Prelude.fromIntegral len)- Data.ProtoLens.Encoding.Bytes.runEither- (case Data.Text.Encoding.decodeUtf8' value of- (Prelude.Left err)- -> Prelude.Left (Prelude.show err)- (Prelude.Right r) -> Prelude.Right r))- "schema_url"- loop- (Lens.Family2.set (Data.ProtoLens.Field.field @"schemaUrl") y x)- mutable'metrics- wire- -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire- wire- loop- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)- mutable'metrics- in- (Data.ProtoLens.Encoding.Bytes.<?>)- (do mutable'metrics <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- Data.ProtoLens.Encoding.Growing.new- loop Data.ProtoLens.defMessage mutable'metrics)- "InstrumentationLibraryMetrics"- buildMessage- = \ _x- -> (Data.Monoid.<>)- (case- Lens.Family2.view- (Data.ProtoLens.Field.field @"maybe'instrumentationLibrary") _x- of- Prelude.Nothing -> Data.Monoid.mempty- (Prelude.Just _v)- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 10)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.ProtoLens.encodeMessage _v))- ((Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.foldMapBuilder- (\ _v- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 18)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.ProtoLens.encodeMessage _v))- (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'metrics") _x))- ((Data.Monoid.<>)- (let- _v = Lens.Family2.view (Data.ProtoLens.Field.field @"schemaUrl") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 26)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.Text.Encoding.encodeUtf8 _v))- (Data.ProtoLens.Encoding.Wire.buildFieldSet- (Lens.Family2.view Data.ProtoLens.unknownFields _x))))-instance Control.DeepSeq.NFData InstrumentationLibraryMetrics where- rnf- = \ x__- -> Control.DeepSeq.deepseq- (_InstrumentationLibraryMetrics'_unknownFields x__)- (Control.DeepSeq.deepseq- (_InstrumentationLibraryMetrics'instrumentationLibrary x__)- (Control.DeepSeq.deepseq- (_InstrumentationLibraryMetrics'metrics x__)- (Control.DeepSeq.deepseq- (_InstrumentationLibraryMetrics'schemaUrl x__) ())))-{- | Fields :- - * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.labels' @:: Lens' IntDataPoint [Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue]@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.vec'labels' @:: Lens' IntDataPoint (Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue)@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.startTimeUnixNano' @:: Lens' IntDataPoint Data.Word.Word64@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.timeUnixNano' @:: Lens' IntDataPoint Data.Word.Word64@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.value' @:: Lens' IntDataPoint Data.Int.Int64@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.exemplars' @:: Lens' IntDataPoint [IntExemplar]@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.vec'exemplars' @:: Lens' IntDataPoint (Data.Vector.Vector IntExemplar)@ -}-data IntDataPoint- = IntDataPoint'_constructor {_IntDataPoint'labels :: !(Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue),- _IntDataPoint'startTimeUnixNano :: !Data.Word.Word64,- _IntDataPoint'timeUnixNano :: !Data.Word.Word64,- _IntDataPoint'value :: !Data.Int.Int64,- _IntDataPoint'exemplars :: !(Data.Vector.Vector IntExemplar),- _IntDataPoint'_unknownFields :: !Data.ProtoLens.FieldSet}- deriving stock (Prelude.Eq, Prelude.Ord)-instance Prelude.Show IntDataPoint where- showsPrec _ __x __s- = Prelude.showChar- '{'- (Prelude.showString- (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))-instance Data.ProtoLens.Field.HasField IntDataPoint "labels" [Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue] where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _IntDataPoint'labels- (\ x__ y__ -> x__ {_IntDataPoint'labels = y__}))- (Lens.Family2.Unchecked.lens- Data.Vector.Generic.toList- (\ _ y__ -> Data.Vector.Generic.fromList y__))-instance Data.ProtoLens.Field.HasField IntDataPoint "vec'labels" (Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _IntDataPoint'labels- (\ x__ y__ -> x__ {_IntDataPoint'labels = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField IntDataPoint "startTimeUnixNano" Data.Word.Word64 where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _IntDataPoint'startTimeUnixNano- (\ x__ y__ -> x__ {_IntDataPoint'startTimeUnixNano = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField IntDataPoint "timeUnixNano" Data.Word.Word64 where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _IntDataPoint'timeUnixNano- (\ x__ y__ -> x__ {_IntDataPoint'timeUnixNano = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField IntDataPoint "value" Data.Int.Int64 where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _IntDataPoint'value (\ x__ y__ -> x__ {_IntDataPoint'value = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField IntDataPoint "exemplars" [IntExemplar] where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _IntDataPoint'exemplars- (\ x__ y__ -> x__ {_IntDataPoint'exemplars = y__}))- (Lens.Family2.Unchecked.lens- Data.Vector.Generic.toList- (\ _ y__ -> Data.Vector.Generic.fromList y__))-instance Data.ProtoLens.Field.HasField IntDataPoint "vec'exemplars" (Data.Vector.Vector IntExemplar) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _IntDataPoint'exemplars- (\ x__ y__ -> x__ {_IntDataPoint'exemplars = y__}))- Prelude.id-instance Data.ProtoLens.Message IntDataPoint where- messageName _- = Data.Text.pack "opentelemetry.proto.metrics.v1.IntDataPoint"- packedMessageDescriptor _- = "\n\- \\fIntDataPoint\DC2E\n\- \\ACKlabels\CAN\SOH \ETX(\v2-.opentelemetry.proto.common.v1.StringKeyValueR\ACKlabels\DC2/\n\- \\DC4start_time_unix_nano\CAN\STX \SOH(\ACKR\DC1startTimeUnixNano\DC2$\n\- \\SOtime_unix_nano\CAN\ETX \SOH(\ACKR\ftimeUnixNano\DC2\DC4\n\- \\ENQvalue\CAN\EOT \SOH(\DLER\ENQvalue\DC2I\n\- \\texemplars\CAN\ENQ \ETX(\v2+.opentelemetry.proto.metrics.v1.IntExemplarR\texemplars:\STX\CAN\SOH"- packedFileDescriptor _ = packedFileDescriptor- fieldsByTag- = let- labels__field_descriptor- = Data.ProtoLens.FieldDescriptor- "labels"- (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::- Data.ProtoLens.FieldTypeDescriptor Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue)- (Data.ProtoLens.RepeatedField- Data.ProtoLens.Unpacked (Data.ProtoLens.Field.field @"labels")) ::- Data.ProtoLens.FieldDescriptor IntDataPoint- startTimeUnixNano__field_descriptor- = Data.ProtoLens.FieldDescriptor- "start_time_unix_nano"- (Data.ProtoLens.ScalarField Data.ProtoLens.Fixed64Field ::- Data.ProtoLens.FieldTypeDescriptor Data.Word.Word64)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional- (Data.ProtoLens.Field.field @"startTimeUnixNano")) ::- Data.ProtoLens.FieldDescriptor IntDataPoint- timeUnixNano__field_descriptor- = Data.ProtoLens.FieldDescriptor- "time_unix_nano"- (Data.ProtoLens.ScalarField Data.ProtoLens.Fixed64Field ::- Data.ProtoLens.FieldTypeDescriptor Data.Word.Word64)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional- (Data.ProtoLens.Field.field @"timeUnixNano")) ::- Data.ProtoLens.FieldDescriptor IntDataPoint- value__field_descriptor- = Data.ProtoLens.FieldDescriptor- "value"- (Data.ProtoLens.ScalarField Data.ProtoLens.SFixed64Field ::- Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"value")) ::- Data.ProtoLens.FieldDescriptor IntDataPoint- exemplars__field_descriptor- = Data.ProtoLens.FieldDescriptor- "exemplars"- (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::- Data.ProtoLens.FieldTypeDescriptor IntExemplar)- (Data.ProtoLens.RepeatedField- Data.ProtoLens.Unpacked- (Data.ProtoLens.Field.field @"exemplars")) ::- Data.ProtoLens.FieldDescriptor IntDataPoint- in- Data.Map.fromList- [(Data.ProtoLens.Tag 1, labels__field_descriptor),- (Data.ProtoLens.Tag 2, startTimeUnixNano__field_descriptor),- (Data.ProtoLens.Tag 3, timeUnixNano__field_descriptor),- (Data.ProtoLens.Tag 4, value__field_descriptor),- (Data.ProtoLens.Tag 5, exemplars__field_descriptor)]- unknownFields- = Lens.Family2.Unchecked.lens- _IntDataPoint'_unknownFields- (\ x__ y__ -> x__ {_IntDataPoint'_unknownFields = y__})- defMessage- = IntDataPoint'_constructor- {_IntDataPoint'labels = Data.Vector.Generic.empty,- _IntDataPoint'startTimeUnixNano = Data.ProtoLens.fieldDefault,- _IntDataPoint'timeUnixNano = Data.ProtoLens.fieldDefault,- _IntDataPoint'value = Data.ProtoLens.fieldDefault,- _IntDataPoint'exemplars = Data.Vector.Generic.empty,- _IntDataPoint'_unknownFields = []}- parseMessage- = let- loop ::- IntDataPoint- -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld IntExemplar- -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue- -> Data.ProtoLens.Encoding.Bytes.Parser IntDataPoint- loop x mutable'exemplars mutable'labels- = do end <- Data.ProtoLens.Encoding.Bytes.atEnd- if end then- do frozen'exemplars <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.unsafeFreeze- mutable'exemplars)- frozen'labels <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.unsafeFreeze- mutable'labels)- (let missing = []- in- if Prelude.null missing then- Prelude.return ()- else- Prelude.fail- ((Prelude.++)- "Missing required fields: "- (Prelude.show (missing :: [Prelude.String]))))- Prelude.return- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)- (Lens.Family2.set- (Data.ProtoLens.Field.field @"vec'exemplars") frozen'exemplars- (Lens.Family2.set- (Data.ProtoLens.Field.field @"vec'labels") frozen'labels x)))- else- do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt- case tag of- 10- -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len)- Data.ProtoLens.parseMessage)- "labels"- v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.append mutable'labels y)- loop x mutable'exemplars v- 17- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- Data.ProtoLens.Encoding.Bytes.getFixed64- "start_time_unix_nano"- loop- (Lens.Family2.set- (Data.ProtoLens.Field.field @"startTimeUnixNano") y x)- mutable'exemplars mutable'labels- 25- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- Data.ProtoLens.Encoding.Bytes.getFixed64 "time_unix_nano"- loop- (Lens.Family2.set- (Data.ProtoLens.Field.field @"timeUnixNano") y x)- mutable'exemplars mutable'labels- 33- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (Prelude.fmap- Prelude.fromIntegral- Data.ProtoLens.Encoding.Bytes.getFixed64)- "value"- loop- (Lens.Family2.set (Data.ProtoLens.Field.field @"value") y x)- mutable'exemplars mutable'labels- 42- -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len)- Data.ProtoLens.parseMessage)- "exemplars"- v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.append mutable'exemplars y)- loop x v mutable'labels- wire- -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire- wire- loop- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)- mutable'exemplars mutable'labels- in- (Data.ProtoLens.Encoding.Bytes.<?>)- (do mutable'exemplars <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- Data.ProtoLens.Encoding.Growing.new- mutable'labels <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- Data.ProtoLens.Encoding.Growing.new- loop Data.ProtoLens.defMessage mutable'exemplars mutable'labels)- "IntDataPoint"- buildMessage- = \ _x- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.foldMapBuilder- (\ _v- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 10)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.ProtoLens.encodeMessage _v))- (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'labels") _x))- ((Data.Monoid.<>)- (let- _v- = Lens.Family2.view- (Data.ProtoLens.Field.field @"startTimeUnixNano") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 17)- (Data.ProtoLens.Encoding.Bytes.putFixed64 _v))- ((Data.Monoid.<>)- (let- _v- = Lens.Family2.view (Data.ProtoLens.Field.field @"timeUnixNano") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 25)- (Data.ProtoLens.Encoding.Bytes.putFixed64 _v))- ((Data.Monoid.<>)- (let- _v = Lens.Family2.view (Data.ProtoLens.Field.field @"value") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 33)- ((Prelude..)- Data.ProtoLens.Encoding.Bytes.putFixed64 Prelude.fromIntegral _v))- ((Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.foldMapBuilder- (\ _v- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 42)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral- (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.ProtoLens.encodeMessage _v))- (Lens.Family2.view- (Data.ProtoLens.Field.field @"vec'exemplars") _x))- (Data.ProtoLens.Encoding.Wire.buildFieldSet- (Lens.Family2.view Data.ProtoLens.unknownFields _x))))))-instance Control.DeepSeq.NFData IntDataPoint where- rnf- = \ x__- -> Control.DeepSeq.deepseq- (_IntDataPoint'_unknownFields x__)- (Control.DeepSeq.deepseq- (_IntDataPoint'labels x__)- (Control.DeepSeq.deepseq- (_IntDataPoint'startTimeUnixNano x__)- (Control.DeepSeq.deepseq- (_IntDataPoint'timeUnixNano x__)- (Control.DeepSeq.deepseq- (_IntDataPoint'value x__)- (Control.DeepSeq.deepseq (_IntDataPoint'exemplars x__) ())))))-{- | Fields :- - * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.filteredLabels' @:: Lens' IntExemplar [Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue]@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.vec'filteredLabels' @:: Lens' IntExemplar (Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue)@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.timeUnixNano' @:: Lens' IntExemplar Data.Word.Word64@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.value' @:: Lens' IntExemplar Data.Int.Int64@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.spanId' @:: Lens' IntExemplar Data.ByteString.ByteString@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.traceId' @:: Lens' IntExemplar Data.ByteString.ByteString@ -}-data IntExemplar- = IntExemplar'_constructor {_IntExemplar'filteredLabels :: !(Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue),- _IntExemplar'timeUnixNano :: !Data.Word.Word64,- _IntExemplar'value :: !Data.Int.Int64,- _IntExemplar'spanId :: !Data.ByteString.ByteString,- _IntExemplar'traceId :: !Data.ByteString.ByteString,- _IntExemplar'_unknownFields :: !Data.ProtoLens.FieldSet}- deriving stock (Prelude.Eq, Prelude.Ord)-instance Prelude.Show IntExemplar where- showsPrec _ __x __s- = Prelude.showChar- '{'- (Prelude.showString- (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))-instance Data.ProtoLens.Field.HasField IntExemplar "filteredLabels" [Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue] where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _IntExemplar'filteredLabels- (\ x__ y__ -> x__ {_IntExemplar'filteredLabels = y__}))- (Lens.Family2.Unchecked.lens- Data.Vector.Generic.toList- (\ _ y__ -> Data.Vector.Generic.fromList y__))-instance Data.ProtoLens.Field.HasField IntExemplar "vec'filteredLabels" (Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _IntExemplar'filteredLabels- (\ x__ y__ -> x__ {_IntExemplar'filteredLabels = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField IntExemplar "timeUnixNano" Data.Word.Word64 where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _IntExemplar'timeUnixNano- (\ x__ y__ -> x__ {_IntExemplar'timeUnixNano = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField IntExemplar "value" Data.Int.Int64 where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _IntExemplar'value (\ x__ y__ -> x__ {_IntExemplar'value = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField IntExemplar "spanId" Data.ByteString.ByteString where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _IntExemplar'spanId (\ x__ y__ -> x__ {_IntExemplar'spanId = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField IntExemplar "traceId" Data.ByteString.ByteString where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _IntExemplar'traceId- (\ x__ y__ -> x__ {_IntExemplar'traceId = y__}))- Prelude.id-instance Data.ProtoLens.Message IntExemplar where- messageName _- = Data.Text.pack "opentelemetry.proto.metrics.v1.IntExemplar"- packedMessageDescriptor _- = "\n\- \\vIntExemplar\DC2V\n\- \\SIfiltered_labels\CAN\SOH \ETX(\v2-.opentelemetry.proto.common.v1.StringKeyValueR\SOfilteredLabels\DC2$\n\- \\SOtime_unix_nano\CAN\STX \SOH(\ACKR\ftimeUnixNano\DC2\DC4\n\- \\ENQvalue\CAN\ETX \SOH(\DLER\ENQvalue\DC2\ETB\n\- \\aspan_id\CAN\EOT \SOH(\fR\ACKspanId\DC2\EM\n\- \\btrace_id\CAN\ENQ \SOH(\fR\atraceId:\STX\CAN\SOH"- packedFileDescriptor _ = packedFileDescriptor- fieldsByTag- = let- filteredLabels__field_descriptor- = Data.ProtoLens.FieldDescriptor- "filtered_labels"- (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::- Data.ProtoLens.FieldTypeDescriptor Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue)- (Data.ProtoLens.RepeatedField- Data.ProtoLens.Unpacked- (Data.ProtoLens.Field.field @"filteredLabels")) ::- Data.ProtoLens.FieldDescriptor IntExemplar- timeUnixNano__field_descriptor- = Data.ProtoLens.FieldDescriptor- "time_unix_nano"- (Data.ProtoLens.ScalarField Data.ProtoLens.Fixed64Field ::- Data.ProtoLens.FieldTypeDescriptor Data.Word.Word64)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional- (Data.ProtoLens.Field.field @"timeUnixNano")) ::- Data.ProtoLens.FieldDescriptor IntExemplar- value__field_descriptor- = Data.ProtoLens.FieldDescriptor- "value"- (Data.ProtoLens.ScalarField Data.ProtoLens.SFixed64Field ::- Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"value")) ::- Data.ProtoLens.FieldDescriptor IntExemplar- spanId__field_descriptor- = Data.ProtoLens.FieldDescriptor- "span_id"- (Data.ProtoLens.ScalarField Data.ProtoLens.BytesField ::- Data.ProtoLens.FieldTypeDescriptor Data.ByteString.ByteString)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"spanId")) ::- Data.ProtoLens.FieldDescriptor IntExemplar- traceId__field_descriptor- = Data.ProtoLens.FieldDescriptor- "trace_id"- (Data.ProtoLens.ScalarField Data.ProtoLens.BytesField ::- Data.ProtoLens.FieldTypeDescriptor Data.ByteString.ByteString)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"traceId")) ::- Data.ProtoLens.FieldDescriptor IntExemplar- in- Data.Map.fromList- [(Data.ProtoLens.Tag 1, filteredLabels__field_descriptor),- (Data.ProtoLens.Tag 2, timeUnixNano__field_descriptor),- (Data.ProtoLens.Tag 3, value__field_descriptor),- (Data.ProtoLens.Tag 4, spanId__field_descriptor),- (Data.ProtoLens.Tag 5, traceId__field_descriptor)]- unknownFields- = Lens.Family2.Unchecked.lens- _IntExemplar'_unknownFields- (\ x__ y__ -> x__ {_IntExemplar'_unknownFields = y__})- defMessage- = IntExemplar'_constructor- {_IntExemplar'filteredLabels = Data.Vector.Generic.empty,- _IntExemplar'timeUnixNano = Data.ProtoLens.fieldDefault,- _IntExemplar'value = Data.ProtoLens.fieldDefault,- _IntExemplar'spanId = Data.ProtoLens.fieldDefault,- _IntExemplar'traceId = Data.ProtoLens.fieldDefault,- _IntExemplar'_unknownFields = []}- parseMessage- = let- loop ::- IntExemplar- -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue- -> Data.ProtoLens.Encoding.Bytes.Parser IntExemplar- loop x mutable'filteredLabels- = do end <- Data.ProtoLens.Encoding.Bytes.atEnd- if end then- do frozen'filteredLabels <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.unsafeFreeze- mutable'filteredLabels)- (let missing = []- in- if Prelude.null missing then- Prelude.return ()- else- Prelude.fail- ((Prelude.++)- "Missing required fields: "- (Prelude.show (missing :: [Prelude.String]))))- Prelude.return- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)- (Lens.Family2.set- (Data.ProtoLens.Field.field @"vec'filteredLabels")- frozen'filteredLabels x))- else- do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt- case tag of- 10- -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len)- Data.ProtoLens.parseMessage)- "filtered_labels"- v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.append- mutable'filteredLabels y)- loop x v- 17- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- Data.ProtoLens.Encoding.Bytes.getFixed64 "time_unix_nano"- loop- (Lens.Family2.set- (Data.ProtoLens.Field.field @"timeUnixNano") y x)- mutable'filteredLabels- 25- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (Prelude.fmap- Prelude.fromIntegral- Data.ProtoLens.Encoding.Bytes.getFixed64)- "value"- loop- (Lens.Family2.set (Data.ProtoLens.Field.field @"value") y x)- mutable'filteredLabels- 34- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.getBytes- (Prelude.fromIntegral len))- "span_id"- loop- (Lens.Family2.set (Data.ProtoLens.Field.field @"spanId") y x)- mutable'filteredLabels- 42- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.getBytes- (Prelude.fromIntegral len))- "trace_id"- loop- (Lens.Family2.set (Data.ProtoLens.Field.field @"traceId") y x)- mutable'filteredLabels- wire- -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire- wire- loop- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)- mutable'filteredLabels- in- (Data.ProtoLens.Encoding.Bytes.<?>)- (do mutable'filteredLabels <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- Data.ProtoLens.Encoding.Growing.new- loop Data.ProtoLens.defMessage mutable'filteredLabels)- "IntExemplar"- buildMessage- = \ _x- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.foldMapBuilder- (\ _v- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 10)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.ProtoLens.encodeMessage _v))- (Lens.Family2.view- (Data.ProtoLens.Field.field @"vec'filteredLabels") _x))- ((Data.Monoid.<>)- (let- _v- = Lens.Family2.view (Data.ProtoLens.Field.field @"timeUnixNano") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 17)- (Data.ProtoLens.Encoding.Bytes.putFixed64 _v))- ((Data.Monoid.<>)- (let- _v = Lens.Family2.view (Data.ProtoLens.Field.field @"value") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 25)- ((Prelude..)- Data.ProtoLens.Encoding.Bytes.putFixed64 Prelude.fromIntegral _v))- ((Data.Monoid.<>)- (let- _v = Lens.Family2.view (Data.ProtoLens.Field.field @"spanId") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 34)- ((\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- _v))- ((Data.Monoid.<>)- (let- _v = Lens.Family2.view (Data.ProtoLens.Field.field @"traceId") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 42)- ((\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- _v))- (Data.ProtoLens.Encoding.Wire.buildFieldSet- (Lens.Family2.view Data.ProtoLens.unknownFields _x))))))-instance Control.DeepSeq.NFData IntExemplar where- rnf- = \ x__- -> Control.DeepSeq.deepseq- (_IntExemplar'_unknownFields x__)- (Control.DeepSeq.deepseq- (_IntExemplar'filteredLabels x__)- (Control.DeepSeq.deepseq- (_IntExemplar'timeUnixNano x__)- (Control.DeepSeq.deepseq- (_IntExemplar'value x__)- (Control.DeepSeq.deepseq- (_IntExemplar'spanId x__)- (Control.DeepSeq.deepseq (_IntExemplar'traceId x__) ())))))-{- | Fields :- - * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.dataPoints' @:: Lens' IntGauge [IntDataPoint]@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.vec'dataPoints' @:: Lens' IntGauge (Data.Vector.Vector IntDataPoint)@ -}-data IntGauge- = IntGauge'_constructor {_IntGauge'dataPoints :: !(Data.Vector.Vector IntDataPoint),- _IntGauge'_unknownFields :: !Data.ProtoLens.FieldSet}- deriving stock (Prelude.Eq, Prelude.Ord)-instance Prelude.Show IntGauge where- showsPrec _ __x __s- = Prelude.showChar- '{'- (Prelude.showString- (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))-instance Data.ProtoLens.Field.HasField IntGauge "dataPoints" [IntDataPoint] where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _IntGauge'dataPoints- (\ x__ y__ -> x__ {_IntGauge'dataPoints = y__}))- (Lens.Family2.Unchecked.lens- Data.Vector.Generic.toList- (\ _ y__ -> Data.Vector.Generic.fromList y__))-instance Data.ProtoLens.Field.HasField IntGauge "vec'dataPoints" (Data.Vector.Vector IntDataPoint) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _IntGauge'dataPoints- (\ x__ y__ -> x__ {_IntGauge'dataPoints = y__}))- Prelude.id-instance Data.ProtoLens.Message IntGauge where- messageName _- = Data.Text.pack "opentelemetry.proto.metrics.v1.IntGauge"- packedMessageDescriptor _- = "\n\- \\bIntGauge\DC2M\n\- \\vdata_points\CAN\SOH \ETX(\v2,.opentelemetry.proto.metrics.v1.IntDataPointR\n\- \dataPoints:\STX\CAN\SOH"- packedFileDescriptor _ = packedFileDescriptor- fieldsByTag- = let- dataPoints__field_descriptor- = Data.ProtoLens.FieldDescriptor- "data_points"- (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::- Data.ProtoLens.FieldTypeDescriptor IntDataPoint)- (Data.ProtoLens.RepeatedField- Data.ProtoLens.Unpacked- (Data.ProtoLens.Field.field @"dataPoints")) ::- Data.ProtoLens.FieldDescriptor IntGauge- in- Data.Map.fromList- [(Data.ProtoLens.Tag 1, dataPoints__field_descriptor)]- unknownFields- = Lens.Family2.Unchecked.lens- _IntGauge'_unknownFields- (\ x__ y__ -> x__ {_IntGauge'_unknownFields = y__})- defMessage- = IntGauge'_constructor- {_IntGauge'dataPoints = Data.Vector.Generic.empty,- _IntGauge'_unknownFields = []}- parseMessage- = let- loop ::- IntGauge- -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld IntDataPoint- -> Data.ProtoLens.Encoding.Bytes.Parser IntGauge- loop x mutable'dataPoints- = do end <- Data.ProtoLens.Encoding.Bytes.atEnd- if end then- do frozen'dataPoints <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.unsafeFreeze- mutable'dataPoints)- (let missing = []- in- if Prelude.null missing then- Prelude.return ()- else- Prelude.fail- ((Prelude.++)- "Missing required fields: "- (Prelude.show (missing :: [Prelude.String]))))- Prelude.return- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)- (Lens.Family2.set- (Data.ProtoLens.Field.field @"vec'dataPoints") frozen'dataPoints- x))- else- do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt- case tag of- 10- -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len)- Data.ProtoLens.parseMessage)- "data_points"- v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.append mutable'dataPoints y)- loop x v- wire- -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire- wire- loop- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)- mutable'dataPoints- in- (Data.ProtoLens.Encoding.Bytes.<?>)- (do mutable'dataPoints <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- Data.ProtoLens.Encoding.Growing.new- loop Data.ProtoLens.defMessage mutable'dataPoints)- "IntGauge"- buildMessage- = \ _x- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.foldMapBuilder- (\ _v- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 10)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.ProtoLens.encodeMessage _v))- (Lens.Family2.view- (Data.ProtoLens.Field.field @"vec'dataPoints") _x))- (Data.ProtoLens.Encoding.Wire.buildFieldSet- (Lens.Family2.view Data.ProtoLens.unknownFields _x))-instance Control.DeepSeq.NFData IntGauge where- rnf- = \ x__- -> Control.DeepSeq.deepseq- (_IntGauge'_unknownFields x__)- (Control.DeepSeq.deepseq (_IntGauge'dataPoints x__) ())-{- | Fields :- - * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.dataPoints' @:: Lens' IntHistogram [IntHistogramDataPoint]@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.vec'dataPoints' @:: Lens' IntHistogram (Data.Vector.Vector IntHistogramDataPoint)@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.aggregationTemporality' @:: Lens' IntHistogram AggregationTemporality@ -}-data IntHistogram- = IntHistogram'_constructor {_IntHistogram'dataPoints :: !(Data.Vector.Vector IntHistogramDataPoint),- _IntHistogram'aggregationTemporality :: !AggregationTemporality,- _IntHistogram'_unknownFields :: !Data.ProtoLens.FieldSet}- deriving stock (Prelude.Eq, Prelude.Ord)-instance Prelude.Show IntHistogram where- showsPrec _ __x __s- = Prelude.showChar- '{'- (Prelude.showString- (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))-instance Data.ProtoLens.Field.HasField IntHistogram "dataPoints" [IntHistogramDataPoint] where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _IntHistogram'dataPoints- (\ x__ y__ -> x__ {_IntHistogram'dataPoints = y__}))- (Lens.Family2.Unchecked.lens- Data.Vector.Generic.toList- (\ _ y__ -> Data.Vector.Generic.fromList y__))-instance Data.ProtoLens.Field.HasField IntHistogram "vec'dataPoints" (Data.Vector.Vector IntHistogramDataPoint) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _IntHistogram'dataPoints- (\ x__ y__ -> x__ {_IntHistogram'dataPoints = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField IntHistogram "aggregationTemporality" AggregationTemporality where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _IntHistogram'aggregationTemporality- (\ x__ y__ -> x__ {_IntHistogram'aggregationTemporality = y__}))- Prelude.id-instance Data.ProtoLens.Message IntHistogram where- messageName _- = Data.Text.pack "opentelemetry.proto.metrics.v1.IntHistogram"- packedMessageDescriptor _- = "\n\- \\fIntHistogram\DC2V\n\- \\vdata_points\CAN\SOH \ETX(\v25.opentelemetry.proto.metrics.v1.IntHistogramDataPointR\n\- \dataPoints\DC2o\n\- \\ETBaggregation_temporality\CAN\STX \SOH(\SO26.opentelemetry.proto.metrics.v1.AggregationTemporalityR\SYNaggregationTemporality:\STX\CAN\SOH"- packedFileDescriptor _ = packedFileDescriptor- fieldsByTag- = let- dataPoints__field_descriptor- = Data.ProtoLens.FieldDescriptor- "data_points"- (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::- Data.ProtoLens.FieldTypeDescriptor IntHistogramDataPoint)- (Data.ProtoLens.RepeatedField- Data.ProtoLens.Unpacked- (Data.ProtoLens.Field.field @"dataPoints")) ::- Data.ProtoLens.FieldDescriptor IntHistogram- aggregationTemporality__field_descriptor- = Data.ProtoLens.FieldDescriptor- "aggregation_temporality"- (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::- Data.ProtoLens.FieldTypeDescriptor AggregationTemporality)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional- (Data.ProtoLens.Field.field @"aggregationTemporality")) ::- Data.ProtoLens.FieldDescriptor IntHistogram- in- Data.Map.fromList- [(Data.ProtoLens.Tag 1, dataPoints__field_descriptor),- (Data.ProtoLens.Tag 2, aggregationTemporality__field_descriptor)]- unknownFields- = Lens.Family2.Unchecked.lens- _IntHistogram'_unknownFields- (\ x__ y__ -> x__ {_IntHistogram'_unknownFields = y__})- defMessage- = IntHistogram'_constructor- {_IntHistogram'dataPoints = Data.Vector.Generic.empty,- _IntHistogram'aggregationTemporality = Data.ProtoLens.fieldDefault,- _IntHistogram'_unknownFields = []}- parseMessage- = let- loop ::- IntHistogram- -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld IntHistogramDataPoint- -> Data.ProtoLens.Encoding.Bytes.Parser IntHistogram- loop x mutable'dataPoints- = do end <- Data.ProtoLens.Encoding.Bytes.atEnd- if end then- do frozen'dataPoints <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.unsafeFreeze- mutable'dataPoints)- (let missing = []- in- if Prelude.null missing then- Prelude.return ()- else- Prelude.fail- ((Prelude.++)- "Missing required fields: "- (Prelude.show (missing :: [Prelude.String]))))- Prelude.return- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)- (Lens.Family2.set- (Data.ProtoLens.Field.field @"vec'dataPoints") frozen'dataPoints- x))- else- do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt- case tag of- 10- -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len)- Data.ProtoLens.parseMessage)- "data_points"- v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.append mutable'dataPoints y)- loop x v- 16- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (Prelude.fmap- Prelude.toEnum- (Prelude.fmap- Prelude.fromIntegral- Data.ProtoLens.Encoding.Bytes.getVarInt))- "aggregation_temporality"- loop- (Lens.Family2.set- (Data.ProtoLens.Field.field @"aggregationTemporality") y x)- mutable'dataPoints- wire- -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire- wire- loop- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)- mutable'dataPoints- in- (Data.ProtoLens.Encoding.Bytes.<?>)- (do mutable'dataPoints <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- Data.ProtoLens.Encoding.Growing.new- loop Data.ProtoLens.defMessage mutable'dataPoints)- "IntHistogram"- buildMessage- = \ _x- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.foldMapBuilder- (\ _v- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 10)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.ProtoLens.encodeMessage _v))- (Lens.Family2.view- (Data.ProtoLens.Field.field @"vec'dataPoints") _x))- ((Data.Monoid.<>)- (let- _v- = Lens.Family2.view- (Data.ProtoLens.Field.field @"aggregationTemporality") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 16)- ((Prelude..)- ((Prelude..)- Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)- Prelude.fromEnum _v))- (Data.ProtoLens.Encoding.Wire.buildFieldSet- (Lens.Family2.view Data.ProtoLens.unknownFields _x)))-instance Control.DeepSeq.NFData IntHistogram where- rnf- = \ x__- -> Control.DeepSeq.deepseq- (_IntHistogram'_unknownFields x__)- (Control.DeepSeq.deepseq- (_IntHistogram'dataPoints x__)- (Control.DeepSeq.deepseq- (_IntHistogram'aggregationTemporality x__) ()))-{- | Fields :- - * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.labels' @:: Lens' IntHistogramDataPoint [Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue]@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.vec'labels' @:: Lens' IntHistogramDataPoint (Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue)@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.startTimeUnixNano' @:: Lens' IntHistogramDataPoint Data.Word.Word64@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.timeUnixNano' @:: Lens' IntHistogramDataPoint Data.Word.Word64@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.count' @:: Lens' IntHistogramDataPoint Data.Word.Word64@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.sum' @:: Lens' IntHistogramDataPoint Data.Int.Int64@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.bucketCounts' @:: Lens' IntHistogramDataPoint [Data.Word.Word64]@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.vec'bucketCounts' @:: Lens' IntHistogramDataPoint (Data.Vector.Unboxed.Vector Data.Word.Word64)@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.explicitBounds' @:: Lens' IntHistogramDataPoint [Prelude.Double]@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.vec'explicitBounds' @:: Lens' IntHistogramDataPoint (Data.Vector.Unboxed.Vector Prelude.Double)@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.exemplars' @:: Lens' IntHistogramDataPoint [IntExemplar]@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.vec'exemplars' @:: Lens' IntHistogramDataPoint (Data.Vector.Vector IntExemplar)@ -}-data IntHistogramDataPoint- = IntHistogramDataPoint'_constructor {_IntHistogramDataPoint'labels :: !(Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue),- _IntHistogramDataPoint'startTimeUnixNano :: !Data.Word.Word64,- _IntHistogramDataPoint'timeUnixNano :: !Data.Word.Word64,- _IntHistogramDataPoint'count :: !Data.Word.Word64,- _IntHistogramDataPoint'sum :: !Data.Int.Int64,- _IntHistogramDataPoint'bucketCounts :: !(Data.Vector.Unboxed.Vector Data.Word.Word64),- _IntHistogramDataPoint'explicitBounds :: !(Data.Vector.Unboxed.Vector Prelude.Double),- _IntHistogramDataPoint'exemplars :: !(Data.Vector.Vector IntExemplar),- _IntHistogramDataPoint'_unknownFields :: !Data.ProtoLens.FieldSet}- deriving stock (Prelude.Eq, Prelude.Ord)-instance Prelude.Show IntHistogramDataPoint where- showsPrec _ __x __s- = Prelude.showChar- '{'- (Prelude.showString- (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))-instance Data.ProtoLens.Field.HasField IntHistogramDataPoint "labels" [Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue] where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _IntHistogramDataPoint'labels- (\ x__ y__ -> x__ {_IntHistogramDataPoint'labels = y__}))- (Lens.Family2.Unchecked.lens- Data.Vector.Generic.toList- (\ _ y__ -> Data.Vector.Generic.fromList y__))-instance Data.ProtoLens.Field.HasField IntHistogramDataPoint "vec'labels" (Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _IntHistogramDataPoint'labels- (\ x__ y__ -> x__ {_IntHistogramDataPoint'labels = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField IntHistogramDataPoint "startTimeUnixNano" Data.Word.Word64 where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _IntHistogramDataPoint'startTimeUnixNano- (\ x__ y__- -> x__ {_IntHistogramDataPoint'startTimeUnixNano = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField IntHistogramDataPoint "timeUnixNano" Data.Word.Word64 where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _IntHistogramDataPoint'timeUnixNano- (\ x__ y__ -> x__ {_IntHistogramDataPoint'timeUnixNano = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField IntHistogramDataPoint "count" Data.Word.Word64 where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _IntHistogramDataPoint'count- (\ x__ y__ -> x__ {_IntHistogramDataPoint'count = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField IntHistogramDataPoint "sum" Data.Int.Int64 where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _IntHistogramDataPoint'sum- (\ x__ y__ -> x__ {_IntHistogramDataPoint'sum = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField IntHistogramDataPoint "bucketCounts" [Data.Word.Word64] where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _IntHistogramDataPoint'bucketCounts- (\ x__ y__ -> x__ {_IntHistogramDataPoint'bucketCounts = y__}))- (Lens.Family2.Unchecked.lens- Data.Vector.Generic.toList- (\ _ y__ -> Data.Vector.Generic.fromList y__))-instance Data.ProtoLens.Field.HasField IntHistogramDataPoint "vec'bucketCounts" (Data.Vector.Unboxed.Vector Data.Word.Word64) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _IntHistogramDataPoint'bucketCounts- (\ x__ y__ -> x__ {_IntHistogramDataPoint'bucketCounts = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField IntHistogramDataPoint "explicitBounds" [Prelude.Double] where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _IntHistogramDataPoint'explicitBounds- (\ x__ y__ -> x__ {_IntHistogramDataPoint'explicitBounds = y__}))- (Lens.Family2.Unchecked.lens- Data.Vector.Generic.toList- (\ _ y__ -> Data.Vector.Generic.fromList y__))-instance Data.ProtoLens.Field.HasField IntHistogramDataPoint "vec'explicitBounds" (Data.Vector.Unboxed.Vector Prelude.Double) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _IntHistogramDataPoint'explicitBounds- (\ x__ y__ -> x__ {_IntHistogramDataPoint'explicitBounds = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField IntHistogramDataPoint "exemplars" [IntExemplar] where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _IntHistogramDataPoint'exemplars- (\ x__ y__ -> x__ {_IntHistogramDataPoint'exemplars = y__}))- (Lens.Family2.Unchecked.lens- Data.Vector.Generic.toList- (\ _ y__ -> Data.Vector.Generic.fromList y__))-instance Data.ProtoLens.Field.HasField IntHistogramDataPoint "vec'exemplars" (Data.Vector.Vector IntExemplar) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _IntHistogramDataPoint'exemplars- (\ x__ y__ -> x__ {_IntHistogramDataPoint'exemplars = y__}))- Prelude.id-instance Data.ProtoLens.Message IntHistogramDataPoint where- messageName _- = Data.Text.pack- "opentelemetry.proto.metrics.v1.IntHistogramDataPoint"- packedMessageDescriptor _- = "\n\- \\NAKIntHistogramDataPoint\DC2E\n\- \\ACKlabels\CAN\SOH \ETX(\v2-.opentelemetry.proto.common.v1.StringKeyValueR\ACKlabels\DC2/\n\- \\DC4start_time_unix_nano\CAN\STX \SOH(\ACKR\DC1startTimeUnixNano\DC2$\n\- \\SOtime_unix_nano\CAN\ETX \SOH(\ACKR\ftimeUnixNano\DC2\DC4\n\- \\ENQcount\CAN\EOT \SOH(\ACKR\ENQcount\DC2\DLE\n\- \\ETXsum\CAN\ENQ \SOH(\DLER\ETXsum\DC2#\n\- \\rbucket_counts\CAN\ACK \ETX(\ACKR\fbucketCounts\DC2'\n\- \\SIexplicit_bounds\CAN\a \ETX(\SOHR\SOexplicitBounds\DC2I\n\- \\texemplars\CAN\b \ETX(\v2+.opentelemetry.proto.metrics.v1.IntExemplarR\texemplars:\STX\CAN\SOH"- packedFileDescriptor _ = packedFileDescriptor- fieldsByTag- = let- labels__field_descriptor- = Data.ProtoLens.FieldDescriptor- "labels"- (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::- Data.ProtoLens.FieldTypeDescriptor Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue)- (Data.ProtoLens.RepeatedField- Data.ProtoLens.Unpacked (Data.ProtoLens.Field.field @"labels")) ::- Data.ProtoLens.FieldDescriptor IntHistogramDataPoint- startTimeUnixNano__field_descriptor- = Data.ProtoLens.FieldDescriptor- "start_time_unix_nano"- (Data.ProtoLens.ScalarField Data.ProtoLens.Fixed64Field ::- Data.ProtoLens.FieldTypeDescriptor Data.Word.Word64)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional- (Data.ProtoLens.Field.field @"startTimeUnixNano")) ::- Data.ProtoLens.FieldDescriptor IntHistogramDataPoint- timeUnixNano__field_descriptor- = Data.ProtoLens.FieldDescriptor- "time_unix_nano"- (Data.ProtoLens.ScalarField Data.ProtoLens.Fixed64Field ::- Data.ProtoLens.FieldTypeDescriptor Data.Word.Word64)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional- (Data.ProtoLens.Field.field @"timeUnixNano")) ::- Data.ProtoLens.FieldDescriptor IntHistogramDataPoint- count__field_descriptor- = Data.ProtoLens.FieldDescriptor- "count"- (Data.ProtoLens.ScalarField Data.ProtoLens.Fixed64Field ::- Data.ProtoLens.FieldTypeDescriptor Data.Word.Word64)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"count")) ::- Data.ProtoLens.FieldDescriptor IntHistogramDataPoint- sum__field_descriptor- = Data.ProtoLens.FieldDescriptor- "sum"- (Data.ProtoLens.ScalarField Data.ProtoLens.SFixed64Field ::- Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"sum")) ::- Data.ProtoLens.FieldDescriptor IntHistogramDataPoint- bucketCounts__field_descriptor- = Data.ProtoLens.FieldDescriptor- "bucket_counts"- (Data.ProtoLens.ScalarField Data.ProtoLens.Fixed64Field ::- Data.ProtoLens.FieldTypeDescriptor Data.Word.Word64)- (Data.ProtoLens.RepeatedField- Data.ProtoLens.Packed- (Data.ProtoLens.Field.field @"bucketCounts")) ::- Data.ProtoLens.FieldDescriptor IntHistogramDataPoint- explicitBounds__field_descriptor- = Data.ProtoLens.FieldDescriptor- "explicit_bounds"- (Data.ProtoLens.ScalarField Data.ProtoLens.DoubleField ::- Data.ProtoLens.FieldTypeDescriptor Prelude.Double)- (Data.ProtoLens.RepeatedField- Data.ProtoLens.Packed- (Data.ProtoLens.Field.field @"explicitBounds")) ::- Data.ProtoLens.FieldDescriptor IntHistogramDataPoint- exemplars__field_descriptor- = Data.ProtoLens.FieldDescriptor- "exemplars"- (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::- Data.ProtoLens.FieldTypeDescriptor IntExemplar)- (Data.ProtoLens.RepeatedField- Data.ProtoLens.Unpacked- (Data.ProtoLens.Field.field @"exemplars")) ::- Data.ProtoLens.FieldDescriptor IntHistogramDataPoint- in- Data.Map.fromList- [(Data.ProtoLens.Tag 1, labels__field_descriptor),- (Data.ProtoLens.Tag 2, startTimeUnixNano__field_descriptor),- (Data.ProtoLens.Tag 3, timeUnixNano__field_descriptor),- (Data.ProtoLens.Tag 4, count__field_descriptor),- (Data.ProtoLens.Tag 5, sum__field_descriptor),- (Data.ProtoLens.Tag 6, bucketCounts__field_descriptor),- (Data.ProtoLens.Tag 7, explicitBounds__field_descriptor),- (Data.ProtoLens.Tag 8, exemplars__field_descriptor)]- unknownFields- = Lens.Family2.Unchecked.lens- _IntHistogramDataPoint'_unknownFields- (\ x__ y__ -> x__ {_IntHistogramDataPoint'_unknownFields = y__})- defMessage- = IntHistogramDataPoint'_constructor- {_IntHistogramDataPoint'labels = Data.Vector.Generic.empty,- _IntHistogramDataPoint'startTimeUnixNano = Data.ProtoLens.fieldDefault,- _IntHistogramDataPoint'timeUnixNano = Data.ProtoLens.fieldDefault,- _IntHistogramDataPoint'count = Data.ProtoLens.fieldDefault,- _IntHistogramDataPoint'sum = Data.ProtoLens.fieldDefault,- _IntHistogramDataPoint'bucketCounts = Data.Vector.Generic.empty,- _IntHistogramDataPoint'explicitBounds = Data.Vector.Generic.empty,- _IntHistogramDataPoint'exemplars = Data.Vector.Generic.empty,- _IntHistogramDataPoint'_unknownFields = []}- parseMessage- = let- loop ::- IntHistogramDataPoint- -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Unboxed.Vector Data.ProtoLens.Encoding.Growing.RealWorld Data.Word.Word64- -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld IntExemplar- -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Unboxed.Vector Data.ProtoLens.Encoding.Growing.RealWorld Prelude.Double- -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue- -> Data.ProtoLens.Encoding.Bytes.Parser IntHistogramDataPoint- loop- x- mutable'bucketCounts- mutable'exemplars- mutable'explicitBounds- mutable'labels- = do end <- Data.ProtoLens.Encoding.Bytes.atEnd- if end then- do frozen'bucketCounts <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.unsafeFreeze- mutable'bucketCounts)- frozen'exemplars <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.unsafeFreeze- mutable'exemplars)- frozen'explicitBounds <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.unsafeFreeze- mutable'explicitBounds)- frozen'labels <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.unsafeFreeze- mutable'labels)- (let missing = []- in- if Prelude.null missing then- Prelude.return ()- else- Prelude.fail- ((Prelude.++)- "Missing required fields: "- (Prelude.show (missing :: [Prelude.String]))))- Prelude.return- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)- (Lens.Family2.set- (Data.ProtoLens.Field.field @"vec'bucketCounts")- frozen'bucketCounts- (Lens.Family2.set- (Data.ProtoLens.Field.field @"vec'exemplars") frozen'exemplars- (Lens.Family2.set- (Data.ProtoLens.Field.field @"vec'explicitBounds")- frozen'explicitBounds- (Lens.Family2.set- (Data.ProtoLens.Field.field @"vec'labels") frozen'labels- x)))))- else- do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt- case tag of- 10- -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len)- Data.ProtoLens.parseMessage)- "labels"- v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.append mutable'labels y)- loop- x mutable'bucketCounts mutable'exemplars mutable'explicitBounds v- 17- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- Data.ProtoLens.Encoding.Bytes.getFixed64- "start_time_unix_nano"- loop- (Lens.Family2.set- (Data.ProtoLens.Field.field @"startTimeUnixNano") y x)- mutable'bucketCounts mutable'exemplars mutable'explicitBounds- mutable'labels- 25- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- Data.ProtoLens.Encoding.Bytes.getFixed64 "time_unix_nano"- loop- (Lens.Family2.set- (Data.ProtoLens.Field.field @"timeUnixNano") y x)- mutable'bucketCounts mutable'exemplars mutable'explicitBounds- mutable'labels- 33- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- Data.ProtoLens.Encoding.Bytes.getFixed64 "count"- loop- (Lens.Family2.set (Data.ProtoLens.Field.field @"count") y x)- mutable'bucketCounts mutable'exemplars mutable'explicitBounds- mutable'labels- 41- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (Prelude.fmap- Prelude.fromIntegral- Data.ProtoLens.Encoding.Bytes.getFixed64)- "sum"- loop- (Lens.Family2.set (Data.ProtoLens.Field.field @"sum") y x)- mutable'bucketCounts mutable'exemplars mutable'explicitBounds- mutable'labels- 49- -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)- Data.ProtoLens.Encoding.Bytes.getFixed64 "bucket_counts"- v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.append- mutable'bucketCounts y)- loop x v mutable'exemplars mutable'explicitBounds mutable'labels- 50- -> do y <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len)- ((let- ploop qs- = do packedEnd <- Data.ProtoLens.Encoding.Bytes.atEnd- if packedEnd then- Prelude.return qs- else- do !q <- (Data.ProtoLens.Encoding.Bytes.<?>)- Data.ProtoLens.Encoding.Bytes.getFixed64- "bucket_counts"- qs' <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.append- qs q)- ploop qs'- in ploop)- mutable'bucketCounts)- loop x y mutable'exemplars mutable'explicitBounds mutable'labels- 57- -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (Prelude.fmap- Data.ProtoLens.Encoding.Bytes.wordToDouble- Data.ProtoLens.Encoding.Bytes.getFixed64)- "explicit_bounds"- v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.append- mutable'explicitBounds y)- loop x mutable'bucketCounts mutable'exemplars v mutable'labels- 58- -> do y <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len)- ((let- ploop qs- = do packedEnd <- Data.ProtoLens.Encoding.Bytes.atEnd- if packedEnd then- Prelude.return qs- else- do !q <- (Data.ProtoLens.Encoding.Bytes.<?>)- (Prelude.fmap- Data.ProtoLens.Encoding.Bytes.wordToDouble- Data.ProtoLens.Encoding.Bytes.getFixed64)- "explicit_bounds"- qs' <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.append- qs q)- ploop qs'- in ploop)- mutable'explicitBounds)- loop x mutable'bucketCounts mutable'exemplars y mutable'labels- 66- -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len)- Data.ProtoLens.parseMessage)- "exemplars"- v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.append mutable'exemplars y)- loop x mutable'bucketCounts v mutable'explicitBounds mutable'labels- wire- -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire- wire- loop- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)- mutable'bucketCounts mutable'exemplars mutable'explicitBounds- mutable'labels- in- (Data.ProtoLens.Encoding.Bytes.<?>)- (do mutable'bucketCounts <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- Data.ProtoLens.Encoding.Growing.new- mutable'exemplars <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- Data.ProtoLens.Encoding.Growing.new- mutable'explicitBounds <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- Data.ProtoLens.Encoding.Growing.new- mutable'labels <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- Data.ProtoLens.Encoding.Growing.new- loop- Data.ProtoLens.defMessage mutable'bucketCounts mutable'exemplars- mutable'explicitBounds mutable'labels)- "IntHistogramDataPoint"- buildMessage- = \ _x- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.foldMapBuilder- (\ _v- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 10)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.ProtoLens.encodeMessage _v))- (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'labels") _x))- ((Data.Monoid.<>)- (let- _v- = Lens.Family2.view- (Data.ProtoLens.Field.field @"startTimeUnixNano") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 17)- (Data.ProtoLens.Encoding.Bytes.putFixed64 _v))- ((Data.Monoid.<>)- (let- _v- = Lens.Family2.view (Data.ProtoLens.Field.field @"timeUnixNano") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 25)- (Data.ProtoLens.Encoding.Bytes.putFixed64 _v))- ((Data.Monoid.<>)- (let- _v = Lens.Family2.view (Data.ProtoLens.Field.field @"count") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 33)- (Data.ProtoLens.Encoding.Bytes.putFixed64 _v))- ((Data.Monoid.<>)- (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"sum") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 41)- ((Prelude..)- Data.ProtoLens.Encoding.Bytes.putFixed64 Prelude.fromIntegral- _v))- ((Data.Monoid.<>)- (let- p = Lens.Family2.view- (Data.ProtoLens.Field.field @"vec'bucketCounts") _x- in- if Data.Vector.Generic.null p then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 50)- ((\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- (Data.ProtoLens.Encoding.Bytes.runBuilder- (Data.ProtoLens.Encoding.Bytes.foldMapBuilder- Data.ProtoLens.Encoding.Bytes.putFixed64 p))))- ((Data.Monoid.<>)- (let- p = Lens.Family2.view- (Data.ProtoLens.Field.field @"vec'explicitBounds") _x- in- if Data.Vector.Generic.null p then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 58)- ((\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral- (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- (Data.ProtoLens.Encoding.Bytes.runBuilder- (Data.ProtoLens.Encoding.Bytes.foldMapBuilder- ((Prelude..)- Data.ProtoLens.Encoding.Bytes.putFixed64- Data.ProtoLens.Encoding.Bytes.doubleToWord)- p))))- ((Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.foldMapBuilder- (\ _v- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 66)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral- (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.ProtoLens.encodeMessage _v))- (Lens.Family2.view- (Data.ProtoLens.Field.field @"vec'exemplars") _x))- (Data.ProtoLens.Encoding.Wire.buildFieldSet- (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))))))-instance Control.DeepSeq.NFData IntHistogramDataPoint where- rnf- = \ x__- -> Control.DeepSeq.deepseq- (_IntHistogramDataPoint'_unknownFields x__)- (Control.DeepSeq.deepseq- (_IntHistogramDataPoint'labels x__)- (Control.DeepSeq.deepseq- (_IntHistogramDataPoint'startTimeUnixNano x__)- (Control.DeepSeq.deepseq- (_IntHistogramDataPoint'timeUnixNano x__)- (Control.DeepSeq.deepseq- (_IntHistogramDataPoint'count x__)- (Control.DeepSeq.deepseq- (_IntHistogramDataPoint'sum x__)- (Control.DeepSeq.deepseq- (_IntHistogramDataPoint'bucketCounts x__)- (Control.DeepSeq.deepseq- (_IntHistogramDataPoint'explicitBounds x__)- (Control.DeepSeq.deepseq- (_IntHistogramDataPoint'exemplars x__) ()))))))))-{- | Fields :- - * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.dataPoints' @:: Lens' IntSum [IntDataPoint]@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.vec'dataPoints' @:: Lens' IntSum (Data.Vector.Vector IntDataPoint)@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.aggregationTemporality' @:: Lens' IntSum AggregationTemporality@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.isMonotonic' @:: Lens' IntSum Prelude.Bool@ -}-data IntSum- = IntSum'_constructor {_IntSum'dataPoints :: !(Data.Vector.Vector IntDataPoint),- _IntSum'aggregationTemporality :: !AggregationTemporality,- _IntSum'isMonotonic :: !Prelude.Bool,- _IntSum'_unknownFields :: !Data.ProtoLens.FieldSet}- deriving stock (Prelude.Eq, Prelude.Ord)-instance Prelude.Show IntSum where- showsPrec _ __x __s- = Prelude.showChar- '{'- (Prelude.showString- (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))-instance Data.ProtoLens.Field.HasField IntSum "dataPoints" [IntDataPoint] where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _IntSum'dataPoints (\ x__ y__ -> x__ {_IntSum'dataPoints = y__}))- (Lens.Family2.Unchecked.lens- Data.Vector.Generic.toList- (\ _ y__ -> Data.Vector.Generic.fromList y__))-instance Data.ProtoLens.Field.HasField IntSum "vec'dataPoints" (Data.Vector.Vector IntDataPoint) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _IntSum'dataPoints (\ x__ y__ -> x__ {_IntSum'dataPoints = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField IntSum "aggregationTemporality" AggregationTemporality where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _IntSum'aggregationTemporality- (\ x__ y__ -> x__ {_IntSum'aggregationTemporality = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField IntSum "isMonotonic" Prelude.Bool where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _IntSum'isMonotonic (\ x__ y__ -> x__ {_IntSum'isMonotonic = y__}))- Prelude.id-instance Data.ProtoLens.Message IntSum where- messageName _- = Data.Text.pack "opentelemetry.proto.metrics.v1.IntSum"- packedMessageDescriptor _- = "\n\- \\ACKIntSum\DC2M\n\- \\vdata_points\CAN\SOH \ETX(\v2,.opentelemetry.proto.metrics.v1.IntDataPointR\n\- \dataPoints\DC2o\n\- \\ETBaggregation_temporality\CAN\STX \SOH(\SO26.opentelemetry.proto.metrics.v1.AggregationTemporalityR\SYNaggregationTemporality\DC2!\n\- \\fis_monotonic\CAN\ETX \SOH(\bR\visMonotonic:\STX\CAN\SOH"- packedFileDescriptor _ = packedFileDescriptor- fieldsByTag- = let- dataPoints__field_descriptor- = Data.ProtoLens.FieldDescriptor- "data_points"- (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::- Data.ProtoLens.FieldTypeDescriptor IntDataPoint)- (Data.ProtoLens.RepeatedField- Data.ProtoLens.Unpacked- (Data.ProtoLens.Field.field @"dataPoints")) ::- Data.ProtoLens.FieldDescriptor IntSum- aggregationTemporality__field_descriptor- = Data.ProtoLens.FieldDescriptor- "aggregation_temporality"- (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::- Data.ProtoLens.FieldTypeDescriptor AggregationTemporality)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional- (Data.ProtoLens.Field.field @"aggregationTemporality")) ::- Data.ProtoLens.FieldDescriptor IntSum- isMonotonic__field_descriptor- = Data.ProtoLens.FieldDescriptor- "is_monotonic"- (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField ::- Data.ProtoLens.FieldTypeDescriptor Prelude.Bool)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional- (Data.ProtoLens.Field.field @"isMonotonic")) ::- Data.ProtoLens.FieldDescriptor IntSum- in- Data.Map.fromList- [(Data.ProtoLens.Tag 1, dataPoints__field_descriptor),- (Data.ProtoLens.Tag 2, aggregationTemporality__field_descriptor),- (Data.ProtoLens.Tag 3, isMonotonic__field_descriptor)]- unknownFields- = Lens.Family2.Unchecked.lens- _IntSum'_unknownFields- (\ x__ y__ -> x__ {_IntSum'_unknownFields = y__})- defMessage- = IntSum'_constructor- {_IntSum'dataPoints = Data.Vector.Generic.empty,- _IntSum'aggregationTemporality = Data.ProtoLens.fieldDefault,- _IntSum'isMonotonic = Data.ProtoLens.fieldDefault,- _IntSum'_unknownFields = []}- parseMessage- = let- loop ::- IntSum- -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld IntDataPoint- -> Data.ProtoLens.Encoding.Bytes.Parser IntSum- loop x mutable'dataPoints- = do end <- Data.ProtoLens.Encoding.Bytes.atEnd- if end then- do frozen'dataPoints <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.unsafeFreeze- mutable'dataPoints)- (let missing = []- in- if Prelude.null missing then- Prelude.return ()- else- Prelude.fail- ((Prelude.++)- "Missing required fields: "- (Prelude.show (missing :: [Prelude.String]))))- Prelude.return- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)- (Lens.Family2.set- (Data.ProtoLens.Field.field @"vec'dataPoints") frozen'dataPoints- x))- else- do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt- case tag of- 10- -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len)- Data.ProtoLens.parseMessage)- "data_points"- v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.append mutable'dataPoints y)- loop x v- 16- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (Prelude.fmap- Prelude.toEnum- (Prelude.fmap- Prelude.fromIntegral- Data.ProtoLens.Encoding.Bytes.getVarInt))- "aggregation_temporality"- loop- (Lens.Family2.set- (Data.ProtoLens.Field.field @"aggregationTemporality") y x)- mutable'dataPoints- 24- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (Prelude.fmap- ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt)- "is_monotonic"- loop- (Lens.Family2.set (Data.ProtoLens.Field.field @"isMonotonic") y x)- mutable'dataPoints- wire- -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire- wire- loop- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)- mutable'dataPoints- in- (Data.ProtoLens.Encoding.Bytes.<?>)- (do mutable'dataPoints <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- Data.ProtoLens.Encoding.Growing.new- loop Data.ProtoLens.defMessage mutable'dataPoints)- "IntSum"- buildMessage- = \ _x- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.foldMapBuilder- (\ _v- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 10)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.ProtoLens.encodeMessage _v))- (Lens.Family2.view- (Data.ProtoLens.Field.field @"vec'dataPoints") _x))- ((Data.Monoid.<>)- (let- _v- = Lens.Family2.view- (Data.ProtoLens.Field.field @"aggregationTemporality") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 16)- ((Prelude..)- ((Prelude..)- Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)- Prelude.fromEnum _v))- ((Data.Monoid.<>)- (let- _v- = Lens.Family2.view (Data.ProtoLens.Field.field @"isMonotonic") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 24)- ((Prelude..)- Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0)- _v))- (Data.ProtoLens.Encoding.Wire.buildFieldSet- (Lens.Family2.view Data.ProtoLens.unknownFields _x))))-instance Control.DeepSeq.NFData IntSum where- rnf- = \ x__- -> Control.DeepSeq.deepseq- (_IntSum'_unknownFields x__)- (Control.DeepSeq.deepseq- (_IntSum'dataPoints x__)- (Control.DeepSeq.deepseq- (_IntSum'aggregationTemporality x__)- (Control.DeepSeq.deepseq (_IntSum'isMonotonic x__) ())))-{- | Fields :- - * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.name' @:: Lens' Metric Data.Text.Text@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.description' @:: Lens' Metric Data.Text.Text@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.unit' @:: Lens' Metric Data.Text.Text@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.maybe'data'' @:: Lens' Metric (Prelude.Maybe Metric'Data)@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.maybe'intGauge' @:: Lens' Metric (Prelude.Maybe IntGauge)@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.intGauge' @:: Lens' Metric IntGauge@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.maybe'gauge' @:: Lens' Metric (Prelude.Maybe Gauge)@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.gauge' @:: Lens' Metric Gauge@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.maybe'intSum' @:: Lens' Metric (Prelude.Maybe IntSum)@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.intSum' @:: Lens' Metric IntSum@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.maybe'sum' @:: Lens' Metric (Prelude.Maybe Sum)@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.sum' @:: Lens' Metric Sum@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.maybe'intHistogram' @:: Lens' Metric (Prelude.Maybe IntHistogram)@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.intHistogram' @:: Lens' Metric IntHistogram@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.maybe'histogram' @:: Lens' Metric (Prelude.Maybe Histogram)@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.histogram' @:: Lens' Metric Histogram@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.maybe'exponentialHistogram' @:: Lens' Metric (Prelude.Maybe ExponentialHistogram)@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.exponentialHistogram' @:: Lens' Metric ExponentialHistogram@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.maybe'summary' @:: Lens' Metric (Prelude.Maybe Summary)@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.summary' @:: Lens' Metric Summary@ -}-data Metric- = Metric'_constructor {_Metric'name :: !Data.Text.Text,- _Metric'description :: !Data.Text.Text,- _Metric'unit :: !Data.Text.Text,- _Metric'data' :: !(Prelude.Maybe Metric'Data),- _Metric'_unknownFields :: !Data.ProtoLens.FieldSet}- deriving stock (Prelude.Eq, Prelude.Ord)-instance Prelude.Show Metric where- showsPrec _ __x __s- = Prelude.showChar- '{'- (Prelude.showString- (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))-data Metric'Data- = Metric'IntGauge !IntGauge |- Metric'Gauge !Gauge |- Metric'IntSum !IntSum |- Metric'Sum !Sum |- Metric'IntHistogram !IntHistogram |- Metric'Histogram !Histogram |- Metric'ExponentialHistogram !ExponentialHistogram |- Metric'Summary !Summary- deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)-instance Data.ProtoLens.Field.HasField Metric "name" Data.Text.Text where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Metric'name (\ x__ y__ -> x__ {_Metric'name = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField Metric "description" Data.Text.Text where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Metric'description (\ x__ y__ -> x__ {_Metric'description = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField Metric "unit" Data.Text.Text where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Metric'unit (\ x__ y__ -> x__ {_Metric'unit = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField Metric "maybe'data'" (Prelude.Maybe Metric'Data) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Metric'data' (\ x__ y__ -> x__ {_Metric'data' = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField Metric "maybe'intGauge" (Prelude.Maybe IntGauge) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Metric'data' (\ x__ y__ -> x__ {_Metric'data' = y__}))- (Lens.Family2.Unchecked.lens- (\ x__- -> case x__ of- (Prelude.Just (Metric'IntGauge x__val)) -> Prelude.Just x__val- _otherwise -> Prelude.Nothing)- (\ _ y__ -> Prelude.fmap Metric'IntGauge y__))-instance Data.ProtoLens.Field.HasField Metric "intGauge" IntGauge where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Metric'data' (\ x__ y__ -> x__ {_Metric'data' = y__}))- ((Prelude..)- (Lens.Family2.Unchecked.lens- (\ x__- -> case x__ of- (Prelude.Just (Metric'IntGauge x__val)) -> Prelude.Just x__val- _otherwise -> Prelude.Nothing)- (\ _ y__ -> Prelude.fmap Metric'IntGauge y__))- (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))-instance Data.ProtoLens.Field.HasField Metric "maybe'gauge" (Prelude.Maybe Gauge) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Metric'data' (\ x__ y__ -> x__ {_Metric'data' = y__}))- (Lens.Family2.Unchecked.lens- (\ x__- -> case x__ of- (Prelude.Just (Metric'Gauge x__val)) -> Prelude.Just x__val- _otherwise -> Prelude.Nothing)- (\ _ y__ -> Prelude.fmap Metric'Gauge y__))-instance Data.ProtoLens.Field.HasField Metric "gauge" Gauge where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Metric'data' (\ x__ y__ -> x__ {_Metric'data' = y__}))- ((Prelude..)- (Lens.Family2.Unchecked.lens- (\ x__- -> case x__ of- (Prelude.Just (Metric'Gauge x__val)) -> Prelude.Just x__val- _otherwise -> Prelude.Nothing)- (\ _ y__ -> Prelude.fmap Metric'Gauge y__))- (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))-instance Data.ProtoLens.Field.HasField Metric "maybe'intSum" (Prelude.Maybe IntSum) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Metric'data' (\ x__ y__ -> x__ {_Metric'data' = y__}))- (Lens.Family2.Unchecked.lens- (\ x__- -> case x__ of- (Prelude.Just (Metric'IntSum x__val)) -> Prelude.Just x__val- _otherwise -> Prelude.Nothing)- (\ _ y__ -> Prelude.fmap Metric'IntSum y__))-instance Data.ProtoLens.Field.HasField Metric "intSum" IntSum where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Metric'data' (\ x__ y__ -> x__ {_Metric'data' = y__}))- ((Prelude..)- (Lens.Family2.Unchecked.lens- (\ x__- -> case x__ of- (Prelude.Just (Metric'IntSum x__val)) -> Prelude.Just x__val- _otherwise -> Prelude.Nothing)- (\ _ y__ -> Prelude.fmap Metric'IntSum y__))- (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))-instance Data.ProtoLens.Field.HasField Metric "maybe'sum" (Prelude.Maybe Sum) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Metric'data' (\ x__ y__ -> x__ {_Metric'data' = y__}))- (Lens.Family2.Unchecked.lens- (\ x__- -> case x__ of- (Prelude.Just (Metric'Sum x__val)) -> Prelude.Just x__val- _otherwise -> Prelude.Nothing)- (\ _ y__ -> Prelude.fmap Metric'Sum y__))-instance Data.ProtoLens.Field.HasField Metric "sum" Sum where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Metric'data' (\ x__ y__ -> x__ {_Metric'data' = y__}))- ((Prelude..)- (Lens.Family2.Unchecked.lens- (\ x__- -> case x__ of- (Prelude.Just (Metric'Sum x__val)) -> Prelude.Just x__val- _otherwise -> Prelude.Nothing)- (\ _ y__ -> Prelude.fmap Metric'Sum y__))- (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))-instance Data.ProtoLens.Field.HasField Metric "maybe'intHistogram" (Prelude.Maybe IntHistogram) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Metric'data' (\ x__ y__ -> x__ {_Metric'data' = y__}))- (Lens.Family2.Unchecked.lens- (\ x__- -> case x__ of- (Prelude.Just (Metric'IntHistogram x__val)) -> Prelude.Just x__val- _otherwise -> Prelude.Nothing)- (\ _ y__ -> Prelude.fmap Metric'IntHistogram y__))-instance Data.ProtoLens.Field.HasField Metric "intHistogram" IntHistogram where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Metric'data' (\ x__ y__ -> x__ {_Metric'data' = y__}))- ((Prelude..)- (Lens.Family2.Unchecked.lens- (\ x__- -> case x__ of- (Prelude.Just (Metric'IntHistogram x__val)) -> Prelude.Just x__val- _otherwise -> Prelude.Nothing)- (\ _ y__ -> Prelude.fmap Metric'IntHistogram y__))- (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))-instance Data.ProtoLens.Field.HasField Metric "maybe'histogram" (Prelude.Maybe Histogram) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Metric'data' (\ x__ y__ -> x__ {_Metric'data' = y__}))- (Lens.Family2.Unchecked.lens- (\ x__- -> case x__ of- (Prelude.Just (Metric'Histogram x__val)) -> Prelude.Just x__val- _otherwise -> Prelude.Nothing)- (\ _ y__ -> Prelude.fmap Metric'Histogram y__))-instance Data.ProtoLens.Field.HasField Metric "histogram" Histogram where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Metric'data' (\ x__ y__ -> x__ {_Metric'data' = y__}))- ((Prelude..)- (Lens.Family2.Unchecked.lens- (\ x__- -> case x__ of- (Prelude.Just (Metric'Histogram x__val)) -> Prelude.Just x__val- _otherwise -> Prelude.Nothing)- (\ _ y__ -> Prelude.fmap Metric'Histogram y__))- (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))-instance Data.ProtoLens.Field.HasField Metric "maybe'exponentialHistogram" (Prelude.Maybe ExponentialHistogram) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Metric'data' (\ x__ y__ -> x__ {_Metric'data' = y__}))- (Lens.Family2.Unchecked.lens- (\ x__- -> case x__ of- (Prelude.Just (Metric'ExponentialHistogram x__val))- -> Prelude.Just x__val- _otherwise -> Prelude.Nothing)- (\ _ y__ -> Prelude.fmap Metric'ExponentialHistogram y__))-instance Data.ProtoLens.Field.HasField Metric "exponentialHistogram" ExponentialHistogram where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Metric'data' (\ x__ y__ -> x__ {_Metric'data' = y__}))- ((Prelude..)- (Lens.Family2.Unchecked.lens- (\ x__- -> case x__ of- (Prelude.Just (Metric'ExponentialHistogram x__val))- -> Prelude.Just x__val- _otherwise -> Prelude.Nothing)- (\ _ y__ -> Prelude.fmap Metric'ExponentialHistogram y__))- (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))-instance Data.ProtoLens.Field.HasField Metric "maybe'summary" (Prelude.Maybe Summary) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Metric'data' (\ x__ y__ -> x__ {_Metric'data' = y__}))- (Lens.Family2.Unchecked.lens- (\ x__- -> case x__ of- (Prelude.Just (Metric'Summary x__val)) -> Prelude.Just x__val- _otherwise -> Prelude.Nothing)- (\ _ y__ -> Prelude.fmap Metric'Summary y__))-instance Data.ProtoLens.Field.HasField Metric "summary" Summary where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Metric'data' (\ x__ y__ -> x__ {_Metric'data' = y__}))- ((Prelude..)- (Lens.Family2.Unchecked.lens- (\ x__- -> case x__ of- (Prelude.Just (Metric'Summary x__val)) -> Prelude.Just x__val- _otherwise -> Prelude.Nothing)- (\ _ y__ -> Prelude.fmap Metric'Summary y__))- (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))-instance Data.ProtoLens.Message Metric where- messageName _- = Data.Text.pack "opentelemetry.proto.metrics.v1.Metric"- packedMessageDescriptor _- = "\n\- \\ACKMetric\DC2\DC2\n\- \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC2 \n\- \\vdescription\CAN\STX \SOH(\tR\vdescription\DC2\DC2\n\- \\EOTunit\CAN\ETX \SOH(\tR\EOTunit\DC2K\n\- \\tint_gauge\CAN\EOT \SOH(\v2(.opentelemetry.proto.metrics.v1.IntGaugeH\NULR\bintGaugeB\STX\CAN\SOH\DC2=\n\- \\ENQgauge\CAN\ENQ \SOH(\v2%.opentelemetry.proto.metrics.v1.GaugeH\NULR\ENQgauge\DC2E\n\- \\aint_sum\CAN\ACK \SOH(\v2&.opentelemetry.proto.metrics.v1.IntSumH\NULR\ACKintSumB\STX\CAN\SOH\DC27\n\- \\ETXsum\CAN\a \SOH(\v2#.opentelemetry.proto.metrics.v1.SumH\NULR\ETXsum\DC2W\n\- \\rint_histogram\CAN\b \SOH(\v2,.opentelemetry.proto.metrics.v1.IntHistogramH\NULR\fintHistogramB\STX\CAN\SOH\DC2I\n\- \\thistogram\CAN\t \SOH(\v2).opentelemetry.proto.metrics.v1.HistogramH\NULR\thistogram\DC2k\n\- \\NAKexponential_histogram\CAN\n\- \ \SOH(\v24.opentelemetry.proto.metrics.v1.ExponentialHistogramH\NULR\DC4exponentialHistogram\DC2C\n\- \\asummary\CAN\v \SOH(\v2'.opentelemetry.proto.metrics.v1.SummaryH\NULR\asummaryB\ACK\n\- \\EOTdata"- packedFileDescriptor _ = packedFileDescriptor- fieldsByTag- = let- name__field_descriptor- = Data.ProtoLens.FieldDescriptor- "name"- (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::- Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"name")) ::- Data.ProtoLens.FieldDescriptor Metric- description__field_descriptor- = Data.ProtoLens.FieldDescriptor- "description"- (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::- Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional- (Data.ProtoLens.Field.field @"description")) ::- Data.ProtoLens.FieldDescriptor Metric- unit__field_descriptor- = Data.ProtoLens.FieldDescriptor- "unit"- (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::- Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"unit")) ::- Data.ProtoLens.FieldDescriptor Metric- intGauge__field_descriptor- = Data.ProtoLens.FieldDescriptor- "int_gauge"- (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::- Data.ProtoLens.FieldTypeDescriptor IntGauge)- (Data.ProtoLens.OptionalField- (Data.ProtoLens.Field.field @"maybe'intGauge")) ::- Data.ProtoLens.FieldDescriptor Metric- gauge__field_descriptor- = Data.ProtoLens.FieldDescriptor- "gauge"- (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::- Data.ProtoLens.FieldTypeDescriptor Gauge)- (Data.ProtoLens.OptionalField- (Data.ProtoLens.Field.field @"maybe'gauge")) ::- Data.ProtoLens.FieldDescriptor Metric- intSum__field_descriptor- = Data.ProtoLens.FieldDescriptor- "int_sum"- (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::- Data.ProtoLens.FieldTypeDescriptor IntSum)- (Data.ProtoLens.OptionalField- (Data.ProtoLens.Field.field @"maybe'intSum")) ::- Data.ProtoLens.FieldDescriptor Metric- sum__field_descriptor- = Data.ProtoLens.FieldDescriptor- "sum"- (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::- Data.ProtoLens.FieldTypeDescriptor Sum)- (Data.ProtoLens.OptionalField- (Data.ProtoLens.Field.field @"maybe'sum")) ::- Data.ProtoLens.FieldDescriptor Metric- intHistogram__field_descriptor- = Data.ProtoLens.FieldDescriptor- "int_histogram"- (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::- Data.ProtoLens.FieldTypeDescriptor IntHistogram)- (Data.ProtoLens.OptionalField- (Data.ProtoLens.Field.field @"maybe'intHistogram")) ::- Data.ProtoLens.FieldDescriptor Metric- histogram__field_descriptor- = Data.ProtoLens.FieldDescriptor- "histogram"- (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::- Data.ProtoLens.FieldTypeDescriptor Histogram)- (Data.ProtoLens.OptionalField- (Data.ProtoLens.Field.field @"maybe'histogram")) ::- Data.ProtoLens.FieldDescriptor Metric- exponentialHistogram__field_descriptor- = Data.ProtoLens.FieldDescriptor- "exponential_histogram"- (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::- Data.ProtoLens.FieldTypeDescriptor ExponentialHistogram)- (Data.ProtoLens.OptionalField- (Data.ProtoLens.Field.field @"maybe'exponentialHistogram")) ::- Data.ProtoLens.FieldDescriptor Metric- summary__field_descriptor- = Data.ProtoLens.FieldDescriptor- "summary"- (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::- Data.ProtoLens.FieldTypeDescriptor Summary)- (Data.ProtoLens.OptionalField- (Data.ProtoLens.Field.field @"maybe'summary")) ::- Data.ProtoLens.FieldDescriptor Metric- in- Data.Map.fromList- [(Data.ProtoLens.Tag 1, name__field_descriptor),- (Data.ProtoLens.Tag 2, description__field_descriptor),- (Data.ProtoLens.Tag 3, unit__field_descriptor),- (Data.ProtoLens.Tag 4, intGauge__field_descriptor),- (Data.ProtoLens.Tag 5, gauge__field_descriptor),- (Data.ProtoLens.Tag 6, intSum__field_descriptor),- (Data.ProtoLens.Tag 7, sum__field_descriptor),- (Data.ProtoLens.Tag 8, intHistogram__field_descriptor),- (Data.ProtoLens.Tag 9, histogram__field_descriptor),- (Data.ProtoLens.Tag 10, exponentialHistogram__field_descriptor),- (Data.ProtoLens.Tag 11, summary__field_descriptor)]- unknownFields- = Lens.Family2.Unchecked.lens- _Metric'_unknownFields- (\ x__ y__ -> x__ {_Metric'_unknownFields = y__})- defMessage- = Metric'_constructor- {_Metric'name = Data.ProtoLens.fieldDefault,- _Metric'description = Data.ProtoLens.fieldDefault,- _Metric'unit = Data.ProtoLens.fieldDefault,- _Metric'data' = Prelude.Nothing, _Metric'_unknownFields = []}- parseMessage- = let- loop :: Metric -> Data.ProtoLens.Encoding.Bytes.Parser Metric- loop x- = do end <- Data.ProtoLens.Encoding.Bytes.atEnd- if end then- do (let missing = []- in- if Prelude.null missing then- Prelude.return ()- else- Prelude.fail- ((Prelude.++)- "Missing required fields: "- (Prelude.show (missing :: [Prelude.String]))))- Prelude.return- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)- else- do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt- case tag of- 10- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do value <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.getBytes- (Prelude.fromIntegral len)- Data.ProtoLens.Encoding.Bytes.runEither- (case Data.Text.Encoding.decodeUtf8' value of- (Prelude.Left err)- -> Prelude.Left (Prelude.show err)- (Prelude.Right r) -> Prelude.Right r))- "name"- loop (Lens.Family2.set (Data.ProtoLens.Field.field @"name") y x)- 18- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do value <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.getBytes- (Prelude.fromIntegral len)- Data.ProtoLens.Encoding.Bytes.runEither- (case Data.Text.Encoding.decodeUtf8' value of- (Prelude.Left err)- -> Prelude.Left (Prelude.show err)- (Prelude.Right r) -> Prelude.Right r))- "description"- loop- (Lens.Family2.set (Data.ProtoLens.Field.field @"description") y x)- 26- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do value <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.getBytes- (Prelude.fromIntegral len)- Data.ProtoLens.Encoding.Bytes.runEither- (case Data.Text.Encoding.decodeUtf8' value of- (Prelude.Left err)- -> Prelude.Left (Prelude.show err)- (Prelude.Right r) -> Prelude.Right r))- "unit"- loop (Lens.Family2.set (Data.ProtoLens.Field.field @"unit") y x)- 34- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)- "int_gauge"- loop- (Lens.Family2.set (Data.ProtoLens.Field.field @"intGauge") y x)- 42- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)- "gauge"- loop (Lens.Family2.set (Data.ProtoLens.Field.field @"gauge") y x)- 50- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)- "int_sum"- loop (Lens.Family2.set (Data.ProtoLens.Field.field @"intSum") y x)- 58- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)- "sum"- loop (Lens.Family2.set (Data.ProtoLens.Field.field @"sum") y x)- 66- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)- "int_histogram"- loop- (Lens.Family2.set- (Data.ProtoLens.Field.field @"intHistogram") y x)- 74- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)- "histogram"- loop- (Lens.Family2.set (Data.ProtoLens.Field.field @"histogram") y x)- 82- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)- "exponential_histogram"- loop- (Lens.Family2.set- (Data.ProtoLens.Field.field @"exponentialHistogram") y x)- 90- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)- "summary"- loop (Lens.Family2.set (Data.ProtoLens.Field.field @"summary") y x)- wire- -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire- wire- loop- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)- in- (Data.ProtoLens.Encoding.Bytes.<?>)- (do loop Data.ProtoLens.defMessage) "Metric"- buildMessage- = \ _x- -> (Data.Monoid.<>)- (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"name") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 10)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.Text.Encoding.encodeUtf8 _v))- ((Data.Monoid.<>)- (let- _v- = Lens.Family2.view (Data.ProtoLens.Field.field @"description") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 18)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.Text.Encoding.encodeUtf8 _v))- ((Data.Monoid.<>)- (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"unit") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 26)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.Text.Encoding.encodeUtf8 _v))- ((Data.Monoid.<>)- (case- Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'data'") _x- of- Prelude.Nothing -> Data.Monoid.mempty- (Prelude.Just (Metric'IntGauge v))- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 34)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.ProtoLens.encodeMessage v)- (Prelude.Just (Metric'Gauge v))- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 42)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.ProtoLens.encodeMessage v)- (Prelude.Just (Metric'IntSum v))- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 50)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.ProtoLens.encodeMessage v)- (Prelude.Just (Metric'Sum v))- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 58)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.ProtoLens.encodeMessage v)- (Prelude.Just (Metric'IntHistogram v))- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 66)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.ProtoLens.encodeMessage v)- (Prelude.Just (Metric'Histogram v))- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 74)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.ProtoLens.encodeMessage v)- (Prelude.Just (Metric'ExponentialHistogram v))- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 82)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.ProtoLens.encodeMessage v)- (Prelude.Just (Metric'Summary v))- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 90)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.ProtoLens.encodeMessage v))- (Data.ProtoLens.Encoding.Wire.buildFieldSet- (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))-instance Control.DeepSeq.NFData Metric where- rnf- = \ x__- -> Control.DeepSeq.deepseq- (_Metric'_unknownFields x__)- (Control.DeepSeq.deepseq- (_Metric'name x__)- (Control.DeepSeq.deepseq- (_Metric'description x__)- (Control.DeepSeq.deepseq- (_Metric'unit x__)- (Control.DeepSeq.deepseq (_Metric'data' x__) ()))))-instance Control.DeepSeq.NFData Metric'Data where- rnf (Metric'IntGauge x__) = Control.DeepSeq.rnf x__- rnf (Metric'Gauge x__) = Control.DeepSeq.rnf x__- rnf (Metric'IntSum x__) = Control.DeepSeq.rnf x__- rnf (Metric'Sum x__) = Control.DeepSeq.rnf x__- rnf (Metric'IntHistogram x__) = Control.DeepSeq.rnf x__- rnf (Metric'Histogram x__) = Control.DeepSeq.rnf x__- rnf (Metric'ExponentialHistogram x__) = Control.DeepSeq.rnf x__- rnf (Metric'Summary x__) = Control.DeepSeq.rnf x__-_Metric'IntGauge ::- Data.ProtoLens.Prism.Prism' Metric'Data IntGauge-_Metric'IntGauge- = Data.ProtoLens.Prism.prism'- Metric'IntGauge- (\ p__- -> case p__ of- (Metric'IntGauge p__val) -> Prelude.Just p__val- _otherwise -> Prelude.Nothing)-_Metric'Gauge :: Data.ProtoLens.Prism.Prism' Metric'Data Gauge-_Metric'Gauge- = Data.ProtoLens.Prism.prism'- Metric'Gauge- (\ p__- -> case p__ of- (Metric'Gauge p__val) -> Prelude.Just p__val- _otherwise -> Prelude.Nothing)-_Metric'IntSum :: Data.ProtoLens.Prism.Prism' Metric'Data IntSum-_Metric'IntSum- = Data.ProtoLens.Prism.prism'- Metric'IntSum- (\ p__- -> case p__ of- (Metric'IntSum p__val) -> Prelude.Just p__val- _otherwise -> Prelude.Nothing)-_Metric'Sum :: Data.ProtoLens.Prism.Prism' Metric'Data Sum-_Metric'Sum- = Data.ProtoLens.Prism.prism'- Metric'Sum- (\ p__- -> case p__ of- (Metric'Sum p__val) -> Prelude.Just p__val- _otherwise -> Prelude.Nothing)-_Metric'IntHistogram ::- Data.ProtoLens.Prism.Prism' Metric'Data IntHistogram-_Metric'IntHistogram- = Data.ProtoLens.Prism.prism'- Metric'IntHistogram- (\ p__- -> case p__ of- (Metric'IntHistogram p__val) -> Prelude.Just p__val- _otherwise -> Prelude.Nothing)-_Metric'Histogram ::- Data.ProtoLens.Prism.Prism' Metric'Data Histogram-_Metric'Histogram- = Data.ProtoLens.Prism.prism'- Metric'Histogram- (\ p__- -> case p__ of- (Metric'Histogram p__val) -> Prelude.Just p__val- _otherwise -> Prelude.Nothing)-_Metric'ExponentialHistogram ::- Data.ProtoLens.Prism.Prism' Metric'Data ExponentialHistogram-_Metric'ExponentialHistogram- = Data.ProtoLens.Prism.prism'- Metric'ExponentialHistogram- (\ p__- -> case p__ of- (Metric'ExponentialHistogram p__val) -> Prelude.Just p__val- _otherwise -> Prelude.Nothing)-_Metric'Summary :: Data.ProtoLens.Prism.Prism' Metric'Data Summary-_Metric'Summary- = Data.ProtoLens.Prism.prism'- Metric'Summary- (\ p__- -> case p__ of- (Metric'Summary p__val) -> Prelude.Just p__val- _otherwise -> Prelude.Nothing)-{- | Fields :- - * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.resourceMetrics' @:: Lens' MetricsData [ResourceMetrics]@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.vec'resourceMetrics' @:: Lens' MetricsData (Data.Vector.Vector ResourceMetrics)@ -}-data MetricsData- = MetricsData'_constructor {_MetricsData'resourceMetrics :: !(Data.Vector.Vector ResourceMetrics),- _MetricsData'_unknownFields :: !Data.ProtoLens.FieldSet}- deriving stock (Prelude.Eq, Prelude.Ord)-instance Prelude.Show MetricsData where- showsPrec _ __x __s- = Prelude.showChar- '{'- (Prelude.showString- (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))-instance Data.ProtoLens.Field.HasField MetricsData "resourceMetrics" [ResourceMetrics] where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _MetricsData'resourceMetrics- (\ x__ y__ -> x__ {_MetricsData'resourceMetrics = y__}))- (Lens.Family2.Unchecked.lens- Data.Vector.Generic.toList- (\ _ y__ -> Data.Vector.Generic.fromList y__))-instance Data.ProtoLens.Field.HasField MetricsData "vec'resourceMetrics" (Data.Vector.Vector ResourceMetrics) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _MetricsData'resourceMetrics- (\ x__ y__ -> x__ {_MetricsData'resourceMetrics = y__}))- Prelude.id-instance Data.ProtoLens.Message MetricsData where- messageName _- = Data.Text.pack "opentelemetry.proto.metrics.v1.MetricsData"- packedMessageDescriptor _- = "\n\- \\vMetricsData\DC2Z\n\- \\DLEresource_metrics\CAN\SOH \ETX(\v2/.opentelemetry.proto.metrics.v1.ResourceMetricsR\SIresourceMetrics"- packedFileDescriptor _ = packedFileDescriptor- fieldsByTag- = let- resourceMetrics__field_descriptor- = Data.ProtoLens.FieldDescriptor- "resource_metrics"- (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::- Data.ProtoLens.FieldTypeDescriptor ResourceMetrics)- (Data.ProtoLens.RepeatedField- Data.ProtoLens.Unpacked- (Data.ProtoLens.Field.field @"resourceMetrics")) ::- Data.ProtoLens.FieldDescriptor MetricsData- in- Data.Map.fromList- [(Data.ProtoLens.Tag 1, resourceMetrics__field_descriptor)]- unknownFields- = Lens.Family2.Unchecked.lens- _MetricsData'_unknownFields- (\ x__ y__ -> x__ {_MetricsData'_unknownFields = y__})- defMessage- = MetricsData'_constructor- {_MetricsData'resourceMetrics = Data.Vector.Generic.empty,- _MetricsData'_unknownFields = []}- parseMessage- = let- loop ::- MetricsData- -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld ResourceMetrics- -> Data.ProtoLens.Encoding.Bytes.Parser MetricsData- loop x mutable'resourceMetrics- = do end <- Data.ProtoLens.Encoding.Bytes.atEnd- if end then- do frozen'resourceMetrics <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.unsafeFreeze- mutable'resourceMetrics)- (let missing = []- in- if Prelude.null missing then- Prelude.return ()- else- Prelude.fail- ((Prelude.++)- "Missing required fields: "- (Prelude.show (missing :: [Prelude.String]))))- Prelude.return- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)- (Lens.Family2.set- (Data.ProtoLens.Field.field @"vec'resourceMetrics")- frozen'resourceMetrics x))- else- do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt- case tag of- 10- -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len)- Data.ProtoLens.parseMessage)- "resource_metrics"- v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.append- mutable'resourceMetrics y)- loop x v- wire- -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire- wire- loop- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)- mutable'resourceMetrics- in- (Data.ProtoLens.Encoding.Bytes.<?>)- (do mutable'resourceMetrics <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- Data.ProtoLens.Encoding.Growing.new- loop Data.ProtoLens.defMessage mutable'resourceMetrics)- "MetricsData"- buildMessage- = \ _x- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.foldMapBuilder- (\ _v- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 10)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.ProtoLens.encodeMessage _v))- (Lens.Family2.view- (Data.ProtoLens.Field.field @"vec'resourceMetrics") _x))- (Data.ProtoLens.Encoding.Wire.buildFieldSet- (Lens.Family2.view Data.ProtoLens.unknownFields _x))-instance Control.DeepSeq.NFData MetricsData where- rnf- = \ x__- -> Control.DeepSeq.deepseq- (_MetricsData'_unknownFields x__)- (Control.DeepSeq.deepseq (_MetricsData'resourceMetrics x__) ())-{- | Fields :- - * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.attributes' @:: Lens' NumberDataPoint [Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue]@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.vec'attributes' @:: Lens' NumberDataPoint (Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue)@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.labels' @:: Lens' NumberDataPoint [Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue]@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.vec'labels' @:: Lens' NumberDataPoint (Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue)@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.startTimeUnixNano' @:: Lens' NumberDataPoint Data.Word.Word64@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.timeUnixNano' @:: Lens' NumberDataPoint Data.Word.Word64@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.exemplars' @:: Lens' NumberDataPoint [Exemplar]@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.vec'exemplars' @:: Lens' NumberDataPoint (Data.Vector.Vector Exemplar)@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.flags' @:: Lens' NumberDataPoint Data.Word.Word32@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.maybe'value' @:: Lens' NumberDataPoint (Prelude.Maybe NumberDataPoint'Value)@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.maybe'asDouble' @:: Lens' NumberDataPoint (Prelude.Maybe Prelude.Double)@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.asDouble' @:: Lens' NumberDataPoint Prelude.Double@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.maybe'asInt' @:: Lens' NumberDataPoint (Prelude.Maybe Data.Int.Int64)@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.asInt' @:: Lens' NumberDataPoint Data.Int.Int64@ -}-data NumberDataPoint- = NumberDataPoint'_constructor {_NumberDataPoint'attributes :: !(Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue),- _NumberDataPoint'labels :: !(Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue),- _NumberDataPoint'startTimeUnixNano :: !Data.Word.Word64,- _NumberDataPoint'timeUnixNano :: !Data.Word.Word64,- _NumberDataPoint'exemplars :: !(Data.Vector.Vector Exemplar),- _NumberDataPoint'flags :: !Data.Word.Word32,- _NumberDataPoint'value :: !(Prelude.Maybe NumberDataPoint'Value),- _NumberDataPoint'_unknownFields :: !Data.ProtoLens.FieldSet}- deriving stock (Prelude.Eq, Prelude.Ord)-instance Prelude.Show NumberDataPoint where- showsPrec _ __x __s- = Prelude.showChar- '{'- (Prelude.showString- (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))-data NumberDataPoint'Value- = NumberDataPoint'AsDouble !Prelude.Double |- NumberDataPoint'AsInt !Data.Int.Int64- deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)-instance Data.ProtoLens.Field.HasField NumberDataPoint "attributes" [Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue] where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _NumberDataPoint'attributes- (\ x__ y__ -> x__ {_NumberDataPoint'attributes = y__}))- (Lens.Family2.Unchecked.lens- Data.Vector.Generic.toList- (\ _ y__ -> Data.Vector.Generic.fromList y__))-instance Data.ProtoLens.Field.HasField NumberDataPoint "vec'attributes" (Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _NumberDataPoint'attributes- (\ x__ y__ -> x__ {_NumberDataPoint'attributes = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField NumberDataPoint "labels" [Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue] where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _NumberDataPoint'labels- (\ x__ y__ -> x__ {_NumberDataPoint'labels = y__}))- (Lens.Family2.Unchecked.lens- Data.Vector.Generic.toList- (\ _ y__ -> Data.Vector.Generic.fromList y__))-instance Data.ProtoLens.Field.HasField NumberDataPoint "vec'labels" (Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _NumberDataPoint'labels- (\ x__ y__ -> x__ {_NumberDataPoint'labels = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField NumberDataPoint "startTimeUnixNano" Data.Word.Word64 where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _NumberDataPoint'startTimeUnixNano- (\ x__ y__ -> x__ {_NumberDataPoint'startTimeUnixNano = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField NumberDataPoint "timeUnixNano" Data.Word.Word64 where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _NumberDataPoint'timeUnixNano- (\ x__ y__ -> x__ {_NumberDataPoint'timeUnixNano = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField NumberDataPoint "exemplars" [Exemplar] where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _NumberDataPoint'exemplars- (\ x__ y__ -> x__ {_NumberDataPoint'exemplars = y__}))- (Lens.Family2.Unchecked.lens- Data.Vector.Generic.toList- (\ _ y__ -> Data.Vector.Generic.fromList y__))-instance Data.ProtoLens.Field.HasField NumberDataPoint "vec'exemplars" (Data.Vector.Vector Exemplar) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _NumberDataPoint'exemplars- (\ x__ y__ -> x__ {_NumberDataPoint'exemplars = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField NumberDataPoint "flags" Data.Word.Word32 where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _NumberDataPoint'flags- (\ x__ y__ -> x__ {_NumberDataPoint'flags = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField NumberDataPoint "maybe'value" (Prelude.Maybe NumberDataPoint'Value) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _NumberDataPoint'value- (\ x__ y__ -> x__ {_NumberDataPoint'value = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField NumberDataPoint "maybe'asDouble" (Prelude.Maybe Prelude.Double) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _NumberDataPoint'value- (\ x__ y__ -> x__ {_NumberDataPoint'value = y__}))- (Lens.Family2.Unchecked.lens- (\ x__- -> case x__ of- (Prelude.Just (NumberDataPoint'AsDouble x__val))- -> Prelude.Just x__val- _otherwise -> Prelude.Nothing)- (\ _ y__ -> Prelude.fmap NumberDataPoint'AsDouble y__))-instance Data.ProtoLens.Field.HasField NumberDataPoint "asDouble" Prelude.Double where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _NumberDataPoint'value- (\ x__ y__ -> x__ {_NumberDataPoint'value = y__}))- ((Prelude..)- (Lens.Family2.Unchecked.lens- (\ x__- -> case x__ of- (Prelude.Just (NumberDataPoint'AsDouble x__val))- -> Prelude.Just x__val- _otherwise -> Prelude.Nothing)- (\ _ y__ -> Prelude.fmap NumberDataPoint'AsDouble y__))- (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault))-instance Data.ProtoLens.Field.HasField NumberDataPoint "maybe'asInt" (Prelude.Maybe Data.Int.Int64) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _NumberDataPoint'value- (\ x__ y__ -> x__ {_NumberDataPoint'value = y__}))- (Lens.Family2.Unchecked.lens- (\ x__- -> case x__ of- (Prelude.Just (NumberDataPoint'AsInt x__val))- -> Prelude.Just x__val- _otherwise -> Prelude.Nothing)- (\ _ y__ -> Prelude.fmap NumberDataPoint'AsInt y__))-instance Data.ProtoLens.Field.HasField NumberDataPoint "asInt" Data.Int.Int64 where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _NumberDataPoint'value- (\ x__ y__ -> x__ {_NumberDataPoint'value = y__}))- ((Prelude..)- (Lens.Family2.Unchecked.lens- (\ x__- -> case x__ of- (Prelude.Just (NumberDataPoint'AsInt x__val))- -> Prelude.Just x__val- _otherwise -> Prelude.Nothing)- (\ _ y__ -> Prelude.fmap NumberDataPoint'AsInt y__))- (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault))-instance Data.ProtoLens.Message NumberDataPoint where- messageName _- = Data.Text.pack "opentelemetry.proto.metrics.v1.NumberDataPoint"- packedMessageDescriptor _- = "\n\- \\SINumberDataPoint\DC2G\n\- \\n\- \attributes\CAN\a \ETX(\v2'.opentelemetry.proto.common.v1.KeyValueR\n\- \attributes\DC2I\n\- \\ACKlabels\CAN\SOH \ETX(\v2-.opentelemetry.proto.common.v1.StringKeyValueR\ACKlabelsB\STX\CAN\SOH\DC2/\n\- \\DC4start_time_unix_nano\CAN\STX \SOH(\ACKR\DC1startTimeUnixNano\DC2$\n\- \\SOtime_unix_nano\CAN\ETX \SOH(\ACKR\ftimeUnixNano\DC2\GS\n\- \\tas_double\CAN\EOT \SOH(\SOHH\NULR\basDouble\DC2\ETB\n\- \\ACKas_int\CAN\ACK \SOH(\DLEH\NULR\ENQasInt\DC2F\n\- \\texemplars\CAN\ENQ \ETX(\v2(.opentelemetry.proto.metrics.v1.ExemplarR\texemplars\DC2\DC4\n\- \\ENQflags\CAN\b \SOH(\rR\ENQflagsB\a\n\- \\ENQvalue"- packedFileDescriptor _ = packedFileDescriptor- fieldsByTag- = let- attributes__field_descriptor- = Data.ProtoLens.FieldDescriptor- "attributes"- (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::- Data.ProtoLens.FieldTypeDescriptor Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue)- (Data.ProtoLens.RepeatedField- Data.ProtoLens.Unpacked- (Data.ProtoLens.Field.field @"attributes")) ::- Data.ProtoLens.FieldDescriptor NumberDataPoint- labels__field_descriptor- = Data.ProtoLens.FieldDescriptor- "labels"- (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::- Data.ProtoLens.FieldTypeDescriptor Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue)- (Data.ProtoLens.RepeatedField- Data.ProtoLens.Unpacked (Data.ProtoLens.Field.field @"labels")) ::- Data.ProtoLens.FieldDescriptor NumberDataPoint- startTimeUnixNano__field_descriptor- = Data.ProtoLens.FieldDescriptor- "start_time_unix_nano"- (Data.ProtoLens.ScalarField Data.ProtoLens.Fixed64Field ::- Data.ProtoLens.FieldTypeDescriptor Data.Word.Word64)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional- (Data.ProtoLens.Field.field @"startTimeUnixNano")) ::- Data.ProtoLens.FieldDescriptor NumberDataPoint- timeUnixNano__field_descriptor- = Data.ProtoLens.FieldDescriptor- "time_unix_nano"- (Data.ProtoLens.ScalarField Data.ProtoLens.Fixed64Field ::- Data.ProtoLens.FieldTypeDescriptor Data.Word.Word64)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional- (Data.ProtoLens.Field.field @"timeUnixNano")) ::- Data.ProtoLens.FieldDescriptor NumberDataPoint- exemplars__field_descriptor- = Data.ProtoLens.FieldDescriptor- "exemplars"- (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::- Data.ProtoLens.FieldTypeDescriptor Exemplar)- (Data.ProtoLens.RepeatedField- Data.ProtoLens.Unpacked- (Data.ProtoLens.Field.field @"exemplars")) ::- Data.ProtoLens.FieldDescriptor NumberDataPoint- flags__field_descriptor- = Data.ProtoLens.FieldDescriptor- "flags"- (Data.ProtoLens.ScalarField Data.ProtoLens.UInt32Field ::- Data.ProtoLens.FieldTypeDescriptor Data.Word.Word32)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"flags")) ::- Data.ProtoLens.FieldDescriptor NumberDataPoint- asDouble__field_descriptor- = Data.ProtoLens.FieldDescriptor- "as_double"- (Data.ProtoLens.ScalarField Data.ProtoLens.DoubleField ::- Data.ProtoLens.FieldTypeDescriptor Prelude.Double)- (Data.ProtoLens.OptionalField- (Data.ProtoLens.Field.field @"maybe'asDouble")) ::- Data.ProtoLens.FieldDescriptor NumberDataPoint- asInt__field_descriptor- = Data.ProtoLens.FieldDescriptor- "as_int"- (Data.ProtoLens.ScalarField Data.ProtoLens.SFixed64Field ::- Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)- (Data.ProtoLens.OptionalField- (Data.ProtoLens.Field.field @"maybe'asInt")) ::- Data.ProtoLens.FieldDescriptor NumberDataPoint- in- Data.Map.fromList- [(Data.ProtoLens.Tag 7, attributes__field_descriptor),- (Data.ProtoLens.Tag 1, labels__field_descriptor),- (Data.ProtoLens.Tag 2, startTimeUnixNano__field_descriptor),- (Data.ProtoLens.Tag 3, timeUnixNano__field_descriptor),- (Data.ProtoLens.Tag 5, exemplars__field_descriptor),- (Data.ProtoLens.Tag 8, flags__field_descriptor),- (Data.ProtoLens.Tag 4, asDouble__field_descriptor),- (Data.ProtoLens.Tag 6, asInt__field_descriptor)]- unknownFields- = Lens.Family2.Unchecked.lens- _NumberDataPoint'_unknownFields- (\ x__ y__ -> x__ {_NumberDataPoint'_unknownFields = y__})- defMessage- = NumberDataPoint'_constructor- {_NumberDataPoint'attributes = Data.Vector.Generic.empty,- _NumberDataPoint'labels = Data.Vector.Generic.empty,- _NumberDataPoint'startTimeUnixNano = Data.ProtoLens.fieldDefault,- _NumberDataPoint'timeUnixNano = Data.ProtoLens.fieldDefault,- _NumberDataPoint'exemplars = Data.Vector.Generic.empty,- _NumberDataPoint'flags = Data.ProtoLens.fieldDefault,- _NumberDataPoint'value = Prelude.Nothing,- _NumberDataPoint'_unknownFields = []}- parseMessage- = let- loop ::- NumberDataPoint- -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue- -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Exemplar- -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue- -> Data.ProtoLens.Encoding.Bytes.Parser NumberDataPoint- loop x mutable'attributes mutable'exemplars mutable'labels- = do end <- Data.ProtoLens.Encoding.Bytes.atEnd- if end then- do frozen'attributes <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.unsafeFreeze- mutable'attributes)- frozen'exemplars <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.unsafeFreeze- mutable'exemplars)- frozen'labels <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.unsafeFreeze- mutable'labels)- (let missing = []- in- if Prelude.null missing then- Prelude.return ()- else- Prelude.fail- ((Prelude.++)- "Missing required fields: "- (Prelude.show (missing :: [Prelude.String]))))- Prelude.return- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)- (Lens.Family2.set- (Data.ProtoLens.Field.field @"vec'attributes") frozen'attributes- (Lens.Family2.set- (Data.ProtoLens.Field.field @"vec'exemplars") frozen'exemplars- (Lens.Family2.set- (Data.ProtoLens.Field.field @"vec'labels") frozen'labels x))))- else- do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt- case tag of- 58- -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len)- Data.ProtoLens.parseMessage)- "attributes"- v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.append mutable'attributes y)- loop x v mutable'exemplars mutable'labels- 10- -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len)- Data.ProtoLens.parseMessage)- "labels"- v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.append mutable'labels y)- loop x mutable'attributes mutable'exemplars v- 17- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- Data.ProtoLens.Encoding.Bytes.getFixed64- "start_time_unix_nano"- loop- (Lens.Family2.set- (Data.ProtoLens.Field.field @"startTimeUnixNano") y x)- mutable'attributes mutable'exemplars mutable'labels- 25- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- Data.ProtoLens.Encoding.Bytes.getFixed64 "time_unix_nano"- loop- (Lens.Family2.set- (Data.ProtoLens.Field.field @"timeUnixNano") y x)- mutable'attributes mutable'exemplars mutable'labels- 42- -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len)- Data.ProtoLens.parseMessage)- "exemplars"- v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.append mutable'exemplars y)- loop x mutable'attributes v mutable'labels- 64- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (Prelude.fmap- Prelude.fromIntegral- Data.ProtoLens.Encoding.Bytes.getVarInt)- "flags"- loop- (Lens.Family2.set (Data.ProtoLens.Field.field @"flags") y x)- mutable'attributes mutable'exemplars mutable'labels- 33- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (Prelude.fmap- Data.ProtoLens.Encoding.Bytes.wordToDouble- Data.ProtoLens.Encoding.Bytes.getFixed64)- "as_double"- loop- (Lens.Family2.set (Data.ProtoLens.Field.field @"asDouble") y x)- mutable'attributes mutable'exemplars mutable'labels- 49- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (Prelude.fmap- Prelude.fromIntegral- Data.ProtoLens.Encoding.Bytes.getFixed64)- "as_int"- loop- (Lens.Family2.set (Data.ProtoLens.Field.field @"asInt") y x)- mutable'attributes mutable'exemplars mutable'labels- wire- -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire- wire- loop- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)- mutable'attributes mutable'exemplars mutable'labels- in- (Data.ProtoLens.Encoding.Bytes.<?>)- (do mutable'attributes <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- Data.ProtoLens.Encoding.Growing.new- mutable'exemplars <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- Data.ProtoLens.Encoding.Growing.new- mutable'labels <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- Data.ProtoLens.Encoding.Growing.new- loop- Data.ProtoLens.defMessage mutable'attributes mutable'exemplars- mutable'labels)- "NumberDataPoint"- buildMessage- = \ _x- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.foldMapBuilder- (\ _v- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 58)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.ProtoLens.encodeMessage _v))- (Lens.Family2.view- (Data.ProtoLens.Field.field @"vec'attributes") _x))- ((Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.foldMapBuilder- (\ _v- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 10)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.ProtoLens.encodeMessage _v))- (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'labels") _x))- ((Data.Monoid.<>)- (let- _v- = Lens.Family2.view- (Data.ProtoLens.Field.field @"startTimeUnixNano") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 17)- (Data.ProtoLens.Encoding.Bytes.putFixed64 _v))- ((Data.Monoid.<>)- (let- _v- = Lens.Family2.view (Data.ProtoLens.Field.field @"timeUnixNano") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 25)- (Data.ProtoLens.Encoding.Bytes.putFixed64 _v))- ((Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.foldMapBuilder- (\ _v- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 42)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral- (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.ProtoLens.encodeMessage _v))- (Lens.Family2.view- (Data.ProtoLens.Field.field @"vec'exemplars") _x))- ((Data.Monoid.<>)- (let- _v = Lens.Family2.view (Data.ProtoLens.Field.field @"flags") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 64)- ((Prelude..)- Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral- _v))- ((Data.Monoid.<>)- (case- Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'value") _x- of- Prelude.Nothing -> Data.Monoid.mempty- (Prelude.Just (NumberDataPoint'AsDouble v))- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 33)- ((Prelude..)- Data.ProtoLens.Encoding.Bytes.putFixed64- Data.ProtoLens.Encoding.Bytes.doubleToWord v)- (Prelude.Just (NumberDataPoint'AsInt v))- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 49)- ((Prelude..)- Data.ProtoLens.Encoding.Bytes.putFixed64- Prelude.fromIntegral v))- (Data.ProtoLens.Encoding.Wire.buildFieldSet- (Lens.Family2.view Data.ProtoLens.unknownFields _x))))))))-instance Control.DeepSeq.NFData NumberDataPoint where- rnf- = \ x__- -> Control.DeepSeq.deepseq- (_NumberDataPoint'_unknownFields x__)- (Control.DeepSeq.deepseq- (_NumberDataPoint'attributes x__)- (Control.DeepSeq.deepseq- (_NumberDataPoint'labels x__)- (Control.DeepSeq.deepseq- (_NumberDataPoint'startTimeUnixNano x__)- (Control.DeepSeq.deepseq- (_NumberDataPoint'timeUnixNano x__)- (Control.DeepSeq.deepseq- (_NumberDataPoint'exemplars x__)- (Control.DeepSeq.deepseq- (_NumberDataPoint'flags x__)- (Control.DeepSeq.deepseq (_NumberDataPoint'value x__) ())))))))-instance Control.DeepSeq.NFData NumberDataPoint'Value where- rnf (NumberDataPoint'AsDouble x__) = Control.DeepSeq.rnf x__- rnf (NumberDataPoint'AsInt x__) = Control.DeepSeq.rnf x__-_NumberDataPoint'AsDouble ::- Data.ProtoLens.Prism.Prism' NumberDataPoint'Value Prelude.Double-_NumberDataPoint'AsDouble- = Data.ProtoLens.Prism.prism'- NumberDataPoint'AsDouble- (\ p__- -> case p__ of- (NumberDataPoint'AsDouble p__val) -> Prelude.Just p__val- _otherwise -> Prelude.Nothing)-_NumberDataPoint'AsInt ::- Data.ProtoLens.Prism.Prism' NumberDataPoint'Value Data.Int.Int64-_NumberDataPoint'AsInt- = Data.ProtoLens.Prism.prism'- NumberDataPoint'AsInt- (\ p__- -> case p__ of- (NumberDataPoint'AsInt p__val) -> Prelude.Just p__val- _otherwise -> Prelude.Nothing)-{- | Fields :- - * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.resource' @:: Lens' ResourceMetrics Proto.Opentelemetry.Proto.Resource.V1.Resource.Resource@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.maybe'resource' @:: Lens' ResourceMetrics (Prelude.Maybe Proto.Opentelemetry.Proto.Resource.V1.Resource.Resource)@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.instrumentationLibraryMetrics' @:: Lens' ResourceMetrics [InstrumentationLibraryMetrics]@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.vec'instrumentationLibraryMetrics' @:: Lens' ResourceMetrics (Data.Vector.Vector InstrumentationLibraryMetrics)@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.schemaUrl' @:: Lens' ResourceMetrics Data.Text.Text@ -}-data ResourceMetrics- = ResourceMetrics'_constructor {_ResourceMetrics'resource :: !(Prelude.Maybe Proto.Opentelemetry.Proto.Resource.V1.Resource.Resource),- _ResourceMetrics'instrumentationLibraryMetrics :: !(Data.Vector.Vector InstrumentationLibraryMetrics),- _ResourceMetrics'schemaUrl :: !Data.Text.Text,- _ResourceMetrics'_unknownFields :: !Data.ProtoLens.FieldSet}- deriving stock (Prelude.Eq, Prelude.Ord)-instance Prelude.Show ResourceMetrics where- showsPrec _ __x __s- = Prelude.showChar- '{'- (Prelude.showString- (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))-instance Data.ProtoLens.Field.HasField ResourceMetrics "resource" Proto.Opentelemetry.Proto.Resource.V1.Resource.Resource where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _ResourceMetrics'resource- (\ x__ y__ -> x__ {_ResourceMetrics'resource = y__}))- (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)-instance Data.ProtoLens.Field.HasField ResourceMetrics "maybe'resource" (Prelude.Maybe Proto.Opentelemetry.Proto.Resource.V1.Resource.Resource) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _ResourceMetrics'resource- (\ x__ y__ -> x__ {_ResourceMetrics'resource = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField ResourceMetrics "instrumentationLibraryMetrics" [InstrumentationLibraryMetrics] where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _ResourceMetrics'instrumentationLibraryMetrics- (\ x__ y__- -> x__ {_ResourceMetrics'instrumentationLibraryMetrics = y__}))- (Lens.Family2.Unchecked.lens- Data.Vector.Generic.toList- (\ _ y__ -> Data.Vector.Generic.fromList y__))-instance Data.ProtoLens.Field.HasField ResourceMetrics "vec'instrumentationLibraryMetrics" (Data.Vector.Vector InstrumentationLibraryMetrics) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _ResourceMetrics'instrumentationLibraryMetrics- (\ x__ y__- -> x__ {_ResourceMetrics'instrumentationLibraryMetrics = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField ResourceMetrics "schemaUrl" Data.Text.Text where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _ResourceMetrics'schemaUrl- (\ x__ y__ -> x__ {_ResourceMetrics'schemaUrl = y__}))- Prelude.id-instance Data.ProtoLens.Message ResourceMetrics where- messageName _- = Data.Text.pack "opentelemetry.proto.metrics.v1.ResourceMetrics"- packedMessageDescriptor _- = "\n\- \\SIResourceMetrics\DC2E\n\- \\bresource\CAN\SOH \SOH(\v2).opentelemetry.proto.resource.v1.ResourceR\bresource\DC2\133\SOH\n\- \\USinstrumentation_library_metrics\CAN\STX \ETX(\v2=.opentelemetry.proto.metrics.v1.InstrumentationLibraryMetricsR\GSinstrumentationLibraryMetrics\DC2\GS\n\- \\n\- \schema_url\CAN\ETX \SOH(\tR\tschemaUrl"- packedFileDescriptor _ = packedFileDescriptor- fieldsByTag- = let- resource__field_descriptor- = Data.ProtoLens.FieldDescriptor- "resource"- (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::- Data.ProtoLens.FieldTypeDescriptor Proto.Opentelemetry.Proto.Resource.V1.Resource.Resource)- (Data.ProtoLens.OptionalField- (Data.ProtoLens.Field.field @"maybe'resource")) ::- Data.ProtoLens.FieldDescriptor ResourceMetrics- instrumentationLibraryMetrics__field_descriptor- = Data.ProtoLens.FieldDescriptor- "instrumentation_library_metrics"- (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::- Data.ProtoLens.FieldTypeDescriptor InstrumentationLibraryMetrics)- (Data.ProtoLens.RepeatedField- Data.ProtoLens.Unpacked- (Data.ProtoLens.Field.field @"instrumentationLibraryMetrics")) ::- Data.ProtoLens.FieldDescriptor ResourceMetrics- schemaUrl__field_descriptor- = Data.ProtoLens.FieldDescriptor- "schema_url"- (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::- Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional- (Data.ProtoLens.Field.field @"schemaUrl")) ::- Data.ProtoLens.FieldDescriptor ResourceMetrics- in- Data.Map.fromList- [(Data.ProtoLens.Tag 1, resource__field_descriptor),- (Data.ProtoLens.Tag 2, - instrumentationLibraryMetrics__field_descriptor),- (Data.ProtoLens.Tag 3, schemaUrl__field_descriptor)]- unknownFields- = Lens.Family2.Unchecked.lens- _ResourceMetrics'_unknownFields- (\ x__ y__ -> x__ {_ResourceMetrics'_unknownFields = y__})- defMessage- = ResourceMetrics'_constructor- {_ResourceMetrics'resource = Prelude.Nothing,- _ResourceMetrics'instrumentationLibraryMetrics = Data.Vector.Generic.empty,- _ResourceMetrics'schemaUrl = Data.ProtoLens.fieldDefault,- _ResourceMetrics'_unknownFields = []}- parseMessage- = let- loop ::- ResourceMetrics- -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld InstrumentationLibraryMetrics- -> Data.ProtoLens.Encoding.Bytes.Parser ResourceMetrics- loop x mutable'instrumentationLibraryMetrics- = do end <- Data.ProtoLens.Encoding.Bytes.atEnd- if end then- do frozen'instrumentationLibraryMetrics <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.unsafeFreeze- mutable'instrumentationLibraryMetrics)- (let missing = []- in- if Prelude.null missing then- Prelude.return ()- else- Prelude.fail- ((Prelude.++)- "Missing required fields: "- (Prelude.show (missing :: [Prelude.String]))))- Prelude.return- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)- (Lens.Family2.set- (Data.ProtoLens.Field.field @"vec'instrumentationLibraryMetrics")- frozen'instrumentationLibraryMetrics x))- else- do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt- case tag of- 10- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)- "resource"- loop- (Lens.Family2.set (Data.ProtoLens.Field.field @"resource") y x)- mutable'instrumentationLibraryMetrics- 18- -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len)- Data.ProtoLens.parseMessage)- "instrumentation_library_metrics"- v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.append- mutable'instrumentationLibraryMetrics y)- loop x v- 26- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do value <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.getBytes- (Prelude.fromIntegral len)- Data.ProtoLens.Encoding.Bytes.runEither- (case Data.Text.Encoding.decodeUtf8' value of- (Prelude.Left err)- -> Prelude.Left (Prelude.show err)- (Prelude.Right r) -> Prelude.Right r))- "schema_url"- loop- (Lens.Family2.set (Data.ProtoLens.Field.field @"schemaUrl") y x)- mutable'instrumentationLibraryMetrics- wire- -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire- wire- loop- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)- mutable'instrumentationLibraryMetrics- in- (Data.ProtoLens.Encoding.Bytes.<?>)- (do mutable'instrumentationLibraryMetrics <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- Data.ProtoLens.Encoding.Growing.new- loop- Data.ProtoLens.defMessage mutable'instrumentationLibraryMetrics)- "ResourceMetrics"- buildMessage- = \ _x- -> (Data.Monoid.<>)- (case- Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'resource") _x- of- Prelude.Nothing -> Data.Monoid.mempty- (Prelude.Just _v)- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 10)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.ProtoLens.encodeMessage _v))- ((Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.foldMapBuilder- (\ _v- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 18)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.ProtoLens.encodeMessage _v))- (Lens.Family2.view- (Data.ProtoLens.Field.field @"vec'instrumentationLibraryMetrics")- _x))- ((Data.Monoid.<>)- (let- _v = Lens.Family2.view (Data.ProtoLens.Field.field @"schemaUrl") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 26)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.Text.Encoding.encodeUtf8 _v))- (Data.ProtoLens.Encoding.Wire.buildFieldSet- (Lens.Family2.view Data.ProtoLens.unknownFields _x))))-instance Control.DeepSeq.NFData ResourceMetrics where- rnf- = \ x__- -> Control.DeepSeq.deepseq- (_ResourceMetrics'_unknownFields x__)- (Control.DeepSeq.deepseq- (_ResourceMetrics'resource x__)- (Control.DeepSeq.deepseq- (_ResourceMetrics'instrumentationLibraryMetrics x__)- (Control.DeepSeq.deepseq (_ResourceMetrics'schemaUrl x__) ())))-{- | Fields :- - * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.dataPoints' @:: Lens' Sum [NumberDataPoint]@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.vec'dataPoints' @:: Lens' Sum (Data.Vector.Vector NumberDataPoint)@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.aggregationTemporality' @:: Lens' Sum AggregationTemporality@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.isMonotonic' @:: Lens' Sum Prelude.Bool@ -}-data Sum- = Sum'_constructor {_Sum'dataPoints :: !(Data.Vector.Vector NumberDataPoint),- _Sum'aggregationTemporality :: !AggregationTemporality,- _Sum'isMonotonic :: !Prelude.Bool,- _Sum'_unknownFields :: !Data.ProtoLens.FieldSet}- deriving stock (Prelude.Eq, Prelude.Ord)-instance Prelude.Show Sum where- showsPrec _ __x __s- = Prelude.showChar- '{'- (Prelude.showString- (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))-instance Data.ProtoLens.Field.HasField Sum "dataPoints" [NumberDataPoint] where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Sum'dataPoints (\ x__ y__ -> x__ {_Sum'dataPoints = y__}))- (Lens.Family2.Unchecked.lens- Data.Vector.Generic.toList- (\ _ y__ -> Data.Vector.Generic.fromList y__))-instance Data.ProtoLens.Field.HasField Sum "vec'dataPoints" (Data.Vector.Vector NumberDataPoint) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Sum'dataPoints (\ x__ y__ -> x__ {_Sum'dataPoints = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField Sum "aggregationTemporality" AggregationTemporality where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Sum'aggregationTemporality- (\ x__ y__ -> x__ {_Sum'aggregationTemporality = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField Sum "isMonotonic" Prelude.Bool where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Sum'isMonotonic (\ x__ y__ -> x__ {_Sum'isMonotonic = y__}))- Prelude.id-instance Data.ProtoLens.Message Sum where- messageName _ = Data.Text.pack "opentelemetry.proto.metrics.v1.Sum"- packedMessageDescriptor _- = "\n\- \\ETXSum\DC2P\n\- \\vdata_points\CAN\SOH \ETX(\v2/.opentelemetry.proto.metrics.v1.NumberDataPointR\n\- \dataPoints\DC2o\n\- \\ETBaggregation_temporality\CAN\STX \SOH(\SO26.opentelemetry.proto.metrics.v1.AggregationTemporalityR\SYNaggregationTemporality\DC2!\n\- \\fis_monotonic\CAN\ETX \SOH(\bR\visMonotonic"- packedFileDescriptor _ = packedFileDescriptor- fieldsByTag- = let- dataPoints__field_descriptor- = Data.ProtoLens.FieldDescriptor- "data_points"- (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::- Data.ProtoLens.FieldTypeDescriptor NumberDataPoint)- (Data.ProtoLens.RepeatedField- Data.ProtoLens.Unpacked- (Data.ProtoLens.Field.field @"dataPoints")) ::- Data.ProtoLens.FieldDescriptor Sum- aggregationTemporality__field_descriptor- = Data.ProtoLens.FieldDescriptor- "aggregation_temporality"- (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::- Data.ProtoLens.FieldTypeDescriptor AggregationTemporality)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional- (Data.ProtoLens.Field.field @"aggregationTemporality")) ::- Data.ProtoLens.FieldDescriptor Sum- isMonotonic__field_descriptor- = Data.ProtoLens.FieldDescriptor- "is_monotonic"- (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField ::- Data.ProtoLens.FieldTypeDescriptor Prelude.Bool)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional- (Data.ProtoLens.Field.field @"isMonotonic")) ::- Data.ProtoLens.FieldDescriptor Sum- in- Data.Map.fromList- [(Data.ProtoLens.Tag 1, dataPoints__field_descriptor),- (Data.ProtoLens.Tag 2, aggregationTemporality__field_descriptor),- (Data.ProtoLens.Tag 3, isMonotonic__field_descriptor)]- unknownFields- = Lens.Family2.Unchecked.lens- _Sum'_unknownFields (\ x__ y__ -> x__ {_Sum'_unknownFields = y__})- defMessage- = Sum'_constructor- {_Sum'dataPoints = Data.Vector.Generic.empty,- _Sum'aggregationTemporality = Data.ProtoLens.fieldDefault,- _Sum'isMonotonic = Data.ProtoLens.fieldDefault,- _Sum'_unknownFields = []}- parseMessage- = let- loop ::- Sum- -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld NumberDataPoint- -> Data.ProtoLens.Encoding.Bytes.Parser Sum- loop x mutable'dataPoints- = do end <- Data.ProtoLens.Encoding.Bytes.atEnd- if end then- do frozen'dataPoints <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.unsafeFreeze- mutable'dataPoints)- (let missing = []- in- if Prelude.null missing then- Prelude.return ()- else- Prelude.fail- ((Prelude.++)- "Missing required fields: "- (Prelude.show (missing :: [Prelude.String]))))- Prelude.return- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)- (Lens.Family2.set- (Data.ProtoLens.Field.field @"vec'dataPoints") frozen'dataPoints- x))- else- do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt- case tag of- 10- -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len)- Data.ProtoLens.parseMessage)- "data_points"- v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.append mutable'dataPoints y)- loop x v- 16- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (Prelude.fmap- Prelude.toEnum- (Prelude.fmap- Prelude.fromIntegral- Data.ProtoLens.Encoding.Bytes.getVarInt))- "aggregation_temporality"- loop- (Lens.Family2.set- (Data.ProtoLens.Field.field @"aggregationTemporality") y x)- mutable'dataPoints- 24- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (Prelude.fmap- ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt)- "is_monotonic"- loop- (Lens.Family2.set (Data.ProtoLens.Field.field @"isMonotonic") y x)- mutable'dataPoints- wire- -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire- wire- loop- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)- mutable'dataPoints- in- (Data.ProtoLens.Encoding.Bytes.<?>)- (do mutable'dataPoints <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- Data.ProtoLens.Encoding.Growing.new- loop Data.ProtoLens.defMessage mutable'dataPoints)- "Sum"- buildMessage- = \ _x- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.foldMapBuilder- (\ _v- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 10)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.ProtoLens.encodeMessage _v))- (Lens.Family2.view- (Data.ProtoLens.Field.field @"vec'dataPoints") _x))- ((Data.Monoid.<>)- (let- _v- = Lens.Family2.view- (Data.ProtoLens.Field.field @"aggregationTemporality") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 16)- ((Prelude..)- ((Prelude..)- Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)- Prelude.fromEnum _v))- ((Data.Monoid.<>)- (let- _v- = Lens.Family2.view (Data.ProtoLens.Field.field @"isMonotonic") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 24)- ((Prelude..)- Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0)- _v))- (Data.ProtoLens.Encoding.Wire.buildFieldSet- (Lens.Family2.view Data.ProtoLens.unknownFields _x))))-instance Control.DeepSeq.NFData Sum where- rnf- = \ x__- -> Control.DeepSeq.deepseq- (_Sum'_unknownFields x__)- (Control.DeepSeq.deepseq- (_Sum'dataPoints x__)- (Control.DeepSeq.deepseq- (_Sum'aggregationTemporality x__)- (Control.DeepSeq.deepseq (_Sum'isMonotonic x__) ())))-{- | Fields :- - * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.dataPoints' @:: Lens' Summary [SummaryDataPoint]@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.vec'dataPoints' @:: Lens' Summary (Data.Vector.Vector SummaryDataPoint)@ -}-data Summary- = Summary'_constructor {_Summary'dataPoints :: !(Data.Vector.Vector SummaryDataPoint),- _Summary'_unknownFields :: !Data.ProtoLens.FieldSet}- deriving stock (Prelude.Eq, Prelude.Ord)-instance Prelude.Show Summary where- showsPrec _ __x __s- = Prelude.showChar- '{'- (Prelude.showString- (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))-instance Data.ProtoLens.Field.HasField Summary "dataPoints" [SummaryDataPoint] where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Summary'dataPoints (\ x__ y__ -> x__ {_Summary'dataPoints = y__}))- (Lens.Family2.Unchecked.lens- Data.Vector.Generic.toList- (\ _ y__ -> Data.Vector.Generic.fromList y__))-instance Data.ProtoLens.Field.HasField Summary "vec'dataPoints" (Data.Vector.Vector SummaryDataPoint) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Summary'dataPoints (\ x__ y__ -> x__ {_Summary'dataPoints = y__}))- Prelude.id-instance Data.ProtoLens.Message Summary where- messageName _- = Data.Text.pack "opentelemetry.proto.metrics.v1.Summary"- packedMessageDescriptor _- = "\n\- \\aSummary\DC2Q\n\- \\vdata_points\CAN\SOH \ETX(\v20.opentelemetry.proto.metrics.v1.SummaryDataPointR\n\- \dataPoints"- packedFileDescriptor _ = packedFileDescriptor- fieldsByTag- = let- dataPoints__field_descriptor- = Data.ProtoLens.FieldDescriptor- "data_points"- (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::- Data.ProtoLens.FieldTypeDescriptor SummaryDataPoint)- (Data.ProtoLens.RepeatedField- Data.ProtoLens.Unpacked- (Data.ProtoLens.Field.field @"dataPoints")) ::- Data.ProtoLens.FieldDescriptor Summary- in- Data.Map.fromList- [(Data.ProtoLens.Tag 1, dataPoints__field_descriptor)]- unknownFields- = Lens.Family2.Unchecked.lens- _Summary'_unknownFields- (\ x__ y__ -> x__ {_Summary'_unknownFields = y__})- defMessage- = Summary'_constructor- {_Summary'dataPoints = Data.Vector.Generic.empty,- _Summary'_unknownFields = []}- parseMessage- = let- loop ::- Summary- -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld SummaryDataPoint- -> Data.ProtoLens.Encoding.Bytes.Parser Summary- loop x mutable'dataPoints- = do end <- Data.ProtoLens.Encoding.Bytes.atEnd- if end then- do frozen'dataPoints <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.unsafeFreeze- mutable'dataPoints)- (let missing = []- in- if Prelude.null missing then- Prelude.return ()- else- Prelude.fail- ((Prelude.++)- "Missing required fields: "- (Prelude.show (missing :: [Prelude.String]))))- Prelude.return- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)- (Lens.Family2.set- (Data.ProtoLens.Field.field @"vec'dataPoints") frozen'dataPoints- x))- else- do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt- case tag of- 10- -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len)- Data.ProtoLens.parseMessage)- "data_points"- v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.append mutable'dataPoints y)- loop x v- wire- -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire- wire- loop- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)- mutable'dataPoints- in- (Data.ProtoLens.Encoding.Bytes.<?>)- (do mutable'dataPoints <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- Data.ProtoLens.Encoding.Growing.new- loop Data.ProtoLens.defMessage mutable'dataPoints)- "Summary"- buildMessage- = \ _x- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.foldMapBuilder- (\ _v- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 10)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.ProtoLens.encodeMessage _v))- (Lens.Family2.view- (Data.ProtoLens.Field.field @"vec'dataPoints") _x))- (Data.ProtoLens.Encoding.Wire.buildFieldSet- (Lens.Family2.view Data.ProtoLens.unknownFields _x))-instance Control.DeepSeq.NFData Summary where- rnf- = \ x__- -> Control.DeepSeq.deepseq- (_Summary'_unknownFields x__)- (Control.DeepSeq.deepseq (_Summary'dataPoints x__) ())-{- | Fields :- - * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.attributes' @:: Lens' SummaryDataPoint [Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue]@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.vec'attributes' @:: Lens' SummaryDataPoint (Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue)@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.labels' @:: Lens' SummaryDataPoint [Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue]@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.vec'labels' @:: Lens' SummaryDataPoint (Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue)@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.startTimeUnixNano' @:: Lens' SummaryDataPoint Data.Word.Word64@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.timeUnixNano' @:: Lens' SummaryDataPoint Data.Word.Word64@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.count' @:: Lens' SummaryDataPoint Data.Word.Word64@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.sum' @:: Lens' SummaryDataPoint Prelude.Double@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.quantileValues' @:: Lens' SummaryDataPoint [SummaryDataPoint'ValueAtQuantile]@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.vec'quantileValues' @:: Lens' SummaryDataPoint (Data.Vector.Vector SummaryDataPoint'ValueAtQuantile)@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.flags' @:: Lens' SummaryDataPoint Data.Word.Word32@ -}-data SummaryDataPoint- = SummaryDataPoint'_constructor {_SummaryDataPoint'attributes :: !(Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue),- _SummaryDataPoint'labels :: !(Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue),- _SummaryDataPoint'startTimeUnixNano :: !Data.Word.Word64,- _SummaryDataPoint'timeUnixNano :: !Data.Word.Word64,- _SummaryDataPoint'count :: !Data.Word.Word64,- _SummaryDataPoint'sum :: !Prelude.Double,- _SummaryDataPoint'quantileValues :: !(Data.Vector.Vector SummaryDataPoint'ValueAtQuantile),- _SummaryDataPoint'flags :: !Data.Word.Word32,- _SummaryDataPoint'_unknownFields :: !Data.ProtoLens.FieldSet}- deriving stock (Prelude.Eq, Prelude.Ord)-instance Prelude.Show SummaryDataPoint where- showsPrec _ __x __s- = Prelude.showChar- '{'- (Prelude.showString- (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))-instance Data.ProtoLens.Field.HasField SummaryDataPoint "attributes" [Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue] where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _SummaryDataPoint'attributes- (\ x__ y__ -> x__ {_SummaryDataPoint'attributes = y__}))- (Lens.Family2.Unchecked.lens- Data.Vector.Generic.toList- (\ _ y__ -> Data.Vector.Generic.fromList y__))-instance Data.ProtoLens.Field.HasField SummaryDataPoint "vec'attributes" (Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _SummaryDataPoint'attributes- (\ x__ y__ -> x__ {_SummaryDataPoint'attributes = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField SummaryDataPoint "labels" [Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue] where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _SummaryDataPoint'labels- (\ x__ y__ -> x__ {_SummaryDataPoint'labels = y__}))- (Lens.Family2.Unchecked.lens- Data.Vector.Generic.toList- (\ _ y__ -> Data.Vector.Generic.fromList y__))-instance Data.ProtoLens.Field.HasField SummaryDataPoint "vec'labels" (Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _SummaryDataPoint'labels- (\ x__ y__ -> x__ {_SummaryDataPoint'labels = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField SummaryDataPoint "startTimeUnixNano" Data.Word.Word64 where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _SummaryDataPoint'startTimeUnixNano- (\ x__ y__ -> x__ {_SummaryDataPoint'startTimeUnixNano = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField SummaryDataPoint "timeUnixNano" Data.Word.Word64 where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _SummaryDataPoint'timeUnixNano- (\ x__ y__ -> x__ {_SummaryDataPoint'timeUnixNano = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField SummaryDataPoint "count" Data.Word.Word64 where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _SummaryDataPoint'count- (\ x__ y__ -> x__ {_SummaryDataPoint'count = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField SummaryDataPoint "sum" Prelude.Double where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _SummaryDataPoint'sum- (\ x__ y__ -> x__ {_SummaryDataPoint'sum = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField SummaryDataPoint "quantileValues" [SummaryDataPoint'ValueAtQuantile] where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _SummaryDataPoint'quantileValues- (\ x__ y__ -> x__ {_SummaryDataPoint'quantileValues = y__}))- (Lens.Family2.Unchecked.lens- Data.Vector.Generic.toList- (\ _ y__ -> Data.Vector.Generic.fromList y__))-instance Data.ProtoLens.Field.HasField SummaryDataPoint "vec'quantileValues" (Data.Vector.Vector SummaryDataPoint'ValueAtQuantile) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _SummaryDataPoint'quantileValues- (\ x__ y__ -> x__ {_SummaryDataPoint'quantileValues = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField SummaryDataPoint "flags" Data.Word.Word32 where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _SummaryDataPoint'flags- (\ x__ y__ -> x__ {_SummaryDataPoint'flags = y__}))- Prelude.id-instance Data.ProtoLens.Message SummaryDataPoint where- messageName _- = Data.Text.pack "opentelemetry.proto.metrics.v1.SummaryDataPoint"- packedMessageDescriptor _- = "\n\- \\DLESummaryDataPoint\DC2G\n\- \\n\- \attributes\CAN\a \ETX(\v2'.opentelemetry.proto.common.v1.KeyValueR\n\- \attributes\DC2I\n\- \\ACKlabels\CAN\SOH \ETX(\v2-.opentelemetry.proto.common.v1.StringKeyValueR\ACKlabelsB\STX\CAN\SOH\DC2/\n\- \\DC4start_time_unix_nano\CAN\STX \SOH(\ACKR\DC1startTimeUnixNano\DC2$\n\- \\SOtime_unix_nano\CAN\ETX \SOH(\ACKR\ftimeUnixNano\DC2\DC4\n\- \\ENQcount\CAN\EOT \SOH(\ACKR\ENQcount\DC2\DLE\n\- \\ETXsum\CAN\ENQ \SOH(\SOHR\ETXsum\DC2i\n\- \\SIquantile_values\CAN\ACK \ETX(\v2@.opentelemetry.proto.metrics.v1.SummaryDataPoint.ValueAtQuantileR\SOquantileValues\DC2\DC4\n\- \\ENQflags\CAN\b \SOH(\rR\ENQflags\SUBC\n\- \\SIValueAtQuantile\DC2\SUB\n\- \\bquantile\CAN\SOH \SOH(\SOHR\bquantile\DC2\DC4\n\- \\ENQvalue\CAN\STX \SOH(\SOHR\ENQvalue"- packedFileDescriptor _ = packedFileDescriptor- fieldsByTag- = let- attributes__field_descriptor- = Data.ProtoLens.FieldDescriptor- "attributes"- (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::- Data.ProtoLens.FieldTypeDescriptor Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue)- (Data.ProtoLens.RepeatedField- Data.ProtoLens.Unpacked- (Data.ProtoLens.Field.field @"attributes")) ::- Data.ProtoLens.FieldDescriptor SummaryDataPoint- labels__field_descriptor- = Data.ProtoLens.FieldDescriptor- "labels"- (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::- Data.ProtoLens.FieldTypeDescriptor Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue)- (Data.ProtoLens.RepeatedField- Data.ProtoLens.Unpacked (Data.ProtoLens.Field.field @"labels")) ::- Data.ProtoLens.FieldDescriptor SummaryDataPoint- startTimeUnixNano__field_descriptor- = Data.ProtoLens.FieldDescriptor- "start_time_unix_nano"- (Data.ProtoLens.ScalarField Data.ProtoLens.Fixed64Field ::- Data.ProtoLens.FieldTypeDescriptor Data.Word.Word64)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional- (Data.ProtoLens.Field.field @"startTimeUnixNano")) ::- Data.ProtoLens.FieldDescriptor SummaryDataPoint- timeUnixNano__field_descriptor- = Data.ProtoLens.FieldDescriptor- "time_unix_nano"- (Data.ProtoLens.ScalarField Data.ProtoLens.Fixed64Field ::- Data.ProtoLens.FieldTypeDescriptor Data.Word.Word64)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional- (Data.ProtoLens.Field.field @"timeUnixNano")) ::- Data.ProtoLens.FieldDescriptor SummaryDataPoint- count__field_descriptor- = Data.ProtoLens.FieldDescriptor- "count"- (Data.ProtoLens.ScalarField Data.ProtoLens.Fixed64Field ::- Data.ProtoLens.FieldTypeDescriptor Data.Word.Word64)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"count")) ::- Data.ProtoLens.FieldDescriptor SummaryDataPoint- sum__field_descriptor- = Data.ProtoLens.FieldDescriptor- "sum"- (Data.ProtoLens.ScalarField Data.ProtoLens.DoubleField ::- Data.ProtoLens.FieldTypeDescriptor Prelude.Double)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"sum")) ::- Data.ProtoLens.FieldDescriptor SummaryDataPoint- quantileValues__field_descriptor- = Data.ProtoLens.FieldDescriptor- "quantile_values"- (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::- Data.ProtoLens.FieldTypeDescriptor SummaryDataPoint'ValueAtQuantile)- (Data.ProtoLens.RepeatedField- Data.ProtoLens.Unpacked- (Data.ProtoLens.Field.field @"quantileValues")) ::- Data.ProtoLens.FieldDescriptor SummaryDataPoint- flags__field_descriptor- = Data.ProtoLens.FieldDescriptor- "flags"- (Data.ProtoLens.ScalarField Data.ProtoLens.UInt32Field ::- Data.ProtoLens.FieldTypeDescriptor Data.Word.Word32)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"flags")) ::- Data.ProtoLens.FieldDescriptor SummaryDataPoint- in- Data.Map.fromList- [(Data.ProtoLens.Tag 7, attributes__field_descriptor),- (Data.ProtoLens.Tag 1, labels__field_descriptor),- (Data.ProtoLens.Tag 2, startTimeUnixNano__field_descriptor),- (Data.ProtoLens.Tag 3, timeUnixNano__field_descriptor),- (Data.ProtoLens.Tag 4, count__field_descriptor),- (Data.ProtoLens.Tag 5, sum__field_descriptor),- (Data.ProtoLens.Tag 6, quantileValues__field_descriptor),- (Data.ProtoLens.Tag 8, flags__field_descriptor)]- unknownFields- = Lens.Family2.Unchecked.lens- _SummaryDataPoint'_unknownFields- (\ x__ y__ -> x__ {_SummaryDataPoint'_unknownFields = y__})- defMessage- = SummaryDataPoint'_constructor- {_SummaryDataPoint'attributes = Data.Vector.Generic.empty,- _SummaryDataPoint'labels = Data.Vector.Generic.empty,- _SummaryDataPoint'startTimeUnixNano = Data.ProtoLens.fieldDefault,- _SummaryDataPoint'timeUnixNano = Data.ProtoLens.fieldDefault,- _SummaryDataPoint'count = Data.ProtoLens.fieldDefault,- _SummaryDataPoint'sum = Data.ProtoLens.fieldDefault,- _SummaryDataPoint'quantileValues = Data.Vector.Generic.empty,- _SummaryDataPoint'flags = Data.ProtoLens.fieldDefault,- _SummaryDataPoint'_unknownFields = []}- parseMessage- = let- loop ::- SummaryDataPoint- -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue- -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Proto.Opentelemetry.Proto.Common.V1.Common.StringKeyValue- -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld SummaryDataPoint'ValueAtQuantile- -> Data.ProtoLens.Encoding.Bytes.Parser SummaryDataPoint- loop x mutable'attributes mutable'labels mutable'quantileValues- = do end <- Data.ProtoLens.Encoding.Bytes.atEnd- if end then- do frozen'attributes <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.unsafeFreeze- mutable'attributes)- frozen'labels <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.unsafeFreeze- mutable'labels)- frozen'quantileValues <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.unsafeFreeze- mutable'quantileValues)- (let missing = []- in- if Prelude.null missing then- Prelude.return ()- else- Prelude.fail- ((Prelude.++)- "Missing required fields: "- (Prelude.show (missing :: [Prelude.String]))))- Prelude.return- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)- (Lens.Family2.set- (Data.ProtoLens.Field.field @"vec'attributes") frozen'attributes- (Lens.Family2.set- (Data.ProtoLens.Field.field @"vec'labels") frozen'labels- (Lens.Family2.set- (Data.ProtoLens.Field.field @"vec'quantileValues")- frozen'quantileValues x))))- else- do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt- case tag of- 58- -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len)- Data.ProtoLens.parseMessage)- "attributes"- v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.append mutable'attributes y)- loop x v mutable'labels mutable'quantileValues- 10- -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len)- Data.ProtoLens.parseMessage)- "labels"- v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.append mutable'labels y)- loop x mutable'attributes v mutable'quantileValues- 17- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- Data.ProtoLens.Encoding.Bytes.getFixed64- "start_time_unix_nano"- loop- (Lens.Family2.set- (Data.ProtoLens.Field.field @"startTimeUnixNano") y x)- mutable'attributes mutable'labels mutable'quantileValues- 25- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- Data.ProtoLens.Encoding.Bytes.getFixed64 "time_unix_nano"- loop- (Lens.Family2.set- (Data.ProtoLens.Field.field @"timeUnixNano") y x)- mutable'attributes mutable'labels mutable'quantileValues- 33- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- Data.ProtoLens.Encoding.Bytes.getFixed64 "count"- loop- (Lens.Family2.set (Data.ProtoLens.Field.field @"count") y x)- mutable'attributes mutable'labels mutable'quantileValues- 41- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (Prelude.fmap- Data.ProtoLens.Encoding.Bytes.wordToDouble- Data.ProtoLens.Encoding.Bytes.getFixed64)- "sum"- loop- (Lens.Family2.set (Data.ProtoLens.Field.field @"sum") y x)- mutable'attributes mutable'labels mutable'quantileValues- 50- -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len)- Data.ProtoLens.parseMessage)- "quantile_values"- v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.append- mutable'quantileValues y)- loop x mutable'attributes mutable'labels v- 64- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (Prelude.fmap- Prelude.fromIntegral- Data.ProtoLens.Encoding.Bytes.getVarInt)- "flags"- loop- (Lens.Family2.set (Data.ProtoLens.Field.field @"flags") y x)- mutable'attributes mutable'labels mutable'quantileValues- wire- -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire- wire- loop- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)- mutable'attributes mutable'labels mutable'quantileValues- in- (Data.ProtoLens.Encoding.Bytes.<?>)- (do mutable'attributes <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- Data.ProtoLens.Encoding.Growing.new- mutable'labels <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- Data.ProtoLens.Encoding.Growing.new- mutable'quantileValues <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- Data.ProtoLens.Encoding.Growing.new- loop- Data.ProtoLens.defMessage mutable'attributes mutable'labels- mutable'quantileValues)- "SummaryDataPoint"- buildMessage- = \ _x- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.foldMapBuilder- (\ _v- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 58)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.ProtoLens.encodeMessage _v))- (Lens.Family2.view- (Data.ProtoLens.Field.field @"vec'attributes") _x))- ((Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.foldMapBuilder- (\ _v- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 10)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.ProtoLens.encodeMessage _v))- (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'labels") _x))- ((Data.Monoid.<>)- (let- _v- = Lens.Family2.view- (Data.ProtoLens.Field.field @"startTimeUnixNano") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 17)- (Data.ProtoLens.Encoding.Bytes.putFixed64 _v))- ((Data.Monoid.<>)- (let- _v- = Lens.Family2.view (Data.ProtoLens.Field.field @"timeUnixNano") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 25)- (Data.ProtoLens.Encoding.Bytes.putFixed64 _v))- ((Data.Monoid.<>)- (let- _v = Lens.Family2.view (Data.ProtoLens.Field.field @"count") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 33)- (Data.ProtoLens.Encoding.Bytes.putFixed64 _v))- ((Data.Monoid.<>)- (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"sum") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 41)- ((Prelude..)- Data.ProtoLens.Encoding.Bytes.putFixed64- Data.ProtoLens.Encoding.Bytes.doubleToWord _v))- ((Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.foldMapBuilder- (\ _v- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 50)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral- (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.ProtoLens.encodeMessage _v))- (Lens.Family2.view- (Data.ProtoLens.Field.field @"vec'quantileValues") _x))- ((Data.Monoid.<>)- (let- _v = Lens.Family2.view (Data.ProtoLens.Field.field @"flags") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 64)- ((Prelude..)- Data.ProtoLens.Encoding.Bytes.putVarInt- Prelude.fromIntegral _v))- (Data.ProtoLens.Encoding.Wire.buildFieldSet- (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))))))-instance Control.DeepSeq.NFData SummaryDataPoint where- rnf- = \ x__- -> Control.DeepSeq.deepseq- (_SummaryDataPoint'_unknownFields x__)- (Control.DeepSeq.deepseq- (_SummaryDataPoint'attributes x__)- (Control.DeepSeq.deepseq- (_SummaryDataPoint'labels x__)- (Control.DeepSeq.deepseq- (_SummaryDataPoint'startTimeUnixNano x__)- (Control.DeepSeq.deepseq- (_SummaryDataPoint'timeUnixNano x__)- (Control.DeepSeq.deepseq- (_SummaryDataPoint'count x__)- (Control.DeepSeq.deepseq- (_SummaryDataPoint'sum x__)- (Control.DeepSeq.deepseq- (_SummaryDataPoint'quantileValues x__)- (Control.DeepSeq.deepseq (_SummaryDataPoint'flags x__) ()))))))))-{- | Fields :- - * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.quantile' @:: Lens' SummaryDataPoint'ValueAtQuantile Prelude.Double@- * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.value' @:: Lens' SummaryDataPoint'ValueAtQuantile Prelude.Double@ -}-data SummaryDataPoint'ValueAtQuantile- = SummaryDataPoint'ValueAtQuantile'_constructor {_SummaryDataPoint'ValueAtQuantile'quantile :: !Prelude.Double,- _SummaryDataPoint'ValueAtQuantile'value :: !Prelude.Double,- _SummaryDataPoint'ValueAtQuantile'_unknownFields :: !Data.ProtoLens.FieldSet}- deriving stock (Prelude.Eq, Prelude.Ord)-instance Prelude.Show SummaryDataPoint'ValueAtQuantile where- showsPrec _ __x __s- = Prelude.showChar- '{'- (Prelude.showString- (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))-instance Data.ProtoLens.Field.HasField SummaryDataPoint'ValueAtQuantile "quantile" Prelude.Double where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _SummaryDataPoint'ValueAtQuantile'quantile- (\ x__ y__- -> x__ {_SummaryDataPoint'ValueAtQuantile'quantile = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField SummaryDataPoint'ValueAtQuantile "value" Prelude.Double where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _SummaryDataPoint'ValueAtQuantile'value- (\ x__ y__ -> x__ {_SummaryDataPoint'ValueAtQuantile'value = y__}))- Prelude.id-instance Data.ProtoLens.Message SummaryDataPoint'ValueAtQuantile where- messageName _- = Data.Text.pack- "opentelemetry.proto.metrics.v1.SummaryDataPoint.ValueAtQuantile"- packedMessageDescriptor _- = "\n\- \\SIValueAtQuantile\DC2\SUB\n\- \\bquantile\CAN\SOH \SOH(\SOHR\bquantile\DC2\DC4\n\- \\ENQvalue\CAN\STX \SOH(\SOHR\ENQvalue"- packedFileDescriptor _ = packedFileDescriptor- fieldsByTag- = let- quantile__field_descriptor- = Data.ProtoLens.FieldDescriptor- "quantile"- (Data.ProtoLens.ScalarField Data.ProtoLens.DoubleField ::- Data.ProtoLens.FieldTypeDescriptor Prelude.Double)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional- (Data.ProtoLens.Field.field @"quantile")) ::- Data.ProtoLens.FieldDescriptor SummaryDataPoint'ValueAtQuantile- value__field_descriptor- = Data.ProtoLens.FieldDescriptor- "value"- (Data.ProtoLens.ScalarField Data.ProtoLens.DoubleField ::- Data.ProtoLens.FieldTypeDescriptor Prelude.Double)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"value")) ::- Data.ProtoLens.FieldDescriptor SummaryDataPoint'ValueAtQuantile- in- Data.Map.fromList- [(Data.ProtoLens.Tag 1, quantile__field_descriptor),- (Data.ProtoLens.Tag 2, value__field_descriptor)]- unknownFields- = Lens.Family2.Unchecked.lens- _SummaryDataPoint'ValueAtQuantile'_unknownFields- (\ x__ y__- -> x__ {_SummaryDataPoint'ValueAtQuantile'_unknownFields = y__})- defMessage- = SummaryDataPoint'ValueAtQuantile'_constructor- {_SummaryDataPoint'ValueAtQuantile'quantile = Data.ProtoLens.fieldDefault,- _SummaryDataPoint'ValueAtQuantile'value = Data.ProtoLens.fieldDefault,- _SummaryDataPoint'ValueAtQuantile'_unknownFields = []}- parseMessage- = let- loop ::- SummaryDataPoint'ValueAtQuantile- -> Data.ProtoLens.Encoding.Bytes.Parser SummaryDataPoint'ValueAtQuantile- loop x- = do end <- Data.ProtoLens.Encoding.Bytes.atEnd- if end then- do (let missing = []- in- if Prelude.null missing then- Prelude.return ()- else- Prelude.fail- ((Prelude.++)- "Missing required fields: "- (Prelude.show (missing :: [Prelude.String]))))- Prelude.return- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)- else- do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt- case tag of- 9 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (Prelude.fmap- Data.ProtoLens.Encoding.Bytes.wordToDouble- Data.ProtoLens.Encoding.Bytes.getFixed64)- "quantile"- loop- (Lens.Family2.set (Data.ProtoLens.Field.field @"quantile") y x)- 17- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (Prelude.fmap- Data.ProtoLens.Encoding.Bytes.wordToDouble- Data.ProtoLens.Encoding.Bytes.getFixed64)- "value"- loop (Lens.Family2.set (Data.ProtoLens.Field.field @"value") y x)- wire- -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire- wire- loop- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)- in- (Data.ProtoLens.Encoding.Bytes.<?>)- (do loop Data.ProtoLens.defMessage) "ValueAtQuantile"- buildMessage- = \ _x- -> (Data.Monoid.<>)- (let- _v = Lens.Family2.view (Data.ProtoLens.Field.field @"quantile") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 9)- ((Prelude..)- Data.ProtoLens.Encoding.Bytes.putFixed64- Data.ProtoLens.Encoding.Bytes.doubleToWord _v))- ((Data.Monoid.<>)- (let- _v = Lens.Family2.view (Data.ProtoLens.Field.field @"value") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 17)- ((Prelude..)- Data.ProtoLens.Encoding.Bytes.putFixed64- Data.ProtoLens.Encoding.Bytes.doubleToWord _v))- (Data.ProtoLens.Encoding.Wire.buildFieldSet- (Lens.Family2.view Data.ProtoLens.unknownFields _x)))-instance Control.DeepSeq.NFData SummaryDataPoint'ValueAtQuantile where- rnf- = \ x__- -> Control.DeepSeq.deepseq- (_SummaryDataPoint'ValueAtQuantile'_unknownFields x__)- (Control.DeepSeq.deepseq- (_SummaryDataPoint'ValueAtQuantile'quantile x__)- (Control.DeepSeq.deepseq- (_SummaryDataPoint'ValueAtQuantile'value x__) ()))-packedFileDescriptor :: Data.ByteString.ByteString-packedFileDescriptor- = "\n\- \,opentelemetry/proto/metrics/v1/metrics.proto\DC2\RSopentelemetry.proto.metrics.v1\SUB*opentelemetry/proto/common/v1/common.proto\SUB.opentelemetry/proto/resource/v1/resource.proto\"i\n\- \\vMetricsData\DC2Z\n\- \\DLEresource_metrics\CAN\SOH \ETX(\v2/.opentelemetry.proto.metrics.v1.ResourceMetricsR\SIresourceMetrics\"\255\SOH\n\- \\SIResourceMetrics\DC2E\n\- \\bresource\CAN\SOH \SOH(\v2).opentelemetry.proto.resource.v1.ResourceR\bresource\DC2\133\SOH\n\- \\USinstrumentation_library_metrics\CAN\STX \ETX(\v2=.opentelemetry.proto.metrics.v1.InstrumentationLibraryMetricsR\GSinstrumentationLibraryMetrics\DC2\GS\n\- \\n\- \schema_url\CAN\ETX \SOH(\tR\tschemaUrl\"\240\SOH\n\- \\GSInstrumentationLibraryMetrics\DC2n\n\- \\ETBinstrumentation_library\CAN\SOH \SOH(\v25.opentelemetry.proto.common.v1.InstrumentationLibraryR\SYNinstrumentationLibrary\DC2@\n\- \\ametrics\CAN\STX \ETX(\v2&.opentelemetry.proto.metrics.v1.MetricR\ametrics\DC2\GS\n\- \\n\- \schema_url\CAN\ETX \SOH(\tR\tschemaUrl\"\188\ENQ\n\- \\ACKMetric\DC2\DC2\n\- \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC2 \n\- \\vdescription\CAN\STX \SOH(\tR\vdescription\DC2\DC2\n\- \\EOTunit\CAN\ETX \SOH(\tR\EOTunit\DC2K\n\- \\tint_gauge\CAN\EOT \SOH(\v2(.opentelemetry.proto.metrics.v1.IntGaugeH\NULR\bintGaugeB\STX\CAN\SOH\DC2=\n\- \\ENQgauge\CAN\ENQ \SOH(\v2%.opentelemetry.proto.metrics.v1.GaugeH\NULR\ENQgauge\DC2E\n\- \\aint_sum\CAN\ACK \SOH(\v2&.opentelemetry.proto.metrics.v1.IntSumH\NULR\ACKintSumB\STX\CAN\SOH\DC27\n\- \\ETXsum\CAN\a \SOH(\v2#.opentelemetry.proto.metrics.v1.SumH\NULR\ETXsum\DC2W\n\- \\rint_histogram\CAN\b \SOH(\v2,.opentelemetry.proto.metrics.v1.IntHistogramH\NULR\fintHistogramB\STX\CAN\SOH\DC2I\n\- \\thistogram\CAN\t \SOH(\v2).opentelemetry.proto.metrics.v1.HistogramH\NULR\thistogram\DC2k\n\- \\NAKexponential_histogram\CAN\n\- \ \SOH(\v24.opentelemetry.proto.metrics.v1.ExponentialHistogramH\NULR\DC4exponentialHistogram\DC2C\n\- \\asummary\CAN\v \SOH(\v2'.opentelemetry.proto.metrics.v1.SummaryH\NULR\asummaryB\ACK\n\- \\EOTdata\"Y\n\- \\ENQGauge\DC2P\n\- \\vdata_points\CAN\SOH \ETX(\v2/.opentelemetry.proto.metrics.v1.NumberDataPointR\n\- \dataPoints\"\235\SOH\n\- \\ETXSum\DC2P\n\- \\vdata_points\CAN\SOH \ETX(\v2/.opentelemetry.proto.metrics.v1.NumberDataPointR\n\- \dataPoints\DC2o\n\- \\ETBaggregation_temporality\CAN\STX \SOH(\SO26.opentelemetry.proto.metrics.v1.AggregationTemporalityR\SYNaggregationTemporality\DC2!\n\- \\fis_monotonic\CAN\ETX \SOH(\bR\visMonotonic\"\209\SOH\n\- \\tHistogram\DC2S\n\- \\vdata_points\CAN\SOH \ETX(\v22.opentelemetry.proto.metrics.v1.HistogramDataPointR\n\- \dataPoints\DC2o\n\- \\ETBaggregation_temporality\CAN\STX \SOH(\SO26.opentelemetry.proto.metrics.v1.AggregationTemporalityR\SYNaggregationTemporality\"\231\SOH\n\- \\DC4ExponentialHistogram\DC2^\n\- \\vdata_points\CAN\SOH \ETX(\v2=.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPointR\n\- \dataPoints\DC2o\n\- \\ETBaggregation_temporality\CAN\STX \SOH(\SO26.opentelemetry.proto.metrics.v1.AggregationTemporalityR\SYNaggregationTemporality\"\\\n\- \\aSummary\DC2Q\n\- \\vdata_points\CAN\SOH \ETX(\v20.opentelemetry.proto.metrics.v1.SummaryDataPointR\n\- \dataPoints\"\155\ETX\n\- \\SINumberDataPoint\DC2G\n\- \\n\- \attributes\CAN\a \ETX(\v2'.opentelemetry.proto.common.v1.KeyValueR\n\- \attributes\DC2I\n\- \\ACKlabels\CAN\SOH \ETX(\v2-.opentelemetry.proto.common.v1.StringKeyValueR\ACKlabelsB\STX\CAN\SOH\DC2/\n\- \\DC4start_time_unix_nano\CAN\STX \SOH(\ACKR\DC1startTimeUnixNano\DC2$\n\- \\SOtime_unix_nano\CAN\ETX \SOH(\ACKR\ftimeUnixNano\DC2\GS\n\- \\tas_double\CAN\EOT \SOH(\SOHH\NULR\basDouble\DC2\ETB\n\- \\ACKas_int\CAN\ACK \SOH(\DLEH\NULR\ENQasInt\DC2F\n\- \\texemplars\CAN\ENQ \ETX(\v2(.opentelemetry.proto.metrics.v1.ExemplarR\texemplars\DC2\DC4\n\- \\ENQflags\CAN\b \SOH(\rR\ENQflagsB\a\n\- \\ENQvalue\"\211\ETX\n\- \\DC2HistogramDataPoint\DC2G\n\- \\n\- \attributes\CAN\t \ETX(\v2'.opentelemetry.proto.common.v1.KeyValueR\n\- \attributes\DC2I\n\- \\ACKlabels\CAN\SOH \ETX(\v2-.opentelemetry.proto.common.v1.StringKeyValueR\ACKlabelsB\STX\CAN\SOH\DC2/\n\- \\DC4start_time_unix_nano\CAN\STX \SOH(\ACKR\DC1startTimeUnixNano\DC2$\n\- \\SOtime_unix_nano\CAN\ETX \SOH(\ACKR\ftimeUnixNano\DC2\DC4\n\- \\ENQcount\CAN\EOT \SOH(\ACKR\ENQcount\DC2\DLE\n\- \\ETXsum\CAN\ENQ \SOH(\SOHR\ETXsum\DC2#\n\- \\rbucket_counts\CAN\ACK \ETX(\ACKR\fbucketCounts\DC2'\n\- \\SIexplicit_bounds\CAN\a \ETX(\SOHR\SOexplicitBounds\DC2F\n\- \\texemplars\CAN\b \ETX(\v2(.opentelemetry.proto.metrics.v1.ExemplarR\texemplars\DC2\DC4\n\- \\ENQflags\CAN\n\- \ \SOH(\rR\ENQflags\"\136\ENQ\n\- \\GSExponentialHistogramDataPoint\DC2G\n\- \\n\- \attributes\CAN\SOH \ETX(\v2'.opentelemetry.proto.common.v1.KeyValueR\n\- \attributes\DC2/\n\- \\DC4start_time_unix_nano\CAN\STX \SOH(\ACKR\DC1startTimeUnixNano\DC2$\n\- \\SOtime_unix_nano\CAN\ETX \SOH(\ACKR\ftimeUnixNano\DC2\DC4\n\- \\ENQcount\CAN\EOT \SOH(\ACKR\ENQcount\DC2\DLE\n\- \\ETXsum\CAN\ENQ \SOH(\SOHR\ETXsum\DC2\DC4\n\- \\ENQscale\CAN\ACK \SOH(\DC1R\ENQscale\DC2\GS\n\- \\n\- \zero_count\CAN\a \SOH(\ACKR\tzeroCount\DC2a\n\- \\bpositive\CAN\b \SOH(\v2E.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.BucketsR\bpositive\DC2a\n\- \\bnegative\CAN\t \SOH(\v2E.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.BucketsR\bnegative\DC2\DC4\n\- \\ENQflags\CAN\n\- \ \SOH(\rR\ENQflags\DC2F\n\- \\texemplars\CAN\v \ETX(\v2(.opentelemetry.proto.metrics.v1.ExemplarR\texemplars\SUBF\n\- \\aBuckets\DC2\SYN\n\- \\ACKoffset\CAN\SOH \SOH(\DC1R\ACKoffset\DC2#\n\- \\rbucket_counts\CAN\STX \ETX(\EOTR\fbucketCounts\"\235\ETX\n\- \\DLESummaryDataPoint\DC2G\n\- \\n\- \attributes\CAN\a \ETX(\v2'.opentelemetry.proto.common.v1.KeyValueR\n\- \attributes\DC2I\n\- \\ACKlabels\CAN\SOH \ETX(\v2-.opentelemetry.proto.common.v1.StringKeyValueR\ACKlabelsB\STX\CAN\SOH\DC2/\n\- \\DC4start_time_unix_nano\CAN\STX \SOH(\ACKR\DC1startTimeUnixNano\DC2$\n\- \\SOtime_unix_nano\CAN\ETX \SOH(\ACKR\ftimeUnixNano\DC2\DC4\n\- \\ENQcount\CAN\EOT \SOH(\ACKR\ENQcount\DC2\DLE\n\- \\ETXsum\CAN\ENQ \SOH(\SOHR\ETXsum\DC2i\n\- \\SIquantile_values\CAN\ACK \ETX(\v2@.opentelemetry.proto.metrics.v1.SummaryDataPoint.ValueAtQuantileR\SOquantileValues\DC2\DC4\n\- \\ENQflags\CAN\b \SOH(\rR\ENQflags\SUBC\n\- \\SIValueAtQuantile\DC2\SUB\n\- \\bquantile\CAN\SOH \SOH(\SOHR\bquantile\DC2\DC4\n\- \\ENQvalue\CAN\STX \SOH(\SOHR\ENQvalue\"\219\STX\n\- \\bExemplar\DC2X\n\- \\DC3filtered_attributes\CAN\a \ETX(\v2'.opentelemetry.proto.common.v1.KeyValueR\DC2filteredAttributes\DC2Z\n\- \\SIfiltered_labels\CAN\SOH \ETX(\v2-.opentelemetry.proto.common.v1.StringKeyValueR\SOfilteredLabelsB\STX\CAN\SOH\DC2$\n\- \\SOtime_unix_nano\CAN\STX \SOH(\ACKR\ftimeUnixNano\DC2\GS\n\- \\tas_double\CAN\ETX \SOH(\SOHH\NULR\basDouble\DC2\ETB\n\- \\ACKas_int\CAN\ACK \SOH(\DLEH\NULR\ENQasInt\DC2\ETB\n\- \\aspan_id\CAN\EOT \SOH(\fR\ACKspanId\DC2\EM\n\- \\btrace_id\CAN\ENQ \SOH(\fR\atraceIdB\a\n\- \\ENQvalue\"\145\STX\n\- \\fIntDataPoint\DC2E\n\- \\ACKlabels\CAN\SOH \ETX(\v2-.opentelemetry.proto.common.v1.StringKeyValueR\ACKlabels\DC2/\n\- \\DC4start_time_unix_nano\CAN\STX \SOH(\ACKR\DC1startTimeUnixNano\DC2$\n\- \\SOtime_unix_nano\CAN\ETX \SOH(\ACKR\ftimeUnixNano\DC2\DC4\n\- \\ENQvalue\CAN\EOT \SOH(\DLER\ENQvalue\DC2I\n\- \\texemplars\CAN\ENQ \ETX(\v2+.opentelemetry.proto.metrics.v1.IntExemplarR\texemplars:\STX\CAN\SOH\"]\n\- \\bIntGauge\DC2M\n\- \\vdata_points\CAN\SOH \ETX(\v2,.opentelemetry.proto.metrics.v1.IntDataPointR\n\- \dataPoints:\STX\CAN\SOH\"\239\SOH\n\- \\ACKIntSum\DC2M\n\- \\vdata_points\CAN\SOH \ETX(\v2,.opentelemetry.proto.metrics.v1.IntDataPointR\n\- \dataPoints\DC2o\n\- \\ETBaggregation_temporality\CAN\STX \SOH(\SO26.opentelemetry.proto.metrics.v1.AggregationTemporalityR\SYNaggregationTemporality\DC2!\n\- \\fis_monotonic\CAN\ETX \SOH(\bR\visMonotonic:\STX\CAN\SOH\"\250\STX\n\- \\NAKIntHistogramDataPoint\DC2E\n\- \\ACKlabels\CAN\SOH \ETX(\v2-.opentelemetry.proto.common.v1.StringKeyValueR\ACKlabels\DC2/\n\- \\DC4start_time_unix_nano\CAN\STX \SOH(\ACKR\DC1startTimeUnixNano\DC2$\n\- \\SOtime_unix_nano\CAN\ETX \SOH(\ACKR\ftimeUnixNano\DC2\DC4\n\- \\ENQcount\CAN\EOT \SOH(\ACKR\ENQcount\DC2\DLE\n\- \\ETXsum\CAN\ENQ \SOH(\DLER\ETXsum\DC2#\n\- \\rbucket_counts\CAN\ACK \ETX(\ACKR\fbucketCounts\DC2'\n\- \\SIexplicit_bounds\CAN\a \ETX(\SOHR\SOexplicitBounds\DC2I\n\- \\texemplars\CAN\b \ETX(\v2+.opentelemetry.proto.metrics.v1.IntExemplarR\texemplars:\STX\CAN\SOH\"\219\SOH\n\- \\fIntHistogram\DC2V\n\- \\vdata_points\CAN\SOH \ETX(\v25.opentelemetry.proto.metrics.v1.IntHistogramDataPointR\n\- \dataPoints\DC2o\n\- \\ETBaggregation_temporality\CAN\STX \SOH(\SO26.opentelemetry.proto.metrics.v1.AggregationTemporalityR\SYNaggregationTemporality:\STX\CAN\SOH\"\217\SOH\n\- \\vIntExemplar\DC2V\n\- \\SIfiltered_labels\CAN\SOH \ETX(\v2-.opentelemetry.proto.common.v1.StringKeyValueR\SOfilteredLabels\DC2$\n\- \\SOtime_unix_nano\CAN\STX \SOH(\ACKR\ftimeUnixNano\DC2\DC4\n\- \\ENQvalue\CAN\ETX \SOH(\DLER\ENQvalue\DC2\ETB\n\- \\aspan_id\CAN\EOT \SOH(\fR\ACKspanId\DC2\EM\n\- \\btrace_id\CAN\ENQ \SOH(\fR\atraceId:\STX\CAN\SOH*\140\SOH\n\- \\SYNAggregationTemporality\DC2'\n\- \#AGGREGATION_TEMPORALITY_UNSPECIFIED\DLE\NUL\DC2!\n\- \\GSAGGREGATION_TEMPORALITY_DELTA\DLE\SOH\DC2&\n\- \\"AGGREGATION_TEMPORALITY_CUMULATIVE\DLE\STX*;\n\- \\SODataPointFlags\DC2\r\n\- \\tFLAG_NONE\DLE\NUL\DC2\SUB\n\- \\SYNFLAG_NO_RECORDED_VALUE\DLE\SOHBt\n\- \!io.opentelemetry.proto.metrics.v1B\fMetricsProtoP\SOHZ?github.com/open-telemetry/opentelemetry-proto/gen/go/metrics/v1J\201\160\STX\n\- \\a\DC2\ENQ\SO\NUL\207\ACK\SOH\n\- \\200\EOT\n\- \\SOH\f\DC2\ETX\SO\NUL\DC22\189\EOT Copyright 2019, OpenTelemetry Authors\n\- \\n\- \ Licensed under the Apache License, Version 2.0 (the \"License\");\n\- \ you may not use this file except in compliance with the License.\n\- \ You may obtain a copy of the License at\n\- \\n\- \ http://www.apache.org/licenses/LICENSE-2.0\n\- \\n\- \ Unless required by applicable law or agreed to in writing, software\n\- \ distributed under the License is distributed on an \"AS IS\" BASIS,\n\- \ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\- \ See the License for the specific language governing permissions and\n\- \ limitations under the License.\n\- \\n\- \\b\n\- \\SOH\STX\DC2\ETX\DLE\NUL'\n\- \\t\n\- \\STX\ETX\NUL\DC2\ETX\DC2\NUL4\n\- \\t\n\- \\STX\ETX\SOH\DC2\ETX\DC3\NUL8\n\- \\b\n\- \\SOH\b\DC2\ETX\NAK\NUL\"\n\- \\t\n\- \\STX\b\n\- \\DC2\ETX\NAK\NUL\"\n\- \\b\n\- \\SOH\b\DC2\ETX\SYN\NUL:\n\- \\t\n\- \\STX\b\SOH\DC2\ETX\SYN\NUL:\n\- \\b\n\- \\SOH\b\DC2\ETX\ETB\NUL-\n\- \\t\n\- \\STX\b\b\DC2\ETX\ETB\NUL-\n\- \\b\n\- \\SOH\b\DC2\ETX\CAN\NULV\n\- \\t\n\- \\STX\b\v\DC2\ETX\CAN\NULV\n\- \\209\ETX\n\- \\STX\EOT\NUL\DC2\EOT$\NUL+\SOH\SUB\196\ETX MetricsData represents the metrics data that can be stored in a persistent\n\- \ storage, OR can be embedded by other protocols that transfer OTLP metrics\n\- \ data but do not implement the OTLP protocol.\n\- \\n\- \ The main difference between this message and collector protocol is that\n\- \ in this message there will not be any \"control\" or \"metadata\" specific to\n\- \ OTLP protocol.\n\- \\n\- \ When new fields are added into this message, the OTLP request MUST be updated\n\- \ as well.\n\- \\n\- \\n\- \\n\- \\ETX\EOT\NUL\SOH\DC2\ETX$\b\DC3\n\- \\176\STX\n\- \\EOT\EOT\NUL\STX\NUL\DC2\ETX*\STX0\SUB\162\STX An array of ResourceMetrics.\n\- \ For data coming from a single resource this array will typically contain\n\- \ one element. Intermediary nodes that receive data from multiple origins\n\- \ typically batch the data before forwarding further and in that case this\n\- \ array will contain multiple elements.\n\- \\n\- \\f\n\- \\ENQ\EOT\NUL\STX\NUL\EOT\DC2\ETX*\STX\n\- \\n\- \\f\n\- \\ENQ\EOT\NUL\STX\NUL\ACK\DC2\ETX*\v\SUB\n\- \\f\n\- \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX*\ESC+\n\- \\f\n\- \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX*./\n\- \L\n\- \\STX\EOT\SOH\DC2\EOT.\NUL:\SOH\SUB@ A collection of InstrumentationLibraryMetrics from a Resource.\n\- \\n\- \\n\- \\n\- \\ETX\EOT\SOH\SOH\DC2\ETX.\b\ETB\n\- \v\n\- \\EOT\EOT\SOH\STX\NUL\DC2\ETX1\STX8\SUBi The resource for the metrics in this message.\n\- \ If this field is not set then no resource info is known.\n\- \\n\- \\f\n\- \\ENQ\EOT\SOH\STX\NUL\ACK\DC2\ETX1\STX*\n\- \\f\n\- \\ENQ\EOT\SOH\STX\NUL\SOH\DC2\ETX1+3\n\- \\f\n\- \\ENQ\EOT\SOH\STX\NUL\ETX\DC2\ETX167\n\- \@\n\- \\EOT\EOT\SOH\STX\SOH\DC2\ETX4\STXM\SUB3 A list of metrics that originate from a resource.\n\- \\n\- \\f\n\- \\ENQ\EOT\SOH\STX\SOH\EOT\DC2\ETX4\STX\n\- \\n\- \\f\n\- \\ENQ\EOT\SOH\STX\SOH\ACK\DC2\ETX4\v(\n\- \\f\n\- \\ENQ\EOT\SOH\STX\SOH\SOH\DC2\ETX4)H\n\- \\f\n\- \\ENQ\EOT\SOH\STX\SOH\ETX\DC2\ETX4KL\n\- \\194\SOH\n\- \\EOT\EOT\SOH\STX\STX\DC2\ETX9\STX\CAN\SUB\180\SOH This schema_url applies to the data in the \"resource\" field. It does not apply\n\- \ to the data in the \"instrumentation_library_metrics\" field which have their own\n\- \ schema_url field.\n\- \\n\- \\f\n\- \\ENQ\EOT\SOH\STX\STX\ENQ\DC2\ETX9\STX\b\n\- \\f\n\- \\ENQ\EOT\SOH\STX\STX\SOH\DC2\ETX9\t\DC3\n\- \\f\n\- \\ENQ\EOT\SOH\STX\STX\ETX\DC2\ETX9\SYN\ETB\n\- \L\n\- \\STX\EOT\STX\DC2\EOT=\NULH\SOH\SUB@ A collection of Metrics produced by an InstrumentationLibrary.\n\- \\n\- \\n\- \\n\- \\ETX\EOT\STX\SOH\DC2\ETX=\b%\n\- \\213\SOH\n\- \\EOT\EOT\STX\STX\NUL\DC2\ETXA\STXS\SUB\199\SOH The instrumentation library information for the metrics in this message.\n\- \ Semantically when InstrumentationLibrary isn't set, it is equivalent with\n\- \ an empty instrumentation library name (unknown).\n\- \\n\- \\f\n\- \\ENQ\EOT\STX\STX\NUL\ACK\DC2\ETXA\STX6\n\- \\f\n\- \\ENQ\EOT\STX\STX\NUL\SOH\DC2\ETXA7N\n\- \\f\n\- \\ENQ\EOT\STX\STX\NUL\ETX\DC2\ETXAQR\n\- \P\n\- \\EOT\EOT\STX\STX\SOH\DC2\ETXD\STX\RS\SUBC A list of metrics that originate from an instrumentation library.\n\- \\n\- \\f\n\- \\ENQ\EOT\STX\STX\SOH\EOT\DC2\ETXD\STX\n\- \\n\- \\f\n\- \\ENQ\EOT\STX\STX\SOH\ACK\DC2\ETXD\v\DC1\n\- \\f\n\- \\ENQ\EOT\STX\STX\SOH\SOH\DC2\ETXD\DC2\EM\n\- \\f\n\- \\ENQ\EOT\STX\STX\SOH\ETX\DC2\ETXD\FS\GS\n\- \M\n\- \\EOT\EOT\STX\STX\STX\DC2\ETXG\STX\CAN\SUB@ This schema_url applies to all metrics in the \"metrics\" field.\n\- \\n\- \\f\n\- \\ENQ\EOT\STX\STX\STX\ENQ\DC2\ETXG\STX\b\n\- \\f\n\- \\ENQ\EOT\STX\STX\STX\SOH\DC2\ETXG\t\DC3\n\- \\f\n\- \\ENQ\EOT\STX\STX\STX\ETX\DC2\ETXG\SYN\ETB\n\- \\174\GS\n\- \\STX\EOT\ETX\DC2\ACK\159\SOH\NUL\200\SOH\SOH\SUB\159\GS Defines a Metric which has one or more timeseries. The following is a\n\- \ brief summary of the Metric data model. For more details, see:\n\- \\n\- \ https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/datamodel.md\n\- \\n\- \\n\- \ The data model and relation between entities is shown in the\n\- \ diagram below. Here, \"DataPoint\" is the term used to refer to any\n\- \ one of the specific data point value types, and \"points\" is the term used\n\- \ to refer to any one of the lists of points contained in the Metric.\n\- \\n\- \ - Metric is composed of a metadata and data.\n\- \ - Metadata part contains a name, description, unit.\n\- \ - Data is one of the possible types (Sum, Gauge, Histogram, Summary).\n\- \ - DataPoint contains timestamps, attributes, and one of the possible value type\n\- \ fields.\n\- \\n\- \ Metric\n\- \ +------------+\n\- \ |name |\n\- \ |description |\n\- \ |unit | +------------------------------------+\n\- \ |data |---> |Gauge, Sum, Histogram, Summary, ... |\n\- \ +------------+ +------------------------------------+\n\- \\n\- \ Data [One of Gauge, Sum, Histogram, Summary, ...]\n\- \ +-----------+\n\- \ |... | // Metadata about the Data.\n\- \ |points |--+\n\- \ +-----------+ |\n\- \ | +---------------------------+\n\- \ | |DataPoint 1 |\n\- \ v |+------+------+ +------+ |\n\- \ +-----+ ||label |label |...|label | |\n\- \ | 1 |-->||value1|value2|...|valueN| |\n\- \ +-----+ |+------+------+ +------+ |\n\- \ | . | |+-----+ |\n\- \ | . | ||value| |\n\- \ | . | |+-----+ |\n\- \ | . | +---------------------------+\n\- \ | . | .\n\- \ | . | .\n\- \ | . | .\n\- \ | . | +---------------------------+\n\- \ | . | |DataPoint M |\n\- \ +-----+ |+------+------+ +------+ |\n\- \ | M |-->||label |label |...|label | |\n\- \ +-----+ ||value1|value2|...|valueN| |\n\- \ |+------+------+ +------+ |\n\- \ |+-----+ |\n\- \ ||value| |\n\- \ |+-----+ |\n\- \ +---------------------------+\n\- \\n\- \ Each distinct type of DataPoint represents the output of a specific\n\- \ aggregation function, the result of applying the DataPoint's\n\- \ associated function of to one or more measurements.\n\- \\n\- \ All DataPoint types have three common fields:\n\- \ - Attributes includes key-value pairs associated with the data point\n\- \ - TimeUnixNano is required, set to the end time of the aggregation\n\- \ - StartTimeUnixNano is optional, but strongly encouraged for DataPoints\n\- \ having an AggregationTemporality field, as discussed below.\n\- \\n\- \ Both TimeUnixNano and StartTimeUnixNano values are expressed as\n\- \ UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970.\n\- \\n\- \ # TimeUnixNano\n\- \\n\- \ This field is required, having consistent interpretation across\n\- \ DataPoint types. TimeUnixNano is the moment corresponding to when\n\- \ the data point's aggregate value was captured.\n\- \\n\- \ Data points with the 0 value for TimeUnixNano SHOULD be rejected\n\- \ by consumers.\n\- \\n\- \ # StartTimeUnixNano\n\- \\n\- \ StartTimeUnixNano in general allows detecting when a sequence of\n\- \ observations is unbroken. This field indicates to consumers the\n\- \ start time for points with cumulative and delta\n\- \ AggregationTemporality, and it should be included whenever possible\n\- \ to support correct rate calculation. Although it may be omitted\n\- \ when the start time is truly unknown, setting StartTimeUnixNano is\n\- \ strongly encouraged.\n\- \\n\- \\v\n\- \\ETX\EOT\ETX\SOH\DC2\EOT\159\SOH\b\SO\n\- \U\n\- \\EOT\EOT\ETX\STX\NUL\DC2\EOT\161\SOH\STX\DC2\SUBG name of the metric, including its DNS name prefix. It must be unique.\n\- \\n\- \\r\n\- \\ENQ\EOT\ETX\STX\NUL\ENQ\DC2\EOT\161\SOH\STX\b\n\- \\r\n\- \\ENQ\EOT\ETX\STX\NUL\SOH\DC2\EOT\161\SOH\t\r\n\- \\r\n\- \\ENQ\EOT\ETX\STX\NUL\ETX\DC2\EOT\161\SOH\DLE\DC1\n\- \N\n\- \\EOT\EOT\ETX\STX\SOH\DC2\EOT\164\SOH\STX\EM\SUB@ description of the metric, which can be used in documentation.\n\- \\n\- \\r\n\- \\ENQ\EOT\ETX\STX\SOH\ENQ\DC2\EOT\164\SOH\STX\b\n\- \\r\n\- \\ENQ\EOT\ETX\STX\SOH\SOH\DC2\EOT\164\SOH\t\DC4\n\- \\r\n\- \\ENQ\EOT\ETX\STX\SOH\ETX\DC2\EOT\164\SOH\ETB\CAN\n\- \\129\SOH\n\- \\EOT\EOT\ETX\STX\STX\DC2\EOT\168\SOH\STX\DC2\SUBs unit in which the metric value is reported. Follows the format\n\- \ described by http://unitsofmeasure.org/ucum.html.\n\- \\n\- \\r\n\- \\ENQ\EOT\ETX\STX\STX\ENQ\DC2\EOT\168\SOH\STX\b\n\- \\r\n\- \\ENQ\EOT\ETX\STX\STX\SOH\DC2\EOT\168\SOH\t\r\n\- \\r\n\- \\ENQ\EOT\ETX\STX\STX\ETX\DC2\EOT\168\SOH\DLE\DC1\n\- \\215\SOH\n\- \\EOT\EOT\ETX\b\NUL\DC2\ACK\173\SOH\STX\199\SOH\ETX\SUB\198\SOH Data determines the aggregation type (if any) of the metric, what is the\n\- \ reported value type for the data points, as well as the relatationship to\n\- \ the time interval over which they are reported.\n\- \\n\- \\r\n\- \\ENQ\EOT\ETX\b\NUL\SOH\DC2\EOT\173\SOH\b\f\n\- \\242\ETX\n\- \\EOT\EOT\ETX\STX\ETX\DC2\EOT\182\SOH\EOT/\SUB\227\ETX IntGauge and IntSum are deprecated and will be removed soon.\n\- \ 1. Old senders and receivers that are not aware of this change will\n\- \ continue using the `int_gauge` and `int_sum` fields.\n\- \ 2. New senders, which are aware of this change MUST send only `gauge`\n\- \ and `sum` fields.\n\- \ 3. New receivers, which are aware of this change MUST convert these into\n\- \ `gauge` and `sum` by using the provided as_int field in the oneof values.\n\- \ This field will be removed in ~3 months, on July 1, 2021.\n\- \\n\- \\r\n\- \\ENQ\EOT\ETX\STX\ETX\ACK\DC2\EOT\182\SOH\EOT\f\n\- \\r\n\- \\ENQ\EOT\ETX\STX\ETX\SOH\DC2\EOT\182\SOH\r\SYN\n\- \\r\n\- \\ENQ\EOT\ETX\STX\ETX\ETX\DC2\EOT\182\SOH\EM\SUB\n\- \\r\n\- \\ENQ\EOT\ETX\STX\ETX\b\DC2\EOT\182\SOH\ESC.\n\- \\SO\n\- \\ACK\EOT\ETX\STX\ETX\b\ETX\DC2\EOT\182\SOH\FS-\n\- \\f\n\- \\EOT\EOT\ETX\STX\EOT\DC2\EOT\183\SOH\EOT\DC4\n\- \\r\n\- \\ENQ\EOT\ETX\STX\EOT\ACK\DC2\EOT\183\SOH\EOT\t\n\- \\r\n\- \\ENQ\EOT\ETX\STX\EOT\SOH\DC2\EOT\183\SOH\n\- \\SI\n\- \\r\n\- \\ENQ\EOT\ETX\STX\EOT\ETX\DC2\EOT\183\SOH\DC2\DC3\n\- \I\n\- \\EOT\EOT\ETX\STX\ENQ\DC2\EOT\185\SOH\EOT+\SUB; This field will be removed in ~3 months, on July 1, 2021.\n\- \\n\- \\r\n\- \\ENQ\EOT\ETX\STX\ENQ\ACK\DC2\EOT\185\SOH\EOT\n\- \\n\- \\r\n\- \\ENQ\EOT\ETX\STX\ENQ\SOH\DC2\EOT\185\SOH\v\DC2\n\- \\r\n\- \\ENQ\EOT\ETX\STX\ENQ\ETX\DC2\EOT\185\SOH\NAK\SYN\n\- \\r\n\- \\ENQ\EOT\ETX\STX\ENQ\b\DC2\EOT\185\SOH\ETB*\n\- \\SO\n\- \\ACK\EOT\ETX\STX\ENQ\b\ETX\DC2\EOT\185\SOH\CAN)\n\- \\f\n\- \\EOT\EOT\ETX\STX\ACK\DC2\EOT\186\SOH\EOT\DLE\n\- \\r\n\- \\ENQ\EOT\ETX\STX\ACK\ACK\DC2\EOT\186\SOH\EOT\a\n\- \\r\n\- \\ENQ\EOT\ETX\STX\ACK\SOH\DC2\EOT\186\SOH\b\v\n\- \\r\n\- \\ENQ\EOT\ETX\STX\ACK\ETX\DC2\EOT\186\SOH\SO\SI\n\- \\196\ETX\n\- \\EOT\EOT\ETX\STX\a\DC2\EOT\195\SOH\EOT7\SUB\181\ETX IntHistogram is deprecated and will be removed soon.\n\- \ 1. Old senders and receivers that are not aware of this change will\n\- \ continue using the `int_histogram` field.\n\- \ 2. New senders, which are aware of this change MUST send only `histogram`.\n\- \ 3. New receivers, which are aware of this change MUST convert this into\n\- \ `histogram` by simply converting all int64 values into float.\n\- \ This field will be removed in ~3 months, on July 1, 2021.\n\- \\n\- \\r\n\- \\ENQ\EOT\ETX\STX\a\ACK\DC2\EOT\195\SOH\EOT\DLE\n\- \\r\n\- \\ENQ\EOT\ETX\STX\a\SOH\DC2\EOT\195\SOH\DC1\RS\n\- \\r\n\- \\ENQ\EOT\ETX\STX\a\ETX\DC2\EOT\195\SOH!\"\n\- \\r\n\- \\ENQ\EOT\ETX\STX\a\b\DC2\EOT\195\SOH#6\n\- \\SO\n\- \\ACK\EOT\ETX\STX\a\b\ETX\DC2\EOT\195\SOH$5\n\- \\f\n\- \\EOT\EOT\ETX\STX\b\DC2\EOT\196\SOH\EOT\FS\n\- \\r\n\- \\ENQ\EOT\ETX\STX\b\ACK\DC2\EOT\196\SOH\EOT\r\n\- \\r\n\- \\ENQ\EOT\ETX\STX\b\SOH\DC2\EOT\196\SOH\SO\ETB\n\- \\r\n\- \\ENQ\EOT\ETX\STX\b\ETX\DC2\EOT\196\SOH\SUB\ESC\n\- \\f\n\- \\EOT\EOT\ETX\STX\t\DC2\EOT\197\SOH\EOT4\n\- \\r\n\- \\ENQ\EOT\ETX\STX\t\ACK\DC2\EOT\197\SOH\EOT\CAN\n\- \\r\n\- \\ENQ\EOT\ETX\STX\t\SOH\DC2\EOT\197\SOH\EM.\n\- \\r\n\- \\ENQ\EOT\ETX\STX\t\ETX\DC2\EOT\197\SOH13\n\- \\f\n\- \\EOT\EOT\ETX\STX\n\- \\DC2\EOT\198\SOH\EOT\EM\n\- \\r\n\- \\ENQ\EOT\ETX\STX\n\- \\ACK\DC2\EOT\198\SOH\EOT\v\n\- \\r\n\- \\ENQ\EOT\ETX\STX\n\- \\SOH\DC2\EOT\198\SOH\f\DC3\n\- \\r\n\- \\ENQ\EOT\ETX\STX\n\- \\ETX\DC2\EOT\198\SOH\SYN\CAN\n\- \\247\ETX\n\- \\STX\EOT\EOT\DC2\ACK\211\SOH\NUL\213\SOH\SOH\SUB\232\ETX Gauge represents the type of a scalar metric that always exports the\n\- \ \"current value\" for every data point. It should be used for an \"unknown\"\n\- \ aggregation.\n\- \\n\- \ A Gauge does not support different aggregation temporalities. Given the\n\- \ aggregation is unknown, points cannot be combined using the same\n\- \ aggregation, regardless of aggregation temporalities. Therefore,\n\- \ AggregationTemporality is not included. Consequently, this also means\n\- \ \"StartTimeUnixNano\" is ignored for all data points.\n\- \\n\- \\v\n\- \\ETX\EOT\EOT\SOH\DC2\EOT\211\SOH\b\r\n\- \\f\n\- \\EOT\EOT\EOT\STX\NUL\DC2\EOT\212\SOH\STX+\n\- \\r\n\- \\ENQ\EOT\EOT\STX\NUL\EOT\DC2\EOT\212\SOH\STX\n\- \\n\- \\r\n\- \\ENQ\EOT\EOT\STX\NUL\ACK\DC2\EOT\212\SOH\v\SUB\n\- \\r\n\- \\ENQ\EOT\EOT\STX\NUL\SOH\DC2\EOT\212\SOH\ESC&\n\- \\r\n\- \\ENQ\EOT\EOT\STX\NUL\ETX\DC2\EOT\212\SOH)*\n\- \\138\SOH\n\- \\STX\EOT\ENQ\DC2\ACK\217\SOH\NUL\226\SOH\SOH\SUB| Sum represents the type of a scalar metric that is calculated as a sum of all\n\- \ reported measurements over a time interval.\n\- \\n\- \\v\n\- \\ETX\EOT\ENQ\SOH\DC2\EOT\217\SOH\b\v\n\- \\f\n\- \\EOT\EOT\ENQ\STX\NUL\DC2\EOT\218\SOH\STX+\n\- \\r\n\- \\ENQ\EOT\ENQ\STX\NUL\EOT\DC2\EOT\218\SOH\STX\n\- \\n\- \\r\n\- \\ENQ\EOT\ENQ\STX\NUL\ACK\DC2\EOT\218\SOH\v\SUB\n\- \\r\n\- \\ENQ\EOT\ENQ\STX\NUL\SOH\DC2\EOT\218\SOH\ESC&\n\- \\r\n\- \\ENQ\EOT\ENQ\STX\NUL\ETX\DC2\EOT\218\SOH)*\n\- \\163\SOH\n\- \\EOT\EOT\ENQ\STX\SOH\DC2\EOT\222\SOH\STX5\SUB\148\SOH aggregation_temporality describes if the aggregator reports delta changes\n\- \ since last report time, or cumulative changes since a fixed start time.\n\- \\n\- \\r\n\- \\ENQ\EOT\ENQ\STX\SOH\ACK\DC2\EOT\222\SOH\STX\CAN\n\- \\r\n\- \\ENQ\EOT\ENQ\STX\SOH\SOH\DC2\EOT\222\SOH\EM0\n\- \\r\n\- \\ENQ\EOT\ENQ\STX\SOH\ETX\DC2\EOT\222\SOH34\n\- \:\n\- \\EOT\EOT\ENQ\STX\STX\DC2\EOT\225\SOH\STX\CAN\SUB, If \"true\" means that the sum is monotonic.\n\- \\n\- \\r\n\- \\ENQ\EOT\ENQ\STX\STX\ENQ\DC2\EOT\225\SOH\STX\ACK\n\- \\r\n\- \\ENQ\EOT\ENQ\STX\STX\SOH\DC2\EOT\225\SOH\a\DC3\n\- \\r\n\- \\ENQ\EOT\ENQ\STX\STX\ETX\DC2\EOT\225\SOH\SYN\ETB\n\- \\159\SOH\n\- \\STX\EOT\ACK\DC2\ACK\230\SOH\NUL\236\SOH\SOH\SUB\144\SOH Histogram represents the type of a metric that is calculated by aggregating\n\- \ as a Histogram of all reported measurements over a time interval.\n\- \\n\- \\v\n\- \\ETX\EOT\ACK\SOH\DC2\EOT\230\SOH\b\DC1\n\- \\f\n\- \\EOT\EOT\ACK\STX\NUL\DC2\EOT\231\SOH\STX.\n\- \\r\n\- \\ENQ\EOT\ACK\STX\NUL\EOT\DC2\EOT\231\SOH\STX\n\- \\n\- \\r\n\- \\ENQ\EOT\ACK\STX\NUL\ACK\DC2\EOT\231\SOH\v\GS\n\- \\r\n\- \\ENQ\EOT\ACK\STX\NUL\SOH\DC2\EOT\231\SOH\RS)\n\- \\r\n\- \\ENQ\EOT\ACK\STX\NUL\ETX\DC2\EOT\231\SOH,-\n\- \\163\SOH\n\- \\EOT\EOT\ACK\STX\SOH\DC2\EOT\235\SOH\STX5\SUB\148\SOH aggregation_temporality describes if the aggregator reports delta changes\n\- \ since last report time, or cumulative changes since a fixed start time.\n\- \\n\- \\r\n\- \\ENQ\EOT\ACK\STX\SOH\ACK\DC2\EOT\235\SOH\STX\CAN\n\- \\r\n\- \\ENQ\EOT\ACK\STX\SOH\SOH\DC2\EOT\235\SOH\EM0\n\- \\r\n\- \\ENQ\EOT\ACK\STX\SOH\ETX\DC2\EOT\235\SOH34\n\- \\188\SOH\n\- \\STX\EOT\a\DC2\ACK\240\SOH\NUL\246\SOH\SOH\SUB\173\SOH ExponentialHistogram represents the type of a metric that is calculated by aggregating\n\- \ as a ExponentialHistogram of all reported double measurements over a time interval.\n\- \\n\- \\v\n\- \\ETX\EOT\a\SOH\DC2\EOT\240\SOH\b\FS\n\- \\f\n\- \\EOT\EOT\a\STX\NUL\DC2\EOT\241\SOH\STX9\n\- \\r\n\- \\ENQ\EOT\a\STX\NUL\EOT\DC2\EOT\241\SOH\STX\n\- \\n\- \\r\n\- \\ENQ\EOT\a\STX\NUL\ACK\DC2\EOT\241\SOH\v(\n\- \\r\n\- \\ENQ\EOT\a\STX\NUL\SOH\DC2\EOT\241\SOH)4\n\- \\r\n\- \\ENQ\EOT\a\STX\NUL\ETX\DC2\EOT\241\SOH78\n\- \\163\SOH\n\- \\EOT\EOT\a\STX\SOH\DC2\EOT\245\SOH\STX5\SUB\148\SOH aggregation_temporality describes if the aggregator reports delta changes\n\- \ since last report time, or cumulative changes since a fixed start time.\n\- \\n\- \\r\n\- \\ENQ\EOT\a\STX\SOH\ACK\DC2\EOT\245\SOH\STX\CAN\n\- \\r\n\- \\ENQ\EOT\a\STX\SOH\SOH\DC2\EOT\245\SOH\EM0\n\- \\r\n\- \\ENQ\EOT\a\STX\SOH\ETX\DC2\EOT\245\SOH34\n\- \\229\ETX\n\- \\STX\EOT\b\DC2\ACK\254\SOH\NUL\128\STX\SOH\SUB\214\ETX Summary metric data are used to convey quantile summaries,\n\- \ a Prometheus (see: https://prometheus.io/docs/concepts/metric_types/#summary)\n\- \ and OpenMetrics (see: https://github.com/OpenObservability/OpenMetrics/blob/4dbf6075567ab43296eed941037c12951faafb92/protos/prometheus.proto#L45)\n\- \ data type. These data points cannot always be merged in a meaningful way.\n\- \ While they can be useful in some applications, histogram data points are\n\- \ recommended for new applications.\n\- \\n\- \\v\n\- \\ETX\EOT\b\SOH\DC2\EOT\254\SOH\b\SI\n\- \\f\n\- \\EOT\EOT\b\STX\NUL\DC2\EOT\255\SOH\STX,\n\- \\r\n\- \\ENQ\EOT\b\STX\NUL\EOT\DC2\EOT\255\SOH\STX\n\- \\n\- \\r\n\- \\ENQ\EOT\b\STX\NUL\ACK\DC2\EOT\255\SOH\v\ESC\n\- \\r\n\- \\ENQ\EOT\b\STX\NUL\SOH\DC2\EOT\255\SOH\FS'\n\- \\r\n\- \\ENQ\EOT\b\STX\NUL\ETX\DC2\EOT\255\SOH*+\n\- \\190\SOH\n\- \\STX\ENQ\NUL\DC2\ACK\133\STX\NUL\199\STX\SOH\SUB\175\SOH AggregationTemporality defines how a metric aggregator reports aggregated\n\- \ values. It describes how those values relate to the time interval over\n\- \ which they are aggregated.\n\- \\n\- \\v\n\- \\ETX\ENQ\NUL\SOH\DC2\EOT\133\STX\ENQ\ESC\n\- \W\n\- \\EOT\ENQ\NUL\STX\NUL\DC2\EOT\135\STX\STX*\SUBI UNSPECIFIED is the default AggregationTemporality, it MUST not be used.\n\- \\n\- \\r\n\- \\ENQ\ENQ\NUL\STX\NUL\SOH\DC2\EOT\135\STX\STX%\n\- \\r\n\- \\ENQ\ENQ\NUL\STX\NUL\STX\DC2\EOT\135\STX()\n\- \\236\t\n\- \\EOT\ENQ\NUL\STX\SOH\DC2\EOT\161\STX\STX$\SUB\221\t DELTA is an AggregationTemporality for a metric aggregator which reports\n\- \ changes since last report time. Successive metrics contain aggregation of\n\- \ values from continuous and non-overlapping intervals.\n\- \\n\- \ The values for a DELTA metric are based only on the time interval\n\- \ associated with one measurement cycle. There is no dependency on\n\- \ previous measurements like is the case for CUMULATIVE metrics.\n\- \\n\- \ For example, consider a system measuring the number of requests that\n\- \ it receives and reports the sum of these requests every second as a\n\- \ DELTA metric:\n\- \\n\- \ 1. The system starts receiving at time=t_0.\n\- \ 2. A request is received, the system measures 1 request.\n\- \ 3. A request is received, the system measures 1 request.\n\- \ 4. A request is received, the system measures 1 request.\n\- \ 5. The 1 second collection cycle ends. A metric is exported for the\n\- \ number of requests received over the interval of time t_0 to\n\- \ t_0+1 with a value of 3.\n\- \ 6. A request is received, the system measures 1 request.\n\- \ 7. A request is received, the system measures 1 request.\n\- \ 8. The 1 second collection cycle ends. A metric is exported for the\n\- \ number of requests received over the interval of time t_0+1 to\n\- \ t_0+2 with a value of 2.\n\- \\n\- \\r\n\- \\ENQ\ENQ\NUL\STX\SOH\SOH\DC2\EOT\161\STX\STX\US\n\- \\r\n\- \\ENQ\ENQ\NUL\STX\SOH\STX\DC2\EOT\161\STX\"#\n\- \\147\SI\n\- \\EOT\ENQ\NUL\STX\STX\DC2\EOT\198\STX\STX)\SUB\132\SI CUMULATIVE is an AggregationTemporality for a metric aggregator which\n\- \ reports changes since a fixed start time. This means that current values\n\- \ of a CUMULATIVE metric depend on all previous measurements since the\n\- \ start time. Because of this, the sender is required to retain this state\n\- \ in some form. If this state is lost or invalidated, the CUMULATIVE metric\n\- \ values MUST be reset and a new fixed start time following the last\n\- \ reported measurement time sent MUST be used.\n\- \\n\- \ For example, consider a system measuring the number of requests that\n\- \ it receives and reports the sum of these requests every second as a\n\- \ CUMULATIVE metric:\n\- \\n\- \ 1. The system starts receiving at time=t_0.\n\- \ 2. A request is received, the system measures 1 request.\n\- \ 3. A request is received, the system measures 1 request.\n\- \ 4. A request is received, the system measures 1 request.\n\- \ 5. The 1 second collection cycle ends. A metric is exported for the\n\- \ number of requests received over the interval of time t_0 to\n\- \ t_0+1 with a value of 3.\n\- \ 6. A request is received, the system measures 1 request.\n\- \ 7. A request is received, the system measures 1 request.\n\- \ 8. The 1 second collection cycle ends. A metric is exported for the\n\- \ number of requests received over the interval of time t_0 to\n\- \ t_0+2 with a value of 5.\n\- \ 9. The system experiences a fault and loses state.\n\- \ 10. The system recovers and resumes receiving at time=t_1.\n\- \ 11. A request is received, the system measures 1 request.\n\- \ 12. The 1 second collection cycle ends. A metric is exported for the\n\- \ number of requests received over the interval of time t_1 to\n\- \ t_0+1 with a value of 1.\n\- \\n\- \ Note: Even though, when reporting changes since last report time, using\n\- \ CUMULATIVE is valid, it is not recommended. This may cause problems for\n\- \ systems that do not use start_time to determine when the aggregation\n\- \ value was reset (e.g. Prometheus).\n\- \\n\- \\r\n\- \\ENQ\ENQ\NUL\STX\STX\SOH\DC2\EOT\198\STX\STX$\n\- \\r\n\- \\ENQ\ENQ\NUL\STX\STX\STX\DC2\EOT\198\STX'(\n\- \\241\STX\n\- \\STX\ENQ\SOH\DC2\ACK\208\STX\NUL\217\STX\SOH\SUB\226\STX DataPointFlags is defined as a protobuf 'uint32' type and is to be used as a\n\- \ bit-field representing 32 distinct boolean flags. Each flag defined in this\n\- \ enum is a bit-mask. To test the presence of a single flag in the flags of\n\- \ a data point, for example, use an expression like:\n\- \\n\- \ (point.flags & FLAG_NO_RECORDED_VALUE) == FLAG_NO_RECORDED_VALUE\n\- \\n\- \\n\- \\v\n\- \\ETX\ENQ\SOH\SOH\DC2\EOT\208\STX\ENQ\DC3\n\- \\f\n\- \\EOT\ENQ\SOH\STX\NUL\DC2\EOT\209\STX\STX\DLE\n\- \\r\n\- \\ENQ\ENQ\SOH\STX\NUL\SOH\DC2\EOT\209\STX\STX\v\n\- \\r\n\- \\ENQ\ENQ\SOH\STX\NUL\STX\DC2\EOT\209\STX\SO\SI\n\- \\203\SOH\n\- \\EOT\ENQ\SOH\STX\SOH\DC2\EOT\214\STX\STX\GS\SUB\188\SOH This DataPoint is valid but has no recorded value. This value\n\- \ SHOULD be used to reflect explicitly missing data in a series, as\n\- \ for an equivalent to the Prometheus \"staleness marker\".\n\- \\n\- \\r\n\- \\ENQ\ENQ\SOH\STX\SOH\SOH\DC2\EOT\214\STX\STX\CAN\n\- \\r\n\- \\ENQ\ENQ\SOH\STX\SOH\STX\DC2\EOT\214\STX\ESC\FS\n\- \\129\SOH\n\- \\STX\EOT\t\DC2\ACK\221\STX\NUL\135\ETX\SOH\SUBs NumberDataPoint is a single data point in a timeseries that describes the\n\- \ time-varying scalar value of a metric.\n\- \\n\- \\v\n\- \\ETX\EOT\t\SOH\DC2\EOT\221\STX\b\ETB\n\- \\161\SOH\n\- \\EOT\EOT\t\STX\NUL\DC2\EOT\224\STX\STXA\SUB\146\SOH The set of key/value pairs that uniquely identify the timeseries from\n\- \ where this point belongs. The list may be empty (may contain 0 elements).\n\- \\n\- \\r\n\- \\ENQ\EOT\t\STX\NUL\EOT\DC2\EOT\224\STX\STX\n\- \\n\- \\r\n\- \\ENQ\EOT\t\STX\NUL\ACK\DC2\EOT\224\STX\v1\n\- \\r\n\- \\ENQ\EOT\t\STX\NUL\SOH\DC2\EOT\224\STX2<\n\- \\r\n\- \\ENQ\EOT\t\STX\NUL\ETX\DC2\EOT\224\STX?@\n\- \\182\ETX\n\- \\EOT\EOT\t\STX\SOH\DC2\EOT\234\STX\STXW\SUB\167\ETX Labels is deprecated and will be removed soon.\n\- \ 1. Old senders and receivers that are not aware of this change will\n\- \ continue using the `labels` field.\n\- \ 2. New senders, which are aware of this change MUST send only `attributes`.\n\- \ 3. New receivers, which are aware of this change MUST convert this into\n\- \ `labels` by simply converting all int64 values into float.\n\- \\n\- \ This field will be removed in ~3 months, on July 1, 2021.\n\- \\n\- \\r\n\- \\ENQ\EOT\t\STX\SOH\EOT\DC2\EOT\234\STX\STX\n\- \\n\- \\r\n\- \\ENQ\EOT\t\STX\SOH\ACK\DC2\EOT\234\STX\v7\n\- \\r\n\- \\ENQ\EOT\t\STX\SOH\SOH\DC2\EOT\234\STX8>\n\- \\r\n\- \\ENQ\EOT\t\STX\SOH\ETX\DC2\EOT\234\STXAB\n\- \\r\n\- \\ENQ\EOT\t\STX\SOH\b\DC2\EOT\234\STXCV\n\- \\SO\n\- \\ACK\EOT\t\STX\SOH\b\ETX\DC2\EOT\234\STXDU\n\- \\197\SOH\n\- \\EOT\EOT\t\STX\STX\DC2\EOT\241\STX\STX#\SUB\182\SOH StartTimeUnixNano is optional but strongly encouraged, see the\n\- \ the detailed comments above Metric.\n\- \\n\- \ Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January\n\- \ 1970.\n\- \\n\- \\r\n\- \\ENQ\EOT\t\STX\STX\ENQ\DC2\EOT\241\STX\STX\t\n\- \\r\n\- \\ENQ\EOT\t\STX\STX\SOH\DC2\EOT\241\STX\n\- \\RS\n\- \\r\n\- \\ENQ\EOT\t\STX\STX\ETX\DC2\EOT\241\STX!\"\n\- \\163\SOH\n\- \\EOT\EOT\t\STX\ETX\DC2\EOT\247\STX\STX\GS\SUB\148\SOH TimeUnixNano is required, see the detailed comments above Metric.\n\- \\n\- \ Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January\n\- \ 1970.\n\- \\n\- \\r\n\- \\ENQ\EOT\t\STX\ETX\ENQ\DC2\EOT\247\STX\STX\t\n\- \\r\n\- \\ENQ\EOT\t\STX\ETX\SOH\DC2\EOT\247\STX\n\- \\CAN\n\- \\r\n\- \\ENQ\EOT\t\STX\ETX\ETX\DC2\EOT\247\STX\ESC\FS\n\- \\141\SOH\n\- \\EOT\EOT\t\b\NUL\DC2\ACK\251\STX\STX\254\STX\ETX\SUB} The value itself. A point is considered invalid when one of the recognized\n\- \ value fields is not present inside this oneof.\n\- \\n\- \\r\n\- \\ENQ\EOT\t\b\NUL\SOH\DC2\EOT\251\STX\b\r\n\- \\f\n\- \\EOT\EOT\t\STX\EOT\DC2\EOT\252\STX\EOT\EM\n\- \\r\n\- \\ENQ\EOT\t\STX\EOT\ENQ\DC2\EOT\252\STX\EOT\n\- \\n\- \\r\n\- \\ENQ\EOT\t\STX\EOT\SOH\DC2\EOT\252\STX\v\DC4\n\- \\r\n\- \\ENQ\EOT\t\STX\EOT\ETX\DC2\EOT\252\STX\ETB\CAN\n\- \\f\n\- \\EOT\EOT\t\STX\ENQ\DC2\EOT\253\STX\EOT\CAN\n\- \\r\n\- \\ENQ\EOT\t\STX\ENQ\ENQ\DC2\EOT\253\STX\EOT\f\n\- \\r\n\- \\ENQ\EOT\t\STX\ENQ\SOH\DC2\EOT\253\STX\r\DC3\n\- \\r\n\- \\ENQ\EOT\t\STX\ENQ\ETX\DC2\EOT\253\STX\SYN\ETB\n\- \o\n\- \\EOT\EOT\t\STX\ACK\DC2\EOT\130\ETX\STX\"\SUBa (Optional) List of exemplars collected from\n\- \ measurements that were used to form the data point\n\- \\n\- \\r\n\- \\ENQ\EOT\t\STX\ACK\EOT\DC2\EOT\130\ETX\STX\n\- \\n\- \\r\n\- \\ENQ\EOT\t\STX\ACK\ACK\DC2\EOT\130\ETX\v\DC3\n\- \\r\n\- \\ENQ\EOT\t\STX\ACK\SOH\DC2\EOT\130\ETX\DC4\GS\n\- \\r\n\- \\ENQ\EOT\t\STX\ACK\ETX\DC2\EOT\130\ETX !\n\- \}\n\- \\EOT\EOT\t\STX\a\DC2\EOT\134\ETX\STX\DC3\SUBo Flags that apply to this specific data point. See DataPointFlags\n\- \ for the available flags and their meaning.\n\- \\n\- \\r\n\- \\ENQ\EOT\t\STX\a\ENQ\DC2\EOT\134\ETX\STX\b\n\- \\r\n\- \\ENQ\EOT\t\STX\a\SOH\DC2\EOT\134\ETX\t\SO\n\- \\r\n\- \\ENQ\EOT\t\STX\a\ETX\DC2\EOT\134\ETX\DC1\DC2\n\- \\196\EOT\n\- \\STX\EOT\n\- \\DC2\ACK\147\ETX\NUL\221\ETX\SOH\SUB\181\EOT HistogramDataPoint is a single data point in a timeseries that describes the\n\- \ time-varying values of a Histogram. A Histogram contains summary statistics\n\- \ for a population of values, it may optionally contain the distribution of\n\- \ those values across a set of buckets.\n\- \\n\- \ If the histogram contains the distribution of values, then both\n\- \ \"explicit_bounds\" and \"bucket counts\" fields must be defined.\n\- \ If the histogram does not contain the distribution of values, then both\n\- \ \"explicit_bounds\" and \"bucket_counts\" must be omitted and only \"count\" and\n\- \ \"sum\" are known.\n\- \\n\- \\v\n\- \\ETX\EOT\n\- \\SOH\DC2\EOT\147\ETX\b\SUB\n\- \\161\SOH\n\- \\EOT\EOT\n\- \\STX\NUL\DC2\EOT\150\ETX\STXA\SUB\146\SOH The set of key/value pairs that uniquely identify the timeseries from\n\- \ where this point belongs. The list may be empty (may contain 0 elements).\n\- \\n\- \\r\n\- \\ENQ\EOT\n\- \\STX\NUL\EOT\DC2\EOT\150\ETX\STX\n\- \\n\- \\r\n\- \\ENQ\EOT\n\- \\STX\NUL\ACK\DC2\EOT\150\ETX\v1\n\- \\r\n\- \\ENQ\EOT\n\- \\STX\NUL\SOH\DC2\EOT\150\ETX2<\n\- \\r\n\- \\ENQ\EOT\n\- \\STX\NUL\ETX\DC2\EOT\150\ETX?@\n\- \\182\ETX\n\- \\EOT\EOT\n\- \\STX\SOH\DC2\EOT\160\ETX\STXW\SUB\167\ETX Labels is deprecated and will be removed soon.\n\- \ 1. Old senders and receivers that are not aware of this change will\n\- \ continue using the `labels` field.\n\- \ 2. New senders, which are aware of this change MUST send only `attributes`.\n\- \ 3. New receivers, which are aware of this change MUST convert this into\n\- \ `labels` by simply converting all int64 values into float.\n\- \\n\- \ This field will be removed in ~3 months, on July 1, 2021.\n\- \\n\- \\r\n\- \\ENQ\EOT\n\- \\STX\SOH\EOT\DC2\EOT\160\ETX\STX\n\- \\n\- \\r\n\- \\ENQ\EOT\n\- \\STX\SOH\ACK\DC2\EOT\160\ETX\v7\n\- \\r\n\- \\ENQ\EOT\n\- \\STX\SOH\SOH\DC2\EOT\160\ETX8>\n\- \\r\n\- \\ENQ\EOT\n\- \\STX\SOH\ETX\DC2\EOT\160\ETXAB\n\- \\r\n\- \\ENQ\EOT\n\- \\STX\SOH\b\DC2\EOT\160\ETXCV\n\- \\SO\n\- \\ACK\EOT\n\- \\STX\SOH\b\ETX\DC2\EOT\160\ETXDU\n\- \\197\SOH\n\- \\EOT\EOT\n\- \\STX\STX\DC2\EOT\167\ETX\STX#\SUB\182\SOH StartTimeUnixNano is optional but strongly encouraged, see the\n\- \ the detailed comments above Metric.\n\- \\n\- \ Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January\n\- \ 1970.\n\- \\n\- \\r\n\- \\ENQ\EOT\n\- \\STX\STX\ENQ\DC2\EOT\167\ETX\STX\t\n\- \\r\n\- \\ENQ\EOT\n\- \\STX\STX\SOH\DC2\EOT\167\ETX\n\- \\RS\n\- \\r\n\- \\ENQ\EOT\n\- \\STX\STX\ETX\DC2\EOT\167\ETX!\"\n\- \\163\SOH\n\- \\EOT\EOT\n\- \\STX\ETX\DC2\EOT\173\ETX\STX\GS\SUB\148\SOH TimeUnixNano is required, see the detailed comments above Metric.\n\- \\n\- \ Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January\n\- \ 1970.\n\- \\n\- \\r\n\- \\ENQ\EOT\n\- \\STX\ETX\ENQ\DC2\EOT\173\ETX\STX\t\n\- \\r\n\- \\ENQ\EOT\n\- \\STX\ETX\SOH\DC2\EOT\173\ETX\n\- \\CAN\n\- \\r\n\- \\ENQ\EOT\n\- \\STX\ETX\ETX\DC2\EOT\173\ETX\ESC\FS\n\- \\186\SOH\n\- \\EOT\EOT\n\- \\STX\EOT\DC2\EOT\178\ETX\STX\DC4\SUB\171\SOH count is the number of values in the population. Must be non-negative. This\n\- \ value must be equal to the sum of the \"count\" fields in buckets if a\n\- \ histogram is provided.\n\- \\n\- \\r\n\- \\ENQ\EOT\n\- \\STX\EOT\ENQ\DC2\EOT\178\ETX\STX\t\n\- \\r\n\- \\ENQ\EOT\n\- \\STX\EOT\SOH\DC2\EOT\178\ETX\n\- \\SI\n\- \\r\n\- \\ENQ\EOT\n\- \\STX\EOT\ETX\DC2\EOT\178\ETX\DC2\DC3\n\- \\245\ETX\n\- \\EOT\EOT\n\- \\STX\ENQ\DC2\EOT\188\ETX\STX\DC1\SUB\230\ETX sum of the values in the population. If count is zero then this field\n\- \ must be zero.\n\- \\n\- \ Note: Sum should only be filled out when measuring non-negative discrete\n\- \ events, and is assumed to be monotonic over the values of these events.\n\- \ Negative events *can* be recorded, but sum should not be filled out when\n\- \ doing so. This is specifically to enforce compatibility w/ OpenMetrics,\n\- \ see: https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md#histogram\n\- \\n\- \\r\n\- \\ENQ\EOT\n\- \\STX\ENQ\ENQ\DC2\EOT\188\ETX\STX\b\n\- \\r\n\- \\ENQ\EOT\n\- \\STX\ENQ\SOH\DC2\EOT\188\ETX\t\f\n\- \\r\n\- \\ENQ\EOT\n\- \\STX\ENQ\ETX\DC2\EOT\188\ETX\SI\DLE\n\- \\178\STX\n\- \\EOT\EOT\n\- \\STX\ACK\DC2\EOT\197\ETX\STX%\SUB\163\STX bucket_counts is an optional field contains the count values of histogram\n\- \ for each bucket.\n\- \\n\- \ The sum of the bucket_counts must equal the value in the count field.\n\- \\n\- \ The number of elements in bucket_counts array must be by one greater than\n\- \ the number of elements in explicit_bounds array.\n\- \\n\- \\r\n\- \\ENQ\EOT\n\- \\STX\ACK\EOT\DC2\EOT\197\ETX\STX\n\- \\n\- \\r\n\- \\ENQ\EOT\n\- \\STX\ACK\ENQ\DC2\EOT\197\ETX\v\DC2\n\- \\r\n\- \\ENQ\EOT\n\- \\STX\ACK\SOH\DC2\EOT\197\ETX\DC3 \n\- \\r\n\- \\ENQ\EOT\n\- \\STX\ACK\ETX\DC2\EOT\197\ETX#$\n\- \\215\EOT\n\- \\EOT\EOT\n\- \\STX\a\DC2\EOT\212\ETX\STX&\SUB\200\EOT explicit_bounds specifies buckets with explicitly defined bounds for values.\n\- \\n\- \ The boundaries for bucket at index i are:\n\- \\n\- \ (-infinity, explicit_bounds[i]] for i == 0\n\- \ (explicit_bounds[i-1], explicit_bounds[i]] for 0 < i < size(explicit_bounds)\n\- \ (explicit_bounds[i-1], +infinity) for i == size(explicit_bounds)\n\- \\n\- \ The values in the explicit_bounds array must be strictly increasing.\n\- \\n\- \ Histogram buckets are inclusive of their upper boundary, except the last\n\- \ bucket where the boundary is at infinity. This format is intentionally\n\- \ compatible with the OpenMetrics histogram definition.\n\- \\n\- \\r\n\- \\ENQ\EOT\n\- \\STX\a\EOT\DC2\EOT\212\ETX\STX\n\- \\n\- \\r\n\- \\ENQ\EOT\n\- \\STX\a\ENQ\DC2\EOT\212\ETX\v\DC1\n\- \\r\n\- \\ENQ\EOT\n\- \\STX\a\SOH\DC2\EOT\212\ETX\DC2!\n\- \\r\n\- \\ENQ\EOT\n\- \\STX\a\ETX\DC2\EOT\212\ETX$%\n\- \o\n\- \\EOT\EOT\n\- \\STX\b\DC2\EOT\216\ETX\STX\"\SUBa (Optional) List of exemplars collected from\n\- \ measurements that were used to form the data point\n\- \\n\- \\r\n\- \\ENQ\EOT\n\- \\STX\b\EOT\DC2\EOT\216\ETX\STX\n\- \\n\- \\r\n\- \\ENQ\EOT\n\- \\STX\b\ACK\DC2\EOT\216\ETX\v\DC3\n\- \\r\n\- \\ENQ\EOT\n\- \\STX\b\SOH\DC2\EOT\216\ETX\DC4\GS\n\- \\r\n\- \\ENQ\EOT\n\- \\STX\b\ETX\DC2\EOT\216\ETX !\n\- \}\n\- \\EOT\EOT\n\- \\STX\t\DC2\EOT\220\ETX\STX\DC4\SUBo Flags that apply to this specific data point. See DataPointFlags\n\- \ for the available flags and their meaning.\n\- \\n\- \\r\n\- \\ENQ\EOT\n\- \\STX\t\ENQ\DC2\EOT\220\ETX\STX\b\n\- \\r\n\- \\ENQ\EOT\n\- \\STX\t\SOH\DC2\EOT\220\ETX\t\SO\n\- \\r\n\- \\ENQ\EOT\n\- \\STX\t\ETX\DC2\EOT\220\ETX\DC1\DC3\n\- \\207\STX\n\- \\STX\EOT\v\DC2\ACK\228\ETX\NUL\193\EOT\SOH\SUB\192\STX ExponentialHistogramDataPoint is a single data point in a timeseries that describes the\n\- \ time-varying values of a ExponentialHistogram of double values. A ExponentialHistogram contains\n\- \ summary statistics for a population of values, it may optionally contain the\n\- \ distribution of those values across a set of buckets.\n\- \\n\- \\n\- \\v\n\- \\ETX\EOT\v\SOH\DC2\EOT\228\ETX\b%\n\- \\161\SOH\n\- \\EOT\EOT\v\STX\NUL\DC2\EOT\231\ETX\STXA\SUB\146\SOH The set of key/value pairs that uniquely identify the timeseries from\n\- \ where this point belongs. The list may be empty (may contain 0 elements).\n\- \\n\- \\r\n\- \\ENQ\EOT\v\STX\NUL\EOT\DC2\EOT\231\ETX\STX\n\- \\n\- \\r\n\- \\ENQ\EOT\v\STX\NUL\ACK\DC2\EOT\231\ETX\v1\n\- \\r\n\- \\ENQ\EOT\v\STX\NUL\SOH\DC2\EOT\231\ETX2<\n\- \\r\n\- \\ENQ\EOT\v\STX\NUL\ETX\DC2\EOT\231\ETX?@\n\- \\197\SOH\n\- \\EOT\EOT\v\STX\SOH\DC2\EOT\238\ETX\STX#\SUB\182\SOH StartTimeUnixNano is optional but strongly encouraged, see the\n\- \ the detailed comments above Metric.\n\- \\n\- \ Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January\n\- \ 1970.\n\- \\n\- \\r\n\- \\ENQ\EOT\v\STX\SOH\ENQ\DC2\EOT\238\ETX\STX\t\n\- \\r\n\- \\ENQ\EOT\v\STX\SOH\SOH\DC2\EOT\238\ETX\n\- \\RS\n\- \\r\n\- \\ENQ\EOT\v\STX\SOH\ETX\DC2\EOT\238\ETX!\"\n\- \\163\SOH\n\- \\EOT\EOT\v\STX\STX\DC2\EOT\244\ETX\STX\GS\SUB\148\SOH TimeUnixNano is required, see the detailed comments above Metric.\n\- \\n\- \ Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January\n\- \ 1970.\n\- \\n\- \\r\n\- \\ENQ\EOT\v\STX\STX\ENQ\DC2\EOT\244\ETX\STX\t\n\- \\r\n\- \\ENQ\EOT\v\STX\STX\SOH\DC2\EOT\244\ETX\n\- \\CAN\n\- \\r\n\- \\ENQ\EOT\v\STX\STX\ETX\DC2\EOT\244\ETX\ESC\FS\n\- \\221\SOH\n\- \\EOT\EOT\v\STX\ETX\DC2\EOT\249\ETX\STX\DC4\SUB\206\SOH count is the number of values in the population. Must be\n\- \ non-negative. This value must be equal to the sum of the \"bucket_counts\"\n\- \ values in the positive and negative Buckets plus the \"zero_count\" field.\n\- \\n\- \\r\n\- \\ENQ\EOT\v\STX\ETX\ENQ\DC2\EOT\249\ETX\STX\t\n\- \\r\n\- \\ENQ\EOT\v\STX\ETX\SOH\DC2\EOT\249\ETX\n\- \\SI\n\- \\r\n\- \\ENQ\EOT\v\STX\ETX\ETX\DC2\EOT\249\ETX\DC2\DC3\n\- \\245\ETX\n\- \\EOT\EOT\v\STX\EOT\DC2\EOT\131\EOT\STX\DC1\SUB\230\ETX sum of the values in the population. If count is zero then this field\n\- \ must be zero.\n\- \\n\- \ Note: Sum should only be filled out when measuring non-negative discrete\n\- \ events, and is assumed to be monotonic over the values of these events.\n\- \ Negative events *can* be recorded, but sum should not be filled out when\n\- \ doing so. This is specifically to enforce compatibility w/ OpenMetrics,\n\- \ see: https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md#histogram\n\- \\n\- \\r\n\- \\ENQ\EOT\v\STX\EOT\ENQ\DC2\EOT\131\EOT\STX\b\n\- \\r\n\- \\ENQ\EOT\v\STX\EOT\SOH\DC2\EOT\131\EOT\t\f\n\- \\r\n\- \\ENQ\EOT\v\STX\EOT\ETX\DC2\EOT\131\EOT\SI\DLE\n\- \\226\EOT\n\- \\EOT\EOT\v\STX\ENQ\DC2\EOT\148\EOT\STX\DC3\SUB\211\EOT scale describes the resolution of the histogram. Boundaries are\n\- \ located at powers of the base, where:\n\- \\n\- \ base = (2^(2^-scale))\n\- \\n\- \ The histogram bucket identified by `index`, a signed integer,\n\- \ contains values that are greater than or equal to (base^index) and\n\- \ less than (base^(index+1)).\n\- \\n\- \ The positive and negative ranges of the histogram are expressed\n\- \ separately. Negative values are mapped by their absolute value\n\- \ into the negative range using the same scale as the positive range.\n\- \\n\- \ scale is not restricted by the protocol, as the permissible\n\- \ values depend on the range of the data.\n\- \\n\- \\r\n\- \\ENQ\EOT\v\STX\ENQ\ENQ\DC2\EOT\148\EOT\STX\b\n\- \\r\n\- \\ENQ\EOT\v\STX\ENQ\SOH\DC2\EOT\148\EOT\t\SO\n\- \\r\n\- \\ENQ\EOT\v\STX\ENQ\ETX\DC2\EOT\148\EOT\DC1\DC2\n\- \\170\ETX\n\- \\EOT\EOT\v\STX\ACK\DC2\EOT\158\EOT\STX\EM\SUB\155\ETX zero_count is the count of values that are either exactly zero or\n\- \ within the region considered zero by the instrumentation at the\n\- \ tolerated degree of precision. This bucket stores values that\n\- \ cannot be expressed using the standard exponential formula as\n\- \ well as values that have been rounded to zero.\n\- \\n\- \ Implementations MAY consider the zero bucket to have probability\n\- \ mass equal to (zero_count / count).\n\- \\n\- \\r\n\- \\ENQ\EOT\v\STX\ACK\ENQ\DC2\EOT\158\EOT\STX\t\n\- \\r\n\- \\ENQ\EOT\v\STX\ACK\SOH\DC2\EOT\158\EOT\n\- \\DC4\n\- \\r\n\- \\ENQ\EOT\v\STX\ACK\ETX\DC2\EOT\158\EOT\ETB\CAN\n\- \Q\n\- \\EOT\EOT\v\STX\a\DC2\EOT\161\EOT\STX\ETB\SUBC positive carries the positive range of exponential bucket counts.\n\- \\n\- \\r\n\- \\ENQ\EOT\v\STX\a\ACK\DC2\EOT\161\EOT\STX\t\n\- \\r\n\- \\ENQ\EOT\v\STX\a\SOH\DC2\EOT\161\EOT\n\- \\DC2\n\- \\r\n\- \\ENQ\EOT\v\STX\a\ETX\DC2\EOT\161\EOT\NAK\SYN\n\- \Q\n\- \\EOT\EOT\v\STX\b\DC2\EOT\164\EOT\STX\ETB\SUBC negative carries the negative range of exponential bucket counts.\n\- \\n\- \\r\n\- \\ENQ\EOT\v\STX\b\ACK\DC2\EOT\164\EOT\STX\t\n\- \\r\n\- \\ENQ\EOT\v\STX\b\SOH\DC2\EOT\164\EOT\n\- \\DC2\n\- \\r\n\- \\ENQ\EOT\v\STX\b\ETX\DC2\EOT\164\EOT\NAK\SYN\n\- \_\n\- \\EOT\EOT\v\ETX\NUL\DC2\ACK\168\EOT\STX\184\EOT\ETX\SUBO Buckets are a set of bucket counts, encoded in a contiguous array\n\- \ of counts.\n\- \\n\- \\r\n\- \\ENQ\EOT\v\ETX\NUL\SOH\DC2\EOT\168\EOT\n\- \\DC1\n\- \\162\SOH\n\- \\ACK\EOT\v\ETX\NUL\STX\NUL\DC2\EOT\172\EOT\EOT\SYN\SUB\145\SOH Offset is the bucket index of the first entry in the bucket_counts array.\n\- \ \n\- \ Note: This uses a varint encoding as a simple form of compression.\n\- \\n\- \\SI\n\- \\a\EOT\v\ETX\NUL\STX\NUL\ENQ\DC2\EOT\172\EOT\EOT\n\- \\n\- \\SI\n\- \\a\EOT\v\ETX\NUL\STX\NUL\SOH\DC2\EOT\172\EOT\v\DC1\n\- \\SI\n\- \\a\EOT\v\ETX\NUL\STX\NUL\ETX\DC2\EOT\172\EOT\DC4\NAK\n\- \\158\ETX\n\- \\ACK\EOT\v\ETX\NUL\STX\SOH\DC2\EOT\183\EOT\EOT&\SUB\141\ETX Count is an array of counts, where count[i] carries the count\n\- \ of the bucket at index (offset+i). count[i] is the count of\n\- \ values greater than or equal to base^(offset+i) and less than\n\- \ base^(offset+i+1).\n\- \\n\- \ Note: By contrast, the explicit HistogramDataPoint uses\n\- \ fixed64. This field is expected to have many buckets,\n\- \ especially zeros, so uint64 has been selected to ensure\n\- \ varint encoding.\n\- \\n\- \\SI\n\- \\a\EOT\v\ETX\NUL\STX\SOH\EOT\DC2\EOT\183\EOT\EOT\f\n\- \\SI\n\- \\a\EOT\v\ETX\NUL\STX\SOH\ENQ\DC2\EOT\183\EOT\r\DC3\n\- \\SI\n\- \\a\EOT\v\ETX\NUL\STX\SOH\SOH\DC2\EOT\183\EOT\DC4!\n\- \\SI\n\- \\a\EOT\v\ETX\NUL\STX\SOH\ETX\DC2\EOT\183\EOT$%\n\- \}\n\- \\EOT\EOT\v\STX\t\DC2\EOT\188\EOT\STX\DC4\SUBo Flags that apply to this specific data point. See DataPointFlags\n\- \ for the available flags and their meaning.\n\- \\n\- \\r\n\- \\ENQ\EOT\v\STX\t\ENQ\DC2\EOT\188\EOT\STX\b\n\- \\r\n\- \\ENQ\EOT\v\STX\t\SOH\DC2\EOT\188\EOT\t\SO\n\- \\r\n\- \\ENQ\EOT\v\STX\t\ETX\DC2\EOT\188\EOT\DC1\DC3\n\- \o\n\- \\EOT\EOT\v\STX\n\- \\DC2\EOT\192\EOT\STX#\SUBa (Optional) List of exemplars collected from\n\- \ measurements that were used to form the data point\n\- \\n\- \\r\n\- \\ENQ\EOT\v\STX\n\- \\EOT\DC2\EOT\192\EOT\STX\n\- \\n\- \\r\n\- \\ENQ\EOT\v\STX\n\- \\ACK\DC2\EOT\192\EOT\v\DC3\n\- \\r\n\- \\ENQ\EOT\v\STX\n\- \\SOH\DC2\EOT\192\EOT\DC4\GS\n\- \\r\n\- \\ENQ\EOT\v\STX\n\- \\ETX\DC2\EOT\192\EOT \"\n\- \\132\SOH\n\- \\STX\EOT\f\DC2\ACK\197\EOT\NUL\136\ENQ\SOH\SUBv SummaryDataPoint is a single data point in a timeseries that describes the\n\- \ time-varying values of a Summary metric.\n\- \\n\- \\v\n\- \\ETX\EOT\f\SOH\DC2\EOT\197\EOT\b\CAN\n\- \\161\SOH\n\- \\EOT\EOT\f\STX\NUL\DC2\EOT\200\EOT\STXA\SUB\146\SOH The set of key/value pairs that uniquely identify the timeseries from\n\- \ where this point belongs. The list may be empty (may contain 0 elements).\n\- \\n\- \\r\n\- \\ENQ\EOT\f\STX\NUL\EOT\DC2\EOT\200\EOT\STX\n\- \\n\- \\r\n\- \\ENQ\EOT\f\STX\NUL\ACK\DC2\EOT\200\EOT\v1\n\- \\r\n\- \\ENQ\EOT\f\STX\NUL\SOH\DC2\EOT\200\EOT2<\n\- \\r\n\- \\ENQ\EOT\f\STX\NUL\ETX\DC2\EOT\200\EOT?@\n\- \\182\ETX\n\- \\EOT\EOT\f\STX\SOH\DC2\EOT\210\EOT\STXW\SUB\167\ETX Labels is deprecated and will be removed soon.\n\- \ 1. Old senders and receivers that are not aware of this change will\n\- \ continue using the `labels` field.\n\- \ 2. New senders, which are aware of this change MUST send only `attributes`.\n\- \ 3. New receivers, which are aware of this change MUST convert this into\n\- \ `labels` by simply converting all int64 values into float.\n\- \\n\- \ This field will be removed in ~3 months, on July 1, 2021.\n\- \\n\- \\r\n\- \\ENQ\EOT\f\STX\SOH\EOT\DC2\EOT\210\EOT\STX\n\- \\n\- \\r\n\- \\ENQ\EOT\f\STX\SOH\ACK\DC2\EOT\210\EOT\v7\n\- \\r\n\- \\ENQ\EOT\f\STX\SOH\SOH\DC2\EOT\210\EOT8>\n\- \\r\n\- \\ENQ\EOT\f\STX\SOH\ETX\DC2\EOT\210\EOTAB\n\- \\r\n\- \\ENQ\EOT\f\STX\SOH\b\DC2\EOT\210\EOTCV\n\- \\SO\n\- \\ACK\EOT\f\STX\SOH\b\ETX\DC2\EOT\210\EOTDU\n\- \\197\SOH\n\- \\EOT\EOT\f\STX\STX\DC2\EOT\217\EOT\STX#\SUB\182\SOH StartTimeUnixNano is optional but strongly encouraged, see the\n\- \ the detailed comments above Metric.\n\- \\n\- \ Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January\n\- \ 1970.\n\- \\n\- \\r\n\- \\ENQ\EOT\f\STX\STX\ENQ\DC2\EOT\217\EOT\STX\t\n\- \\r\n\- \\ENQ\EOT\f\STX\STX\SOH\DC2\EOT\217\EOT\n\- \\RS\n\- \\r\n\- \\ENQ\EOT\f\STX\STX\ETX\DC2\EOT\217\EOT!\"\n\- \\163\SOH\n\- \\EOT\EOT\f\STX\ETX\DC2\EOT\223\EOT\STX\GS\SUB\148\SOH TimeUnixNano is required, see the detailed comments above Metric.\n\- \\n\- \ Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January\n\- \ 1970.\n\- \\n\- \\r\n\- \\ENQ\EOT\f\STX\ETX\ENQ\DC2\EOT\223\EOT\STX\t\n\- \\r\n\- \\ENQ\EOT\f\STX\ETX\SOH\DC2\EOT\223\EOT\n\- \\CAN\n\- \\r\n\- \\ENQ\EOT\f\STX\ETX\ETX\DC2\EOT\223\EOT\ESC\FS\n\- \V\n\- \\EOT\EOT\f\STX\EOT\DC2\EOT\226\EOT\STX\DC4\SUBH count is the number of values in the population. Must be non-negative.\n\- \\n\- \\r\n\- \\ENQ\EOT\f\STX\EOT\ENQ\DC2\EOT\226\EOT\STX\t\n\- \\r\n\- \\ENQ\EOT\f\STX\EOT\SOH\DC2\EOT\226\EOT\n\- \\SI\n\- \\r\n\- \\ENQ\EOT\f\STX\EOT\ETX\DC2\EOT\226\EOT\DC2\DC3\n\- \\243\ETX\n\- \\EOT\EOT\f\STX\ENQ\DC2\EOT\236\EOT\STX\DC1\SUB\228\ETX sum of the values in the population. If count is zero then this field\n\- \ must be zero.\n\- \\n\- \ Note: Sum should only be filled out when measuring non-negative discrete\n\- \ events, and is assumed to be monotonic over the values of these events.\n\- \ Negative events *can* be recorded, but sum should not be filled out when\n\- \ doing so. This is specifically to enforce compatibility w/ OpenMetrics,\n\- \ see: https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md#summary\n\- \\n\- \\r\n\- \\ENQ\EOT\f\STX\ENQ\ENQ\DC2\EOT\236\EOT\STX\b\n\- \\r\n\- \\ENQ\EOT\f\STX\ENQ\SOH\DC2\EOT\236\EOT\t\f\n\- \\r\n\- \\ENQ\EOT\f\STX\ENQ\ETX\DC2\EOT\236\EOT\SI\DLE\n\- \\253\STX\n\- \\EOT\EOT\f\ETX\NUL\DC2\ACK\246\EOT\STX\255\EOT\ETX\SUB\236\STX Represents the value at a given quantile of a distribution.\n\- \\n\- \ To record Min and Max values following conventions are used:\n\- \ - The 1.0 quantile is equivalent to the maximum value observed.\n\- \ - The 0.0 quantile is equivalent to the minimum value observed.\n\- \\n\- \ See the following issue for more context:\n\- \ https://github.com/open-telemetry/opentelemetry-proto/issues/125\n\- \\n\- \\r\n\- \\ENQ\EOT\f\ETX\NUL\SOH\DC2\EOT\246\EOT\n\- \\EM\n\- \V\n\- \\ACK\EOT\f\ETX\NUL\STX\NUL\DC2\EOT\249\EOT\EOT\CAN\SUBF The quantile of a distribution. Must be in the interval\n\- \ [0.0, 1.0].\n\- \\n\- \\SI\n\- \\a\EOT\f\ETX\NUL\STX\NUL\ENQ\DC2\EOT\249\EOT\EOT\n\- \\n\- \\SI\n\- \\a\EOT\f\ETX\NUL\STX\NUL\SOH\DC2\EOT\249\EOT\v\DC3\n\- \\SI\n\- \\a\EOT\f\ETX\NUL\STX\NUL\ETX\DC2\EOT\249\EOT\SYN\ETB\n\- \l\n\- \\ACK\EOT\f\ETX\NUL\STX\SOH\DC2\EOT\254\EOT\EOT\NAK\SUB\\ The value at the given quantile of a distribution.\n\- \\n\- \ Quantile values must NOT be negative.\n\- \\n\- \\SI\n\- \\a\EOT\f\ETX\NUL\STX\SOH\ENQ\DC2\EOT\254\EOT\EOT\n\- \\n\- \\SI\n\- \\a\EOT\f\ETX\NUL\STX\SOH\SOH\DC2\EOT\254\EOT\v\DLE\n\- \\SI\n\- \\a\EOT\f\ETX\NUL\STX\SOH\ETX\DC2\EOT\254\EOT\DC3\DC4\n\- \\167\SOH\n\- \\EOT\EOT\f\STX\ACK\DC2\EOT\131\ENQ\STX/\SUB\152\SOH (Optional) list of values at different quantiles of the distribution calculated\n\- \ from the current snapshot. The quantiles must be strictly increasing.\n\- \\n\- \\r\n\- \\ENQ\EOT\f\STX\ACK\EOT\DC2\EOT\131\ENQ\STX\n\- \\n\- \\r\n\- \\ENQ\EOT\f\STX\ACK\ACK\DC2\EOT\131\ENQ\v\SUB\n\- \\r\n\- \\ENQ\EOT\f\STX\ACK\SOH\DC2\EOT\131\ENQ\ESC*\n\- \\r\n\- \\ENQ\EOT\f\STX\ACK\ETX\DC2\EOT\131\ENQ-.\n\- \}\n\- \\EOT\EOT\f\STX\a\DC2\EOT\135\ENQ\STX\DC3\SUBo Flags that apply to this specific data point. See DataPointFlags\n\- \ for the available flags and their meaning.\n\- \\n\- \\r\n\- \\ENQ\EOT\f\STX\a\ENQ\DC2\EOT\135\ENQ\STX\b\n\- \\r\n\- \\ENQ\EOT\f\STX\a\SOH\DC2\EOT\135\ENQ\t\SO\n\- \\r\n\- \\ENQ\EOT\f\STX\a\ETX\DC2\EOT\135\ENQ\DC1\DC2\n\- \\135\STX\n\- \\STX\EOT\r\DC2\ACK\142\ENQ\NUL\182\ENQ\SOH\SUB\248\SOH A representation of an exemplar, which is a sample input measurement.\n\- \ Exemplars also hold information about the environment when the measurement\n\- \ was recorded, for example the span and trace ID of the active span when the\n\- \ exemplar was recorded.\n\- \\n\- \\v\n\- \\ETX\EOT\r\SOH\DC2\EOT\142\ENQ\b\DLE\n\- \\217\SOH\n\- \\EOT\EOT\r\STX\NUL\DC2\EOT\146\ENQ\STXJ\SUB\202\SOH The set of key/value pairs that were filtered out by the aggregator, but\n\- \ recorded alongside the original measurement. Only key/value pairs that were\n\- \ filtered out by the aggregator should be included\n\- \\n\- \\r\n\- \\ENQ\EOT\r\STX\NUL\EOT\DC2\EOT\146\ENQ\STX\n\- \\n\- \\r\n\- \\ENQ\EOT\r\STX\NUL\ACK\DC2\EOT\146\ENQ\v1\n\- \\r\n\- \\ENQ\EOT\r\STX\NUL\SOH\DC2\EOT\146\ENQ2E\n\- \\r\n\- \\ENQ\EOT\r\STX\NUL\ETX\DC2\EOT\146\ENQHI\n\- \\210\ETX\n\- \\EOT\EOT\r\STX\SOH\DC2\EOT\157\ENQ\STX`\SUB\195\ETX Labels is deprecated and will be removed soon.\n\- \ 1. Old senders and receivers that are not aware of this change will\n\- \ continue using the `filtered_labels` field.\n\- \ 2. New senders, which are aware of this change MUST send only\n\- \ `filtered_attributes`.\n\- \ 3. New receivers, which are aware of this change MUST convert this into\n\- \ `filtered_labels` by simply converting all int64 values into float.\n\- \\n\- \ This field will be removed in ~3 months, on July 1, 2021.\n\- \\n\- \\r\n\- \\ENQ\EOT\r\STX\SOH\EOT\DC2\EOT\157\ENQ\STX\n\- \\n\- \\r\n\- \\ENQ\EOT\r\STX\SOH\ACK\DC2\EOT\157\ENQ\v7\n\- \\r\n\- \\ENQ\EOT\r\STX\SOH\SOH\DC2\EOT\157\ENQ8G\n\- \\r\n\- \\ENQ\EOT\r\STX\SOH\ETX\DC2\EOT\157\ENQJK\n\- \\r\n\- \\ENQ\EOT\r\STX\SOH\b\DC2\EOT\157\ENQL_\n\- \\SO\n\- \\ACK\EOT\r\STX\SOH\b\ETX\DC2\EOT\157\ENQM^\n\- \\162\SOH\n\- \\EOT\EOT\r\STX\STX\DC2\EOT\163\ENQ\STX\GS\SUB\147\SOH time_unix_nano is the exact time when this exemplar was recorded\n\- \\n\- \ Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January\n\- \ 1970.\n\- \\n\- \\r\n\- \\ENQ\EOT\r\STX\STX\ENQ\DC2\EOT\163\ENQ\STX\t\n\- \\r\n\- \\ENQ\EOT\r\STX\STX\SOH\DC2\EOT\163\ENQ\n\- \\CAN\n\- \\r\n\- \\ENQ\EOT\r\STX\STX\ETX\DC2\EOT\163\ENQ\ESC\FS\n\- \\176\SOH\n\- \\EOT\EOT\r\b\NUL\DC2\ACK\168\ENQ\STX\171\ENQ\ETX\SUB\159\SOH The value of the measurement that was recorded. An exemplar is\n\- \ considered invalid when one of the recognized value fields is not present\n\- \ inside this oneof.\n\- \\n\- \\r\n\- \\ENQ\EOT\r\b\NUL\SOH\DC2\EOT\168\ENQ\b\r\n\- \\f\n\- \\EOT\EOT\r\STX\ETX\DC2\EOT\169\ENQ\EOT\EM\n\- \\r\n\- \\ENQ\EOT\r\STX\ETX\ENQ\DC2\EOT\169\ENQ\EOT\n\- \\n\- \\r\n\- \\ENQ\EOT\r\STX\ETX\SOH\DC2\EOT\169\ENQ\v\DC4\n\- \\r\n\- \\ENQ\EOT\r\STX\ETX\ETX\DC2\EOT\169\ENQ\ETB\CAN\n\- \\f\n\- \\EOT\EOT\r\STX\EOT\DC2\EOT\170\ENQ\EOT\CAN\n\- \\r\n\- \\ENQ\EOT\r\STX\EOT\ENQ\DC2\EOT\170\ENQ\EOT\f\n\- \\r\n\- \\ENQ\EOT\r\STX\EOT\SOH\DC2\EOT\170\ENQ\r\DC3\n\- \\r\n\- \\ENQ\EOT\r\STX\EOT\ETX\DC2\EOT\170\ENQ\SYN\ETB\n\- \\165\SOH\n\- \\EOT\EOT\r\STX\ENQ\DC2\EOT\176\ENQ\STX\DC4\SUB\150\SOH (Optional) Span ID of the exemplar trace.\n\- \ span_id may be missing if the measurement is not recorded inside a trace\n\- \ or if the trace is not sampled.\n\- \\n\- \\r\n\- \\ENQ\EOT\r\STX\ENQ\ENQ\DC2\EOT\176\ENQ\STX\a\n\- \\r\n\- \\ENQ\EOT\r\STX\ENQ\SOH\DC2\EOT\176\ENQ\b\SI\n\- \\r\n\- \\ENQ\EOT\r\STX\ENQ\ETX\DC2\EOT\176\ENQ\DC2\DC3\n\- \\167\SOH\n\- \\EOT\EOT\r\STX\ACK\DC2\EOT\181\ENQ\STX\NAK\SUB\152\SOH (Optional) Trace ID of the exemplar trace.\n\- \ trace_id may be missing if the measurement is not recorded inside a trace\n\- \ or if the trace is not sampled.\n\- \\n\- \\r\n\- \\ENQ\EOT\r\STX\ACK\ENQ\DC2\EOT\181\ENQ\STX\a\n\- \\r\n\- \\ENQ\EOT\r\STX\ACK\SOH\DC2\EOT\181\ENQ\b\DLE\n\- \\r\n\- \\ENQ\EOT\r\STX\ACK\ETX\DC2\EOT\181\ENQ\DC3\DC4\n\- \\DEL\n\- \\STX\EOT\SO\DC2\ACK\189\ENQ\NUL\214\ENQ\SOH\SUBC IntDataPoint is deprecated. Use integer value in NumberDataPoint.\n\- \2,\n\- \ Move deprecated messages below this line\n\- \\n\- \\n\- \\v\n\- \\ETX\EOT\SO\SOH\DC2\EOT\189\ENQ\b\DC4\n\- \\v\n\- \\ETX\EOT\SO\a\DC2\EOT\190\ENQ\STX\ESC\n\- \\f\n\- \\EOT\EOT\SO\a\ETX\DC2\EOT\190\ENQ\STX\ESC\n\- \I\n\- \\EOT\EOT\SO\STX\NUL\DC2\EOT\193\ENQ\STXC\SUB; The set of labels that uniquely identify this timeseries.\n\- \\n\- \\r\n\- \\ENQ\EOT\SO\STX\NUL\EOT\DC2\EOT\193\ENQ\STX\n\- \\n\- \\r\n\- \\ENQ\EOT\SO\STX\NUL\ACK\DC2\EOT\193\ENQ\v7\n\- \\r\n\- \\ENQ\EOT\SO\STX\NUL\SOH\DC2\EOT\193\ENQ8>\n\- \\r\n\- \\ENQ\EOT\SO\STX\NUL\ETX\DC2\EOT\193\ENQAB\n\- \\197\SOH\n\- \\EOT\EOT\SO\STX\SOH\DC2\EOT\200\ENQ\STX#\SUB\182\SOH StartTimeUnixNano is optional but strongly encouraged, see the\n\- \ the detailed comments above Metric.\n\- \\n\- \ Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January\n\- \ 1970.\n\- \\n\- \\r\n\- \\ENQ\EOT\SO\STX\SOH\ENQ\DC2\EOT\200\ENQ\STX\t\n\- \\r\n\- \\ENQ\EOT\SO\STX\SOH\SOH\DC2\EOT\200\ENQ\n\- \\RS\n\- \\r\n\- \\ENQ\EOT\SO\STX\SOH\ETX\DC2\EOT\200\ENQ!\"\n\- \\163\SOH\n\- \\EOT\EOT\SO\STX\STX\DC2\EOT\206\ENQ\STX\GS\SUB\148\SOH TimeUnixNano is required, see the detailed comments above Metric.\n\- \\n\- \ Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January\n\- \ 1970.\n\- \\n\- \\r\n\- \\ENQ\EOT\SO\STX\STX\ENQ\DC2\EOT\206\ENQ\STX\t\n\- \\r\n\- \\ENQ\EOT\SO\STX\STX\SOH\DC2\EOT\206\ENQ\n\- \\CAN\n\- \\r\n\- \\ENQ\EOT\SO\STX\STX\ETX\DC2\EOT\206\ENQ\ESC\FS\n\- \\GS\n\- \\EOT\EOT\SO\STX\ETX\DC2\EOT\209\ENQ\STX\NAK\SUB\SI value itself.\n\- \\n\- \\r\n\- \\ENQ\EOT\SO\STX\ETX\ENQ\DC2\EOT\209\ENQ\STX\n\- \\n\- \\r\n\- \\ENQ\EOT\SO\STX\ETX\SOH\DC2\EOT\209\ENQ\v\DLE\n\- \\r\n\- \\ENQ\EOT\SO\STX\ETX\ETX\DC2\EOT\209\ENQ\DC3\DC4\n\- \o\n\- \\EOT\EOT\SO\STX\EOT\DC2\EOT\213\ENQ\STX%\SUBa (Optional) List of exemplars collected from\n\- \ measurements that were used to form the data point\n\- \\n\- \\r\n\- \\ENQ\EOT\SO\STX\EOT\EOT\DC2\EOT\213\ENQ\STX\n\- \\n\- \\r\n\- \\ENQ\EOT\SO\STX\EOT\ACK\DC2\EOT\213\ENQ\v\SYN\n\- \\r\n\- \\ENQ\EOT\SO\STX\EOT\SOH\DC2\EOT\213\ENQ\ETB \n\- \\r\n\- \\ENQ\EOT\SO\STX\EOT\ETX\DC2\EOT\213\ENQ#$\n\- \\\\n\- \\STX\EOT\SI\DC2\ACK\217\ENQ\NUL\221\ENQ\SOH\SUBN IntGauge is deprecated. Use Gauge with an integer value in NumberDataPoint.\n\- \\n\- \\v\n\- \\ETX\EOT\SI\SOH\DC2\EOT\217\ENQ\b\DLE\n\- \\v\n\- \\ETX\EOT\SI\a\DC2\EOT\218\ENQ\STX\ESC\n\- \\f\n\- \\EOT\EOT\SI\a\ETX\DC2\EOT\218\ENQ\STX\ESC\n\- \\f\n\- \\EOT\EOT\SI\STX\NUL\DC2\EOT\220\ENQ\STX(\n\- \\r\n\- \\ENQ\EOT\SI\STX\NUL\EOT\DC2\EOT\220\ENQ\STX\n\- \\n\- \\r\n\- \\ENQ\EOT\SI\STX\NUL\ACK\DC2\EOT\220\ENQ\v\ETB\n\- \\r\n\- \\ENQ\EOT\SI\STX\NUL\SOH\DC2\EOT\220\ENQ\CAN#\n\- \\r\n\- \\ENQ\EOT\SI\STX\NUL\ETX\DC2\EOT\220\ENQ&'\n\- \X\n\- \\STX\EOT\DLE\DC2\ACK\224\ENQ\NUL\235\ENQ\SOH\SUBJ IntSum is deprecated. Use Sum with an integer value in NumberDataPoint.\n\- \\n\- \\v\n\- \\ETX\EOT\DLE\SOH\DC2\EOT\224\ENQ\b\SO\n\- \\v\n\- \\ETX\EOT\DLE\a\DC2\EOT\225\ENQ\STX\ESC\n\- \\f\n\- \\EOT\EOT\DLE\a\ETX\DC2\EOT\225\ENQ\STX\ESC\n\- \\f\n\- \\EOT\EOT\DLE\STX\NUL\DC2\EOT\227\ENQ\STX(\n\- \\r\n\- \\ENQ\EOT\DLE\STX\NUL\EOT\DC2\EOT\227\ENQ\STX\n\- \\n\- \\r\n\- \\ENQ\EOT\DLE\STX\NUL\ACK\DC2\EOT\227\ENQ\v\ETB\n\- \\r\n\- \\ENQ\EOT\DLE\STX\NUL\SOH\DC2\EOT\227\ENQ\CAN#\n\- \\r\n\- \\ENQ\EOT\DLE\STX\NUL\ETX\DC2\EOT\227\ENQ&'\n\- \\163\SOH\n\- \\EOT\EOT\DLE\STX\SOH\DC2\EOT\231\ENQ\STX5\SUB\148\SOH aggregation_temporality describes if the aggregator reports delta changes\n\- \ since last report time, or cumulative changes since a fixed start time.\n\- \\n\- \\r\n\- \\ENQ\EOT\DLE\STX\SOH\ACK\DC2\EOT\231\ENQ\STX\CAN\n\- \\r\n\- \\ENQ\EOT\DLE\STX\SOH\SOH\DC2\EOT\231\ENQ\EM0\n\- \\r\n\- \\ENQ\EOT\DLE\STX\SOH\ETX\DC2\EOT\231\ENQ34\n\- \:\n\- \\EOT\EOT\DLE\STX\STX\DC2\EOT\234\ENQ\STX\CAN\SUB, If \"true\" means that the sum is monotonic.\n\- \\n\- \\r\n\- \\ENQ\EOT\DLE\STX\STX\ENQ\DC2\EOT\234\ENQ\STX\ACK\n\- \\r\n\- \\ENQ\EOT\DLE\STX\STX\SOH\DC2\EOT\234\ENQ\a\DC3\n\- \\r\n\- \\ENQ\EOT\DLE\STX\STX\ETX\DC2\EOT\234\ENQ\SYN\ETB\n\- \L\n\- \\STX\EOT\DC1\DC2\ACK\238\ENQ\NUL\166\ACK\SOH\SUB> IntHistogramDataPoint is deprecated; use HistogramDataPoint.\n\- \\n\- \\v\n\- \\ETX\EOT\DC1\SOH\DC2\EOT\238\ENQ\b\GS\n\- \\v\n\- \\ETX\EOT\DC1\a\DC2\EOT\239\ENQ\STX\ESC\n\- \\f\n\- \\EOT\EOT\DC1\a\ETX\DC2\EOT\239\ENQ\STX\ESC\n\- \I\n\- \\EOT\EOT\DC1\STX\NUL\DC2\EOT\242\ENQ\STXC\SUB; The set of labels that uniquely identify this timeseries.\n\- \\n\- \\r\n\- \\ENQ\EOT\DC1\STX\NUL\EOT\DC2\EOT\242\ENQ\STX\n\- \\n\- \\r\n\- \\ENQ\EOT\DC1\STX\NUL\ACK\DC2\EOT\242\ENQ\v7\n\- \\r\n\- \\ENQ\EOT\DC1\STX\NUL\SOH\DC2\EOT\242\ENQ8>\n\- \\r\n\- \\ENQ\EOT\DC1\STX\NUL\ETX\DC2\EOT\242\ENQAB\n\- \\197\SOH\n\- \\EOT\EOT\DC1\STX\SOH\DC2\EOT\249\ENQ\STX#\SUB\182\SOH StartTimeUnixNano is optional but strongly encouraged, see the\n\- \ the detailed comments above Metric.\n\- \\n\- \ Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January\n\- \ 1970.\n\- \\n\- \\r\n\- \\ENQ\EOT\DC1\STX\SOH\ENQ\DC2\EOT\249\ENQ\STX\t\n\- \\r\n\- \\ENQ\EOT\DC1\STX\SOH\SOH\DC2\EOT\249\ENQ\n\- \\RS\n\- \\r\n\- \\ENQ\EOT\DC1\STX\SOH\ETX\DC2\EOT\249\ENQ!\"\n\- \\163\SOH\n\- \\EOT\EOT\DC1\STX\STX\DC2\EOT\255\ENQ\STX\GS\SUB\148\SOH TimeUnixNano is required, see the detailed comments above Metric.\n\- \\n\- \ Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January\n\- \ 1970.\n\- \\n\- \\r\n\- \\ENQ\EOT\DC1\STX\STX\ENQ\DC2\EOT\255\ENQ\STX\t\n\- \\r\n\- \\ENQ\EOT\DC1\STX\STX\SOH\DC2\EOT\255\ENQ\n\- \\CAN\n\- \\r\n\- \\ENQ\EOT\DC1\STX\STX\ETX\DC2\EOT\255\ENQ\ESC\FS\n\- \\186\SOH\n\- \\EOT\EOT\DC1\STX\ETX\DC2\EOT\132\ACK\STX\DC4\SUB\171\SOH count is the number of values in the population. Must be non-negative. This\n\- \ value must be equal to the sum of the \"count\" fields in buckets if a\n\- \ histogram is provided.\n\- \\n\- \\r\n\- \\ENQ\EOT\DC1\STX\ETX\ENQ\DC2\EOT\132\ACK\STX\t\n\- \\r\n\- \\ENQ\EOT\DC1\STX\ETX\SOH\DC2\EOT\132\ACK\n\- \\SI\n\- \\r\n\- \\ENQ\EOT\DC1\STX\ETX\ETX\DC2\EOT\132\ACK\DC2\DC3\n\- \\197\SOH\n\- \\EOT\EOT\DC1\STX\EOT\DC2\EOT\137\ACK\STX\DC3\SUB\182\SOH sum of the values in the population. If count is zero then this field\n\- \ must be zero. This value must be equal to the sum of the \"sum\" fields in\n\- \ buckets if a histogram is provided.\n\- \\n\- \\r\n\- \\ENQ\EOT\DC1\STX\EOT\ENQ\DC2\EOT\137\ACK\STX\n\- \\n\- \\r\n\- \\ENQ\EOT\DC1\STX\EOT\SOH\DC2\EOT\137\ACK\v\SO\n\- \\r\n\- \\ENQ\EOT\DC1\STX\EOT\ETX\DC2\EOT\137\ACK\DC1\DC2\n\- \\178\STX\n\- \\EOT\EOT\DC1\STX\ENQ\DC2\EOT\146\ACK\STX%\SUB\163\STX bucket_counts is an optional field contains the count values of histogram\n\- \ for each bucket.\n\- \\n\- \ The sum of the bucket_counts must equal the value in the count field.\n\- \\n\- \ The number of elements in bucket_counts array must be by one greater than\n\- \ the number of elements in explicit_bounds array.\n\- \\n\- \\r\n\- \\ENQ\EOT\DC1\STX\ENQ\EOT\DC2\EOT\146\ACK\STX\n\- \\n\- \\r\n\- \\ENQ\EOT\DC1\STX\ENQ\ENQ\DC2\EOT\146\ACK\v\DC2\n\- \\r\n\- \\ENQ\EOT\DC1\STX\ENQ\SOH\DC2\EOT\146\ACK\DC3 \n\- \\r\n\- \\ENQ\EOT\DC1\STX\ENQ\ETX\DC2\EOT\146\ACK#$\n\- \\215\EOT\n\- \\EOT\EOT\DC1\STX\ACK\DC2\EOT\161\ACK\STX&\SUB\200\EOT explicit_bounds specifies buckets with explicitly defined bounds for values.\n\- \\n\- \ The boundaries for bucket at index i are:\n\- \\n\- \ (-infinity, explicit_bounds[i]] for i == 0\n\- \ (explicit_bounds[i-1], explicit_bounds[i]] for 0 < i < size(explicit_bounds)\n\- \ (explicit_bounds[i-1], +infinity) for i == size(explicit_bounds)\n\- \\n\- \ The values in the explicit_bounds array must be strictly increasing.\n\- \\n\- \ Histogram buckets are inclusive of their upper boundary, except the last\n\- \ bucket where the boundary is at infinity. This format is intentionally\n\- \ compatible with the OpenMetrics histogram definition.\n\- \\n\- \\r\n\- \\ENQ\EOT\DC1\STX\ACK\EOT\DC2\EOT\161\ACK\STX\n\- \\n\- \\r\n\- \\ENQ\EOT\DC1\STX\ACK\ENQ\DC2\EOT\161\ACK\v\DC1\n\- \\r\n\- \\ENQ\EOT\DC1\STX\ACK\SOH\DC2\EOT\161\ACK\DC2!\n\- \\r\n\- \\ENQ\EOT\DC1\STX\ACK\ETX\DC2\EOT\161\ACK$%\n\- \o\n\- \\EOT\EOT\DC1\STX\a\DC2\EOT\165\ACK\STX%\SUBa (Optional) List of exemplars collected from\n\- \ measurements that were used to form the data point\n\- \\n\- \\r\n\- \\ENQ\EOT\DC1\STX\a\EOT\DC2\EOT\165\ACK\STX\n\- \\n\- \\r\n\- \\ENQ\EOT\DC1\STX\a\ACK\DC2\EOT\165\ACK\v\SYN\n\- \\r\n\- \\ENQ\EOT\DC1\STX\a\SOH\DC2\EOT\165\ACK\ETB \n\- \\r\n\- \\ENQ\EOT\DC1\STX\a\ETX\DC2\EOT\165\ACK#$\n\- \i\n\- \\STX\EOT\DC2\DC2\ACK\170\ACK\NUL\178\ACK\SOH\SUB[ IntHistogram is deprecated, replaced by Histogram points using double-\n\- \ valued exemplars.\n\- \\n\- \\v\n\- \\ETX\EOT\DC2\SOH\DC2\EOT\170\ACK\b\DC4\n\- \\v\n\- \\ETX\EOT\DC2\a\DC2\EOT\171\ACK\STX\ESC\n\- \\f\n\- \\EOT\EOT\DC2\a\ETX\DC2\EOT\171\ACK\STX\ESC\n\- \\f\n\- \\EOT\EOT\DC2\STX\NUL\DC2\EOT\173\ACK\STX1\n\- \\r\n\- \\ENQ\EOT\DC2\STX\NUL\EOT\DC2\EOT\173\ACK\STX\n\- \\n\- \\r\n\- \\ENQ\EOT\DC2\STX\NUL\ACK\DC2\EOT\173\ACK\v \n\- \\r\n\- \\ENQ\EOT\DC2\STX\NUL\SOH\DC2\EOT\173\ACK!,\n\- \\r\n\- \\ENQ\EOT\DC2\STX\NUL\ETX\DC2\EOT\173\ACK/0\n\- \\163\SOH\n\- \\EOT\EOT\DC2\STX\SOH\DC2\EOT\177\ACK\STX5\SUB\148\SOH aggregation_temporality describes if the aggregator reports delta changes\n\- \ since last report time, or cumulative changes since a fixed start time.\n\- \\n\- \\r\n\- \\ENQ\EOT\DC2\STX\SOH\ACK\DC2\EOT\177\ACK\STX\CAN\n\- \\r\n\- \\ENQ\EOT\DC2\STX\SOH\SOH\DC2\EOT\177\ACK\EM0\n\- \\r\n\- \\ENQ\EOT\DC2\STX\SOH\ETX\DC2\EOT\177\ACK34\n\- \M\n\- \\STX\EOT\DC3\DC2\ACK\181\ACK\NUL\207\ACK\SOH\SUB? IntExemplar is deprecated. Use Exemplar with as_int for value\n\- \\n\- \\v\n\- \\ETX\EOT\DC3\SOH\DC2\EOT\181\ACK\b\DC3\n\- \\v\n\- \\ETX\EOT\DC3\a\DC2\EOT\182\ACK\STX\ESC\n\- \\f\n\- \\EOT\EOT\DC3\a\ETX\DC2\EOT\182\ACK\STX\ESC\n\- \\199\SOH\n\- \\EOT\EOT\DC3\STX\NUL\DC2\EOT\187\ACK\STXL\SUB\184\SOH The set of labels that were filtered out by the aggregator, but recorded\n\- \ alongside the original measurement. Only labels that were filtered out\n\- \ by the aggregator should be included\n\- \\n\- \\r\n\- \\ENQ\EOT\DC3\STX\NUL\EOT\DC2\EOT\187\ACK\STX\n\- \\n\- \\r\n\- \\ENQ\EOT\DC3\STX\NUL\ACK\DC2\EOT\187\ACK\v7\n\- \\r\n\- \\ENQ\EOT\DC3\STX\NUL\SOH\DC2\EOT\187\ACK8G\n\- \\r\n\- \\ENQ\EOT\DC3\STX\NUL\ETX\DC2\EOT\187\ACKJK\n\- \\162\SOH\n\- \\EOT\EOT\DC3\STX\SOH\DC2\EOT\193\ACK\STX\GS\SUB\147\SOH time_unix_nano is the exact time when this exemplar was recorded\n\- \\n\- \ Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January\n\- \ 1970.\n\- \\n\- \\r\n\- \\ENQ\EOT\DC3\STX\SOH\ENQ\DC2\EOT\193\ACK\STX\t\n\- \\r\n\- \\ENQ\EOT\DC3\STX\SOH\SOH\DC2\EOT\193\ACK\n\- \\CAN\n\- \\r\n\- \\ENQ\EOT\DC3\STX\SOH\ETX\DC2\EOT\193\ACK\ESC\FS\n\- \I\n\- \\EOT\EOT\DC3\STX\STX\DC2\EOT\196\ACK\STX\NAK\SUB; Numerical int value of the measurement that was recorded.\n\- \\n\- \\r\n\- \\ENQ\EOT\DC3\STX\STX\ENQ\DC2\EOT\196\ACK\STX\n\- \\n\- \\r\n\- \\ENQ\EOT\DC3\STX\STX\SOH\DC2\EOT\196\ACK\v\DLE\n\- \\r\n\- \\ENQ\EOT\DC3\STX\STX\ETX\DC2\EOT\196\ACK\DC3\DC4\n\- \\165\SOH\n\- \\EOT\EOT\DC3\STX\ETX\DC2\EOT\201\ACK\STX\DC4\SUB\150\SOH (Optional) Span ID of the exemplar trace.\n\- \ span_id may be missing if the measurement is not recorded inside a trace\n\- \ or if the trace is not sampled.\n\- \\n\- \\r\n\- \\ENQ\EOT\DC3\STX\ETX\ENQ\DC2\EOT\201\ACK\STX\a\n\- \\r\n\- \\ENQ\EOT\DC3\STX\ETX\SOH\DC2\EOT\201\ACK\b\SI\n\- \\r\n\- \\ENQ\EOT\DC3\STX\ETX\ETX\DC2\EOT\201\ACK\DC2\DC3\n\- \\167\SOH\n\- \\EOT\EOT\DC3\STX\EOT\DC2\EOT\206\ACK\STX\NAK\SUB\152\SOH (Optional) Trace ID of the exemplar trace.\n\- \ trace_id may be missing if the measurement is not recorded inside a trace\n\- \ or if the trace is not sampled.\n\- \\n\- \\r\n\- \\ENQ\EOT\DC3\STX\EOT\ENQ\DC2\EOT\206\ACK\STX\a\n\- \\r\n\- \\ENQ\EOT\DC3\STX\EOT\SOH\DC2\EOT\206\ACK\b\DLE\n\- \\r\n\- \\ENQ\EOT\DC3\STX\EOT\ETX\DC2\EOT\206\ACK\DC3\DC4b\ACKproto3"+{- HLINT ignore -}+{- This file was auto-generated from opentelemetry/proto/metrics/v1/metrics.proto by the proto-lens-protoc program. -}+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}+{-# OPTIONS_GHC -Wno-unused-imports#-}+{-# OPTIONS_GHC -Wno-duplicate-exports#-}+{-# OPTIONS_GHC -Wno-dodgy-exports#-}+module Proto.Opentelemetry.Proto.Metrics.V1.Metrics (+ AggregationTemporality(..), AggregationTemporality(),+ AggregationTemporality'UnrecognizedValue, DataPointFlags(..),+ DataPointFlags(), DataPointFlags'UnrecognizedValue, Exemplar(),+ Exemplar'Value(..), _Exemplar'AsDouble, _Exemplar'AsInt,+ ExponentialHistogram(), ExponentialHistogramDataPoint(),+ ExponentialHistogramDataPoint'Buckets(), Gauge(), Histogram(),+ HistogramDataPoint(), Metric(), Metric'Data(..), _Metric'Gauge,+ _Metric'Sum, _Metric'Histogram, _Metric'ExponentialHistogram,+ _Metric'Summary, MetricsData(), NumberDataPoint(),+ NumberDataPoint'Value(..), _NumberDataPoint'AsDouble,+ _NumberDataPoint'AsInt, ResourceMetrics(), ScopeMetrics(), Sum(),+ Summary(), SummaryDataPoint(), SummaryDataPoint'ValueAtQuantile()+ ) where+import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism+import qualified Data.ProtoLens.Runtime.Prelude as Prelude+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read+import qualified Proto.Opentelemetry.Proto.Common.V1.Common+import qualified Proto.Opentelemetry.Proto.Resource.V1.Resource+newtype AggregationTemporality'UnrecognizedValue+ = AggregationTemporality'UnrecognizedValue Data.Int.Int32+ deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)+data AggregationTemporality+ = AGGREGATION_TEMPORALITY_UNSPECIFIED |+ AGGREGATION_TEMPORALITY_DELTA |+ AGGREGATION_TEMPORALITY_CUMULATIVE |+ AggregationTemporality'Unrecognized !AggregationTemporality'UnrecognizedValue+ deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)+instance Data.ProtoLens.MessageEnum AggregationTemporality where+ maybeToEnum 0 = Prelude.Just AGGREGATION_TEMPORALITY_UNSPECIFIED+ maybeToEnum 1 = Prelude.Just AGGREGATION_TEMPORALITY_DELTA+ maybeToEnum 2 = Prelude.Just AGGREGATION_TEMPORALITY_CUMULATIVE+ maybeToEnum k+ = Prelude.Just+ (AggregationTemporality'Unrecognized+ (AggregationTemporality'UnrecognizedValue+ (Prelude.fromIntegral k)))+ showEnum AGGREGATION_TEMPORALITY_UNSPECIFIED+ = "AGGREGATION_TEMPORALITY_UNSPECIFIED"+ showEnum AGGREGATION_TEMPORALITY_DELTA+ = "AGGREGATION_TEMPORALITY_DELTA"+ showEnum AGGREGATION_TEMPORALITY_CUMULATIVE+ = "AGGREGATION_TEMPORALITY_CUMULATIVE"+ showEnum+ (AggregationTemporality'Unrecognized (AggregationTemporality'UnrecognizedValue k))+ = Prelude.show k+ readEnum k+ | (Prelude.==) k "AGGREGATION_TEMPORALITY_UNSPECIFIED"+ = Prelude.Just AGGREGATION_TEMPORALITY_UNSPECIFIED+ | (Prelude.==) k "AGGREGATION_TEMPORALITY_DELTA"+ = Prelude.Just AGGREGATION_TEMPORALITY_DELTA+ | (Prelude.==) k "AGGREGATION_TEMPORALITY_CUMULATIVE"+ = Prelude.Just AGGREGATION_TEMPORALITY_CUMULATIVE+ | Prelude.otherwise+ = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum+instance Prelude.Bounded AggregationTemporality where+ minBound = AGGREGATION_TEMPORALITY_UNSPECIFIED+ maxBound = AGGREGATION_TEMPORALITY_CUMULATIVE+instance Prelude.Enum AggregationTemporality where+ toEnum k__+ = Prelude.maybe+ (Prelude.error+ ((Prelude.++)+ "toEnum: unknown value for enum AggregationTemporality: "+ (Prelude.show k__)))+ Prelude.id (Data.ProtoLens.maybeToEnum k__)+ fromEnum AGGREGATION_TEMPORALITY_UNSPECIFIED = 0+ fromEnum AGGREGATION_TEMPORALITY_DELTA = 1+ fromEnum AGGREGATION_TEMPORALITY_CUMULATIVE = 2+ fromEnum+ (AggregationTemporality'Unrecognized (AggregationTemporality'UnrecognizedValue k))+ = Prelude.fromIntegral k+ succ AGGREGATION_TEMPORALITY_CUMULATIVE+ = Prelude.error+ "AggregationTemporality.succ: bad argument AGGREGATION_TEMPORALITY_CUMULATIVE. This value would be out of bounds."+ succ AGGREGATION_TEMPORALITY_UNSPECIFIED+ = AGGREGATION_TEMPORALITY_DELTA+ succ AGGREGATION_TEMPORALITY_DELTA+ = AGGREGATION_TEMPORALITY_CUMULATIVE+ succ (AggregationTemporality'Unrecognized _)+ = Prelude.error+ "AggregationTemporality.succ: bad argument: unrecognized value"+ pred AGGREGATION_TEMPORALITY_UNSPECIFIED+ = Prelude.error+ "AggregationTemporality.pred: bad argument AGGREGATION_TEMPORALITY_UNSPECIFIED. This value would be out of bounds."+ pred AGGREGATION_TEMPORALITY_DELTA+ = AGGREGATION_TEMPORALITY_UNSPECIFIED+ pred AGGREGATION_TEMPORALITY_CUMULATIVE+ = AGGREGATION_TEMPORALITY_DELTA+ pred (AggregationTemporality'Unrecognized _)+ = Prelude.error+ "AggregationTemporality.pred: bad argument: unrecognized value"+ enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom+ enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo+ enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen+ enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo+instance Data.ProtoLens.FieldDefault AggregationTemporality where+ fieldDefault = AGGREGATION_TEMPORALITY_UNSPECIFIED+instance Control.DeepSeq.NFData AggregationTemporality where+ rnf x__ = Prelude.seq x__ ()+newtype DataPointFlags'UnrecognizedValue+ = DataPointFlags'UnrecognizedValue Data.Int.Int32+ deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)+data DataPointFlags+ = DATA_POINT_FLAGS_DO_NOT_USE |+ DATA_POINT_FLAGS_NO_RECORDED_VALUE_MASK |+ DataPointFlags'Unrecognized !DataPointFlags'UnrecognizedValue+ deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)+instance Data.ProtoLens.MessageEnum DataPointFlags where+ maybeToEnum 0 = Prelude.Just DATA_POINT_FLAGS_DO_NOT_USE+ maybeToEnum 1+ = Prelude.Just DATA_POINT_FLAGS_NO_RECORDED_VALUE_MASK+ maybeToEnum k+ = Prelude.Just+ (DataPointFlags'Unrecognized+ (DataPointFlags'UnrecognizedValue (Prelude.fromIntegral k)))+ showEnum DATA_POINT_FLAGS_DO_NOT_USE+ = "DATA_POINT_FLAGS_DO_NOT_USE"+ showEnum DATA_POINT_FLAGS_NO_RECORDED_VALUE_MASK+ = "DATA_POINT_FLAGS_NO_RECORDED_VALUE_MASK"+ showEnum+ (DataPointFlags'Unrecognized (DataPointFlags'UnrecognizedValue k))+ = Prelude.show k+ readEnum k+ | (Prelude.==) k "DATA_POINT_FLAGS_DO_NOT_USE"+ = Prelude.Just DATA_POINT_FLAGS_DO_NOT_USE+ | (Prelude.==) k "DATA_POINT_FLAGS_NO_RECORDED_VALUE_MASK"+ = Prelude.Just DATA_POINT_FLAGS_NO_RECORDED_VALUE_MASK+ | Prelude.otherwise+ = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum+instance Prelude.Bounded DataPointFlags where+ minBound = DATA_POINT_FLAGS_DO_NOT_USE+ maxBound = DATA_POINT_FLAGS_NO_RECORDED_VALUE_MASK+instance Prelude.Enum DataPointFlags where+ toEnum k__+ = Prelude.maybe+ (Prelude.error+ ((Prelude.++)+ "toEnum: unknown value for enum DataPointFlags: "+ (Prelude.show k__)))+ Prelude.id (Data.ProtoLens.maybeToEnum k__)+ fromEnum DATA_POINT_FLAGS_DO_NOT_USE = 0+ fromEnum DATA_POINT_FLAGS_NO_RECORDED_VALUE_MASK = 1+ fromEnum+ (DataPointFlags'Unrecognized (DataPointFlags'UnrecognizedValue k))+ = Prelude.fromIntegral k+ succ DATA_POINT_FLAGS_NO_RECORDED_VALUE_MASK+ = Prelude.error+ "DataPointFlags.succ: bad argument DATA_POINT_FLAGS_NO_RECORDED_VALUE_MASK. This value would be out of bounds."+ succ DATA_POINT_FLAGS_DO_NOT_USE+ = DATA_POINT_FLAGS_NO_RECORDED_VALUE_MASK+ succ (DataPointFlags'Unrecognized _)+ = Prelude.error+ "DataPointFlags.succ: bad argument: unrecognized value"+ pred DATA_POINT_FLAGS_DO_NOT_USE+ = Prelude.error+ "DataPointFlags.pred: bad argument DATA_POINT_FLAGS_DO_NOT_USE. This value would be out of bounds."+ pred DATA_POINT_FLAGS_NO_RECORDED_VALUE_MASK+ = DATA_POINT_FLAGS_DO_NOT_USE+ pred (DataPointFlags'Unrecognized _)+ = Prelude.error+ "DataPointFlags.pred: bad argument: unrecognized value"+ enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom+ enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo+ enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen+ enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo+instance Data.ProtoLens.FieldDefault DataPointFlags where+ fieldDefault = DATA_POINT_FLAGS_DO_NOT_USE+instance Control.DeepSeq.NFData DataPointFlags where+ rnf x__ = Prelude.seq x__ ()+{- | Fields :+ + * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.filteredAttributes' @:: Lens' Exemplar [Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue]@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.vec'filteredAttributes' @:: Lens' Exemplar (Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue)@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.timeUnixNano' @:: Lens' Exemplar Data.Word.Word64@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.spanId' @:: Lens' Exemplar Data.ByteString.ByteString@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.traceId' @:: Lens' Exemplar Data.ByteString.ByteString@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.maybe'value' @:: Lens' Exemplar (Prelude.Maybe Exemplar'Value)@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.maybe'asDouble' @:: Lens' Exemplar (Prelude.Maybe Prelude.Double)@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.asDouble' @:: Lens' Exemplar Prelude.Double@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.maybe'asInt' @:: Lens' Exemplar (Prelude.Maybe Data.Int.Int64)@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.asInt' @:: Lens' Exemplar Data.Int.Int64@ -}+data Exemplar+ = Exemplar'_constructor {_Exemplar'filteredAttributes :: !(Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue),+ _Exemplar'timeUnixNano :: !Data.Word.Word64,+ _Exemplar'spanId :: !Data.ByteString.ByteString,+ _Exemplar'traceId :: !Data.ByteString.ByteString,+ _Exemplar'value :: !(Prelude.Maybe Exemplar'Value),+ _Exemplar'_unknownFields :: !Data.ProtoLens.FieldSet}+ deriving stock (Prelude.Eq, Prelude.Ord)+instance Prelude.Show Exemplar where+ showsPrec _ __x __s+ = Prelude.showChar+ '{'+ (Prelude.showString+ (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))+data Exemplar'Value+ = Exemplar'AsDouble !Prelude.Double |+ Exemplar'AsInt !Data.Int.Int64+ deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)+instance Data.ProtoLens.Field.HasField Exemplar "filteredAttributes" [Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue] where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Exemplar'filteredAttributes+ (\ x__ y__ -> x__ {_Exemplar'filteredAttributes = y__}))+ (Lens.Family2.Unchecked.lens+ Data.Vector.Generic.toList+ (\ _ y__ -> Data.Vector.Generic.fromList y__))+instance Data.ProtoLens.Field.HasField Exemplar "vec'filteredAttributes" (Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Exemplar'filteredAttributes+ (\ x__ y__ -> x__ {_Exemplar'filteredAttributes = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField Exemplar "timeUnixNano" Data.Word.Word64 where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Exemplar'timeUnixNano+ (\ x__ y__ -> x__ {_Exemplar'timeUnixNano = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField Exemplar "spanId" Data.ByteString.ByteString where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Exemplar'spanId (\ x__ y__ -> x__ {_Exemplar'spanId = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField Exemplar "traceId" Data.ByteString.ByteString where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Exemplar'traceId (\ x__ y__ -> x__ {_Exemplar'traceId = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField Exemplar "maybe'value" (Prelude.Maybe Exemplar'Value) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Exemplar'value (\ x__ y__ -> x__ {_Exemplar'value = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField Exemplar "maybe'asDouble" (Prelude.Maybe Prelude.Double) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Exemplar'value (\ x__ y__ -> x__ {_Exemplar'value = y__}))+ (Lens.Family2.Unchecked.lens+ (\ x__+ -> case x__ of+ (Prelude.Just (Exemplar'AsDouble x__val)) -> Prelude.Just x__val+ _otherwise -> Prelude.Nothing)+ (\ _ y__ -> Prelude.fmap Exemplar'AsDouble y__))+instance Data.ProtoLens.Field.HasField Exemplar "asDouble" Prelude.Double where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Exemplar'value (\ x__ y__ -> x__ {_Exemplar'value = y__}))+ ((Prelude..)+ (Lens.Family2.Unchecked.lens+ (\ x__+ -> case x__ of+ (Prelude.Just (Exemplar'AsDouble x__val)) -> Prelude.Just x__val+ _otherwise -> Prelude.Nothing)+ (\ _ y__ -> Prelude.fmap Exemplar'AsDouble y__))+ (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault))+instance Data.ProtoLens.Field.HasField Exemplar "maybe'asInt" (Prelude.Maybe Data.Int.Int64) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Exemplar'value (\ x__ y__ -> x__ {_Exemplar'value = y__}))+ (Lens.Family2.Unchecked.lens+ (\ x__+ -> case x__ of+ (Prelude.Just (Exemplar'AsInt x__val)) -> Prelude.Just x__val+ _otherwise -> Prelude.Nothing)+ (\ _ y__ -> Prelude.fmap Exemplar'AsInt y__))+instance Data.ProtoLens.Field.HasField Exemplar "asInt" Data.Int.Int64 where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Exemplar'value (\ x__ y__ -> x__ {_Exemplar'value = y__}))+ ((Prelude..)+ (Lens.Family2.Unchecked.lens+ (\ x__+ -> case x__ of+ (Prelude.Just (Exemplar'AsInt x__val)) -> Prelude.Just x__val+ _otherwise -> Prelude.Nothing)+ (\ _ y__ -> Prelude.fmap Exemplar'AsInt y__))+ (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault))+instance Data.ProtoLens.Message Exemplar where+ messageName _+ = Data.Text.pack "opentelemetry.proto.metrics.v1.Exemplar"+ packedMessageDescriptor _+ = "\n\+ \\bExemplar\DC2X\n\+ \\DC3filtered_attributes\CAN\a \ETX(\v2'.opentelemetry.proto.common.v1.KeyValueR\DC2filteredAttributes\DC2$\n\+ \\SOtime_unix_nano\CAN\STX \SOH(\ACKR\ftimeUnixNano\DC2\GS\n\+ \\tas_double\CAN\ETX \SOH(\SOHH\NULR\basDouble\DC2\ETB\n\+ \\ACKas_int\CAN\ACK \SOH(\DLEH\NULR\ENQasInt\DC2\ETB\n\+ \\aspan_id\CAN\EOT \SOH(\fR\ACKspanId\DC2\EM\n\+ \\btrace_id\CAN\ENQ \SOH(\fR\atraceIdB\a\n\+ \\ENQvalueJ\EOT\b\SOH\DLE\STX"+ packedFileDescriptor _ = packedFileDescriptor+ fieldsByTag+ = let+ filteredAttributes__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "filtered_attributes"+ (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::+ Data.ProtoLens.FieldTypeDescriptor Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue)+ (Data.ProtoLens.RepeatedField+ Data.ProtoLens.Unpacked+ (Data.ProtoLens.Field.field @"filteredAttributes")) ::+ Data.ProtoLens.FieldDescriptor Exemplar+ timeUnixNano__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "time_unix_nano"+ (Data.ProtoLens.ScalarField Data.ProtoLens.Fixed64Field ::+ Data.ProtoLens.FieldTypeDescriptor Data.Word.Word64)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional+ (Data.ProtoLens.Field.field @"timeUnixNano")) ::+ Data.ProtoLens.FieldDescriptor Exemplar+ spanId__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "span_id"+ (Data.ProtoLens.ScalarField Data.ProtoLens.BytesField ::+ Data.ProtoLens.FieldTypeDescriptor Data.ByteString.ByteString)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"spanId")) ::+ Data.ProtoLens.FieldDescriptor Exemplar+ traceId__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "trace_id"+ (Data.ProtoLens.ScalarField Data.ProtoLens.BytesField ::+ Data.ProtoLens.FieldTypeDescriptor Data.ByteString.ByteString)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"traceId")) ::+ Data.ProtoLens.FieldDescriptor Exemplar+ asDouble__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "as_double"+ (Data.ProtoLens.ScalarField Data.ProtoLens.DoubleField ::+ Data.ProtoLens.FieldTypeDescriptor Prelude.Double)+ (Data.ProtoLens.OptionalField+ (Data.ProtoLens.Field.field @"maybe'asDouble")) ::+ Data.ProtoLens.FieldDescriptor Exemplar+ asInt__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "as_int"+ (Data.ProtoLens.ScalarField Data.ProtoLens.SFixed64Field ::+ Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)+ (Data.ProtoLens.OptionalField+ (Data.ProtoLens.Field.field @"maybe'asInt")) ::+ Data.ProtoLens.FieldDescriptor Exemplar+ in+ Data.Map.fromList+ [(Data.ProtoLens.Tag 7, filteredAttributes__field_descriptor),+ (Data.ProtoLens.Tag 2, timeUnixNano__field_descriptor),+ (Data.ProtoLens.Tag 4, spanId__field_descriptor),+ (Data.ProtoLens.Tag 5, traceId__field_descriptor),+ (Data.ProtoLens.Tag 3, asDouble__field_descriptor),+ (Data.ProtoLens.Tag 6, asInt__field_descriptor)]+ unknownFields+ = Lens.Family2.Unchecked.lens+ _Exemplar'_unknownFields+ (\ x__ y__ -> x__ {_Exemplar'_unknownFields = y__})+ defMessage+ = Exemplar'_constructor+ {_Exemplar'filteredAttributes = Data.Vector.Generic.empty,+ _Exemplar'timeUnixNano = Data.ProtoLens.fieldDefault,+ _Exemplar'spanId = Data.ProtoLens.fieldDefault,+ _Exemplar'traceId = Data.ProtoLens.fieldDefault,+ _Exemplar'value = Prelude.Nothing, _Exemplar'_unknownFields = []}+ parseMessage+ = let+ loop ::+ Exemplar+ -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue+ -> Data.ProtoLens.Encoding.Bytes.Parser Exemplar+ loop x mutable'filteredAttributes+ = do end <- Data.ProtoLens.Encoding.Bytes.atEnd+ if end then+ do frozen'filteredAttributes <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.unsafeFreeze+ mutable'filteredAttributes)+ (let missing = []+ in+ if Prelude.null missing then+ Prelude.return ()+ else+ Prelude.fail+ ((Prelude.++)+ "Missing required fields: "+ (Prelude.show (missing :: [Prelude.String]))))+ Prelude.return+ (Lens.Family2.over+ Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"vec'filteredAttributes")+ frozen'filteredAttributes x))+ else+ do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt+ case tag of+ 58+ -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.isolate+ (Prelude.fromIntegral len)+ Data.ProtoLens.parseMessage)+ "filtered_attributes"+ v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.append+ mutable'filteredAttributes y)+ loop x v+ 17+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ Data.ProtoLens.Encoding.Bytes.getFixed64 "time_unix_nano"+ loop+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"timeUnixNano") y x)+ mutable'filteredAttributes+ 34+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.getBytes+ (Prelude.fromIntegral len))+ "span_id"+ loop+ (Lens.Family2.set (Data.ProtoLens.Field.field @"spanId") y x)+ mutable'filteredAttributes+ 42+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.getBytes+ (Prelude.fromIntegral len))+ "trace_id"+ loop+ (Lens.Family2.set (Data.ProtoLens.Field.field @"traceId") y x)+ mutable'filteredAttributes+ 25+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (Prelude.fmap+ Data.ProtoLens.Encoding.Bytes.wordToDouble+ Data.ProtoLens.Encoding.Bytes.getFixed64)+ "as_double"+ loop+ (Lens.Family2.set (Data.ProtoLens.Field.field @"asDouble") y x)+ mutable'filteredAttributes+ 49+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (Prelude.fmap+ Prelude.fromIntegral+ Data.ProtoLens.Encoding.Bytes.getFixed64)+ "as_int"+ loop+ (Lens.Family2.set (Data.ProtoLens.Field.field @"asInt") y x)+ mutable'filteredAttributes+ wire+ -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire+ wire+ loop+ (Lens.Family2.over+ Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)+ mutable'filteredAttributes+ in+ (Data.ProtoLens.Encoding.Bytes.<?>)+ (do mutable'filteredAttributes <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ Data.ProtoLens.Encoding.Growing.new+ loop Data.ProtoLens.defMessage mutable'filteredAttributes)+ "Exemplar"+ buildMessage+ = \ _x+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.foldMapBuilder+ (\ _v+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 58)+ ((Prelude..)+ (\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ Data.ProtoLens.encodeMessage _v))+ (Lens.Family2.view+ (Data.ProtoLens.Field.field @"vec'filteredAttributes") _x))+ ((Data.Monoid.<>)+ (let+ _v+ = Lens.Family2.view (Data.ProtoLens.Field.field @"timeUnixNano") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 17)+ (Data.ProtoLens.Encoding.Bytes.putFixed64 _v))+ ((Data.Monoid.<>)+ (let+ _v = Lens.Family2.view (Data.ProtoLens.Field.field @"spanId") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 34)+ ((\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ _v))+ ((Data.Monoid.<>)+ (let+ _v = Lens.Family2.view (Data.ProtoLens.Field.field @"traceId") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 42)+ ((\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ _v))+ ((Data.Monoid.<>)+ (case+ Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'value") _x+ of+ Prelude.Nothing -> Data.Monoid.mempty+ (Prelude.Just (Exemplar'AsDouble v))+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 25)+ ((Prelude..)+ Data.ProtoLens.Encoding.Bytes.putFixed64+ Data.ProtoLens.Encoding.Bytes.doubleToWord v)+ (Prelude.Just (Exemplar'AsInt v))+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 49)+ ((Prelude..)+ Data.ProtoLens.Encoding.Bytes.putFixed64 Prelude.fromIntegral+ v))+ (Data.ProtoLens.Encoding.Wire.buildFieldSet+ (Lens.Family2.view Data.ProtoLens.unknownFields _x))))))+instance Control.DeepSeq.NFData Exemplar where+ rnf+ = \ x__+ -> Control.DeepSeq.deepseq+ (_Exemplar'_unknownFields x__)+ (Control.DeepSeq.deepseq+ (_Exemplar'filteredAttributes x__)+ (Control.DeepSeq.deepseq+ (_Exemplar'timeUnixNano x__)+ (Control.DeepSeq.deepseq+ (_Exemplar'spanId x__)+ (Control.DeepSeq.deepseq+ (_Exemplar'traceId x__)+ (Control.DeepSeq.deepseq (_Exemplar'value x__) ())))))+instance Control.DeepSeq.NFData Exemplar'Value where+ rnf (Exemplar'AsDouble x__) = Control.DeepSeq.rnf x__+ rnf (Exemplar'AsInt x__) = Control.DeepSeq.rnf x__+_Exemplar'AsDouble ::+ Data.ProtoLens.Prism.Prism' Exemplar'Value Prelude.Double+_Exemplar'AsDouble+ = Data.ProtoLens.Prism.prism'+ Exemplar'AsDouble+ (\ p__+ -> case p__ of+ (Exemplar'AsDouble p__val) -> Prelude.Just p__val+ _otherwise -> Prelude.Nothing)+_Exemplar'AsInt ::+ Data.ProtoLens.Prism.Prism' Exemplar'Value Data.Int.Int64+_Exemplar'AsInt+ = Data.ProtoLens.Prism.prism'+ Exemplar'AsInt+ (\ p__+ -> case p__ of+ (Exemplar'AsInt p__val) -> Prelude.Just p__val+ _otherwise -> Prelude.Nothing)+{- | Fields :+ + * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.dataPoints' @:: Lens' ExponentialHistogram [ExponentialHistogramDataPoint]@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.vec'dataPoints' @:: Lens' ExponentialHistogram (Data.Vector.Vector ExponentialHistogramDataPoint)@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.aggregationTemporality' @:: Lens' ExponentialHistogram AggregationTemporality@ -}+data ExponentialHistogram+ = ExponentialHistogram'_constructor {_ExponentialHistogram'dataPoints :: !(Data.Vector.Vector ExponentialHistogramDataPoint),+ _ExponentialHistogram'aggregationTemporality :: !AggregationTemporality,+ _ExponentialHistogram'_unknownFields :: !Data.ProtoLens.FieldSet}+ deriving stock (Prelude.Eq, Prelude.Ord)+instance Prelude.Show ExponentialHistogram where+ showsPrec _ __x __s+ = Prelude.showChar+ '{'+ (Prelude.showString+ (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))+instance Data.ProtoLens.Field.HasField ExponentialHistogram "dataPoints" [ExponentialHistogramDataPoint] where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ExponentialHistogram'dataPoints+ (\ x__ y__ -> x__ {_ExponentialHistogram'dataPoints = y__}))+ (Lens.Family2.Unchecked.lens+ Data.Vector.Generic.toList+ (\ _ y__ -> Data.Vector.Generic.fromList y__))+instance Data.ProtoLens.Field.HasField ExponentialHistogram "vec'dataPoints" (Data.Vector.Vector ExponentialHistogramDataPoint) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ExponentialHistogram'dataPoints+ (\ x__ y__ -> x__ {_ExponentialHistogram'dataPoints = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField ExponentialHistogram "aggregationTemporality" AggregationTemporality where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ExponentialHistogram'aggregationTemporality+ (\ x__ y__+ -> x__ {_ExponentialHistogram'aggregationTemporality = y__}))+ Prelude.id+instance Data.ProtoLens.Message ExponentialHistogram where+ messageName _+ = Data.Text.pack+ "opentelemetry.proto.metrics.v1.ExponentialHistogram"+ packedMessageDescriptor _+ = "\n\+ \\DC4ExponentialHistogram\DC2^\n\+ \\vdata_points\CAN\SOH \ETX(\v2=.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPointR\n\+ \dataPoints\DC2o\n\+ \\ETBaggregation_temporality\CAN\STX \SOH(\SO26.opentelemetry.proto.metrics.v1.AggregationTemporalityR\SYNaggregationTemporality"+ packedFileDescriptor _ = packedFileDescriptor+ fieldsByTag+ = let+ dataPoints__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "data_points"+ (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::+ Data.ProtoLens.FieldTypeDescriptor ExponentialHistogramDataPoint)+ (Data.ProtoLens.RepeatedField+ Data.ProtoLens.Unpacked+ (Data.ProtoLens.Field.field @"dataPoints")) ::+ Data.ProtoLens.FieldDescriptor ExponentialHistogram+ aggregationTemporality__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "aggregation_temporality"+ (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::+ Data.ProtoLens.FieldTypeDescriptor AggregationTemporality)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional+ (Data.ProtoLens.Field.field @"aggregationTemporality")) ::+ Data.ProtoLens.FieldDescriptor ExponentialHistogram+ in+ Data.Map.fromList+ [(Data.ProtoLens.Tag 1, dataPoints__field_descriptor),+ (Data.ProtoLens.Tag 2, aggregationTemporality__field_descriptor)]+ unknownFields+ = Lens.Family2.Unchecked.lens+ _ExponentialHistogram'_unknownFields+ (\ x__ y__ -> x__ {_ExponentialHistogram'_unknownFields = y__})+ defMessage+ = ExponentialHistogram'_constructor+ {_ExponentialHistogram'dataPoints = Data.Vector.Generic.empty,+ _ExponentialHistogram'aggregationTemporality = Data.ProtoLens.fieldDefault,+ _ExponentialHistogram'_unknownFields = []}+ parseMessage+ = let+ loop ::+ ExponentialHistogram+ -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld ExponentialHistogramDataPoint+ -> Data.ProtoLens.Encoding.Bytes.Parser ExponentialHistogram+ loop x mutable'dataPoints+ = do end <- Data.ProtoLens.Encoding.Bytes.atEnd+ if end then+ do frozen'dataPoints <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.unsafeFreeze+ mutable'dataPoints)+ (let missing = []+ in+ if Prelude.null missing then+ Prelude.return ()+ else+ Prelude.fail+ ((Prelude.++)+ "Missing required fields: "+ (Prelude.show (missing :: [Prelude.String]))))+ Prelude.return+ (Lens.Family2.over+ Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"vec'dataPoints") frozen'dataPoints+ x))+ else+ do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt+ case tag of+ 10+ -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.isolate+ (Prelude.fromIntegral len)+ Data.ProtoLens.parseMessage)+ "data_points"+ v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.append mutable'dataPoints y)+ loop x v+ 16+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (Prelude.fmap+ Prelude.toEnum+ (Prelude.fmap+ Prelude.fromIntegral+ Data.ProtoLens.Encoding.Bytes.getVarInt))+ "aggregation_temporality"+ loop+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"aggregationTemporality") y x)+ mutable'dataPoints+ wire+ -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire+ wire+ loop+ (Lens.Family2.over+ Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)+ mutable'dataPoints+ in+ (Data.ProtoLens.Encoding.Bytes.<?>)+ (do mutable'dataPoints <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ Data.ProtoLens.Encoding.Growing.new+ loop Data.ProtoLens.defMessage mutable'dataPoints)+ "ExponentialHistogram"+ buildMessage+ = \ _x+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.foldMapBuilder+ (\ _v+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 10)+ ((Prelude..)+ (\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ Data.ProtoLens.encodeMessage _v))+ (Lens.Family2.view+ (Data.ProtoLens.Field.field @"vec'dataPoints") _x))+ ((Data.Monoid.<>)+ (let+ _v+ = Lens.Family2.view+ (Data.ProtoLens.Field.field @"aggregationTemporality") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 16)+ ((Prelude..)+ ((Prelude..)+ Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)+ Prelude.fromEnum _v))+ (Data.ProtoLens.Encoding.Wire.buildFieldSet+ (Lens.Family2.view Data.ProtoLens.unknownFields _x)))+instance Control.DeepSeq.NFData ExponentialHistogram where+ rnf+ = \ x__+ -> Control.DeepSeq.deepseq+ (_ExponentialHistogram'_unknownFields x__)+ (Control.DeepSeq.deepseq+ (_ExponentialHistogram'dataPoints x__)+ (Control.DeepSeq.deepseq+ (_ExponentialHistogram'aggregationTemporality x__) ()))+{- | Fields :+ + * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.attributes' @:: Lens' ExponentialHistogramDataPoint [Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue]@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.vec'attributes' @:: Lens' ExponentialHistogramDataPoint (Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue)@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.startTimeUnixNano' @:: Lens' ExponentialHistogramDataPoint Data.Word.Word64@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.timeUnixNano' @:: Lens' ExponentialHistogramDataPoint Data.Word.Word64@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.count' @:: Lens' ExponentialHistogramDataPoint Data.Word.Word64@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.sum' @:: Lens' ExponentialHistogramDataPoint Prelude.Double@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.maybe'sum' @:: Lens' ExponentialHistogramDataPoint (Prelude.Maybe Prelude.Double)@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.scale' @:: Lens' ExponentialHistogramDataPoint Data.Int.Int32@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.zeroCount' @:: Lens' ExponentialHistogramDataPoint Data.Word.Word64@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.positive' @:: Lens' ExponentialHistogramDataPoint ExponentialHistogramDataPoint'Buckets@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.maybe'positive' @:: Lens' ExponentialHistogramDataPoint (Prelude.Maybe ExponentialHistogramDataPoint'Buckets)@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.negative' @:: Lens' ExponentialHistogramDataPoint ExponentialHistogramDataPoint'Buckets@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.maybe'negative' @:: Lens' ExponentialHistogramDataPoint (Prelude.Maybe ExponentialHistogramDataPoint'Buckets)@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.flags' @:: Lens' ExponentialHistogramDataPoint Data.Word.Word32@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.exemplars' @:: Lens' ExponentialHistogramDataPoint [Exemplar]@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.vec'exemplars' @:: Lens' ExponentialHistogramDataPoint (Data.Vector.Vector Exemplar)@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.min' @:: Lens' ExponentialHistogramDataPoint Prelude.Double@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.maybe'min' @:: Lens' ExponentialHistogramDataPoint (Prelude.Maybe Prelude.Double)@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.max' @:: Lens' ExponentialHistogramDataPoint Prelude.Double@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.maybe'max' @:: Lens' ExponentialHistogramDataPoint (Prelude.Maybe Prelude.Double)@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.zeroThreshold' @:: Lens' ExponentialHistogramDataPoint Prelude.Double@ -}+data ExponentialHistogramDataPoint+ = ExponentialHistogramDataPoint'_constructor {_ExponentialHistogramDataPoint'attributes :: !(Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue),+ _ExponentialHistogramDataPoint'startTimeUnixNano :: !Data.Word.Word64,+ _ExponentialHistogramDataPoint'timeUnixNano :: !Data.Word.Word64,+ _ExponentialHistogramDataPoint'count :: !Data.Word.Word64,+ _ExponentialHistogramDataPoint'sum :: !(Prelude.Maybe Prelude.Double),+ _ExponentialHistogramDataPoint'scale :: !Data.Int.Int32,+ _ExponentialHistogramDataPoint'zeroCount :: !Data.Word.Word64,+ _ExponentialHistogramDataPoint'positive :: !(Prelude.Maybe ExponentialHistogramDataPoint'Buckets),+ _ExponentialHistogramDataPoint'negative :: !(Prelude.Maybe ExponentialHistogramDataPoint'Buckets),+ _ExponentialHistogramDataPoint'flags :: !Data.Word.Word32,+ _ExponentialHistogramDataPoint'exemplars :: !(Data.Vector.Vector Exemplar),+ _ExponentialHistogramDataPoint'min :: !(Prelude.Maybe Prelude.Double),+ _ExponentialHistogramDataPoint'max :: !(Prelude.Maybe Prelude.Double),+ _ExponentialHistogramDataPoint'zeroThreshold :: !Prelude.Double,+ _ExponentialHistogramDataPoint'_unknownFields :: !Data.ProtoLens.FieldSet}+ deriving stock (Prelude.Eq, Prelude.Ord)+instance Prelude.Show ExponentialHistogramDataPoint where+ showsPrec _ __x __s+ = Prelude.showChar+ '{'+ (Prelude.showString+ (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))+instance Data.ProtoLens.Field.HasField ExponentialHistogramDataPoint "attributes" [Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue] where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ExponentialHistogramDataPoint'attributes+ (\ x__ y__+ -> x__ {_ExponentialHistogramDataPoint'attributes = y__}))+ (Lens.Family2.Unchecked.lens+ Data.Vector.Generic.toList+ (\ _ y__ -> Data.Vector.Generic.fromList y__))+instance Data.ProtoLens.Field.HasField ExponentialHistogramDataPoint "vec'attributes" (Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ExponentialHistogramDataPoint'attributes+ (\ x__ y__+ -> x__ {_ExponentialHistogramDataPoint'attributes = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField ExponentialHistogramDataPoint "startTimeUnixNano" Data.Word.Word64 where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ExponentialHistogramDataPoint'startTimeUnixNano+ (\ x__ y__+ -> x__ {_ExponentialHistogramDataPoint'startTimeUnixNano = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField ExponentialHistogramDataPoint "timeUnixNano" Data.Word.Word64 where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ExponentialHistogramDataPoint'timeUnixNano+ (\ x__ y__+ -> x__ {_ExponentialHistogramDataPoint'timeUnixNano = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField ExponentialHistogramDataPoint "count" Data.Word.Word64 where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ExponentialHistogramDataPoint'count+ (\ x__ y__ -> x__ {_ExponentialHistogramDataPoint'count = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField ExponentialHistogramDataPoint "sum" Prelude.Double where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ExponentialHistogramDataPoint'sum+ (\ x__ y__ -> x__ {_ExponentialHistogramDataPoint'sum = y__}))+ (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault)+instance Data.ProtoLens.Field.HasField ExponentialHistogramDataPoint "maybe'sum" (Prelude.Maybe Prelude.Double) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ExponentialHistogramDataPoint'sum+ (\ x__ y__ -> x__ {_ExponentialHistogramDataPoint'sum = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField ExponentialHistogramDataPoint "scale" Data.Int.Int32 where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ExponentialHistogramDataPoint'scale+ (\ x__ y__ -> x__ {_ExponentialHistogramDataPoint'scale = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField ExponentialHistogramDataPoint "zeroCount" Data.Word.Word64 where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ExponentialHistogramDataPoint'zeroCount+ (\ x__ y__+ -> x__ {_ExponentialHistogramDataPoint'zeroCount = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField ExponentialHistogramDataPoint "positive" ExponentialHistogramDataPoint'Buckets where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ExponentialHistogramDataPoint'positive+ (\ x__ y__ -> x__ {_ExponentialHistogramDataPoint'positive = y__}))+ (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)+instance Data.ProtoLens.Field.HasField ExponentialHistogramDataPoint "maybe'positive" (Prelude.Maybe ExponentialHistogramDataPoint'Buckets) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ExponentialHistogramDataPoint'positive+ (\ x__ y__ -> x__ {_ExponentialHistogramDataPoint'positive = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField ExponentialHistogramDataPoint "negative" ExponentialHistogramDataPoint'Buckets where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ExponentialHistogramDataPoint'negative+ (\ x__ y__ -> x__ {_ExponentialHistogramDataPoint'negative = y__}))+ (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)+instance Data.ProtoLens.Field.HasField ExponentialHistogramDataPoint "maybe'negative" (Prelude.Maybe ExponentialHistogramDataPoint'Buckets) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ExponentialHistogramDataPoint'negative+ (\ x__ y__ -> x__ {_ExponentialHistogramDataPoint'negative = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField ExponentialHistogramDataPoint "flags" Data.Word.Word32 where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ExponentialHistogramDataPoint'flags+ (\ x__ y__ -> x__ {_ExponentialHistogramDataPoint'flags = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField ExponentialHistogramDataPoint "exemplars" [Exemplar] where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ExponentialHistogramDataPoint'exemplars+ (\ x__ y__+ -> x__ {_ExponentialHistogramDataPoint'exemplars = y__}))+ (Lens.Family2.Unchecked.lens+ Data.Vector.Generic.toList+ (\ _ y__ -> Data.Vector.Generic.fromList y__))+instance Data.ProtoLens.Field.HasField ExponentialHistogramDataPoint "vec'exemplars" (Data.Vector.Vector Exemplar) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ExponentialHistogramDataPoint'exemplars+ (\ x__ y__+ -> x__ {_ExponentialHistogramDataPoint'exemplars = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField ExponentialHistogramDataPoint "min" Prelude.Double where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ExponentialHistogramDataPoint'min+ (\ x__ y__ -> x__ {_ExponentialHistogramDataPoint'min = y__}))+ (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault)+instance Data.ProtoLens.Field.HasField ExponentialHistogramDataPoint "maybe'min" (Prelude.Maybe Prelude.Double) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ExponentialHistogramDataPoint'min+ (\ x__ y__ -> x__ {_ExponentialHistogramDataPoint'min = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField ExponentialHistogramDataPoint "max" Prelude.Double where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ExponentialHistogramDataPoint'max+ (\ x__ y__ -> x__ {_ExponentialHistogramDataPoint'max = y__}))+ (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault)+instance Data.ProtoLens.Field.HasField ExponentialHistogramDataPoint "maybe'max" (Prelude.Maybe Prelude.Double) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ExponentialHistogramDataPoint'max+ (\ x__ y__ -> x__ {_ExponentialHistogramDataPoint'max = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField ExponentialHistogramDataPoint "zeroThreshold" Prelude.Double where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ExponentialHistogramDataPoint'zeroThreshold+ (\ x__ y__+ -> x__ {_ExponentialHistogramDataPoint'zeroThreshold = y__}))+ Prelude.id+instance Data.ProtoLens.Message ExponentialHistogramDataPoint where+ messageName _+ = Data.Text.pack+ "opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint"+ packedMessageDescriptor _+ = "\n\+ \\GSExponentialHistogramDataPoint\DC2G\n\+ \\n\+ \attributes\CAN\SOH \ETX(\v2'.opentelemetry.proto.common.v1.KeyValueR\n\+ \attributes\DC2/\n\+ \\DC4start_time_unix_nano\CAN\STX \SOH(\ACKR\DC1startTimeUnixNano\DC2$\n\+ \\SOtime_unix_nano\CAN\ETX \SOH(\ACKR\ftimeUnixNano\DC2\DC4\n\+ \\ENQcount\CAN\EOT \SOH(\ACKR\ENQcount\DC2\NAK\n\+ \\ETXsum\CAN\ENQ \SOH(\SOHH\NULR\ETXsum\136\SOH\SOH\DC2\DC4\n\+ \\ENQscale\CAN\ACK \SOH(\DC1R\ENQscale\DC2\GS\n\+ \\n\+ \zero_count\CAN\a \SOH(\ACKR\tzeroCount\DC2a\n\+ \\bpositive\CAN\b \SOH(\v2E.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.BucketsR\bpositive\DC2a\n\+ \\bnegative\CAN\t \SOH(\v2E.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.BucketsR\bnegative\DC2\DC4\n\+ \\ENQflags\CAN\n\+ \ \SOH(\rR\ENQflags\DC2F\n\+ \\texemplars\CAN\v \ETX(\v2(.opentelemetry.proto.metrics.v1.ExemplarR\texemplars\DC2\NAK\n\+ \\ETXmin\CAN\f \SOH(\SOHH\SOHR\ETXmin\136\SOH\SOH\DC2\NAK\n\+ \\ETXmax\CAN\r \SOH(\SOHH\STXR\ETXmax\136\SOH\SOH\DC2%\n\+ \\SOzero_threshold\CAN\SO \SOH(\SOHR\rzeroThreshold\SUBF\n\+ \\aBuckets\DC2\SYN\n\+ \\ACKoffset\CAN\SOH \SOH(\DC1R\ACKoffset\DC2#\n\+ \\rbucket_counts\CAN\STX \ETX(\EOTR\fbucketCountsB\ACK\n\+ \\EOT_sumB\ACK\n\+ \\EOT_minB\ACK\n\+ \\EOT_max"+ packedFileDescriptor _ = packedFileDescriptor+ fieldsByTag+ = let+ attributes__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "attributes"+ (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::+ Data.ProtoLens.FieldTypeDescriptor Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue)+ (Data.ProtoLens.RepeatedField+ Data.ProtoLens.Unpacked+ (Data.ProtoLens.Field.field @"attributes")) ::+ Data.ProtoLens.FieldDescriptor ExponentialHistogramDataPoint+ startTimeUnixNano__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "start_time_unix_nano"+ (Data.ProtoLens.ScalarField Data.ProtoLens.Fixed64Field ::+ Data.ProtoLens.FieldTypeDescriptor Data.Word.Word64)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional+ (Data.ProtoLens.Field.field @"startTimeUnixNano")) ::+ Data.ProtoLens.FieldDescriptor ExponentialHistogramDataPoint+ timeUnixNano__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "time_unix_nano"+ (Data.ProtoLens.ScalarField Data.ProtoLens.Fixed64Field ::+ Data.ProtoLens.FieldTypeDescriptor Data.Word.Word64)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional+ (Data.ProtoLens.Field.field @"timeUnixNano")) ::+ Data.ProtoLens.FieldDescriptor ExponentialHistogramDataPoint+ count__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "count"+ (Data.ProtoLens.ScalarField Data.ProtoLens.Fixed64Field ::+ Data.ProtoLens.FieldTypeDescriptor Data.Word.Word64)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"count")) ::+ Data.ProtoLens.FieldDescriptor ExponentialHistogramDataPoint+ sum__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "sum"+ (Data.ProtoLens.ScalarField Data.ProtoLens.DoubleField ::+ Data.ProtoLens.FieldTypeDescriptor Prelude.Double)+ (Data.ProtoLens.OptionalField+ (Data.ProtoLens.Field.field @"maybe'sum")) ::+ Data.ProtoLens.FieldDescriptor ExponentialHistogramDataPoint+ scale__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "scale"+ (Data.ProtoLens.ScalarField Data.ProtoLens.SInt32Field ::+ Data.ProtoLens.FieldTypeDescriptor Data.Int.Int32)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"scale")) ::+ Data.ProtoLens.FieldDescriptor ExponentialHistogramDataPoint+ zeroCount__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "zero_count"+ (Data.ProtoLens.ScalarField Data.ProtoLens.Fixed64Field ::+ Data.ProtoLens.FieldTypeDescriptor Data.Word.Word64)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional+ (Data.ProtoLens.Field.field @"zeroCount")) ::+ Data.ProtoLens.FieldDescriptor ExponentialHistogramDataPoint+ positive__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "positive"+ (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::+ Data.ProtoLens.FieldTypeDescriptor ExponentialHistogramDataPoint'Buckets)+ (Data.ProtoLens.OptionalField+ (Data.ProtoLens.Field.field @"maybe'positive")) ::+ Data.ProtoLens.FieldDescriptor ExponentialHistogramDataPoint+ negative__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "negative"+ (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::+ Data.ProtoLens.FieldTypeDescriptor ExponentialHistogramDataPoint'Buckets)+ (Data.ProtoLens.OptionalField+ (Data.ProtoLens.Field.field @"maybe'negative")) ::+ Data.ProtoLens.FieldDescriptor ExponentialHistogramDataPoint+ flags__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "flags"+ (Data.ProtoLens.ScalarField Data.ProtoLens.UInt32Field ::+ Data.ProtoLens.FieldTypeDescriptor Data.Word.Word32)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"flags")) ::+ Data.ProtoLens.FieldDescriptor ExponentialHistogramDataPoint+ exemplars__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "exemplars"+ (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::+ Data.ProtoLens.FieldTypeDescriptor Exemplar)+ (Data.ProtoLens.RepeatedField+ Data.ProtoLens.Unpacked+ (Data.ProtoLens.Field.field @"exemplars")) ::+ Data.ProtoLens.FieldDescriptor ExponentialHistogramDataPoint+ min__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "min"+ (Data.ProtoLens.ScalarField Data.ProtoLens.DoubleField ::+ Data.ProtoLens.FieldTypeDescriptor Prelude.Double)+ (Data.ProtoLens.OptionalField+ (Data.ProtoLens.Field.field @"maybe'min")) ::+ Data.ProtoLens.FieldDescriptor ExponentialHistogramDataPoint+ max__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "max"+ (Data.ProtoLens.ScalarField Data.ProtoLens.DoubleField ::+ Data.ProtoLens.FieldTypeDescriptor Prelude.Double)+ (Data.ProtoLens.OptionalField+ (Data.ProtoLens.Field.field @"maybe'max")) ::+ Data.ProtoLens.FieldDescriptor ExponentialHistogramDataPoint+ zeroThreshold__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "zero_threshold"+ (Data.ProtoLens.ScalarField Data.ProtoLens.DoubleField ::+ Data.ProtoLens.FieldTypeDescriptor Prelude.Double)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional+ (Data.ProtoLens.Field.field @"zeroThreshold")) ::+ Data.ProtoLens.FieldDescriptor ExponentialHistogramDataPoint+ in+ Data.Map.fromList+ [(Data.ProtoLens.Tag 1, attributes__field_descriptor),+ (Data.ProtoLens.Tag 2, startTimeUnixNano__field_descriptor),+ (Data.ProtoLens.Tag 3, timeUnixNano__field_descriptor),+ (Data.ProtoLens.Tag 4, count__field_descriptor),+ (Data.ProtoLens.Tag 5, sum__field_descriptor),+ (Data.ProtoLens.Tag 6, scale__field_descriptor),+ (Data.ProtoLens.Tag 7, zeroCount__field_descriptor),+ (Data.ProtoLens.Tag 8, positive__field_descriptor),+ (Data.ProtoLens.Tag 9, negative__field_descriptor),+ (Data.ProtoLens.Tag 10, flags__field_descriptor),+ (Data.ProtoLens.Tag 11, exemplars__field_descriptor),+ (Data.ProtoLens.Tag 12, min__field_descriptor),+ (Data.ProtoLens.Tag 13, max__field_descriptor),+ (Data.ProtoLens.Tag 14, zeroThreshold__field_descriptor)]+ unknownFields+ = Lens.Family2.Unchecked.lens+ _ExponentialHistogramDataPoint'_unknownFields+ (\ x__ y__+ -> x__ {_ExponentialHistogramDataPoint'_unknownFields = y__})+ defMessage+ = ExponentialHistogramDataPoint'_constructor+ {_ExponentialHistogramDataPoint'attributes = Data.Vector.Generic.empty,+ _ExponentialHistogramDataPoint'startTimeUnixNano = Data.ProtoLens.fieldDefault,+ _ExponentialHistogramDataPoint'timeUnixNano = Data.ProtoLens.fieldDefault,+ _ExponentialHistogramDataPoint'count = Data.ProtoLens.fieldDefault,+ _ExponentialHistogramDataPoint'sum = Prelude.Nothing,+ _ExponentialHistogramDataPoint'scale = Data.ProtoLens.fieldDefault,+ _ExponentialHistogramDataPoint'zeroCount = Data.ProtoLens.fieldDefault,+ _ExponentialHistogramDataPoint'positive = Prelude.Nothing,+ _ExponentialHistogramDataPoint'negative = Prelude.Nothing,+ _ExponentialHistogramDataPoint'flags = Data.ProtoLens.fieldDefault,+ _ExponentialHistogramDataPoint'exemplars = Data.Vector.Generic.empty,+ _ExponentialHistogramDataPoint'min = Prelude.Nothing,+ _ExponentialHistogramDataPoint'max = Prelude.Nothing,+ _ExponentialHistogramDataPoint'zeroThreshold = Data.ProtoLens.fieldDefault,+ _ExponentialHistogramDataPoint'_unknownFields = []}+ parseMessage+ = let+ loop ::+ ExponentialHistogramDataPoint+ -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue+ -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Exemplar+ -> Data.ProtoLens.Encoding.Bytes.Parser ExponentialHistogramDataPoint+ loop x mutable'attributes mutable'exemplars+ = do end <- Data.ProtoLens.Encoding.Bytes.atEnd+ if end then+ do frozen'attributes <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.unsafeFreeze+ mutable'attributes)+ frozen'exemplars <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.unsafeFreeze+ mutable'exemplars)+ (let missing = []+ in+ if Prelude.null missing then+ Prelude.return ()+ else+ Prelude.fail+ ((Prelude.++)+ "Missing required fields: "+ (Prelude.show (missing :: [Prelude.String]))))+ Prelude.return+ (Lens.Family2.over+ Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"vec'attributes") frozen'attributes+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"vec'exemplars") frozen'exemplars x)))+ else+ do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt+ case tag of+ 10+ -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.isolate+ (Prelude.fromIntegral len)+ Data.ProtoLens.parseMessage)+ "attributes"+ v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.append mutable'attributes y)+ loop x v mutable'exemplars+ 17+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ Data.ProtoLens.Encoding.Bytes.getFixed64+ "start_time_unix_nano"+ loop+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"startTimeUnixNano") y x)+ mutable'attributes mutable'exemplars+ 25+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ Data.ProtoLens.Encoding.Bytes.getFixed64 "time_unix_nano"+ loop+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"timeUnixNano") y x)+ mutable'attributes mutable'exemplars+ 33+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ Data.ProtoLens.Encoding.Bytes.getFixed64 "count"+ loop+ (Lens.Family2.set (Data.ProtoLens.Field.field @"count") y x)+ mutable'attributes mutable'exemplars+ 41+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (Prelude.fmap+ Data.ProtoLens.Encoding.Bytes.wordToDouble+ Data.ProtoLens.Encoding.Bytes.getFixed64)+ "sum"+ loop+ (Lens.Family2.set (Data.ProtoLens.Field.field @"sum") y x)+ mutable'attributes mutable'exemplars+ 48+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (Prelude.fmap+ Data.ProtoLens.Encoding.Bytes.wordToSignedInt32+ (Prelude.fmap+ Prelude.fromIntegral+ Data.ProtoLens.Encoding.Bytes.getVarInt))+ "scale"+ loop+ (Lens.Family2.set (Data.ProtoLens.Field.field @"scale") y x)+ mutable'attributes mutable'exemplars+ 57+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ Data.ProtoLens.Encoding.Bytes.getFixed64 "zero_count"+ loop+ (Lens.Family2.set (Data.ProtoLens.Field.field @"zeroCount") y x)+ mutable'attributes mutable'exemplars+ 66+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.isolate+ (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)+ "positive"+ loop+ (Lens.Family2.set (Data.ProtoLens.Field.field @"positive") y x)+ mutable'attributes mutable'exemplars+ 74+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.isolate+ (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)+ "negative"+ loop+ (Lens.Family2.set (Data.ProtoLens.Field.field @"negative") y x)+ mutable'attributes mutable'exemplars+ 80+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (Prelude.fmap+ Prelude.fromIntegral+ Data.ProtoLens.Encoding.Bytes.getVarInt)+ "flags"+ loop+ (Lens.Family2.set (Data.ProtoLens.Field.field @"flags") y x)+ mutable'attributes mutable'exemplars+ 90+ -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.isolate+ (Prelude.fromIntegral len)+ Data.ProtoLens.parseMessage)+ "exemplars"+ v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.append mutable'exemplars y)+ loop x mutable'attributes v+ 97+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (Prelude.fmap+ Data.ProtoLens.Encoding.Bytes.wordToDouble+ Data.ProtoLens.Encoding.Bytes.getFixed64)+ "min"+ loop+ (Lens.Family2.set (Data.ProtoLens.Field.field @"min") y x)+ mutable'attributes mutable'exemplars+ 105+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (Prelude.fmap+ Data.ProtoLens.Encoding.Bytes.wordToDouble+ Data.ProtoLens.Encoding.Bytes.getFixed64)+ "max"+ loop+ (Lens.Family2.set (Data.ProtoLens.Field.field @"max") y x)+ mutable'attributes mutable'exemplars+ 113+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (Prelude.fmap+ Data.ProtoLens.Encoding.Bytes.wordToDouble+ Data.ProtoLens.Encoding.Bytes.getFixed64)+ "zero_threshold"+ loop+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"zeroThreshold") y x)+ mutable'attributes mutable'exemplars+ wire+ -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire+ wire+ loop+ (Lens.Family2.over+ Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)+ mutable'attributes mutable'exemplars+ in+ (Data.ProtoLens.Encoding.Bytes.<?>)+ (do mutable'attributes <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ Data.ProtoLens.Encoding.Growing.new+ mutable'exemplars <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ Data.ProtoLens.Encoding.Growing.new+ loop+ Data.ProtoLens.defMessage mutable'attributes mutable'exemplars)+ "ExponentialHistogramDataPoint"+ buildMessage+ = \ _x+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.foldMapBuilder+ (\ _v+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 10)+ ((Prelude..)+ (\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ Data.ProtoLens.encodeMessage _v))+ (Lens.Family2.view+ (Data.ProtoLens.Field.field @"vec'attributes") _x))+ ((Data.Monoid.<>)+ (let+ _v+ = Lens.Family2.view+ (Data.ProtoLens.Field.field @"startTimeUnixNano") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 17)+ (Data.ProtoLens.Encoding.Bytes.putFixed64 _v))+ ((Data.Monoid.<>)+ (let+ _v+ = Lens.Family2.view (Data.ProtoLens.Field.field @"timeUnixNano") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 25)+ (Data.ProtoLens.Encoding.Bytes.putFixed64 _v))+ ((Data.Monoid.<>)+ (let+ _v = Lens.Family2.view (Data.ProtoLens.Field.field @"count") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 33)+ (Data.ProtoLens.Encoding.Bytes.putFixed64 _v))+ ((Data.Monoid.<>)+ (case+ Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'sum") _x+ of+ Prelude.Nothing -> Data.Monoid.mempty+ (Prelude.Just _v)+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 41)+ ((Prelude..)+ Data.ProtoLens.Encoding.Bytes.putFixed64+ Data.ProtoLens.Encoding.Bytes.doubleToWord _v))+ ((Data.Monoid.<>)+ (let+ _v = Lens.Family2.view (Data.ProtoLens.Field.field @"scale") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 48)+ ((Prelude..)+ ((Prelude..)+ Data.ProtoLens.Encoding.Bytes.putVarInt+ Prelude.fromIntegral)+ Data.ProtoLens.Encoding.Bytes.signedInt32ToWord _v))+ ((Data.Monoid.<>)+ (let+ _v+ = Lens.Family2.view (Data.ProtoLens.Field.field @"zeroCount") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 57)+ (Data.ProtoLens.Encoding.Bytes.putFixed64 _v))+ ((Data.Monoid.<>)+ (case+ Lens.Family2.view+ (Data.ProtoLens.Field.field @"maybe'positive") _x+ of+ Prelude.Nothing -> Data.Monoid.mempty+ (Prelude.Just _v)+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 66)+ ((Prelude..)+ (\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral+ (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ Data.ProtoLens.encodeMessage _v))+ ((Data.Monoid.<>)+ (case+ Lens.Family2.view+ (Data.ProtoLens.Field.field @"maybe'negative") _x+ of+ Prelude.Nothing -> Data.Monoid.mempty+ (Prelude.Just _v)+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 74)+ ((Prelude..)+ (\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral+ (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes+ bs))+ Data.ProtoLens.encodeMessage _v))+ ((Data.Monoid.<>)+ (let+ _v+ = Lens.Family2.view+ (Data.ProtoLens.Field.field @"flags") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 80)+ ((Prelude..)+ Data.ProtoLens.Encoding.Bytes.putVarInt+ Prelude.fromIntegral _v))+ ((Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.foldMapBuilder+ (\ _v+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 90)+ ((Prelude..)+ (\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral+ (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes+ bs))+ Data.ProtoLens.encodeMessage _v))+ (Lens.Family2.view+ (Data.ProtoLens.Field.field @"vec'exemplars") _x))+ ((Data.Monoid.<>)+ (case+ Lens.Family2.view+ (Data.ProtoLens.Field.field @"maybe'min") _x+ of+ Prelude.Nothing -> Data.Monoid.mempty+ (Prelude.Just _v)+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 97)+ ((Prelude..)+ Data.ProtoLens.Encoding.Bytes.putFixed64+ Data.ProtoLens.Encoding.Bytes.doubleToWord+ _v))+ ((Data.Monoid.<>)+ (case+ Lens.Family2.view+ (Data.ProtoLens.Field.field @"maybe'max") _x+ of+ Prelude.Nothing -> Data.Monoid.mempty+ (Prelude.Just _v)+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ 105)+ ((Prelude..)+ Data.ProtoLens.Encoding.Bytes.putFixed64+ Data.ProtoLens.Encoding.Bytes.doubleToWord+ _v))+ ((Data.Monoid.<>)+ (let+ _v+ = Lens.Family2.view+ (Data.ProtoLens.Field.field+ @"zeroThreshold")+ _x+ in+ if (Prelude.==)+ _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ 113)+ ((Prelude..)+ Data.ProtoLens.Encoding.Bytes.putFixed64+ Data.ProtoLens.Encoding.Bytes.doubleToWord+ _v))+ (Data.ProtoLens.Encoding.Wire.buildFieldSet+ (Lens.Family2.view+ Data.ProtoLens.unknownFields+ _x)))))))))))))))+instance Control.DeepSeq.NFData ExponentialHistogramDataPoint where+ rnf+ = \ x__+ -> Control.DeepSeq.deepseq+ (_ExponentialHistogramDataPoint'_unknownFields x__)+ (Control.DeepSeq.deepseq+ (_ExponentialHistogramDataPoint'attributes x__)+ (Control.DeepSeq.deepseq+ (_ExponentialHistogramDataPoint'startTimeUnixNano x__)+ (Control.DeepSeq.deepseq+ (_ExponentialHistogramDataPoint'timeUnixNano x__)+ (Control.DeepSeq.deepseq+ (_ExponentialHistogramDataPoint'count x__)+ (Control.DeepSeq.deepseq+ (_ExponentialHistogramDataPoint'sum x__)+ (Control.DeepSeq.deepseq+ (_ExponentialHistogramDataPoint'scale x__)+ (Control.DeepSeq.deepseq+ (_ExponentialHistogramDataPoint'zeroCount x__)+ (Control.DeepSeq.deepseq+ (_ExponentialHistogramDataPoint'positive x__)+ (Control.DeepSeq.deepseq+ (_ExponentialHistogramDataPoint'negative x__)+ (Control.DeepSeq.deepseq+ (_ExponentialHistogramDataPoint'flags x__)+ (Control.DeepSeq.deepseq+ (_ExponentialHistogramDataPoint'exemplars x__)+ (Control.DeepSeq.deepseq+ (_ExponentialHistogramDataPoint'min x__)+ (Control.DeepSeq.deepseq+ (_ExponentialHistogramDataPoint'max x__)+ (Control.DeepSeq.deepseq+ (_ExponentialHistogramDataPoint'zeroThreshold+ x__)+ ()))))))))))))))+{- | Fields :+ + * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.offset' @:: Lens' ExponentialHistogramDataPoint'Buckets Data.Int.Int32@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.bucketCounts' @:: Lens' ExponentialHistogramDataPoint'Buckets [Data.Word.Word64]@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.vec'bucketCounts' @:: Lens' ExponentialHistogramDataPoint'Buckets (Data.Vector.Unboxed.Vector Data.Word.Word64)@ -}+data ExponentialHistogramDataPoint'Buckets+ = ExponentialHistogramDataPoint'Buckets'_constructor {_ExponentialHistogramDataPoint'Buckets'offset :: !Data.Int.Int32,+ _ExponentialHistogramDataPoint'Buckets'bucketCounts :: !(Data.Vector.Unboxed.Vector Data.Word.Word64),+ _ExponentialHistogramDataPoint'Buckets'_unknownFields :: !Data.ProtoLens.FieldSet}+ deriving stock (Prelude.Eq, Prelude.Ord)+instance Prelude.Show ExponentialHistogramDataPoint'Buckets where+ showsPrec _ __x __s+ = Prelude.showChar+ '{'+ (Prelude.showString+ (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))+instance Data.ProtoLens.Field.HasField ExponentialHistogramDataPoint'Buckets "offset" Data.Int.Int32 where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ExponentialHistogramDataPoint'Buckets'offset+ (\ x__ y__+ -> x__ {_ExponentialHistogramDataPoint'Buckets'offset = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField ExponentialHistogramDataPoint'Buckets "bucketCounts" [Data.Word.Word64] where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ExponentialHistogramDataPoint'Buckets'bucketCounts+ (\ x__ y__+ -> x__+ {_ExponentialHistogramDataPoint'Buckets'bucketCounts = y__}))+ (Lens.Family2.Unchecked.lens+ Data.Vector.Generic.toList+ (\ _ y__ -> Data.Vector.Generic.fromList y__))+instance Data.ProtoLens.Field.HasField ExponentialHistogramDataPoint'Buckets "vec'bucketCounts" (Data.Vector.Unboxed.Vector Data.Word.Word64) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ExponentialHistogramDataPoint'Buckets'bucketCounts+ (\ x__ y__+ -> x__+ {_ExponentialHistogramDataPoint'Buckets'bucketCounts = y__}))+ Prelude.id+instance Data.ProtoLens.Message ExponentialHistogramDataPoint'Buckets where+ messageName _+ = Data.Text.pack+ "opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets"+ packedMessageDescriptor _+ = "\n\+ \\aBuckets\DC2\SYN\n\+ \\ACKoffset\CAN\SOH \SOH(\DC1R\ACKoffset\DC2#\n\+ \\rbucket_counts\CAN\STX \ETX(\EOTR\fbucketCounts"+ packedFileDescriptor _ = packedFileDescriptor+ fieldsByTag+ = let+ offset__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "offset"+ (Data.ProtoLens.ScalarField Data.ProtoLens.SInt32Field ::+ Data.ProtoLens.FieldTypeDescriptor Data.Int.Int32)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"offset")) ::+ Data.ProtoLens.FieldDescriptor ExponentialHistogramDataPoint'Buckets+ bucketCounts__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "bucket_counts"+ (Data.ProtoLens.ScalarField Data.ProtoLens.UInt64Field ::+ Data.ProtoLens.FieldTypeDescriptor Data.Word.Word64)+ (Data.ProtoLens.RepeatedField+ Data.ProtoLens.Packed+ (Data.ProtoLens.Field.field @"bucketCounts")) ::+ Data.ProtoLens.FieldDescriptor ExponentialHistogramDataPoint'Buckets+ in+ Data.Map.fromList+ [(Data.ProtoLens.Tag 1, offset__field_descriptor),+ (Data.ProtoLens.Tag 2, bucketCounts__field_descriptor)]+ unknownFields+ = Lens.Family2.Unchecked.lens+ _ExponentialHistogramDataPoint'Buckets'_unknownFields+ (\ x__ y__+ -> x__+ {_ExponentialHistogramDataPoint'Buckets'_unknownFields = y__})+ defMessage+ = ExponentialHistogramDataPoint'Buckets'_constructor+ {_ExponentialHistogramDataPoint'Buckets'offset = Data.ProtoLens.fieldDefault,+ _ExponentialHistogramDataPoint'Buckets'bucketCounts = Data.Vector.Generic.empty,+ _ExponentialHistogramDataPoint'Buckets'_unknownFields = []}+ parseMessage+ = let+ loop ::+ ExponentialHistogramDataPoint'Buckets+ -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Unboxed.Vector Data.ProtoLens.Encoding.Growing.RealWorld Data.Word.Word64+ -> Data.ProtoLens.Encoding.Bytes.Parser ExponentialHistogramDataPoint'Buckets+ loop x mutable'bucketCounts+ = do end <- Data.ProtoLens.Encoding.Bytes.atEnd+ if end then+ do frozen'bucketCounts <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.unsafeFreeze+ mutable'bucketCounts)+ (let missing = []+ in+ if Prelude.null missing then+ Prelude.return ()+ else+ Prelude.fail+ ((Prelude.++)+ "Missing required fields: "+ (Prelude.show (missing :: [Prelude.String]))))+ Prelude.return+ (Lens.Family2.over+ Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"vec'bucketCounts")+ frozen'bucketCounts x))+ else+ do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt+ case tag of+ 8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (Prelude.fmap+ Data.ProtoLens.Encoding.Bytes.wordToSignedInt32+ (Prelude.fmap+ Prelude.fromIntegral+ Data.ProtoLens.Encoding.Bytes.getVarInt))+ "offset"+ loop+ (Lens.Family2.set (Data.ProtoLens.Field.field @"offset") y x)+ mutable'bucketCounts+ 16+ -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ Data.ProtoLens.Encoding.Bytes.getVarInt "bucket_counts"+ v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.append+ mutable'bucketCounts y)+ loop x v+ 18+ -> do y <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.isolate+ (Prelude.fromIntegral len)+ ((let+ ploop qs+ = do packedEnd <- Data.ProtoLens.Encoding.Bytes.atEnd+ if packedEnd then+ Prelude.return qs+ else+ do !q <- (Data.ProtoLens.Encoding.Bytes.<?>)+ Data.ProtoLens.Encoding.Bytes.getVarInt+ "bucket_counts"+ qs' <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.append+ qs q)+ ploop qs'+ in ploop)+ mutable'bucketCounts)+ loop x y+ wire+ -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire+ wire+ loop+ (Lens.Family2.over+ Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)+ mutable'bucketCounts+ in+ (Data.ProtoLens.Encoding.Bytes.<?>)+ (do mutable'bucketCounts <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ Data.ProtoLens.Encoding.Growing.new+ loop Data.ProtoLens.defMessage mutable'bucketCounts)+ "Buckets"+ buildMessage+ = \ _x+ -> (Data.Monoid.<>)+ (let+ _v = Lens.Family2.view (Data.ProtoLens.Field.field @"offset") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 8)+ ((Prelude..)+ ((Prelude..)+ Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)+ Data.ProtoLens.Encoding.Bytes.signedInt32ToWord _v))+ ((Data.Monoid.<>)+ (let+ p = Lens.Family2.view+ (Data.ProtoLens.Field.field @"vec'bucketCounts") _x+ in+ if Data.Vector.Generic.null p then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 18)+ ((\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ (Data.ProtoLens.Encoding.Bytes.runBuilder+ (Data.ProtoLens.Encoding.Bytes.foldMapBuilder+ Data.ProtoLens.Encoding.Bytes.putVarInt p))))+ (Data.ProtoLens.Encoding.Wire.buildFieldSet+ (Lens.Family2.view Data.ProtoLens.unknownFields _x)))+instance Control.DeepSeq.NFData ExponentialHistogramDataPoint'Buckets where+ rnf+ = \ x__+ -> Control.DeepSeq.deepseq+ (_ExponentialHistogramDataPoint'Buckets'_unknownFields x__)+ (Control.DeepSeq.deepseq+ (_ExponentialHistogramDataPoint'Buckets'offset x__)+ (Control.DeepSeq.deepseq+ (_ExponentialHistogramDataPoint'Buckets'bucketCounts x__) ()))+{- | Fields :+ + * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.dataPoints' @:: Lens' Gauge [NumberDataPoint]@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.vec'dataPoints' @:: Lens' Gauge (Data.Vector.Vector NumberDataPoint)@ -}+data Gauge+ = Gauge'_constructor {_Gauge'dataPoints :: !(Data.Vector.Vector NumberDataPoint),+ _Gauge'_unknownFields :: !Data.ProtoLens.FieldSet}+ deriving stock (Prelude.Eq, Prelude.Ord)+instance Prelude.Show Gauge where+ showsPrec _ __x __s+ = Prelude.showChar+ '{'+ (Prelude.showString+ (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))+instance Data.ProtoLens.Field.HasField Gauge "dataPoints" [NumberDataPoint] where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Gauge'dataPoints (\ x__ y__ -> x__ {_Gauge'dataPoints = y__}))+ (Lens.Family2.Unchecked.lens+ Data.Vector.Generic.toList+ (\ _ y__ -> Data.Vector.Generic.fromList y__))+instance Data.ProtoLens.Field.HasField Gauge "vec'dataPoints" (Data.Vector.Vector NumberDataPoint) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Gauge'dataPoints (\ x__ y__ -> x__ {_Gauge'dataPoints = y__}))+ Prelude.id+instance Data.ProtoLens.Message Gauge where+ messageName _+ = Data.Text.pack "opentelemetry.proto.metrics.v1.Gauge"+ packedMessageDescriptor _+ = "\n\+ \\ENQGauge\DC2P\n\+ \\vdata_points\CAN\SOH \ETX(\v2/.opentelemetry.proto.metrics.v1.NumberDataPointR\n\+ \dataPoints"+ packedFileDescriptor _ = packedFileDescriptor+ fieldsByTag+ = let+ dataPoints__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "data_points"+ (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::+ Data.ProtoLens.FieldTypeDescriptor NumberDataPoint)+ (Data.ProtoLens.RepeatedField+ Data.ProtoLens.Unpacked+ (Data.ProtoLens.Field.field @"dataPoints")) ::+ Data.ProtoLens.FieldDescriptor Gauge+ in+ Data.Map.fromList+ [(Data.ProtoLens.Tag 1, dataPoints__field_descriptor)]+ unknownFields+ = Lens.Family2.Unchecked.lens+ _Gauge'_unknownFields+ (\ x__ y__ -> x__ {_Gauge'_unknownFields = y__})+ defMessage+ = Gauge'_constructor+ {_Gauge'dataPoints = Data.Vector.Generic.empty,+ _Gauge'_unknownFields = []}+ parseMessage+ = let+ loop ::+ Gauge+ -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld NumberDataPoint+ -> Data.ProtoLens.Encoding.Bytes.Parser Gauge+ loop x mutable'dataPoints+ = do end <- Data.ProtoLens.Encoding.Bytes.atEnd+ if end then+ do frozen'dataPoints <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.unsafeFreeze+ mutable'dataPoints)+ (let missing = []+ in+ if Prelude.null missing then+ Prelude.return ()+ else+ Prelude.fail+ ((Prelude.++)+ "Missing required fields: "+ (Prelude.show (missing :: [Prelude.String]))))+ Prelude.return+ (Lens.Family2.over+ Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"vec'dataPoints") frozen'dataPoints+ x))+ else+ do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt+ case tag of+ 10+ -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.isolate+ (Prelude.fromIntegral len)+ Data.ProtoLens.parseMessage)+ "data_points"+ v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.append mutable'dataPoints y)+ loop x v+ wire+ -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire+ wire+ loop+ (Lens.Family2.over+ Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)+ mutable'dataPoints+ in+ (Data.ProtoLens.Encoding.Bytes.<?>)+ (do mutable'dataPoints <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ Data.ProtoLens.Encoding.Growing.new+ loop Data.ProtoLens.defMessage mutable'dataPoints)+ "Gauge"+ buildMessage+ = \ _x+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.foldMapBuilder+ (\ _v+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 10)+ ((Prelude..)+ (\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ Data.ProtoLens.encodeMessage _v))+ (Lens.Family2.view+ (Data.ProtoLens.Field.field @"vec'dataPoints") _x))+ (Data.ProtoLens.Encoding.Wire.buildFieldSet+ (Lens.Family2.view Data.ProtoLens.unknownFields _x))+instance Control.DeepSeq.NFData Gauge where+ rnf+ = \ x__+ -> Control.DeepSeq.deepseq+ (_Gauge'_unknownFields x__)+ (Control.DeepSeq.deepseq (_Gauge'dataPoints x__) ())+{- | Fields :+ + * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.dataPoints' @:: Lens' Histogram [HistogramDataPoint]@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.vec'dataPoints' @:: Lens' Histogram (Data.Vector.Vector HistogramDataPoint)@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.aggregationTemporality' @:: Lens' Histogram AggregationTemporality@ -}+data Histogram+ = Histogram'_constructor {_Histogram'dataPoints :: !(Data.Vector.Vector HistogramDataPoint),+ _Histogram'aggregationTemporality :: !AggregationTemporality,+ _Histogram'_unknownFields :: !Data.ProtoLens.FieldSet}+ deriving stock (Prelude.Eq, Prelude.Ord)+instance Prelude.Show Histogram where+ showsPrec _ __x __s+ = Prelude.showChar+ '{'+ (Prelude.showString+ (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))+instance Data.ProtoLens.Field.HasField Histogram "dataPoints" [HistogramDataPoint] where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Histogram'dataPoints+ (\ x__ y__ -> x__ {_Histogram'dataPoints = y__}))+ (Lens.Family2.Unchecked.lens+ Data.Vector.Generic.toList+ (\ _ y__ -> Data.Vector.Generic.fromList y__))+instance Data.ProtoLens.Field.HasField Histogram "vec'dataPoints" (Data.Vector.Vector HistogramDataPoint) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Histogram'dataPoints+ (\ x__ y__ -> x__ {_Histogram'dataPoints = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField Histogram "aggregationTemporality" AggregationTemporality where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Histogram'aggregationTemporality+ (\ x__ y__ -> x__ {_Histogram'aggregationTemporality = y__}))+ Prelude.id+instance Data.ProtoLens.Message Histogram where+ messageName _+ = Data.Text.pack "opentelemetry.proto.metrics.v1.Histogram"+ packedMessageDescriptor _+ = "\n\+ \\tHistogram\DC2S\n\+ \\vdata_points\CAN\SOH \ETX(\v22.opentelemetry.proto.metrics.v1.HistogramDataPointR\n\+ \dataPoints\DC2o\n\+ \\ETBaggregation_temporality\CAN\STX \SOH(\SO26.opentelemetry.proto.metrics.v1.AggregationTemporalityR\SYNaggregationTemporality"+ packedFileDescriptor _ = packedFileDescriptor+ fieldsByTag+ = let+ dataPoints__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "data_points"+ (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::+ Data.ProtoLens.FieldTypeDescriptor HistogramDataPoint)+ (Data.ProtoLens.RepeatedField+ Data.ProtoLens.Unpacked+ (Data.ProtoLens.Field.field @"dataPoints")) ::+ Data.ProtoLens.FieldDescriptor Histogram+ aggregationTemporality__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "aggregation_temporality"+ (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::+ Data.ProtoLens.FieldTypeDescriptor AggregationTemporality)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional+ (Data.ProtoLens.Field.field @"aggregationTemporality")) ::+ Data.ProtoLens.FieldDescriptor Histogram+ in+ Data.Map.fromList+ [(Data.ProtoLens.Tag 1, dataPoints__field_descriptor),+ (Data.ProtoLens.Tag 2, aggregationTemporality__field_descriptor)]+ unknownFields+ = Lens.Family2.Unchecked.lens+ _Histogram'_unknownFields+ (\ x__ y__ -> x__ {_Histogram'_unknownFields = y__})+ defMessage+ = Histogram'_constructor+ {_Histogram'dataPoints = Data.Vector.Generic.empty,+ _Histogram'aggregationTemporality = Data.ProtoLens.fieldDefault,+ _Histogram'_unknownFields = []}+ parseMessage+ = let+ loop ::+ Histogram+ -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld HistogramDataPoint+ -> Data.ProtoLens.Encoding.Bytes.Parser Histogram+ loop x mutable'dataPoints+ = do end <- Data.ProtoLens.Encoding.Bytes.atEnd+ if end then+ do frozen'dataPoints <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.unsafeFreeze+ mutable'dataPoints)+ (let missing = []+ in+ if Prelude.null missing then+ Prelude.return ()+ else+ Prelude.fail+ ((Prelude.++)+ "Missing required fields: "+ (Prelude.show (missing :: [Prelude.String]))))+ Prelude.return+ (Lens.Family2.over+ Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"vec'dataPoints") frozen'dataPoints+ x))+ else+ do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt+ case tag of+ 10+ -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.isolate+ (Prelude.fromIntegral len)+ Data.ProtoLens.parseMessage)+ "data_points"+ v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.append mutable'dataPoints y)+ loop x v+ 16+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (Prelude.fmap+ Prelude.toEnum+ (Prelude.fmap+ Prelude.fromIntegral+ Data.ProtoLens.Encoding.Bytes.getVarInt))+ "aggregation_temporality"+ loop+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"aggregationTemporality") y x)+ mutable'dataPoints+ wire+ -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire+ wire+ loop+ (Lens.Family2.over+ Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)+ mutable'dataPoints+ in+ (Data.ProtoLens.Encoding.Bytes.<?>)+ (do mutable'dataPoints <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ Data.ProtoLens.Encoding.Growing.new+ loop Data.ProtoLens.defMessage mutable'dataPoints)+ "Histogram"+ buildMessage+ = \ _x+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.foldMapBuilder+ (\ _v+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 10)+ ((Prelude..)+ (\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ Data.ProtoLens.encodeMessage _v))+ (Lens.Family2.view+ (Data.ProtoLens.Field.field @"vec'dataPoints") _x))+ ((Data.Monoid.<>)+ (let+ _v+ = Lens.Family2.view+ (Data.ProtoLens.Field.field @"aggregationTemporality") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 16)+ ((Prelude..)+ ((Prelude..)+ Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)+ Prelude.fromEnum _v))+ (Data.ProtoLens.Encoding.Wire.buildFieldSet+ (Lens.Family2.view Data.ProtoLens.unknownFields _x)))+instance Control.DeepSeq.NFData Histogram where+ rnf+ = \ x__+ -> Control.DeepSeq.deepseq+ (_Histogram'_unknownFields x__)+ (Control.DeepSeq.deepseq+ (_Histogram'dataPoints x__)+ (Control.DeepSeq.deepseq+ (_Histogram'aggregationTemporality x__) ()))+{- | Fields :+ + * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.attributes' @:: Lens' HistogramDataPoint [Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue]@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.vec'attributes' @:: Lens' HistogramDataPoint (Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue)@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.startTimeUnixNano' @:: Lens' HistogramDataPoint Data.Word.Word64@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.timeUnixNano' @:: Lens' HistogramDataPoint Data.Word.Word64@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.count' @:: Lens' HistogramDataPoint Data.Word.Word64@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.sum' @:: Lens' HistogramDataPoint Prelude.Double@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.maybe'sum' @:: Lens' HistogramDataPoint (Prelude.Maybe Prelude.Double)@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.bucketCounts' @:: Lens' HistogramDataPoint [Data.Word.Word64]@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.vec'bucketCounts' @:: Lens' HistogramDataPoint (Data.Vector.Unboxed.Vector Data.Word.Word64)@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.explicitBounds' @:: Lens' HistogramDataPoint [Prelude.Double]@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.vec'explicitBounds' @:: Lens' HistogramDataPoint (Data.Vector.Unboxed.Vector Prelude.Double)@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.exemplars' @:: Lens' HistogramDataPoint [Exemplar]@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.vec'exemplars' @:: Lens' HistogramDataPoint (Data.Vector.Vector Exemplar)@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.flags' @:: Lens' HistogramDataPoint Data.Word.Word32@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.min' @:: Lens' HistogramDataPoint Prelude.Double@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.maybe'min' @:: Lens' HistogramDataPoint (Prelude.Maybe Prelude.Double)@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.max' @:: Lens' HistogramDataPoint Prelude.Double@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.maybe'max' @:: Lens' HistogramDataPoint (Prelude.Maybe Prelude.Double)@ -}+data HistogramDataPoint+ = HistogramDataPoint'_constructor {_HistogramDataPoint'attributes :: !(Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue),+ _HistogramDataPoint'startTimeUnixNano :: !Data.Word.Word64,+ _HistogramDataPoint'timeUnixNano :: !Data.Word.Word64,+ _HistogramDataPoint'count :: !Data.Word.Word64,+ _HistogramDataPoint'sum :: !(Prelude.Maybe Prelude.Double),+ _HistogramDataPoint'bucketCounts :: !(Data.Vector.Unboxed.Vector Data.Word.Word64),+ _HistogramDataPoint'explicitBounds :: !(Data.Vector.Unboxed.Vector Prelude.Double),+ _HistogramDataPoint'exemplars :: !(Data.Vector.Vector Exemplar),+ _HistogramDataPoint'flags :: !Data.Word.Word32,+ _HistogramDataPoint'min :: !(Prelude.Maybe Prelude.Double),+ _HistogramDataPoint'max :: !(Prelude.Maybe Prelude.Double),+ _HistogramDataPoint'_unknownFields :: !Data.ProtoLens.FieldSet}+ deriving stock (Prelude.Eq, Prelude.Ord)+instance Prelude.Show HistogramDataPoint where+ showsPrec _ __x __s+ = Prelude.showChar+ '{'+ (Prelude.showString+ (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))+instance Data.ProtoLens.Field.HasField HistogramDataPoint "attributes" [Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue] where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _HistogramDataPoint'attributes+ (\ x__ y__ -> x__ {_HistogramDataPoint'attributes = y__}))+ (Lens.Family2.Unchecked.lens+ Data.Vector.Generic.toList+ (\ _ y__ -> Data.Vector.Generic.fromList y__))+instance Data.ProtoLens.Field.HasField HistogramDataPoint "vec'attributes" (Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _HistogramDataPoint'attributes+ (\ x__ y__ -> x__ {_HistogramDataPoint'attributes = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField HistogramDataPoint "startTimeUnixNano" Data.Word.Word64 where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _HistogramDataPoint'startTimeUnixNano+ (\ x__ y__ -> x__ {_HistogramDataPoint'startTimeUnixNano = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField HistogramDataPoint "timeUnixNano" Data.Word.Word64 where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _HistogramDataPoint'timeUnixNano+ (\ x__ y__ -> x__ {_HistogramDataPoint'timeUnixNano = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField HistogramDataPoint "count" Data.Word.Word64 where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _HistogramDataPoint'count+ (\ x__ y__ -> x__ {_HistogramDataPoint'count = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField HistogramDataPoint "sum" Prelude.Double where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _HistogramDataPoint'sum+ (\ x__ y__ -> x__ {_HistogramDataPoint'sum = y__}))+ (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault)+instance Data.ProtoLens.Field.HasField HistogramDataPoint "maybe'sum" (Prelude.Maybe Prelude.Double) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _HistogramDataPoint'sum+ (\ x__ y__ -> x__ {_HistogramDataPoint'sum = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField HistogramDataPoint "bucketCounts" [Data.Word.Word64] where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _HistogramDataPoint'bucketCounts+ (\ x__ y__ -> x__ {_HistogramDataPoint'bucketCounts = y__}))+ (Lens.Family2.Unchecked.lens+ Data.Vector.Generic.toList+ (\ _ y__ -> Data.Vector.Generic.fromList y__))+instance Data.ProtoLens.Field.HasField HistogramDataPoint "vec'bucketCounts" (Data.Vector.Unboxed.Vector Data.Word.Word64) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _HistogramDataPoint'bucketCounts+ (\ x__ y__ -> x__ {_HistogramDataPoint'bucketCounts = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField HistogramDataPoint "explicitBounds" [Prelude.Double] where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _HistogramDataPoint'explicitBounds+ (\ x__ y__ -> x__ {_HistogramDataPoint'explicitBounds = y__}))+ (Lens.Family2.Unchecked.lens+ Data.Vector.Generic.toList+ (\ _ y__ -> Data.Vector.Generic.fromList y__))+instance Data.ProtoLens.Field.HasField HistogramDataPoint "vec'explicitBounds" (Data.Vector.Unboxed.Vector Prelude.Double) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _HistogramDataPoint'explicitBounds+ (\ x__ y__ -> x__ {_HistogramDataPoint'explicitBounds = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField HistogramDataPoint "exemplars" [Exemplar] where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _HistogramDataPoint'exemplars+ (\ x__ y__ -> x__ {_HistogramDataPoint'exemplars = y__}))+ (Lens.Family2.Unchecked.lens+ Data.Vector.Generic.toList+ (\ _ y__ -> Data.Vector.Generic.fromList y__))+instance Data.ProtoLens.Field.HasField HistogramDataPoint "vec'exemplars" (Data.Vector.Vector Exemplar) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _HistogramDataPoint'exemplars+ (\ x__ y__ -> x__ {_HistogramDataPoint'exemplars = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField HistogramDataPoint "flags" Data.Word.Word32 where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _HistogramDataPoint'flags+ (\ x__ y__ -> x__ {_HistogramDataPoint'flags = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField HistogramDataPoint "min" Prelude.Double where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _HistogramDataPoint'min+ (\ x__ y__ -> x__ {_HistogramDataPoint'min = y__}))+ (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault)+instance Data.ProtoLens.Field.HasField HistogramDataPoint "maybe'min" (Prelude.Maybe Prelude.Double) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _HistogramDataPoint'min+ (\ x__ y__ -> x__ {_HistogramDataPoint'min = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField HistogramDataPoint "max" Prelude.Double where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _HistogramDataPoint'max+ (\ x__ y__ -> x__ {_HistogramDataPoint'max = y__}))+ (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault)+instance Data.ProtoLens.Field.HasField HistogramDataPoint "maybe'max" (Prelude.Maybe Prelude.Double) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _HistogramDataPoint'max+ (\ x__ y__ -> x__ {_HistogramDataPoint'max = y__}))+ Prelude.id+instance Data.ProtoLens.Message HistogramDataPoint where+ messageName _+ = Data.Text.pack+ "opentelemetry.proto.metrics.v1.HistogramDataPoint"+ packedMessageDescriptor _+ = "\n\+ \\DC2HistogramDataPoint\DC2G\n\+ \\n\+ \attributes\CAN\t \ETX(\v2'.opentelemetry.proto.common.v1.KeyValueR\n\+ \attributes\DC2/\n\+ \\DC4start_time_unix_nano\CAN\STX \SOH(\ACKR\DC1startTimeUnixNano\DC2$\n\+ \\SOtime_unix_nano\CAN\ETX \SOH(\ACKR\ftimeUnixNano\DC2\DC4\n\+ \\ENQcount\CAN\EOT \SOH(\ACKR\ENQcount\DC2\NAK\n\+ \\ETXsum\CAN\ENQ \SOH(\SOHH\NULR\ETXsum\136\SOH\SOH\DC2#\n\+ \\rbucket_counts\CAN\ACK \ETX(\ACKR\fbucketCounts\DC2'\n\+ \\SIexplicit_bounds\CAN\a \ETX(\SOHR\SOexplicitBounds\DC2F\n\+ \\texemplars\CAN\b \ETX(\v2(.opentelemetry.proto.metrics.v1.ExemplarR\texemplars\DC2\DC4\n\+ \\ENQflags\CAN\n\+ \ \SOH(\rR\ENQflags\DC2\NAK\n\+ \\ETXmin\CAN\v \SOH(\SOHH\SOHR\ETXmin\136\SOH\SOH\DC2\NAK\n\+ \\ETXmax\CAN\f \SOH(\SOHH\STXR\ETXmax\136\SOH\SOHB\ACK\n\+ \\EOT_sumB\ACK\n\+ \\EOT_minB\ACK\n\+ \\EOT_maxJ\EOT\b\SOH\DLE\STX"+ packedFileDescriptor _ = packedFileDescriptor+ fieldsByTag+ = let+ attributes__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "attributes"+ (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::+ Data.ProtoLens.FieldTypeDescriptor Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue)+ (Data.ProtoLens.RepeatedField+ Data.ProtoLens.Unpacked+ (Data.ProtoLens.Field.field @"attributes")) ::+ Data.ProtoLens.FieldDescriptor HistogramDataPoint+ startTimeUnixNano__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "start_time_unix_nano"+ (Data.ProtoLens.ScalarField Data.ProtoLens.Fixed64Field ::+ Data.ProtoLens.FieldTypeDescriptor Data.Word.Word64)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional+ (Data.ProtoLens.Field.field @"startTimeUnixNano")) ::+ Data.ProtoLens.FieldDescriptor HistogramDataPoint+ timeUnixNano__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "time_unix_nano"+ (Data.ProtoLens.ScalarField Data.ProtoLens.Fixed64Field ::+ Data.ProtoLens.FieldTypeDescriptor Data.Word.Word64)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional+ (Data.ProtoLens.Field.field @"timeUnixNano")) ::+ Data.ProtoLens.FieldDescriptor HistogramDataPoint+ count__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "count"+ (Data.ProtoLens.ScalarField Data.ProtoLens.Fixed64Field ::+ Data.ProtoLens.FieldTypeDescriptor Data.Word.Word64)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"count")) ::+ Data.ProtoLens.FieldDescriptor HistogramDataPoint+ sum__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "sum"+ (Data.ProtoLens.ScalarField Data.ProtoLens.DoubleField ::+ Data.ProtoLens.FieldTypeDescriptor Prelude.Double)+ (Data.ProtoLens.OptionalField+ (Data.ProtoLens.Field.field @"maybe'sum")) ::+ Data.ProtoLens.FieldDescriptor HistogramDataPoint+ bucketCounts__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "bucket_counts"+ (Data.ProtoLens.ScalarField Data.ProtoLens.Fixed64Field ::+ Data.ProtoLens.FieldTypeDescriptor Data.Word.Word64)+ (Data.ProtoLens.RepeatedField+ Data.ProtoLens.Packed+ (Data.ProtoLens.Field.field @"bucketCounts")) ::+ Data.ProtoLens.FieldDescriptor HistogramDataPoint+ explicitBounds__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "explicit_bounds"+ (Data.ProtoLens.ScalarField Data.ProtoLens.DoubleField ::+ Data.ProtoLens.FieldTypeDescriptor Prelude.Double)+ (Data.ProtoLens.RepeatedField+ Data.ProtoLens.Packed+ (Data.ProtoLens.Field.field @"explicitBounds")) ::+ Data.ProtoLens.FieldDescriptor HistogramDataPoint+ exemplars__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "exemplars"+ (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::+ Data.ProtoLens.FieldTypeDescriptor Exemplar)+ (Data.ProtoLens.RepeatedField+ Data.ProtoLens.Unpacked+ (Data.ProtoLens.Field.field @"exemplars")) ::+ Data.ProtoLens.FieldDescriptor HistogramDataPoint+ flags__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "flags"+ (Data.ProtoLens.ScalarField Data.ProtoLens.UInt32Field ::+ Data.ProtoLens.FieldTypeDescriptor Data.Word.Word32)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"flags")) ::+ Data.ProtoLens.FieldDescriptor HistogramDataPoint+ min__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "min"+ (Data.ProtoLens.ScalarField Data.ProtoLens.DoubleField ::+ Data.ProtoLens.FieldTypeDescriptor Prelude.Double)+ (Data.ProtoLens.OptionalField+ (Data.ProtoLens.Field.field @"maybe'min")) ::+ Data.ProtoLens.FieldDescriptor HistogramDataPoint+ max__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "max"+ (Data.ProtoLens.ScalarField Data.ProtoLens.DoubleField ::+ Data.ProtoLens.FieldTypeDescriptor Prelude.Double)+ (Data.ProtoLens.OptionalField+ (Data.ProtoLens.Field.field @"maybe'max")) ::+ Data.ProtoLens.FieldDescriptor HistogramDataPoint+ in+ Data.Map.fromList+ [(Data.ProtoLens.Tag 9, attributes__field_descriptor),+ (Data.ProtoLens.Tag 2, startTimeUnixNano__field_descriptor),+ (Data.ProtoLens.Tag 3, timeUnixNano__field_descriptor),+ (Data.ProtoLens.Tag 4, count__field_descriptor),+ (Data.ProtoLens.Tag 5, sum__field_descriptor),+ (Data.ProtoLens.Tag 6, bucketCounts__field_descriptor),+ (Data.ProtoLens.Tag 7, explicitBounds__field_descriptor),+ (Data.ProtoLens.Tag 8, exemplars__field_descriptor),+ (Data.ProtoLens.Tag 10, flags__field_descriptor),+ (Data.ProtoLens.Tag 11, min__field_descriptor),+ (Data.ProtoLens.Tag 12, max__field_descriptor)]+ unknownFields+ = Lens.Family2.Unchecked.lens+ _HistogramDataPoint'_unknownFields+ (\ x__ y__ -> x__ {_HistogramDataPoint'_unknownFields = y__})+ defMessage+ = HistogramDataPoint'_constructor+ {_HistogramDataPoint'attributes = Data.Vector.Generic.empty,+ _HistogramDataPoint'startTimeUnixNano = Data.ProtoLens.fieldDefault,+ _HistogramDataPoint'timeUnixNano = Data.ProtoLens.fieldDefault,+ _HistogramDataPoint'count = Data.ProtoLens.fieldDefault,+ _HistogramDataPoint'sum = Prelude.Nothing,+ _HistogramDataPoint'bucketCounts = Data.Vector.Generic.empty,+ _HistogramDataPoint'explicitBounds = Data.Vector.Generic.empty,+ _HistogramDataPoint'exemplars = Data.Vector.Generic.empty,+ _HistogramDataPoint'flags = Data.ProtoLens.fieldDefault,+ _HistogramDataPoint'min = Prelude.Nothing,+ _HistogramDataPoint'max = Prelude.Nothing,+ _HistogramDataPoint'_unknownFields = []}+ parseMessage+ = let+ loop ::+ HistogramDataPoint+ -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue+ -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Unboxed.Vector Data.ProtoLens.Encoding.Growing.RealWorld Data.Word.Word64+ -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Exemplar+ -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Unboxed.Vector Data.ProtoLens.Encoding.Growing.RealWorld Prelude.Double+ -> Data.ProtoLens.Encoding.Bytes.Parser HistogramDataPoint+ loop+ x+ mutable'attributes+ mutable'bucketCounts+ mutable'exemplars+ mutable'explicitBounds+ = do end <- Data.ProtoLens.Encoding.Bytes.atEnd+ if end then+ do frozen'attributes <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.unsafeFreeze+ mutable'attributes)+ frozen'bucketCounts <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.unsafeFreeze+ mutable'bucketCounts)+ frozen'exemplars <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.unsafeFreeze+ mutable'exemplars)+ frozen'explicitBounds <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.unsafeFreeze+ mutable'explicitBounds)+ (let missing = []+ in+ if Prelude.null missing then+ Prelude.return ()+ else+ Prelude.fail+ ((Prelude.++)+ "Missing required fields: "+ (Prelude.show (missing :: [Prelude.String]))))+ Prelude.return+ (Lens.Family2.over+ Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"vec'attributes") frozen'attributes+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"vec'bucketCounts")+ frozen'bucketCounts+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"vec'exemplars") frozen'exemplars+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"vec'explicitBounds")+ frozen'explicitBounds x)))))+ else+ do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt+ case tag of+ 74+ -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.isolate+ (Prelude.fromIntegral len)+ Data.ProtoLens.parseMessage)+ "attributes"+ v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.append mutable'attributes y)+ loop+ x v mutable'bucketCounts mutable'exemplars mutable'explicitBounds+ 17+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ Data.ProtoLens.Encoding.Bytes.getFixed64+ "start_time_unix_nano"+ loop+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"startTimeUnixNano") y x)+ mutable'attributes mutable'bucketCounts mutable'exemplars+ mutable'explicitBounds+ 25+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ Data.ProtoLens.Encoding.Bytes.getFixed64 "time_unix_nano"+ loop+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"timeUnixNano") y x)+ mutable'attributes mutable'bucketCounts mutable'exemplars+ mutable'explicitBounds+ 33+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ Data.ProtoLens.Encoding.Bytes.getFixed64 "count"+ loop+ (Lens.Family2.set (Data.ProtoLens.Field.field @"count") y x)+ mutable'attributes mutable'bucketCounts mutable'exemplars+ mutable'explicitBounds+ 41+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (Prelude.fmap+ Data.ProtoLens.Encoding.Bytes.wordToDouble+ Data.ProtoLens.Encoding.Bytes.getFixed64)+ "sum"+ loop+ (Lens.Family2.set (Data.ProtoLens.Field.field @"sum") y x)+ mutable'attributes mutable'bucketCounts mutable'exemplars+ mutable'explicitBounds+ 49+ -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ Data.ProtoLens.Encoding.Bytes.getFixed64 "bucket_counts"+ v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.append+ mutable'bucketCounts y)+ loop+ x mutable'attributes v mutable'exemplars mutable'explicitBounds+ 50+ -> do y <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.isolate+ (Prelude.fromIntegral len)+ ((let+ ploop qs+ = do packedEnd <- Data.ProtoLens.Encoding.Bytes.atEnd+ if packedEnd then+ Prelude.return qs+ else+ do !q <- (Data.ProtoLens.Encoding.Bytes.<?>)+ Data.ProtoLens.Encoding.Bytes.getFixed64+ "bucket_counts"+ qs' <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.append+ qs q)+ ploop qs'+ in ploop)+ mutable'bucketCounts)+ loop+ x mutable'attributes y mutable'exemplars mutable'explicitBounds+ 57+ -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (Prelude.fmap+ Data.ProtoLens.Encoding.Bytes.wordToDouble+ Data.ProtoLens.Encoding.Bytes.getFixed64)+ "explicit_bounds"+ v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.append+ mutable'explicitBounds y)+ loop x mutable'attributes mutable'bucketCounts mutable'exemplars v+ 58+ -> do y <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.isolate+ (Prelude.fromIntegral len)+ ((let+ ploop qs+ = do packedEnd <- Data.ProtoLens.Encoding.Bytes.atEnd+ if packedEnd then+ Prelude.return qs+ else+ do !q <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (Prelude.fmap+ Data.ProtoLens.Encoding.Bytes.wordToDouble+ Data.ProtoLens.Encoding.Bytes.getFixed64)+ "explicit_bounds"+ qs' <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.append+ qs q)+ ploop qs'+ in ploop)+ mutable'explicitBounds)+ loop x mutable'attributes mutable'bucketCounts mutable'exemplars y+ 66+ -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.isolate+ (Prelude.fromIntegral len)+ Data.ProtoLens.parseMessage)+ "exemplars"+ v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.append mutable'exemplars y)+ loop+ x mutable'attributes mutable'bucketCounts v mutable'explicitBounds+ 80+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (Prelude.fmap+ Prelude.fromIntegral+ Data.ProtoLens.Encoding.Bytes.getVarInt)+ "flags"+ loop+ (Lens.Family2.set (Data.ProtoLens.Field.field @"flags") y x)+ mutable'attributes mutable'bucketCounts mutable'exemplars+ mutable'explicitBounds+ 89+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (Prelude.fmap+ Data.ProtoLens.Encoding.Bytes.wordToDouble+ Data.ProtoLens.Encoding.Bytes.getFixed64)+ "min"+ loop+ (Lens.Family2.set (Data.ProtoLens.Field.field @"min") y x)+ mutable'attributes mutable'bucketCounts mutable'exemplars+ mutable'explicitBounds+ 97+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (Prelude.fmap+ Data.ProtoLens.Encoding.Bytes.wordToDouble+ Data.ProtoLens.Encoding.Bytes.getFixed64)+ "max"+ loop+ (Lens.Family2.set (Data.ProtoLens.Field.field @"max") y x)+ mutable'attributes mutable'bucketCounts mutable'exemplars+ mutable'explicitBounds+ wire+ -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire+ wire+ loop+ (Lens.Family2.over+ Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)+ mutable'attributes mutable'bucketCounts mutable'exemplars+ mutable'explicitBounds+ in+ (Data.ProtoLens.Encoding.Bytes.<?>)+ (do mutable'attributes <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ Data.ProtoLens.Encoding.Growing.new+ mutable'bucketCounts <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ Data.ProtoLens.Encoding.Growing.new+ mutable'exemplars <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ Data.ProtoLens.Encoding.Growing.new+ mutable'explicitBounds <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ Data.ProtoLens.Encoding.Growing.new+ loop+ Data.ProtoLens.defMessage mutable'attributes mutable'bucketCounts+ mutable'exemplars mutable'explicitBounds)+ "HistogramDataPoint"+ buildMessage+ = \ _x+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.foldMapBuilder+ (\ _v+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 74)+ ((Prelude..)+ (\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ Data.ProtoLens.encodeMessage _v))+ (Lens.Family2.view+ (Data.ProtoLens.Field.field @"vec'attributes") _x))+ ((Data.Monoid.<>)+ (let+ _v+ = Lens.Family2.view+ (Data.ProtoLens.Field.field @"startTimeUnixNano") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 17)+ (Data.ProtoLens.Encoding.Bytes.putFixed64 _v))+ ((Data.Monoid.<>)+ (let+ _v+ = Lens.Family2.view (Data.ProtoLens.Field.field @"timeUnixNano") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 25)+ (Data.ProtoLens.Encoding.Bytes.putFixed64 _v))+ ((Data.Monoid.<>)+ (let+ _v = Lens.Family2.view (Data.ProtoLens.Field.field @"count") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 33)+ (Data.ProtoLens.Encoding.Bytes.putFixed64 _v))+ ((Data.Monoid.<>)+ (case+ Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'sum") _x+ of+ Prelude.Nothing -> Data.Monoid.mempty+ (Prelude.Just _v)+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 41)+ ((Prelude..)+ Data.ProtoLens.Encoding.Bytes.putFixed64+ Data.ProtoLens.Encoding.Bytes.doubleToWord _v))+ ((Data.Monoid.<>)+ (let+ p = Lens.Family2.view+ (Data.ProtoLens.Field.field @"vec'bucketCounts") _x+ in+ if Data.Vector.Generic.null p then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 50)+ ((\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ (Data.ProtoLens.Encoding.Bytes.runBuilder+ (Data.ProtoLens.Encoding.Bytes.foldMapBuilder+ Data.ProtoLens.Encoding.Bytes.putFixed64 p))))+ ((Data.Monoid.<>)+ (let+ p = Lens.Family2.view+ (Data.ProtoLens.Field.field @"vec'explicitBounds") _x+ in+ if Data.Vector.Generic.null p then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 58)+ ((\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral+ (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ (Data.ProtoLens.Encoding.Bytes.runBuilder+ (Data.ProtoLens.Encoding.Bytes.foldMapBuilder+ ((Prelude..)+ Data.ProtoLens.Encoding.Bytes.putFixed64+ Data.ProtoLens.Encoding.Bytes.doubleToWord)+ p))))+ ((Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.foldMapBuilder+ (\ _v+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 66)+ ((Prelude..)+ (\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral+ (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ Data.ProtoLens.encodeMessage _v))+ (Lens.Family2.view+ (Data.ProtoLens.Field.field @"vec'exemplars") _x))+ ((Data.Monoid.<>)+ (let+ _v+ = Lens.Family2.view+ (Data.ProtoLens.Field.field @"flags") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 80)+ ((Prelude..)+ Data.ProtoLens.Encoding.Bytes.putVarInt+ Prelude.fromIntegral _v))+ ((Data.Monoid.<>)+ (case+ Lens.Family2.view+ (Data.ProtoLens.Field.field @"maybe'min") _x+ of+ Prelude.Nothing -> Data.Monoid.mempty+ (Prelude.Just _v)+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 89)+ ((Prelude..)+ Data.ProtoLens.Encoding.Bytes.putFixed64+ Data.ProtoLens.Encoding.Bytes.doubleToWord _v))+ ((Data.Monoid.<>)+ (case+ Lens.Family2.view+ (Data.ProtoLens.Field.field @"maybe'max") _x+ of+ Prelude.Nothing -> Data.Monoid.mempty+ (Prelude.Just _v)+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 97)+ ((Prelude..)+ Data.ProtoLens.Encoding.Bytes.putFixed64+ Data.ProtoLens.Encoding.Bytes.doubleToWord+ _v))+ (Data.ProtoLens.Encoding.Wire.buildFieldSet+ (Lens.Family2.view+ Data.ProtoLens.unknownFields _x))))))))))))+instance Control.DeepSeq.NFData HistogramDataPoint where+ rnf+ = \ x__+ -> Control.DeepSeq.deepseq+ (_HistogramDataPoint'_unknownFields x__)+ (Control.DeepSeq.deepseq+ (_HistogramDataPoint'attributes x__)+ (Control.DeepSeq.deepseq+ (_HistogramDataPoint'startTimeUnixNano x__)+ (Control.DeepSeq.deepseq+ (_HistogramDataPoint'timeUnixNano x__)+ (Control.DeepSeq.deepseq+ (_HistogramDataPoint'count x__)+ (Control.DeepSeq.deepseq+ (_HistogramDataPoint'sum x__)+ (Control.DeepSeq.deepseq+ (_HistogramDataPoint'bucketCounts x__)+ (Control.DeepSeq.deepseq+ (_HistogramDataPoint'explicitBounds x__)+ (Control.DeepSeq.deepseq+ (_HistogramDataPoint'exemplars x__)+ (Control.DeepSeq.deepseq+ (_HistogramDataPoint'flags x__)+ (Control.DeepSeq.deepseq+ (_HistogramDataPoint'min x__)+ (Control.DeepSeq.deepseq+ (_HistogramDataPoint'max x__) ())))))))))))+{- | Fields :+ + * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.name' @:: Lens' Metric Data.Text.Text@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.description' @:: Lens' Metric Data.Text.Text@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.unit' @:: Lens' Metric Data.Text.Text@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.maybe'data'' @:: Lens' Metric (Prelude.Maybe Metric'Data)@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.maybe'gauge' @:: Lens' Metric (Prelude.Maybe Gauge)@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.gauge' @:: Lens' Metric Gauge@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.maybe'sum' @:: Lens' Metric (Prelude.Maybe Sum)@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.sum' @:: Lens' Metric Sum@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.maybe'histogram' @:: Lens' Metric (Prelude.Maybe Histogram)@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.histogram' @:: Lens' Metric Histogram@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.maybe'exponentialHistogram' @:: Lens' Metric (Prelude.Maybe ExponentialHistogram)@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.exponentialHistogram' @:: Lens' Metric ExponentialHistogram@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.maybe'summary' @:: Lens' Metric (Prelude.Maybe Summary)@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.summary' @:: Lens' Metric Summary@ -}+data Metric+ = Metric'_constructor {_Metric'name :: !Data.Text.Text,+ _Metric'description :: !Data.Text.Text,+ _Metric'unit :: !Data.Text.Text,+ _Metric'data' :: !(Prelude.Maybe Metric'Data),+ _Metric'_unknownFields :: !Data.ProtoLens.FieldSet}+ deriving stock (Prelude.Eq, Prelude.Ord)+instance Prelude.Show Metric where+ showsPrec _ __x __s+ = Prelude.showChar+ '{'+ (Prelude.showString+ (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))+data Metric'Data+ = Metric'Gauge !Gauge |+ Metric'Sum !Sum |+ Metric'Histogram !Histogram |+ Metric'ExponentialHistogram !ExponentialHistogram |+ Metric'Summary !Summary+ deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)+instance Data.ProtoLens.Field.HasField Metric "name" Data.Text.Text where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Metric'name (\ x__ y__ -> x__ {_Metric'name = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField Metric "description" Data.Text.Text where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Metric'description (\ x__ y__ -> x__ {_Metric'description = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField Metric "unit" Data.Text.Text where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Metric'unit (\ x__ y__ -> x__ {_Metric'unit = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField Metric "maybe'data'" (Prelude.Maybe Metric'Data) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Metric'data' (\ x__ y__ -> x__ {_Metric'data' = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField Metric "maybe'gauge" (Prelude.Maybe Gauge) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Metric'data' (\ x__ y__ -> x__ {_Metric'data' = y__}))+ (Lens.Family2.Unchecked.lens+ (\ x__+ -> case x__ of+ (Prelude.Just (Metric'Gauge x__val)) -> Prelude.Just x__val+ _otherwise -> Prelude.Nothing)+ (\ _ y__ -> Prelude.fmap Metric'Gauge y__))+instance Data.ProtoLens.Field.HasField Metric "gauge" Gauge where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Metric'data' (\ x__ y__ -> x__ {_Metric'data' = y__}))+ ((Prelude..)+ (Lens.Family2.Unchecked.lens+ (\ x__+ -> case x__ of+ (Prelude.Just (Metric'Gauge x__val)) -> Prelude.Just x__val+ _otherwise -> Prelude.Nothing)+ (\ _ y__ -> Prelude.fmap Metric'Gauge y__))+ (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))+instance Data.ProtoLens.Field.HasField Metric "maybe'sum" (Prelude.Maybe Sum) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Metric'data' (\ x__ y__ -> x__ {_Metric'data' = y__}))+ (Lens.Family2.Unchecked.lens+ (\ x__+ -> case x__ of+ (Prelude.Just (Metric'Sum x__val)) -> Prelude.Just x__val+ _otherwise -> Prelude.Nothing)+ (\ _ y__ -> Prelude.fmap Metric'Sum y__))+instance Data.ProtoLens.Field.HasField Metric "sum" Sum where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Metric'data' (\ x__ y__ -> x__ {_Metric'data' = y__}))+ ((Prelude..)+ (Lens.Family2.Unchecked.lens+ (\ x__+ -> case x__ of+ (Prelude.Just (Metric'Sum x__val)) -> Prelude.Just x__val+ _otherwise -> Prelude.Nothing)+ (\ _ y__ -> Prelude.fmap Metric'Sum y__))+ (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))+instance Data.ProtoLens.Field.HasField Metric "maybe'histogram" (Prelude.Maybe Histogram) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Metric'data' (\ x__ y__ -> x__ {_Metric'data' = y__}))+ (Lens.Family2.Unchecked.lens+ (\ x__+ -> case x__ of+ (Prelude.Just (Metric'Histogram x__val)) -> Prelude.Just x__val+ _otherwise -> Prelude.Nothing)+ (\ _ y__ -> Prelude.fmap Metric'Histogram y__))+instance Data.ProtoLens.Field.HasField Metric "histogram" Histogram where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Metric'data' (\ x__ y__ -> x__ {_Metric'data' = y__}))+ ((Prelude..)+ (Lens.Family2.Unchecked.lens+ (\ x__+ -> case x__ of+ (Prelude.Just (Metric'Histogram x__val)) -> Prelude.Just x__val+ _otherwise -> Prelude.Nothing)+ (\ _ y__ -> Prelude.fmap Metric'Histogram y__))+ (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))+instance Data.ProtoLens.Field.HasField Metric "maybe'exponentialHistogram" (Prelude.Maybe ExponentialHistogram) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Metric'data' (\ x__ y__ -> x__ {_Metric'data' = y__}))+ (Lens.Family2.Unchecked.lens+ (\ x__+ -> case x__ of+ (Prelude.Just (Metric'ExponentialHistogram x__val))+ -> Prelude.Just x__val+ _otherwise -> Prelude.Nothing)+ (\ _ y__ -> Prelude.fmap Metric'ExponentialHistogram y__))+instance Data.ProtoLens.Field.HasField Metric "exponentialHistogram" ExponentialHistogram where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Metric'data' (\ x__ y__ -> x__ {_Metric'data' = y__}))+ ((Prelude..)+ (Lens.Family2.Unchecked.lens+ (\ x__+ -> case x__ of+ (Prelude.Just (Metric'ExponentialHistogram x__val))+ -> Prelude.Just x__val+ _otherwise -> Prelude.Nothing)+ (\ _ y__ -> Prelude.fmap Metric'ExponentialHistogram y__))+ (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))+instance Data.ProtoLens.Field.HasField Metric "maybe'summary" (Prelude.Maybe Summary) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Metric'data' (\ x__ y__ -> x__ {_Metric'data' = y__}))+ (Lens.Family2.Unchecked.lens+ (\ x__+ -> case x__ of+ (Prelude.Just (Metric'Summary x__val)) -> Prelude.Just x__val+ _otherwise -> Prelude.Nothing)+ (\ _ y__ -> Prelude.fmap Metric'Summary y__))+instance Data.ProtoLens.Field.HasField Metric "summary" Summary where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Metric'data' (\ x__ y__ -> x__ {_Metric'data' = y__}))+ ((Prelude..)+ (Lens.Family2.Unchecked.lens+ (\ x__+ -> case x__ of+ (Prelude.Just (Metric'Summary x__val)) -> Prelude.Just x__val+ _otherwise -> Prelude.Nothing)+ (\ _ y__ -> Prelude.fmap Metric'Summary y__))+ (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))+instance Data.ProtoLens.Message Metric where+ messageName _+ = Data.Text.pack "opentelemetry.proto.metrics.v1.Metric"+ packedMessageDescriptor _+ = "\n\+ \\ACKMetric\DC2\DC2\n\+ \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC2 \n\+ \\vdescription\CAN\STX \SOH(\tR\vdescription\DC2\DC2\n\+ \\EOTunit\CAN\ETX \SOH(\tR\EOTunit\DC2=\n\+ \\ENQgauge\CAN\ENQ \SOH(\v2%.opentelemetry.proto.metrics.v1.GaugeH\NULR\ENQgauge\DC27\n\+ \\ETXsum\CAN\a \SOH(\v2#.opentelemetry.proto.metrics.v1.SumH\NULR\ETXsum\DC2I\n\+ \\thistogram\CAN\t \SOH(\v2).opentelemetry.proto.metrics.v1.HistogramH\NULR\thistogram\DC2k\n\+ \\NAKexponential_histogram\CAN\n\+ \ \SOH(\v24.opentelemetry.proto.metrics.v1.ExponentialHistogramH\NULR\DC4exponentialHistogram\DC2C\n\+ \\asummary\CAN\v \SOH(\v2'.opentelemetry.proto.metrics.v1.SummaryH\NULR\asummaryB\ACK\n\+ \\EOTdataJ\EOT\b\EOT\DLE\ENQJ\EOT\b\ACK\DLE\aJ\EOT\b\b\DLE\t"+ packedFileDescriptor _ = packedFileDescriptor+ fieldsByTag+ = let+ name__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "name"+ (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::+ Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"name")) ::+ Data.ProtoLens.FieldDescriptor Metric+ description__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "description"+ (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::+ Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional+ (Data.ProtoLens.Field.field @"description")) ::+ Data.ProtoLens.FieldDescriptor Metric+ unit__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "unit"+ (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::+ Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"unit")) ::+ Data.ProtoLens.FieldDescriptor Metric+ gauge__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "gauge"+ (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::+ Data.ProtoLens.FieldTypeDescriptor Gauge)+ (Data.ProtoLens.OptionalField+ (Data.ProtoLens.Field.field @"maybe'gauge")) ::+ Data.ProtoLens.FieldDescriptor Metric+ sum__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "sum"+ (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::+ Data.ProtoLens.FieldTypeDescriptor Sum)+ (Data.ProtoLens.OptionalField+ (Data.ProtoLens.Field.field @"maybe'sum")) ::+ Data.ProtoLens.FieldDescriptor Metric+ histogram__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "histogram"+ (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::+ Data.ProtoLens.FieldTypeDescriptor Histogram)+ (Data.ProtoLens.OptionalField+ (Data.ProtoLens.Field.field @"maybe'histogram")) ::+ Data.ProtoLens.FieldDescriptor Metric+ exponentialHistogram__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "exponential_histogram"+ (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::+ Data.ProtoLens.FieldTypeDescriptor ExponentialHistogram)+ (Data.ProtoLens.OptionalField+ (Data.ProtoLens.Field.field @"maybe'exponentialHistogram")) ::+ Data.ProtoLens.FieldDescriptor Metric+ summary__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "summary"+ (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::+ Data.ProtoLens.FieldTypeDescriptor Summary)+ (Data.ProtoLens.OptionalField+ (Data.ProtoLens.Field.field @"maybe'summary")) ::+ Data.ProtoLens.FieldDescriptor Metric+ in+ Data.Map.fromList+ [(Data.ProtoLens.Tag 1, name__field_descriptor),+ (Data.ProtoLens.Tag 2, description__field_descriptor),+ (Data.ProtoLens.Tag 3, unit__field_descriptor),+ (Data.ProtoLens.Tag 5, gauge__field_descriptor),+ (Data.ProtoLens.Tag 7, sum__field_descriptor),+ (Data.ProtoLens.Tag 9, histogram__field_descriptor),+ (Data.ProtoLens.Tag 10, exponentialHistogram__field_descriptor),+ (Data.ProtoLens.Tag 11, summary__field_descriptor)]+ unknownFields+ = Lens.Family2.Unchecked.lens+ _Metric'_unknownFields+ (\ x__ y__ -> x__ {_Metric'_unknownFields = y__})+ defMessage+ = Metric'_constructor+ {_Metric'name = Data.ProtoLens.fieldDefault,+ _Metric'description = Data.ProtoLens.fieldDefault,+ _Metric'unit = Data.ProtoLens.fieldDefault,+ _Metric'data' = Prelude.Nothing, _Metric'_unknownFields = []}+ parseMessage+ = let+ loop :: Metric -> Data.ProtoLens.Encoding.Bytes.Parser Metric+ loop x+ = do end <- Data.ProtoLens.Encoding.Bytes.atEnd+ if end then+ do (let missing = []+ in+ if Prelude.null missing then+ Prelude.return ()+ else+ Prelude.fail+ ((Prelude.++)+ "Missing required fields: "+ (Prelude.show (missing :: [Prelude.String]))))+ Prelude.return+ (Lens.Family2.over+ Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)+ else+ do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt+ case tag of+ 10+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.getText+ (Prelude.fromIntegral len))+ "name"+ loop (Lens.Family2.set (Data.ProtoLens.Field.field @"name") y x)+ 18+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.getText+ (Prelude.fromIntegral len))+ "description"+ loop+ (Lens.Family2.set (Data.ProtoLens.Field.field @"description") y x)+ 26+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.getText+ (Prelude.fromIntegral len))+ "unit"+ loop (Lens.Family2.set (Data.ProtoLens.Field.field @"unit") y x)+ 42+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.isolate+ (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)+ "gauge"+ loop (Lens.Family2.set (Data.ProtoLens.Field.field @"gauge") y x)+ 58+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.isolate+ (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)+ "sum"+ loop (Lens.Family2.set (Data.ProtoLens.Field.field @"sum") y x)+ 74+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.isolate+ (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)+ "histogram"+ loop+ (Lens.Family2.set (Data.ProtoLens.Field.field @"histogram") y x)+ 82+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.isolate+ (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)+ "exponential_histogram"+ loop+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"exponentialHistogram") y x)+ 90+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.isolate+ (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)+ "summary"+ loop (Lens.Family2.set (Data.ProtoLens.Field.field @"summary") y x)+ wire+ -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire+ wire+ loop+ (Lens.Family2.over+ Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)+ in+ (Data.ProtoLens.Encoding.Bytes.<?>)+ (do loop Data.ProtoLens.defMessage) "Metric"+ buildMessage+ = \ _x+ -> (Data.Monoid.<>)+ (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"name") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 10)+ ((Prelude..)+ (\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ Data.Text.Encoding.encodeUtf8 _v))+ ((Data.Monoid.<>)+ (let+ _v+ = Lens.Family2.view (Data.ProtoLens.Field.field @"description") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 18)+ ((Prelude..)+ (\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ Data.Text.Encoding.encodeUtf8 _v))+ ((Data.Monoid.<>)+ (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"unit") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 26)+ ((Prelude..)+ (\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ Data.Text.Encoding.encodeUtf8 _v))+ ((Data.Monoid.<>)+ (case+ Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'data'") _x+ of+ Prelude.Nothing -> Data.Monoid.mempty+ (Prelude.Just (Metric'Gauge v))+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 42)+ ((Prelude..)+ (\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ Data.ProtoLens.encodeMessage v)+ (Prelude.Just (Metric'Sum v))+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 58)+ ((Prelude..)+ (\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ Data.ProtoLens.encodeMessage v)+ (Prelude.Just (Metric'Histogram v))+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 74)+ ((Prelude..)+ (\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ Data.ProtoLens.encodeMessage v)+ (Prelude.Just (Metric'ExponentialHistogram v))+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 82)+ ((Prelude..)+ (\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ Data.ProtoLens.encodeMessage v)+ (Prelude.Just (Metric'Summary v))+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 90)+ ((Prelude..)+ (\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ Data.ProtoLens.encodeMessage v))+ (Data.ProtoLens.Encoding.Wire.buildFieldSet+ (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))+instance Control.DeepSeq.NFData Metric where+ rnf+ = \ x__+ -> Control.DeepSeq.deepseq+ (_Metric'_unknownFields x__)+ (Control.DeepSeq.deepseq+ (_Metric'name x__)+ (Control.DeepSeq.deepseq+ (_Metric'description x__)+ (Control.DeepSeq.deepseq+ (_Metric'unit x__)+ (Control.DeepSeq.deepseq (_Metric'data' x__) ()))))+instance Control.DeepSeq.NFData Metric'Data where+ rnf (Metric'Gauge x__) = Control.DeepSeq.rnf x__+ rnf (Metric'Sum x__) = Control.DeepSeq.rnf x__+ rnf (Metric'Histogram x__) = Control.DeepSeq.rnf x__+ rnf (Metric'ExponentialHistogram x__) = Control.DeepSeq.rnf x__+ rnf (Metric'Summary x__) = Control.DeepSeq.rnf x__+_Metric'Gauge :: Data.ProtoLens.Prism.Prism' Metric'Data Gauge+_Metric'Gauge+ = Data.ProtoLens.Prism.prism'+ Metric'Gauge+ (\ p__+ -> case p__ of+ (Metric'Gauge p__val) -> Prelude.Just p__val+ _otherwise -> Prelude.Nothing)+_Metric'Sum :: Data.ProtoLens.Prism.Prism' Metric'Data Sum+_Metric'Sum+ = Data.ProtoLens.Prism.prism'+ Metric'Sum+ (\ p__+ -> case p__ of+ (Metric'Sum p__val) -> Prelude.Just p__val+ _otherwise -> Prelude.Nothing)+_Metric'Histogram ::+ Data.ProtoLens.Prism.Prism' Metric'Data Histogram+_Metric'Histogram+ = Data.ProtoLens.Prism.prism'+ Metric'Histogram+ (\ p__+ -> case p__ of+ (Metric'Histogram p__val) -> Prelude.Just p__val+ _otherwise -> Prelude.Nothing)+_Metric'ExponentialHistogram ::+ Data.ProtoLens.Prism.Prism' Metric'Data ExponentialHistogram+_Metric'ExponentialHistogram+ = Data.ProtoLens.Prism.prism'+ Metric'ExponentialHistogram+ (\ p__+ -> case p__ of+ (Metric'ExponentialHistogram p__val) -> Prelude.Just p__val+ _otherwise -> Prelude.Nothing)+_Metric'Summary :: Data.ProtoLens.Prism.Prism' Metric'Data Summary+_Metric'Summary+ = Data.ProtoLens.Prism.prism'+ Metric'Summary+ (\ p__+ -> case p__ of+ (Metric'Summary p__val) -> Prelude.Just p__val+ _otherwise -> Prelude.Nothing)+{- | Fields :+ + * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.resourceMetrics' @:: Lens' MetricsData [ResourceMetrics]@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.vec'resourceMetrics' @:: Lens' MetricsData (Data.Vector.Vector ResourceMetrics)@ -}+data MetricsData+ = MetricsData'_constructor {_MetricsData'resourceMetrics :: !(Data.Vector.Vector ResourceMetrics),+ _MetricsData'_unknownFields :: !Data.ProtoLens.FieldSet}+ deriving stock (Prelude.Eq, Prelude.Ord)+instance Prelude.Show MetricsData where+ showsPrec _ __x __s+ = Prelude.showChar+ '{'+ (Prelude.showString+ (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))+instance Data.ProtoLens.Field.HasField MetricsData "resourceMetrics" [ResourceMetrics] where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _MetricsData'resourceMetrics+ (\ x__ y__ -> x__ {_MetricsData'resourceMetrics = y__}))+ (Lens.Family2.Unchecked.lens+ Data.Vector.Generic.toList+ (\ _ y__ -> Data.Vector.Generic.fromList y__))+instance Data.ProtoLens.Field.HasField MetricsData "vec'resourceMetrics" (Data.Vector.Vector ResourceMetrics) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _MetricsData'resourceMetrics+ (\ x__ y__ -> x__ {_MetricsData'resourceMetrics = y__}))+ Prelude.id+instance Data.ProtoLens.Message MetricsData where+ messageName _+ = Data.Text.pack "opentelemetry.proto.metrics.v1.MetricsData"+ packedMessageDescriptor _+ = "\n\+ \\vMetricsData\DC2Z\n\+ \\DLEresource_metrics\CAN\SOH \ETX(\v2/.opentelemetry.proto.metrics.v1.ResourceMetricsR\SIresourceMetrics"+ packedFileDescriptor _ = packedFileDescriptor+ fieldsByTag+ = let+ resourceMetrics__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "resource_metrics"+ (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::+ Data.ProtoLens.FieldTypeDescriptor ResourceMetrics)+ (Data.ProtoLens.RepeatedField+ Data.ProtoLens.Unpacked+ (Data.ProtoLens.Field.field @"resourceMetrics")) ::+ Data.ProtoLens.FieldDescriptor MetricsData+ in+ Data.Map.fromList+ [(Data.ProtoLens.Tag 1, resourceMetrics__field_descriptor)]+ unknownFields+ = Lens.Family2.Unchecked.lens+ _MetricsData'_unknownFields+ (\ x__ y__ -> x__ {_MetricsData'_unknownFields = y__})+ defMessage+ = MetricsData'_constructor+ {_MetricsData'resourceMetrics = Data.Vector.Generic.empty,+ _MetricsData'_unknownFields = []}+ parseMessage+ = let+ loop ::+ MetricsData+ -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld ResourceMetrics+ -> Data.ProtoLens.Encoding.Bytes.Parser MetricsData+ loop x mutable'resourceMetrics+ = do end <- Data.ProtoLens.Encoding.Bytes.atEnd+ if end then+ do frozen'resourceMetrics <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.unsafeFreeze+ mutable'resourceMetrics)+ (let missing = []+ in+ if Prelude.null missing then+ Prelude.return ()+ else+ Prelude.fail+ ((Prelude.++)+ "Missing required fields: "+ (Prelude.show (missing :: [Prelude.String]))))+ Prelude.return+ (Lens.Family2.over+ Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"vec'resourceMetrics")+ frozen'resourceMetrics x))+ else+ do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt+ case tag of+ 10+ -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.isolate+ (Prelude.fromIntegral len)+ Data.ProtoLens.parseMessage)+ "resource_metrics"+ v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.append+ mutable'resourceMetrics y)+ loop x v+ wire+ -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire+ wire+ loop+ (Lens.Family2.over+ Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)+ mutable'resourceMetrics+ in+ (Data.ProtoLens.Encoding.Bytes.<?>)+ (do mutable'resourceMetrics <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ Data.ProtoLens.Encoding.Growing.new+ loop Data.ProtoLens.defMessage mutable'resourceMetrics)+ "MetricsData"+ buildMessage+ = \ _x+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.foldMapBuilder+ (\ _v+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 10)+ ((Prelude..)+ (\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ Data.ProtoLens.encodeMessage _v))+ (Lens.Family2.view+ (Data.ProtoLens.Field.field @"vec'resourceMetrics") _x))+ (Data.ProtoLens.Encoding.Wire.buildFieldSet+ (Lens.Family2.view Data.ProtoLens.unknownFields _x))+instance Control.DeepSeq.NFData MetricsData where+ rnf+ = \ x__+ -> Control.DeepSeq.deepseq+ (_MetricsData'_unknownFields x__)+ (Control.DeepSeq.deepseq (_MetricsData'resourceMetrics x__) ())+{- | Fields :+ + * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.attributes' @:: Lens' NumberDataPoint [Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue]@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.vec'attributes' @:: Lens' NumberDataPoint (Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue)@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.startTimeUnixNano' @:: Lens' NumberDataPoint Data.Word.Word64@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.timeUnixNano' @:: Lens' NumberDataPoint Data.Word.Word64@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.exemplars' @:: Lens' NumberDataPoint [Exemplar]@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.vec'exemplars' @:: Lens' NumberDataPoint (Data.Vector.Vector Exemplar)@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.flags' @:: Lens' NumberDataPoint Data.Word.Word32@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.maybe'value' @:: Lens' NumberDataPoint (Prelude.Maybe NumberDataPoint'Value)@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.maybe'asDouble' @:: Lens' NumberDataPoint (Prelude.Maybe Prelude.Double)@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.asDouble' @:: Lens' NumberDataPoint Prelude.Double@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.maybe'asInt' @:: Lens' NumberDataPoint (Prelude.Maybe Data.Int.Int64)@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.asInt' @:: Lens' NumberDataPoint Data.Int.Int64@ -}+data NumberDataPoint+ = NumberDataPoint'_constructor {_NumberDataPoint'attributes :: !(Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue),+ _NumberDataPoint'startTimeUnixNano :: !Data.Word.Word64,+ _NumberDataPoint'timeUnixNano :: !Data.Word.Word64,+ _NumberDataPoint'exemplars :: !(Data.Vector.Vector Exemplar),+ _NumberDataPoint'flags :: !Data.Word.Word32,+ _NumberDataPoint'value :: !(Prelude.Maybe NumberDataPoint'Value),+ _NumberDataPoint'_unknownFields :: !Data.ProtoLens.FieldSet}+ deriving stock (Prelude.Eq, Prelude.Ord)+instance Prelude.Show NumberDataPoint where+ showsPrec _ __x __s+ = Prelude.showChar+ '{'+ (Prelude.showString+ (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))+data NumberDataPoint'Value+ = NumberDataPoint'AsDouble !Prelude.Double |+ NumberDataPoint'AsInt !Data.Int.Int64+ deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)+instance Data.ProtoLens.Field.HasField NumberDataPoint "attributes" [Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue] where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _NumberDataPoint'attributes+ (\ x__ y__ -> x__ {_NumberDataPoint'attributes = y__}))+ (Lens.Family2.Unchecked.lens+ Data.Vector.Generic.toList+ (\ _ y__ -> Data.Vector.Generic.fromList y__))+instance Data.ProtoLens.Field.HasField NumberDataPoint "vec'attributes" (Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _NumberDataPoint'attributes+ (\ x__ y__ -> x__ {_NumberDataPoint'attributes = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField NumberDataPoint "startTimeUnixNano" Data.Word.Word64 where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _NumberDataPoint'startTimeUnixNano+ (\ x__ y__ -> x__ {_NumberDataPoint'startTimeUnixNano = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField NumberDataPoint "timeUnixNano" Data.Word.Word64 where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _NumberDataPoint'timeUnixNano+ (\ x__ y__ -> x__ {_NumberDataPoint'timeUnixNano = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField NumberDataPoint "exemplars" [Exemplar] where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _NumberDataPoint'exemplars+ (\ x__ y__ -> x__ {_NumberDataPoint'exemplars = y__}))+ (Lens.Family2.Unchecked.lens+ Data.Vector.Generic.toList+ (\ _ y__ -> Data.Vector.Generic.fromList y__))+instance Data.ProtoLens.Field.HasField NumberDataPoint "vec'exemplars" (Data.Vector.Vector Exemplar) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _NumberDataPoint'exemplars+ (\ x__ y__ -> x__ {_NumberDataPoint'exemplars = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField NumberDataPoint "flags" Data.Word.Word32 where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _NumberDataPoint'flags+ (\ x__ y__ -> x__ {_NumberDataPoint'flags = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField NumberDataPoint "maybe'value" (Prelude.Maybe NumberDataPoint'Value) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _NumberDataPoint'value+ (\ x__ y__ -> x__ {_NumberDataPoint'value = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField NumberDataPoint "maybe'asDouble" (Prelude.Maybe Prelude.Double) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _NumberDataPoint'value+ (\ x__ y__ -> x__ {_NumberDataPoint'value = y__}))+ (Lens.Family2.Unchecked.lens+ (\ x__+ -> case x__ of+ (Prelude.Just (NumberDataPoint'AsDouble x__val))+ -> Prelude.Just x__val+ _otherwise -> Prelude.Nothing)+ (\ _ y__ -> Prelude.fmap NumberDataPoint'AsDouble y__))+instance Data.ProtoLens.Field.HasField NumberDataPoint "asDouble" Prelude.Double where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _NumberDataPoint'value+ (\ x__ y__ -> x__ {_NumberDataPoint'value = y__}))+ ((Prelude..)+ (Lens.Family2.Unchecked.lens+ (\ x__+ -> case x__ of+ (Prelude.Just (NumberDataPoint'AsDouble x__val))+ -> Prelude.Just x__val+ _otherwise -> Prelude.Nothing)+ (\ _ y__ -> Prelude.fmap NumberDataPoint'AsDouble y__))+ (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault))+instance Data.ProtoLens.Field.HasField NumberDataPoint "maybe'asInt" (Prelude.Maybe Data.Int.Int64) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _NumberDataPoint'value+ (\ x__ y__ -> x__ {_NumberDataPoint'value = y__}))+ (Lens.Family2.Unchecked.lens+ (\ x__+ -> case x__ of+ (Prelude.Just (NumberDataPoint'AsInt x__val))+ -> Prelude.Just x__val+ _otherwise -> Prelude.Nothing)+ (\ _ y__ -> Prelude.fmap NumberDataPoint'AsInt y__))+instance Data.ProtoLens.Field.HasField NumberDataPoint "asInt" Data.Int.Int64 where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _NumberDataPoint'value+ (\ x__ y__ -> x__ {_NumberDataPoint'value = y__}))+ ((Prelude..)+ (Lens.Family2.Unchecked.lens+ (\ x__+ -> case x__ of+ (Prelude.Just (NumberDataPoint'AsInt x__val))+ -> Prelude.Just x__val+ _otherwise -> Prelude.Nothing)+ (\ _ y__ -> Prelude.fmap NumberDataPoint'AsInt y__))+ (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault))+instance Data.ProtoLens.Message NumberDataPoint where+ messageName _+ = Data.Text.pack "opentelemetry.proto.metrics.v1.NumberDataPoint"+ packedMessageDescriptor _+ = "\n\+ \\SINumberDataPoint\DC2G\n\+ \\n\+ \attributes\CAN\a \ETX(\v2'.opentelemetry.proto.common.v1.KeyValueR\n\+ \attributes\DC2/\n\+ \\DC4start_time_unix_nano\CAN\STX \SOH(\ACKR\DC1startTimeUnixNano\DC2$\n\+ \\SOtime_unix_nano\CAN\ETX \SOH(\ACKR\ftimeUnixNano\DC2\GS\n\+ \\tas_double\CAN\EOT \SOH(\SOHH\NULR\basDouble\DC2\ETB\n\+ \\ACKas_int\CAN\ACK \SOH(\DLEH\NULR\ENQasInt\DC2F\n\+ \\texemplars\CAN\ENQ \ETX(\v2(.opentelemetry.proto.metrics.v1.ExemplarR\texemplars\DC2\DC4\n\+ \\ENQflags\CAN\b \SOH(\rR\ENQflagsB\a\n\+ \\ENQvalueJ\EOT\b\SOH\DLE\STX"+ packedFileDescriptor _ = packedFileDescriptor+ fieldsByTag+ = let+ attributes__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "attributes"+ (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::+ Data.ProtoLens.FieldTypeDescriptor Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue)+ (Data.ProtoLens.RepeatedField+ Data.ProtoLens.Unpacked+ (Data.ProtoLens.Field.field @"attributes")) ::+ Data.ProtoLens.FieldDescriptor NumberDataPoint+ startTimeUnixNano__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "start_time_unix_nano"+ (Data.ProtoLens.ScalarField Data.ProtoLens.Fixed64Field ::+ Data.ProtoLens.FieldTypeDescriptor Data.Word.Word64)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional+ (Data.ProtoLens.Field.field @"startTimeUnixNano")) ::+ Data.ProtoLens.FieldDescriptor NumberDataPoint+ timeUnixNano__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "time_unix_nano"+ (Data.ProtoLens.ScalarField Data.ProtoLens.Fixed64Field ::+ Data.ProtoLens.FieldTypeDescriptor Data.Word.Word64)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional+ (Data.ProtoLens.Field.field @"timeUnixNano")) ::+ Data.ProtoLens.FieldDescriptor NumberDataPoint+ exemplars__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "exemplars"+ (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::+ Data.ProtoLens.FieldTypeDescriptor Exemplar)+ (Data.ProtoLens.RepeatedField+ Data.ProtoLens.Unpacked+ (Data.ProtoLens.Field.field @"exemplars")) ::+ Data.ProtoLens.FieldDescriptor NumberDataPoint+ flags__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "flags"+ (Data.ProtoLens.ScalarField Data.ProtoLens.UInt32Field ::+ Data.ProtoLens.FieldTypeDescriptor Data.Word.Word32)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"flags")) ::+ Data.ProtoLens.FieldDescriptor NumberDataPoint+ asDouble__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "as_double"+ (Data.ProtoLens.ScalarField Data.ProtoLens.DoubleField ::+ Data.ProtoLens.FieldTypeDescriptor Prelude.Double)+ (Data.ProtoLens.OptionalField+ (Data.ProtoLens.Field.field @"maybe'asDouble")) ::+ Data.ProtoLens.FieldDescriptor NumberDataPoint+ asInt__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "as_int"+ (Data.ProtoLens.ScalarField Data.ProtoLens.SFixed64Field ::+ Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)+ (Data.ProtoLens.OptionalField+ (Data.ProtoLens.Field.field @"maybe'asInt")) ::+ Data.ProtoLens.FieldDescriptor NumberDataPoint+ in+ Data.Map.fromList+ [(Data.ProtoLens.Tag 7, attributes__field_descriptor),+ (Data.ProtoLens.Tag 2, startTimeUnixNano__field_descriptor),+ (Data.ProtoLens.Tag 3, timeUnixNano__field_descriptor),+ (Data.ProtoLens.Tag 5, exemplars__field_descriptor),+ (Data.ProtoLens.Tag 8, flags__field_descriptor),+ (Data.ProtoLens.Tag 4, asDouble__field_descriptor),+ (Data.ProtoLens.Tag 6, asInt__field_descriptor)]+ unknownFields+ = Lens.Family2.Unchecked.lens+ _NumberDataPoint'_unknownFields+ (\ x__ y__ -> x__ {_NumberDataPoint'_unknownFields = y__})+ defMessage+ = NumberDataPoint'_constructor+ {_NumberDataPoint'attributes = Data.Vector.Generic.empty,+ _NumberDataPoint'startTimeUnixNano = Data.ProtoLens.fieldDefault,+ _NumberDataPoint'timeUnixNano = Data.ProtoLens.fieldDefault,+ _NumberDataPoint'exemplars = Data.Vector.Generic.empty,+ _NumberDataPoint'flags = Data.ProtoLens.fieldDefault,+ _NumberDataPoint'value = Prelude.Nothing,+ _NumberDataPoint'_unknownFields = []}+ parseMessage+ = let+ loop ::+ NumberDataPoint+ -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue+ -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Exemplar+ -> Data.ProtoLens.Encoding.Bytes.Parser NumberDataPoint+ loop x mutable'attributes mutable'exemplars+ = do end <- Data.ProtoLens.Encoding.Bytes.atEnd+ if end then+ do frozen'attributes <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.unsafeFreeze+ mutable'attributes)+ frozen'exemplars <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.unsafeFreeze+ mutable'exemplars)+ (let missing = []+ in+ if Prelude.null missing then+ Prelude.return ()+ else+ Prelude.fail+ ((Prelude.++)+ "Missing required fields: "+ (Prelude.show (missing :: [Prelude.String]))))+ Prelude.return+ (Lens.Family2.over+ Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"vec'attributes") frozen'attributes+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"vec'exemplars") frozen'exemplars x)))+ else+ do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt+ case tag of+ 58+ -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.isolate+ (Prelude.fromIntegral len)+ Data.ProtoLens.parseMessage)+ "attributes"+ v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.append mutable'attributes y)+ loop x v mutable'exemplars+ 17+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ Data.ProtoLens.Encoding.Bytes.getFixed64+ "start_time_unix_nano"+ loop+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"startTimeUnixNano") y x)+ mutable'attributes mutable'exemplars+ 25+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ Data.ProtoLens.Encoding.Bytes.getFixed64 "time_unix_nano"+ loop+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"timeUnixNano") y x)+ mutable'attributes mutable'exemplars+ 42+ -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.isolate+ (Prelude.fromIntegral len)+ Data.ProtoLens.parseMessage)+ "exemplars"+ v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.append mutable'exemplars y)+ loop x mutable'attributes v+ 64+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (Prelude.fmap+ Prelude.fromIntegral+ Data.ProtoLens.Encoding.Bytes.getVarInt)+ "flags"+ loop+ (Lens.Family2.set (Data.ProtoLens.Field.field @"flags") y x)+ mutable'attributes mutable'exemplars+ 33+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (Prelude.fmap+ Data.ProtoLens.Encoding.Bytes.wordToDouble+ Data.ProtoLens.Encoding.Bytes.getFixed64)+ "as_double"+ loop+ (Lens.Family2.set (Data.ProtoLens.Field.field @"asDouble") y x)+ mutable'attributes mutable'exemplars+ 49+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (Prelude.fmap+ Prelude.fromIntegral+ Data.ProtoLens.Encoding.Bytes.getFixed64)+ "as_int"+ loop+ (Lens.Family2.set (Data.ProtoLens.Field.field @"asInt") y x)+ mutable'attributes mutable'exemplars+ wire+ -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire+ wire+ loop+ (Lens.Family2.over+ Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)+ mutable'attributes mutable'exemplars+ in+ (Data.ProtoLens.Encoding.Bytes.<?>)+ (do mutable'attributes <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ Data.ProtoLens.Encoding.Growing.new+ mutable'exemplars <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ Data.ProtoLens.Encoding.Growing.new+ loop+ Data.ProtoLens.defMessage mutable'attributes mutable'exemplars)+ "NumberDataPoint"+ buildMessage+ = \ _x+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.foldMapBuilder+ (\ _v+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 58)+ ((Prelude..)+ (\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ Data.ProtoLens.encodeMessage _v))+ (Lens.Family2.view+ (Data.ProtoLens.Field.field @"vec'attributes") _x))+ ((Data.Monoid.<>)+ (let+ _v+ = Lens.Family2.view+ (Data.ProtoLens.Field.field @"startTimeUnixNano") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 17)+ (Data.ProtoLens.Encoding.Bytes.putFixed64 _v))+ ((Data.Monoid.<>)+ (let+ _v+ = Lens.Family2.view (Data.ProtoLens.Field.field @"timeUnixNano") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 25)+ (Data.ProtoLens.Encoding.Bytes.putFixed64 _v))+ ((Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.foldMapBuilder+ (\ _v+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 42)+ ((Prelude..)+ (\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ Data.ProtoLens.encodeMessage _v))+ (Lens.Family2.view+ (Data.ProtoLens.Field.field @"vec'exemplars") _x))+ ((Data.Monoid.<>)+ (let+ _v = Lens.Family2.view (Data.ProtoLens.Field.field @"flags") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 64)+ ((Prelude..)+ Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral+ _v))+ ((Data.Monoid.<>)+ (case+ Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'value") _x+ of+ Prelude.Nothing -> Data.Monoid.mempty+ (Prelude.Just (NumberDataPoint'AsDouble v))+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 33)+ ((Prelude..)+ Data.ProtoLens.Encoding.Bytes.putFixed64+ Data.ProtoLens.Encoding.Bytes.doubleToWord v)+ (Prelude.Just (NumberDataPoint'AsInt v))+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 49)+ ((Prelude..)+ Data.ProtoLens.Encoding.Bytes.putFixed64+ Prelude.fromIntegral v))+ (Data.ProtoLens.Encoding.Wire.buildFieldSet+ (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))))+instance Control.DeepSeq.NFData NumberDataPoint where+ rnf+ = \ x__+ -> Control.DeepSeq.deepseq+ (_NumberDataPoint'_unknownFields x__)+ (Control.DeepSeq.deepseq+ (_NumberDataPoint'attributes x__)+ (Control.DeepSeq.deepseq+ (_NumberDataPoint'startTimeUnixNano x__)+ (Control.DeepSeq.deepseq+ (_NumberDataPoint'timeUnixNano x__)+ (Control.DeepSeq.deepseq+ (_NumberDataPoint'exemplars x__)+ (Control.DeepSeq.deepseq+ (_NumberDataPoint'flags x__)+ (Control.DeepSeq.deepseq (_NumberDataPoint'value x__) ()))))))+instance Control.DeepSeq.NFData NumberDataPoint'Value where+ rnf (NumberDataPoint'AsDouble x__) = Control.DeepSeq.rnf x__+ rnf (NumberDataPoint'AsInt x__) = Control.DeepSeq.rnf x__+_NumberDataPoint'AsDouble ::+ Data.ProtoLens.Prism.Prism' NumberDataPoint'Value Prelude.Double+_NumberDataPoint'AsDouble+ = Data.ProtoLens.Prism.prism'+ NumberDataPoint'AsDouble+ (\ p__+ -> case p__ of+ (NumberDataPoint'AsDouble p__val) -> Prelude.Just p__val+ _otherwise -> Prelude.Nothing)+_NumberDataPoint'AsInt ::+ Data.ProtoLens.Prism.Prism' NumberDataPoint'Value Data.Int.Int64+_NumberDataPoint'AsInt+ = Data.ProtoLens.Prism.prism'+ NumberDataPoint'AsInt+ (\ p__+ -> case p__ of+ (NumberDataPoint'AsInt p__val) -> Prelude.Just p__val+ _otherwise -> Prelude.Nothing)+{- | Fields :+ + * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.resource' @:: Lens' ResourceMetrics Proto.Opentelemetry.Proto.Resource.V1.Resource.Resource@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.maybe'resource' @:: Lens' ResourceMetrics (Prelude.Maybe Proto.Opentelemetry.Proto.Resource.V1.Resource.Resource)@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.scopeMetrics' @:: Lens' ResourceMetrics [ScopeMetrics]@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.vec'scopeMetrics' @:: Lens' ResourceMetrics (Data.Vector.Vector ScopeMetrics)@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.schemaUrl' @:: Lens' ResourceMetrics Data.Text.Text@ -}+data ResourceMetrics+ = ResourceMetrics'_constructor {_ResourceMetrics'resource :: !(Prelude.Maybe Proto.Opentelemetry.Proto.Resource.V1.Resource.Resource),+ _ResourceMetrics'scopeMetrics :: !(Data.Vector.Vector ScopeMetrics),+ _ResourceMetrics'schemaUrl :: !Data.Text.Text,+ _ResourceMetrics'_unknownFields :: !Data.ProtoLens.FieldSet}+ deriving stock (Prelude.Eq, Prelude.Ord)+instance Prelude.Show ResourceMetrics where+ showsPrec _ __x __s+ = Prelude.showChar+ '{'+ (Prelude.showString+ (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))+instance Data.ProtoLens.Field.HasField ResourceMetrics "resource" Proto.Opentelemetry.Proto.Resource.V1.Resource.Resource where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ResourceMetrics'resource+ (\ x__ y__ -> x__ {_ResourceMetrics'resource = y__}))+ (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)+instance Data.ProtoLens.Field.HasField ResourceMetrics "maybe'resource" (Prelude.Maybe Proto.Opentelemetry.Proto.Resource.V1.Resource.Resource) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ResourceMetrics'resource+ (\ x__ y__ -> x__ {_ResourceMetrics'resource = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField ResourceMetrics "scopeMetrics" [ScopeMetrics] where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ResourceMetrics'scopeMetrics+ (\ x__ y__ -> x__ {_ResourceMetrics'scopeMetrics = y__}))+ (Lens.Family2.Unchecked.lens+ Data.Vector.Generic.toList+ (\ _ y__ -> Data.Vector.Generic.fromList y__))+instance Data.ProtoLens.Field.HasField ResourceMetrics "vec'scopeMetrics" (Data.Vector.Vector ScopeMetrics) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ResourceMetrics'scopeMetrics+ (\ x__ y__ -> x__ {_ResourceMetrics'scopeMetrics = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField ResourceMetrics "schemaUrl" Data.Text.Text where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ResourceMetrics'schemaUrl+ (\ x__ y__ -> x__ {_ResourceMetrics'schemaUrl = y__}))+ Prelude.id+instance Data.ProtoLens.Message ResourceMetrics where+ messageName _+ = Data.Text.pack "opentelemetry.proto.metrics.v1.ResourceMetrics"+ packedMessageDescriptor _+ = "\n\+ \\SIResourceMetrics\DC2E\n\+ \\bresource\CAN\SOH \SOH(\v2).opentelemetry.proto.resource.v1.ResourceR\bresource\DC2Q\n\+ \\rscope_metrics\CAN\STX \ETX(\v2,.opentelemetry.proto.metrics.v1.ScopeMetricsR\fscopeMetrics\DC2\GS\n\+ \\n\+ \schema_url\CAN\ETX \SOH(\tR\tschemaUrlJ\ACK\b\232\a\DLE\233\a"+ packedFileDescriptor _ = packedFileDescriptor+ fieldsByTag+ = let+ resource__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "resource"+ (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::+ Data.ProtoLens.FieldTypeDescriptor Proto.Opentelemetry.Proto.Resource.V1.Resource.Resource)+ (Data.ProtoLens.OptionalField+ (Data.ProtoLens.Field.field @"maybe'resource")) ::+ Data.ProtoLens.FieldDescriptor ResourceMetrics+ scopeMetrics__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "scope_metrics"+ (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::+ Data.ProtoLens.FieldTypeDescriptor ScopeMetrics)+ (Data.ProtoLens.RepeatedField+ Data.ProtoLens.Unpacked+ (Data.ProtoLens.Field.field @"scopeMetrics")) ::+ Data.ProtoLens.FieldDescriptor ResourceMetrics+ schemaUrl__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "schema_url"+ (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::+ Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional+ (Data.ProtoLens.Field.field @"schemaUrl")) ::+ Data.ProtoLens.FieldDescriptor ResourceMetrics+ in+ Data.Map.fromList+ [(Data.ProtoLens.Tag 1, resource__field_descriptor),+ (Data.ProtoLens.Tag 2, scopeMetrics__field_descriptor),+ (Data.ProtoLens.Tag 3, schemaUrl__field_descriptor)]+ unknownFields+ = Lens.Family2.Unchecked.lens+ _ResourceMetrics'_unknownFields+ (\ x__ y__ -> x__ {_ResourceMetrics'_unknownFields = y__})+ defMessage+ = ResourceMetrics'_constructor+ {_ResourceMetrics'resource = Prelude.Nothing,+ _ResourceMetrics'scopeMetrics = Data.Vector.Generic.empty,+ _ResourceMetrics'schemaUrl = Data.ProtoLens.fieldDefault,+ _ResourceMetrics'_unknownFields = []}+ parseMessage+ = let+ loop ::+ ResourceMetrics+ -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld ScopeMetrics+ -> Data.ProtoLens.Encoding.Bytes.Parser ResourceMetrics+ loop x mutable'scopeMetrics+ = do end <- Data.ProtoLens.Encoding.Bytes.atEnd+ if end then+ do frozen'scopeMetrics <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.unsafeFreeze+ mutable'scopeMetrics)+ (let missing = []+ in+ if Prelude.null missing then+ Prelude.return ()+ else+ Prelude.fail+ ((Prelude.++)+ "Missing required fields: "+ (Prelude.show (missing :: [Prelude.String]))))+ Prelude.return+ (Lens.Family2.over+ Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"vec'scopeMetrics")+ frozen'scopeMetrics x))+ else+ do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt+ case tag of+ 10+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.isolate+ (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)+ "resource"+ loop+ (Lens.Family2.set (Data.ProtoLens.Field.field @"resource") y x)+ mutable'scopeMetrics+ 18+ -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.isolate+ (Prelude.fromIntegral len)+ Data.ProtoLens.parseMessage)+ "scope_metrics"+ v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.append+ mutable'scopeMetrics y)+ loop x v+ 26+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.getText+ (Prelude.fromIntegral len))+ "schema_url"+ loop+ (Lens.Family2.set (Data.ProtoLens.Field.field @"schemaUrl") y x)+ mutable'scopeMetrics+ wire+ -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire+ wire+ loop+ (Lens.Family2.over+ Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)+ mutable'scopeMetrics+ in+ (Data.ProtoLens.Encoding.Bytes.<?>)+ (do mutable'scopeMetrics <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ Data.ProtoLens.Encoding.Growing.new+ loop Data.ProtoLens.defMessage mutable'scopeMetrics)+ "ResourceMetrics"+ buildMessage+ = \ _x+ -> (Data.Monoid.<>)+ (case+ Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'resource") _x+ of+ Prelude.Nothing -> Data.Monoid.mempty+ (Prelude.Just _v)+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 10)+ ((Prelude..)+ (\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ Data.ProtoLens.encodeMessage _v))+ ((Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.foldMapBuilder+ (\ _v+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 18)+ ((Prelude..)+ (\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ Data.ProtoLens.encodeMessage _v))+ (Lens.Family2.view+ (Data.ProtoLens.Field.field @"vec'scopeMetrics") _x))+ ((Data.Monoid.<>)+ (let+ _v = Lens.Family2.view (Data.ProtoLens.Field.field @"schemaUrl") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 26)+ ((Prelude..)+ (\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ Data.Text.Encoding.encodeUtf8 _v))+ (Data.ProtoLens.Encoding.Wire.buildFieldSet+ (Lens.Family2.view Data.ProtoLens.unknownFields _x))))+instance Control.DeepSeq.NFData ResourceMetrics where+ rnf+ = \ x__+ -> Control.DeepSeq.deepseq+ (_ResourceMetrics'_unknownFields x__)+ (Control.DeepSeq.deepseq+ (_ResourceMetrics'resource x__)+ (Control.DeepSeq.deepseq+ (_ResourceMetrics'scopeMetrics x__)+ (Control.DeepSeq.deepseq (_ResourceMetrics'schemaUrl x__) ())))+{- | Fields :+ + * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.scope' @:: Lens' ScopeMetrics Proto.Opentelemetry.Proto.Common.V1.Common.InstrumentationScope@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.maybe'scope' @:: Lens' ScopeMetrics (Prelude.Maybe Proto.Opentelemetry.Proto.Common.V1.Common.InstrumentationScope)@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.metrics' @:: Lens' ScopeMetrics [Metric]@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.vec'metrics' @:: Lens' ScopeMetrics (Data.Vector.Vector Metric)@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.schemaUrl' @:: Lens' ScopeMetrics Data.Text.Text@ -}+data ScopeMetrics+ = ScopeMetrics'_constructor {_ScopeMetrics'scope :: !(Prelude.Maybe Proto.Opentelemetry.Proto.Common.V1.Common.InstrumentationScope),+ _ScopeMetrics'metrics :: !(Data.Vector.Vector Metric),+ _ScopeMetrics'schemaUrl :: !Data.Text.Text,+ _ScopeMetrics'_unknownFields :: !Data.ProtoLens.FieldSet}+ deriving stock (Prelude.Eq, Prelude.Ord)+instance Prelude.Show ScopeMetrics where+ showsPrec _ __x __s+ = Prelude.showChar+ '{'+ (Prelude.showString+ (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))+instance Data.ProtoLens.Field.HasField ScopeMetrics "scope" Proto.Opentelemetry.Proto.Common.V1.Common.InstrumentationScope where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ScopeMetrics'scope (\ x__ y__ -> x__ {_ScopeMetrics'scope = y__}))+ (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)+instance Data.ProtoLens.Field.HasField ScopeMetrics "maybe'scope" (Prelude.Maybe Proto.Opentelemetry.Proto.Common.V1.Common.InstrumentationScope) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ScopeMetrics'scope (\ x__ y__ -> x__ {_ScopeMetrics'scope = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField ScopeMetrics "metrics" [Metric] where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ScopeMetrics'metrics+ (\ x__ y__ -> x__ {_ScopeMetrics'metrics = y__}))+ (Lens.Family2.Unchecked.lens+ Data.Vector.Generic.toList+ (\ _ y__ -> Data.Vector.Generic.fromList y__))+instance Data.ProtoLens.Field.HasField ScopeMetrics "vec'metrics" (Data.Vector.Vector Metric) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ScopeMetrics'metrics+ (\ x__ y__ -> x__ {_ScopeMetrics'metrics = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField ScopeMetrics "schemaUrl" Data.Text.Text where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ScopeMetrics'schemaUrl+ (\ x__ y__ -> x__ {_ScopeMetrics'schemaUrl = y__}))+ Prelude.id+instance Data.ProtoLens.Message ScopeMetrics where+ messageName _+ = Data.Text.pack "opentelemetry.proto.metrics.v1.ScopeMetrics"+ packedMessageDescriptor _+ = "\n\+ \\fScopeMetrics\DC2I\n\+ \\ENQscope\CAN\SOH \SOH(\v23.opentelemetry.proto.common.v1.InstrumentationScopeR\ENQscope\DC2@\n\+ \\ametrics\CAN\STX \ETX(\v2&.opentelemetry.proto.metrics.v1.MetricR\ametrics\DC2\GS\n\+ \\n\+ \schema_url\CAN\ETX \SOH(\tR\tschemaUrl"+ packedFileDescriptor _ = packedFileDescriptor+ fieldsByTag+ = let+ scope__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "scope"+ (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::+ Data.ProtoLens.FieldTypeDescriptor Proto.Opentelemetry.Proto.Common.V1.Common.InstrumentationScope)+ (Data.ProtoLens.OptionalField+ (Data.ProtoLens.Field.field @"maybe'scope")) ::+ Data.ProtoLens.FieldDescriptor ScopeMetrics+ metrics__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "metrics"+ (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::+ Data.ProtoLens.FieldTypeDescriptor Metric)+ (Data.ProtoLens.RepeatedField+ Data.ProtoLens.Unpacked (Data.ProtoLens.Field.field @"metrics")) ::+ Data.ProtoLens.FieldDescriptor ScopeMetrics+ schemaUrl__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "schema_url"+ (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::+ Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional+ (Data.ProtoLens.Field.field @"schemaUrl")) ::+ Data.ProtoLens.FieldDescriptor ScopeMetrics+ in+ Data.Map.fromList+ [(Data.ProtoLens.Tag 1, scope__field_descriptor),+ (Data.ProtoLens.Tag 2, metrics__field_descriptor),+ (Data.ProtoLens.Tag 3, schemaUrl__field_descriptor)]+ unknownFields+ = Lens.Family2.Unchecked.lens+ _ScopeMetrics'_unknownFields+ (\ x__ y__ -> x__ {_ScopeMetrics'_unknownFields = y__})+ defMessage+ = ScopeMetrics'_constructor+ {_ScopeMetrics'scope = Prelude.Nothing,+ _ScopeMetrics'metrics = Data.Vector.Generic.empty,+ _ScopeMetrics'schemaUrl = Data.ProtoLens.fieldDefault,+ _ScopeMetrics'_unknownFields = []}+ parseMessage+ = let+ loop ::+ ScopeMetrics+ -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Metric+ -> Data.ProtoLens.Encoding.Bytes.Parser ScopeMetrics+ loop x mutable'metrics+ = do end <- Data.ProtoLens.Encoding.Bytes.atEnd+ if end then+ do frozen'metrics <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.unsafeFreeze+ mutable'metrics)+ (let missing = []+ in+ if Prelude.null missing then+ Prelude.return ()+ else+ Prelude.fail+ ((Prelude.++)+ "Missing required fields: "+ (Prelude.show (missing :: [Prelude.String]))))+ Prelude.return+ (Lens.Family2.over+ Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"vec'metrics") frozen'metrics x))+ else+ do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt+ case tag of+ 10+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.isolate+ (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)+ "scope"+ loop+ (Lens.Family2.set (Data.ProtoLens.Field.field @"scope") y x)+ mutable'metrics+ 18+ -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.isolate+ (Prelude.fromIntegral len)+ Data.ProtoLens.parseMessage)+ "metrics"+ v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.append mutable'metrics y)+ loop x v+ 26+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.getText+ (Prelude.fromIntegral len))+ "schema_url"+ loop+ (Lens.Family2.set (Data.ProtoLens.Field.field @"schemaUrl") y x)+ mutable'metrics+ wire+ -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire+ wire+ loop+ (Lens.Family2.over+ Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)+ mutable'metrics+ in+ (Data.ProtoLens.Encoding.Bytes.<?>)+ (do mutable'metrics <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ Data.ProtoLens.Encoding.Growing.new+ loop Data.ProtoLens.defMessage mutable'metrics)+ "ScopeMetrics"+ buildMessage+ = \ _x+ -> (Data.Monoid.<>)+ (case+ Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'scope") _x+ of+ Prelude.Nothing -> Data.Monoid.mempty+ (Prelude.Just _v)+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 10)+ ((Prelude..)+ (\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ Data.ProtoLens.encodeMessage _v))+ ((Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.foldMapBuilder+ (\ _v+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 18)+ ((Prelude..)+ (\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ Data.ProtoLens.encodeMessage _v))+ (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'metrics") _x))+ ((Data.Monoid.<>)+ (let+ _v = Lens.Family2.view (Data.ProtoLens.Field.field @"schemaUrl") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 26)+ ((Prelude..)+ (\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ Data.Text.Encoding.encodeUtf8 _v))+ (Data.ProtoLens.Encoding.Wire.buildFieldSet+ (Lens.Family2.view Data.ProtoLens.unknownFields _x))))+instance Control.DeepSeq.NFData ScopeMetrics where+ rnf+ = \ x__+ -> Control.DeepSeq.deepseq+ (_ScopeMetrics'_unknownFields x__)+ (Control.DeepSeq.deepseq+ (_ScopeMetrics'scope x__)+ (Control.DeepSeq.deepseq+ (_ScopeMetrics'metrics x__)+ (Control.DeepSeq.deepseq (_ScopeMetrics'schemaUrl x__) ())))+{- | Fields :+ + * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.dataPoints' @:: Lens' Sum [NumberDataPoint]@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.vec'dataPoints' @:: Lens' Sum (Data.Vector.Vector NumberDataPoint)@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.aggregationTemporality' @:: Lens' Sum AggregationTemporality@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.isMonotonic' @:: Lens' Sum Prelude.Bool@ -}+data Sum+ = Sum'_constructor {_Sum'dataPoints :: !(Data.Vector.Vector NumberDataPoint),+ _Sum'aggregationTemporality :: !AggregationTemporality,+ _Sum'isMonotonic :: !Prelude.Bool,+ _Sum'_unknownFields :: !Data.ProtoLens.FieldSet}+ deriving stock (Prelude.Eq, Prelude.Ord)+instance Prelude.Show Sum where+ showsPrec _ __x __s+ = Prelude.showChar+ '{'+ (Prelude.showString+ (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))+instance Data.ProtoLens.Field.HasField Sum "dataPoints" [NumberDataPoint] where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Sum'dataPoints (\ x__ y__ -> x__ {_Sum'dataPoints = y__}))+ (Lens.Family2.Unchecked.lens+ Data.Vector.Generic.toList+ (\ _ y__ -> Data.Vector.Generic.fromList y__))+instance Data.ProtoLens.Field.HasField Sum "vec'dataPoints" (Data.Vector.Vector NumberDataPoint) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Sum'dataPoints (\ x__ y__ -> x__ {_Sum'dataPoints = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField Sum "aggregationTemporality" AggregationTemporality where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Sum'aggregationTemporality+ (\ x__ y__ -> x__ {_Sum'aggregationTemporality = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField Sum "isMonotonic" Prelude.Bool where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Sum'isMonotonic (\ x__ y__ -> x__ {_Sum'isMonotonic = y__}))+ Prelude.id+instance Data.ProtoLens.Message Sum where+ messageName _ = Data.Text.pack "opentelemetry.proto.metrics.v1.Sum"+ packedMessageDescriptor _+ = "\n\+ \\ETXSum\DC2P\n\+ \\vdata_points\CAN\SOH \ETX(\v2/.opentelemetry.proto.metrics.v1.NumberDataPointR\n\+ \dataPoints\DC2o\n\+ \\ETBaggregation_temporality\CAN\STX \SOH(\SO26.opentelemetry.proto.metrics.v1.AggregationTemporalityR\SYNaggregationTemporality\DC2!\n\+ \\fis_monotonic\CAN\ETX \SOH(\bR\visMonotonic"+ packedFileDescriptor _ = packedFileDescriptor+ fieldsByTag+ = let+ dataPoints__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "data_points"+ (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::+ Data.ProtoLens.FieldTypeDescriptor NumberDataPoint)+ (Data.ProtoLens.RepeatedField+ Data.ProtoLens.Unpacked+ (Data.ProtoLens.Field.field @"dataPoints")) ::+ Data.ProtoLens.FieldDescriptor Sum+ aggregationTemporality__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "aggregation_temporality"+ (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::+ Data.ProtoLens.FieldTypeDescriptor AggregationTemporality)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional+ (Data.ProtoLens.Field.field @"aggregationTemporality")) ::+ Data.ProtoLens.FieldDescriptor Sum+ isMonotonic__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "is_monotonic"+ (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField ::+ Data.ProtoLens.FieldTypeDescriptor Prelude.Bool)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional+ (Data.ProtoLens.Field.field @"isMonotonic")) ::+ Data.ProtoLens.FieldDescriptor Sum+ in+ Data.Map.fromList+ [(Data.ProtoLens.Tag 1, dataPoints__field_descriptor),+ (Data.ProtoLens.Tag 2, aggregationTemporality__field_descriptor),+ (Data.ProtoLens.Tag 3, isMonotonic__field_descriptor)]+ unknownFields+ = Lens.Family2.Unchecked.lens+ _Sum'_unknownFields (\ x__ y__ -> x__ {_Sum'_unknownFields = y__})+ defMessage+ = Sum'_constructor+ {_Sum'dataPoints = Data.Vector.Generic.empty,+ _Sum'aggregationTemporality = Data.ProtoLens.fieldDefault,+ _Sum'isMonotonic = Data.ProtoLens.fieldDefault,+ _Sum'_unknownFields = []}+ parseMessage+ = let+ loop ::+ Sum+ -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld NumberDataPoint+ -> Data.ProtoLens.Encoding.Bytes.Parser Sum+ loop x mutable'dataPoints+ = do end <- Data.ProtoLens.Encoding.Bytes.atEnd+ if end then+ do frozen'dataPoints <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.unsafeFreeze+ mutable'dataPoints)+ (let missing = []+ in+ if Prelude.null missing then+ Prelude.return ()+ else+ Prelude.fail+ ((Prelude.++)+ "Missing required fields: "+ (Prelude.show (missing :: [Prelude.String]))))+ Prelude.return+ (Lens.Family2.over+ Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"vec'dataPoints") frozen'dataPoints+ x))+ else+ do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt+ case tag of+ 10+ -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.isolate+ (Prelude.fromIntegral len)+ Data.ProtoLens.parseMessage)+ "data_points"+ v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.append mutable'dataPoints y)+ loop x v+ 16+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (Prelude.fmap+ Prelude.toEnum+ (Prelude.fmap+ Prelude.fromIntegral+ Data.ProtoLens.Encoding.Bytes.getVarInt))+ "aggregation_temporality"+ loop+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"aggregationTemporality") y x)+ mutable'dataPoints+ 24+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (Prelude.fmap+ ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt)+ "is_monotonic"+ loop+ (Lens.Family2.set (Data.ProtoLens.Field.field @"isMonotonic") y x)+ mutable'dataPoints+ wire+ -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire+ wire+ loop+ (Lens.Family2.over+ Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)+ mutable'dataPoints+ in+ (Data.ProtoLens.Encoding.Bytes.<?>)+ (do mutable'dataPoints <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ Data.ProtoLens.Encoding.Growing.new+ loop Data.ProtoLens.defMessage mutable'dataPoints)+ "Sum"+ buildMessage+ = \ _x+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.foldMapBuilder+ (\ _v+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 10)+ ((Prelude..)+ (\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ Data.ProtoLens.encodeMessage _v))+ (Lens.Family2.view+ (Data.ProtoLens.Field.field @"vec'dataPoints") _x))+ ((Data.Monoid.<>)+ (let+ _v+ = Lens.Family2.view+ (Data.ProtoLens.Field.field @"aggregationTemporality") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 16)+ ((Prelude..)+ ((Prelude..)+ Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)+ Prelude.fromEnum _v))+ ((Data.Monoid.<>)+ (let+ _v+ = Lens.Family2.view (Data.ProtoLens.Field.field @"isMonotonic") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 24)+ ((Prelude..)+ Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0)+ _v))+ (Data.ProtoLens.Encoding.Wire.buildFieldSet+ (Lens.Family2.view Data.ProtoLens.unknownFields _x))))+instance Control.DeepSeq.NFData Sum where+ rnf+ = \ x__+ -> Control.DeepSeq.deepseq+ (_Sum'_unknownFields x__)+ (Control.DeepSeq.deepseq+ (_Sum'dataPoints x__)+ (Control.DeepSeq.deepseq+ (_Sum'aggregationTemporality x__)+ (Control.DeepSeq.deepseq (_Sum'isMonotonic x__) ())))+{- | Fields :+ + * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.dataPoints' @:: Lens' Summary [SummaryDataPoint]@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.vec'dataPoints' @:: Lens' Summary (Data.Vector.Vector SummaryDataPoint)@ -}+data Summary+ = Summary'_constructor {_Summary'dataPoints :: !(Data.Vector.Vector SummaryDataPoint),+ _Summary'_unknownFields :: !Data.ProtoLens.FieldSet}+ deriving stock (Prelude.Eq, Prelude.Ord)+instance Prelude.Show Summary where+ showsPrec _ __x __s+ = Prelude.showChar+ '{'+ (Prelude.showString+ (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))+instance Data.ProtoLens.Field.HasField Summary "dataPoints" [SummaryDataPoint] where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Summary'dataPoints (\ x__ y__ -> x__ {_Summary'dataPoints = y__}))+ (Lens.Family2.Unchecked.lens+ Data.Vector.Generic.toList+ (\ _ y__ -> Data.Vector.Generic.fromList y__))+instance Data.ProtoLens.Field.HasField Summary "vec'dataPoints" (Data.Vector.Vector SummaryDataPoint) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Summary'dataPoints (\ x__ y__ -> x__ {_Summary'dataPoints = y__}))+ Prelude.id+instance Data.ProtoLens.Message Summary where+ messageName _+ = Data.Text.pack "opentelemetry.proto.metrics.v1.Summary"+ packedMessageDescriptor _+ = "\n\+ \\aSummary\DC2Q\n\+ \\vdata_points\CAN\SOH \ETX(\v20.opentelemetry.proto.metrics.v1.SummaryDataPointR\n\+ \dataPoints"+ packedFileDescriptor _ = packedFileDescriptor+ fieldsByTag+ = let+ dataPoints__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "data_points"+ (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::+ Data.ProtoLens.FieldTypeDescriptor SummaryDataPoint)+ (Data.ProtoLens.RepeatedField+ Data.ProtoLens.Unpacked+ (Data.ProtoLens.Field.field @"dataPoints")) ::+ Data.ProtoLens.FieldDescriptor Summary+ in+ Data.Map.fromList+ [(Data.ProtoLens.Tag 1, dataPoints__field_descriptor)]+ unknownFields+ = Lens.Family2.Unchecked.lens+ _Summary'_unknownFields+ (\ x__ y__ -> x__ {_Summary'_unknownFields = y__})+ defMessage+ = Summary'_constructor+ {_Summary'dataPoints = Data.Vector.Generic.empty,+ _Summary'_unknownFields = []}+ parseMessage+ = let+ loop ::+ Summary+ -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld SummaryDataPoint+ -> Data.ProtoLens.Encoding.Bytes.Parser Summary+ loop x mutable'dataPoints+ = do end <- Data.ProtoLens.Encoding.Bytes.atEnd+ if end then+ do frozen'dataPoints <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.unsafeFreeze+ mutable'dataPoints)+ (let missing = []+ in+ if Prelude.null missing then+ Prelude.return ()+ else+ Prelude.fail+ ((Prelude.++)+ "Missing required fields: "+ (Prelude.show (missing :: [Prelude.String]))))+ Prelude.return+ (Lens.Family2.over+ Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"vec'dataPoints") frozen'dataPoints+ x))+ else+ do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt+ case tag of+ 10+ -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.isolate+ (Prelude.fromIntegral len)+ Data.ProtoLens.parseMessage)+ "data_points"+ v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.append mutable'dataPoints y)+ loop x v+ wire+ -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire+ wire+ loop+ (Lens.Family2.over+ Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)+ mutable'dataPoints+ in+ (Data.ProtoLens.Encoding.Bytes.<?>)+ (do mutable'dataPoints <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ Data.ProtoLens.Encoding.Growing.new+ loop Data.ProtoLens.defMessage mutable'dataPoints)+ "Summary"+ buildMessage+ = \ _x+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.foldMapBuilder+ (\ _v+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 10)+ ((Prelude..)+ (\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ Data.ProtoLens.encodeMessage _v))+ (Lens.Family2.view+ (Data.ProtoLens.Field.field @"vec'dataPoints") _x))+ (Data.ProtoLens.Encoding.Wire.buildFieldSet+ (Lens.Family2.view Data.ProtoLens.unknownFields _x))+instance Control.DeepSeq.NFData Summary where+ rnf+ = \ x__+ -> Control.DeepSeq.deepseq+ (_Summary'_unknownFields x__)+ (Control.DeepSeq.deepseq (_Summary'dataPoints x__) ())+{- | Fields :+ + * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.attributes' @:: Lens' SummaryDataPoint [Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue]@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.vec'attributes' @:: Lens' SummaryDataPoint (Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue)@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.startTimeUnixNano' @:: Lens' SummaryDataPoint Data.Word.Word64@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.timeUnixNano' @:: Lens' SummaryDataPoint Data.Word.Word64@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.count' @:: Lens' SummaryDataPoint Data.Word.Word64@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.sum' @:: Lens' SummaryDataPoint Prelude.Double@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.quantileValues' @:: Lens' SummaryDataPoint [SummaryDataPoint'ValueAtQuantile]@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.vec'quantileValues' @:: Lens' SummaryDataPoint (Data.Vector.Vector SummaryDataPoint'ValueAtQuantile)@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.flags' @:: Lens' SummaryDataPoint Data.Word.Word32@ -}+data SummaryDataPoint+ = SummaryDataPoint'_constructor {_SummaryDataPoint'attributes :: !(Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue),+ _SummaryDataPoint'startTimeUnixNano :: !Data.Word.Word64,+ _SummaryDataPoint'timeUnixNano :: !Data.Word.Word64,+ _SummaryDataPoint'count :: !Data.Word.Word64,+ _SummaryDataPoint'sum :: !Prelude.Double,+ _SummaryDataPoint'quantileValues :: !(Data.Vector.Vector SummaryDataPoint'ValueAtQuantile),+ _SummaryDataPoint'flags :: !Data.Word.Word32,+ _SummaryDataPoint'_unknownFields :: !Data.ProtoLens.FieldSet}+ deriving stock (Prelude.Eq, Prelude.Ord)+instance Prelude.Show SummaryDataPoint where+ showsPrec _ __x __s+ = Prelude.showChar+ '{'+ (Prelude.showString+ (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))+instance Data.ProtoLens.Field.HasField SummaryDataPoint "attributes" [Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue] where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _SummaryDataPoint'attributes+ (\ x__ y__ -> x__ {_SummaryDataPoint'attributes = y__}))+ (Lens.Family2.Unchecked.lens+ Data.Vector.Generic.toList+ (\ _ y__ -> Data.Vector.Generic.fromList y__))+instance Data.ProtoLens.Field.HasField SummaryDataPoint "vec'attributes" (Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _SummaryDataPoint'attributes+ (\ x__ y__ -> x__ {_SummaryDataPoint'attributes = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField SummaryDataPoint "startTimeUnixNano" Data.Word.Word64 where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _SummaryDataPoint'startTimeUnixNano+ (\ x__ y__ -> x__ {_SummaryDataPoint'startTimeUnixNano = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField SummaryDataPoint "timeUnixNano" Data.Word.Word64 where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _SummaryDataPoint'timeUnixNano+ (\ x__ y__ -> x__ {_SummaryDataPoint'timeUnixNano = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField SummaryDataPoint "count" Data.Word.Word64 where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _SummaryDataPoint'count+ (\ x__ y__ -> x__ {_SummaryDataPoint'count = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField SummaryDataPoint "sum" Prelude.Double where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _SummaryDataPoint'sum+ (\ x__ y__ -> x__ {_SummaryDataPoint'sum = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField SummaryDataPoint "quantileValues" [SummaryDataPoint'ValueAtQuantile] where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _SummaryDataPoint'quantileValues+ (\ x__ y__ -> x__ {_SummaryDataPoint'quantileValues = y__}))+ (Lens.Family2.Unchecked.lens+ Data.Vector.Generic.toList+ (\ _ y__ -> Data.Vector.Generic.fromList y__))+instance Data.ProtoLens.Field.HasField SummaryDataPoint "vec'quantileValues" (Data.Vector.Vector SummaryDataPoint'ValueAtQuantile) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _SummaryDataPoint'quantileValues+ (\ x__ y__ -> x__ {_SummaryDataPoint'quantileValues = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField SummaryDataPoint "flags" Data.Word.Word32 where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _SummaryDataPoint'flags+ (\ x__ y__ -> x__ {_SummaryDataPoint'flags = y__}))+ Prelude.id+instance Data.ProtoLens.Message SummaryDataPoint where+ messageName _+ = Data.Text.pack "opentelemetry.proto.metrics.v1.SummaryDataPoint"+ packedMessageDescriptor _+ = "\n\+ \\DLESummaryDataPoint\DC2G\n\+ \\n\+ \attributes\CAN\a \ETX(\v2'.opentelemetry.proto.common.v1.KeyValueR\n\+ \attributes\DC2/\n\+ \\DC4start_time_unix_nano\CAN\STX \SOH(\ACKR\DC1startTimeUnixNano\DC2$\n\+ \\SOtime_unix_nano\CAN\ETX \SOH(\ACKR\ftimeUnixNano\DC2\DC4\n\+ \\ENQcount\CAN\EOT \SOH(\ACKR\ENQcount\DC2\DLE\n\+ \\ETXsum\CAN\ENQ \SOH(\SOHR\ETXsum\DC2i\n\+ \\SIquantile_values\CAN\ACK \ETX(\v2@.opentelemetry.proto.metrics.v1.SummaryDataPoint.ValueAtQuantileR\SOquantileValues\DC2\DC4\n\+ \\ENQflags\CAN\b \SOH(\rR\ENQflags\SUBC\n\+ \\SIValueAtQuantile\DC2\SUB\n\+ \\bquantile\CAN\SOH \SOH(\SOHR\bquantile\DC2\DC4\n\+ \\ENQvalue\CAN\STX \SOH(\SOHR\ENQvalueJ\EOT\b\SOH\DLE\STX"+ packedFileDescriptor _ = packedFileDescriptor+ fieldsByTag+ = let+ attributes__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "attributes"+ (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::+ Data.ProtoLens.FieldTypeDescriptor Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue)+ (Data.ProtoLens.RepeatedField+ Data.ProtoLens.Unpacked+ (Data.ProtoLens.Field.field @"attributes")) ::+ Data.ProtoLens.FieldDescriptor SummaryDataPoint+ startTimeUnixNano__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "start_time_unix_nano"+ (Data.ProtoLens.ScalarField Data.ProtoLens.Fixed64Field ::+ Data.ProtoLens.FieldTypeDescriptor Data.Word.Word64)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional+ (Data.ProtoLens.Field.field @"startTimeUnixNano")) ::+ Data.ProtoLens.FieldDescriptor SummaryDataPoint+ timeUnixNano__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "time_unix_nano"+ (Data.ProtoLens.ScalarField Data.ProtoLens.Fixed64Field ::+ Data.ProtoLens.FieldTypeDescriptor Data.Word.Word64)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional+ (Data.ProtoLens.Field.field @"timeUnixNano")) ::+ Data.ProtoLens.FieldDescriptor SummaryDataPoint+ count__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "count"+ (Data.ProtoLens.ScalarField Data.ProtoLens.Fixed64Field ::+ Data.ProtoLens.FieldTypeDescriptor Data.Word.Word64)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"count")) ::+ Data.ProtoLens.FieldDescriptor SummaryDataPoint+ sum__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "sum"+ (Data.ProtoLens.ScalarField Data.ProtoLens.DoubleField ::+ Data.ProtoLens.FieldTypeDescriptor Prelude.Double)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"sum")) ::+ Data.ProtoLens.FieldDescriptor SummaryDataPoint+ quantileValues__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "quantile_values"+ (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::+ Data.ProtoLens.FieldTypeDescriptor SummaryDataPoint'ValueAtQuantile)+ (Data.ProtoLens.RepeatedField+ Data.ProtoLens.Unpacked+ (Data.ProtoLens.Field.field @"quantileValues")) ::+ Data.ProtoLens.FieldDescriptor SummaryDataPoint+ flags__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "flags"+ (Data.ProtoLens.ScalarField Data.ProtoLens.UInt32Field ::+ Data.ProtoLens.FieldTypeDescriptor Data.Word.Word32)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"flags")) ::+ Data.ProtoLens.FieldDescriptor SummaryDataPoint+ in+ Data.Map.fromList+ [(Data.ProtoLens.Tag 7, attributes__field_descriptor),+ (Data.ProtoLens.Tag 2, startTimeUnixNano__field_descriptor),+ (Data.ProtoLens.Tag 3, timeUnixNano__field_descriptor),+ (Data.ProtoLens.Tag 4, count__field_descriptor),+ (Data.ProtoLens.Tag 5, sum__field_descriptor),+ (Data.ProtoLens.Tag 6, quantileValues__field_descriptor),+ (Data.ProtoLens.Tag 8, flags__field_descriptor)]+ unknownFields+ = Lens.Family2.Unchecked.lens+ _SummaryDataPoint'_unknownFields+ (\ x__ y__ -> x__ {_SummaryDataPoint'_unknownFields = y__})+ defMessage+ = SummaryDataPoint'_constructor+ {_SummaryDataPoint'attributes = Data.Vector.Generic.empty,+ _SummaryDataPoint'startTimeUnixNano = Data.ProtoLens.fieldDefault,+ _SummaryDataPoint'timeUnixNano = Data.ProtoLens.fieldDefault,+ _SummaryDataPoint'count = Data.ProtoLens.fieldDefault,+ _SummaryDataPoint'sum = Data.ProtoLens.fieldDefault,+ _SummaryDataPoint'quantileValues = Data.Vector.Generic.empty,+ _SummaryDataPoint'flags = Data.ProtoLens.fieldDefault,+ _SummaryDataPoint'_unknownFields = []}+ parseMessage+ = let+ loop ::+ SummaryDataPoint+ -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue+ -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld SummaryDataPoint'ValueAtQuantile+ -> Data.ProtoLens.Encoding.Bytes.Parser SummaryDataPoint+ loop x mutable'attributes mutable'quantileValues+ = do end <- Data.ProtoLens.Encoding.Bytes.atEnd+ if end then+ do frozen'attributes <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.unsafeFreeze+ mutable'attributes)+ frozen'quantileValues <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.unsafeFreeze+ mutable'quantileValues)+ (let missing = []+ in+ if Prelude.null missing then+ Prelude.return ()+ else+ Prelude.fail+ ((Prelude.++)+ "Missing required fields: "+ (Prelude.show (missing :: [Prelude.String]))))+ Prelude.return+ (Lens.Family2.over+ Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"vec'attributes") frozen'attributes+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"vec'quantileValues")+ frozen'quantileValues x)))+ else+ do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt+ case tag of+ 58+ -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.isolate+ (Prelude.fromIntegral len)+ Data.ProtoLens.parseMessage)+ "attributes"+ v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.append mutable'attributes y)+ loop x v mutable'quantileValues+ 17+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ Data.ProtoLens.Encoding.Bytes.getFixed64+ "start_time_unix_nano"+ loop+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"startTimeUnixNano") y x)+ mutable'attributes mutable'quantileValues+ 25+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ Data.ProtoLens.Encoding.Bytes.getFixed64 "time_unix_nano"+ loop+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"timeUnixNano") y x)+ mutable'attributes mutable'quantileValues+ 33+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ Data.ProtoLens.Encoding.Bytes.getFixed64 "count"+ loop+ (Lens.Family2.set (Data.ProtoLens.Field.field @"count") y x)+ mutable'attributes mutable'quantileValues+ 41+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (Prelude.fmap+ Data.ProtoLens.Encoding.Bytes.wordToDouble+ Data.ProtoLens.Encoding.Bytes.getFixed64)+ "sum"+ loop+ (Lens.Family2.set (Data.ProtoLens.Field.field @"sum") y x)+ mutable'attributes mutable'quantileValues+ 50+ -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.isolate+ (Prelude.fromIntegral len)+ Data.ProtoLens.parseMessage)+ "quantile_values"+ v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.append+ mutable'quantileValues y)+ loop x mutable'attributes v+ 64+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (Prelude.fmap+ Prelude.fromIntegral+ Data.ProtoLens.Encoding.Bytes.getVarInt)+ "flags"+ loop+ (Lens.Family2.set (Data.ProtoLens.Field.field @"flags") y x)+ mutable'attributes mutable'quantileValues+ wire+ -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire+ wire+ loop+ (Lens.Family2.over+ Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)+ mutable'attributes mutable'quantileValues+ in+ (Data.ProtoLens.Encoding.Bytes.<?>)+ (do mutable'attributes <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ Data.ProtoLens.Encoding.Growing.new+ mutable'quantileValues <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ Data.ProtoLens.Encoding.Growing.new+ loop+ Data.ProtoLens.defMessage mutable'attributes+ mutable'quantileValues)+ "SummaryDataPoint"+ buildMessage+ = \ _x+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.foldMapBuilder+ (\ _v+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 58)+ ((Prelude..)+ (\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ Data.ProtoLens.encodeMessage _v))+ (Lens.Family2.view+ (Data.ProtoLens.Field.field @"vec'attributes") _x))+ ((Data.Monoid.<>)+ (let+ _v+ = Lens.Family2.view+ (Data.ProtoLens.Field.field @"startTimeUnixNano") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 17)+ (Data.ProtoLens.Encoding.Bytes.putFixed64 _v))+ ((Data.Monoid.<>)+ (let+ _v+ = Lens.Family2.view (Data.ProtoLens.Field.field @"timeUnixNano") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 25)+ (Data.ProtoLens.Encoding.Bytes.putFixed64 _v))+ ((Data.Monoid.<>)+ (let+ _v = Lens.Family2.view (Data.ProtoLens.Field.field @"count") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 33)+ (Data.ProtoLens.Encoding.Bytes.putFixed64 _v))+ ((Data.Monoid.<>)+ (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"sum") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 41)+ ((Prelude..)+ Data.ProtoLens.Encoding.Bytes.putFixed64+ Data.ProtoLens.Encoding.Bytes.doubleToWord _v))+ ((Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.foldMapBuilder+ (\ _v+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 50)+ ((Prelude..)+ (\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral+ (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ Data.ProtoLens.encodeMessage _v))+ (Lens.Family2.view+ (Data.ProtoLens.Field.field @"vec'quantileValues") _x))+ ((Data.Monoid.<>)+ (let+ _v = Lens.Family2.view (Data.ProtoLens.Field.field @"flags") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 64)+ ((Prelude..)+ Data.ProtoLens.Encoding.Bytes.putVarInt+ Prelude.fromIntegral _v))+ (Data.ProtoLens.Encoding.Wire.buildFieldSet+ (Lens.Family2.view Data.ProtoLens.unknownFields _x))))))))+instance Control.DeepSeq.NFData SummaryDataPoint where+ rnf+ = \ x__+ -> Control.DeepSeq.deepseq+ (_SummaryDataPoint'_unknownFields x__)+ (Control.DeepSeq.deepseq+ (_SummaryDataPoint'attributes x__)+ (Control.DeepSeq.deepseq+ (_SummaryDataPoint'startTimeUnixNano x__)+ (Control.DeepSeq.deepseq+ (_SummaryDataPoint'timeUnixNano x__)+ (Control.DeepSeq.deepseq+ (_SummaryDataPoint'count x__)+ (Control.DeepSeq.deepseq+ (_SummaryDataPoint'sum x__)+ (Control.DeepSeq.deepseq+ (_SummaryDataPoint'quantileValues x__)+ (Control.DeepSeq.deepseq (_SummaryDataPoint'flags x__) ())))))))+{- | Fields :+ + * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.quantile' @:: Lens' SummaryDataPoint'ValueAtQuantile Prelude.Double@+ * 'Proto.Opentelemetry.Proto.Metrics.V1.Metrics_Fields.value' @:: Lens' SummaryDataPoint'ValueAtQuantile Prelude.Double@ -}+data SummaryDataPoint'ValueAtQuantile+ = SummaryDataPoint'ValueAtQuantile'_constructor {_SummaryDataPoint'ValueAtQuantile'quantile :: !Prelude.Double,+ _SummaryDataPoint'ValueAtQuantile'value :: !Prelude.Double,+ _SummaryDataPoint'ValueAtQuantile'_unknownFields :: !Data.ProtoLens.FieldSet}+ deriving stock (Prelude.Eq, Prelude.Ord)+instance Prelude.Show SummaryDataPoint'ValueAtQuantile where+ showsPrec _ __x __s+ = Prelude.showChar+ '{'+ (Prelude.showString+ (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))+instance Data.ProtoLens.Field.HasField SummaryDataPoint'ValueAtQuantile "quantile" Prelude.Double where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _SummaryDataPoint'ValueAtQuantile'quantile+ (\ x__ y__+ -> x__ {_SummaryDataPoint'ValueAtQuantile'quantile = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField SummaryDataPoint'ValueAtQuantile "value" Prelude.Double where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _SummaryDataPoint'ValueAtQuantile'value+ (\ x__ y__ -> x__ {_SummaryDataPoint'ValueAtQuantile'value = y__}))+ Prelude.id+instance Data.ProtoLens.Message SummaryDataPoint'ValueAtQuantile where+ messageName _+ = Data.Text.pack+ "opentelemetry.proto.metrics.v1.SummaryDataPoint.ValueAtQuantile"+ packedMessageDescriptor _+ = "\n\+ \\SIValueAtQuantile\DC2\SUB\n\+ \\bquantile\CAN\SOH \SOH(\SOHR\bquantile\DC2\DC4\n\+ \\ENQvalue\CAN\STX \SOH(\SOHR\ENQvalue"+ packedFileDescriptor _ = packedFileDescriptor+ fieldsByTag+ = let+ quantile__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "quantile"+ (Data.ProtoLens.ScalarField Data.ProtoLens.DoubleField ::+ Data.ProtoLens.FieldTypeDescriptor Prelude.Double)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional+ (Data.ProtoLens.Field.field @"quantile")) ::+ Data.ProtoLens.FieldDescriptor SummaryDataPoint'ValueAtQuantile+ value__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "value"+ (Data.ProtoLens.ScalarField Data.ProtoLens.DoubleField ::+ Data.ProtoLens.FieldTypeDescriptor Prelude.Double)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"value")) ::+ Data.ProtoLens.FieldDescriptor SummaryDataPoint'ValueAtQuantile+ in+ Data.Map.fromList+ [(Data.ProtoLens.Tag 1, quantile__field_descriptor),+ (Data.ProtoLens.Tag 2, value__field_descriptor)]+ unknownFields+ = Lens.Family2.Unchecked.lens+ _SummaryDataPoint'ValueAtQuantile'_unknownFields+ (\ x__ y__+ -> x__ {_SummaryDataPoint'ValueAtQuantile'_unknownFields = y__})+ defMessage+ = SummaryDataPoint'ValueAtQuantile'_constructor+ {_SummaryDataPoint'ValueAtQuantile'quantile = Data.ProtoLens.fieldDefault,+ _SummaryDataPoint'ValueAtQuantile'value = Data.ProtoLens.fieldDefault,+ _SummaryDataPoint'ValueAtQuantile'_unknownFields = []}+ parseMessage+ = let+ loop ::+ SummaryDataPoint'ValueAtQuantile+ -> Data.ProtoLens.Encoding.Bytes.Parser SummaryDataPoint'ValueAtQuantile+ loop x+ = do end <- Data.ProtoLens.Encoding.Bytes.atEnd+ if end then+ do (let missing = []+ in+ if Prelude.null missing then+ Prelude.return ()+ else+ Prelude.fail+ ((Prelude.++)+ "Missing required fields: "+ (Prelude.show (missing :: [Prelude.String]))))+ Prelude.return+ (Lens.Family2.over+ Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)+ else+ do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt+ case tag of+ 9 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (Prelude.fmap+ Data.ProtoLens.Encoding.Bytes.wordToDouble+ Data.ProtoLens.Encoding.Bytes.getFixed64)+ "quantile"+ loop+ (Lens.Family2.set (Data.ProtoLens.Field.field @"quantile") y x)+ 17+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (Prelude.fmap+ Data.ProtoLens.Encoding.Bytes.wordToDouble+ Data.ProtoLens.Encoding.Bytes.getFixed64)+ "value"+ loop (Lens.Family2.set (Data.ProtoLens.Field.field @"value") y x)+ wire+ -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire+ wire+ loop+ (Lens.Family2.over+ Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)+ in+ (Data.ProtoLens.Encoding.Bytes.<?>)+ (do loop Data.ProtoLens.defMessage) "ValueAtQuantile"+ buildMessage+ = \ _x+ -> (Data.Monoid.<>)+ (let+ _v = Lens.Family2.view (Data.ProtoLens.Field.field @"quantile") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 9)+ ((Prelude..)+ Data.ProtoLens.Encoding.Bytes.putFixed64+ Data.ProtoLens.Encoding.Bytes.doubleToWord _v))+ ((Data.Monoid.<>)+ (let+ _v = Lens.Family2.view (Data.ProtoLens.Field.field @"value") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 17)+ ((Prelude..)+ Data.ProtoLens.Encoding.Bytes.putFixed64+ Data.ProtoLens.Encoding.Bytes.doubleToWord _v))+ (Data.ProtoLens.Encoding.Wire.buildFieldSet+ (Lens.Family2.view Data.ProtoLens.unknownFields _x)))+instance Control.DeepSeq.NFData SummaryDataPoint'ValueAtQuantile where+ rnf+ = \ x__+ -> Control.DeepSeq.deepseq+ (_SummaryDataPoint'ValueAtQuantile'_unknownFields x__)+ (Control.DeepSeq.deepseq+ (_SummaryDataPoint'ValueAtQuantile'quantile x__)+ (Control.DeepSeq.deepseq+ (_SummaryDataPoint'ValueAtQuantile'value x__) ()))+packedFileDescriptor :: Data.ByteString.ByteString+packedFileDescriptor+ = "\n\+ \,opentelemetry/proto/metrics/v1/metrics.proto\DC2\RSopentelemetry.proto.metrics.v1\SUB*opentelemetry/proto/common/v1/common.proto\SUB.opentelemetry/proto/resource/v1/resource.proto\"i\n\+ \\vMetricsData\DC2Z\n\+ \\DLEresource_metrics\CAN\SOH \ETX(\v2/.opentelemetry.proto.metrics.v1.ResourceMetricsR\SIresourceMetrics\"\210\SOH\n\+ \\SIResourceMetrics\DC2E\n\+ \\bresource\CAN\SOH \SOH(\v2).opentelemetry.proto.resource.v1.ResourceR\bresource\DC2Q\n\+ \\rscope_metrics\CAN\STX \ETX(\v2,.opentelemetry.proto.metrics.v1.ScopeMetricsR\fscopeMetrics\DC2\GS\n\+ \\n\+ \schema_url\CAN\ETX \SOH(\tR\tschemaUrlJ\ACK\b\232\a\DLE\233\a\"\186\SOH\n\+ \\fScopeMetrics\DC2I\n\+ \\ENQscope\CAN\SOH \SOH(\v23.opentelemetry.proto.common.v1.InstrumentationScopeR\ENQscope\DC2@\n\+ \\ametrics\CAN\STX \ETX(\v2&.opentelemetry.proto.metrics.v1.MetricR\ametrics\DC2\GS\n\+ \\n\+ \schema_url\CAN\ETX \SOH(\tR\tschemaUrl\"\225\ETX\n\+ \\ACKMetric\DC2\DC2\n\+ \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC2 \n\+ \\vdescription\CAN\STX \SOH(\tR\vdescription\DC2\DC2\n\+ \\EOTunit\CAN\ETX \SOH(\tR\EOTunit\DC2=\n\+ \\ENQgauge\CAN\ENQ \SOH(\v2%.opentelemetry.proto.metrics.v1.GaugeH\NULR\ENQgauge\DC27\n\+ \\ETXsum\CAN\a \SOH(\v2#.opentelemetry.proto.metrics.v1.SumH\NULR\ETXsum\DC2I\n\+ \\thistogram\CAN\t \SOH(\v2).opentelemetry.proto.metrics.v1.HistogramH\NULR\thistogram\DC2k\n\+ \\NAKexponential_histogram\CAN\n\+ \ \SOH(\v24.opentelemetry.proto.metrics.v1.ExponentialHistogramH\NULR\DC4exponentialHistogram\DC2C\n\+ \\asummary\CAN\v \SOH(\v2'.opentelemetry.proto.metrics.v1.SummaryH\NULR\asummaryB\ACK\n\+ \\EOTdataJ\EOT\b\EOT\DLE\ENQJ\EOT\b\ACK\DLE\aJ\EOT\b\b\DLE\t\"Y\n\+ \\ENQGauge\DC2P\n\+ \\vdata_points\CAN\SOH \ETX(\v2/.opentelemetry.proto.metrics.v1.NumberDataPointR\n\+ \dataPoints\"\235\SOH\n\+ \\ETXSum\DC2P\n\+ \\vdata_points\CAN\SOH \ETX(\v2/.opentelemetry.proto.metrics.v1.NumberDataPointR\n\+ \dataPoints\DC2o\n\+ \\ETBaggregation_temporality\CAN\STX \SOH(\SO26.opentelemetry.proto.metrics.v1.AggregationTemporalityR\SYNaggregationTemporality\DC2!\n\+ \\fis_monotonic\CAN\ETX \SOH(\bR\visMonotonic\"\209\SOH\n\+ \\tHistogram\DC2S\n\+ \\vdata_points\CAN\SOH \ETX(\v22.opentelemetry.proto.metrics.v1.HistogramDataPointR\n\+ \dataPoints\DC2o\n\+ \\ETBaggregation_temporality\CAN\STX \SOH(\SO26.opentelemetry.proto.metrics.v1.AggregationTemporalityR\SYNaggregationTemporality\"\231\SOH\n\+ \\DC4ExponentialHistogram\DC2^\n\+ \\vdata_points\CAN\SOH \ETX(\v2=.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPointR\n\+ \dataPoints\DC2o\n\+ \\ETBaggregation_temporality\CAN\STX \SOH(\SO26.opentelemetry.proto.metrics.v1.AggregationTemporalityR\SYNaggregationTemporality\"\\\n\+ \\aSummary\DC2Q\n\+ \\vdata_points\CAN\SOH \ETX(\v20.opentelemetry.proto.metrics.v1.SummaryDataPointR\n\+ \dataPoints\"\214\STX\n\+ \\SINumberDataPoint\DC2G\n\+ \\n\+ \attributes\CAN\a \ETX(\v2'.opentelemetry.proto.common.v1.KeyValueR\n\+ \attributes\DC2/\n\+ \\DC4start_time_unix_nano\CAN\STX \SOH(\ACKR\DC1startTimeUnixNano\DC2$\n\+ \\SOtime_unix_nano\CAN\ETX \SOH(\ACKR\ftimeUnixNano\DC2\GS\n\+ \\tas_double\CAN\EOT \SOH(\SOHH\NULR\basDouble\DC2\ETB\n\+ \\ACKas_int\CAN\ACK \SOH(\DLEH\NULR\ENQasInt\DC2F\n\+ \\texemplars\CAN\ENQ \ETX(\v2(.opentelemetry.proto.metrics.v1.ExemplarR\texemplars\DC2\DC4\n\+ \\ENQflags\CAN\b \SOH(\rR\ENQflagsB\a\n\+ \\ENQvalueJ\EOT\b\SOH\DLE\STX\"\217\ETX\n\+ \\DC2HistogramDataPoint\DC2G\n\+ \\n\+ \attributes\CAN\t \ETX(\v2'.opentelemetry.proto.common.v1.KeyValueR\n\+ \attributes\DC2/\n\+ \\DC4start_time_unix_nano\CAN\STX \SOH(\ACKR\DC1startTimeUnixNano\DC2$\n\+ \\SOtime_unix_nano\CAN\ETX \SOH(\ACKR\ftimeUnixNano\DC2\DC4\n\+ \\ENQcount\CAN\EOT \SOH(\ACKR\ENQcount\DC2\NAK\n\+ \\ETXsum\CAN\ENQ \SOH(\SOHH\NULR\ETXsum\136\SOH\SOH\DC2#\n\+ \\rbucket_counts\CAN\ACK \ETX(\ACKR\fbucketCounts\DC2'\n\+ \\SIexplicit_bounds\CAN\a \ETX(\SOHR\SOexplicitBounds\DC2F\n\+ \\texemplars\CAN\b \ETX(\v2(.opentelemetry.proto.metrics.v1.ExemplarR\texemplars\DC2\DC4\n\+ \\ENQflags\CAN\n\+ \ \SOH(\rR\ENQflags\DC2\NAK\n\+ \\ETXmin\CAN\v \SOH(\SOHH\SOHR\ETXmin\136\SOH\SOH\DC2\NAK\n\+ \\ETXmax\CAN\f \SOH(\SOHH\STXR\ETXmax\136\SOH\SOHB\ACK\n\+ \\EOT_sumB\ACK\n\+ \\EOT_minB\ACK\n\+ \\EOT_maxJ\EOT\b\SOH\DLE\STX\"\250\ENQ\n\+ \\GSExponentialHistogramDataPoint\DC2G\n\+ \\n\+ \attributes\CAN\SOH \ETX(\v2'.opentelemetry.proto.common.v1.KeyValueR\n\+ \attributes\DC2/\n\+ \\DC4start_time_unix_nano\CAN\STX \SOH(\ACKR\DC1startTimeUnixNano\DC2$\n\+ \\SOtime_unix_nano\CAN\ETX \SOH(\ACKR\ftimeUnixNano\DC2\DC4\n\+ \\ENQcount\CAN\EOT \SOH(\ACKR\ENQcount\DC2\NAK\n\+ \\ETXsum\CAN\ENQ \SOH(\SOHH\NULR\ETXsum\136\SOH\SOH\DC2\DC4\n\+ \\ENQscale\CAN\ACK \SOH(\DC1R\ENQscale\DC2\GS\n\+ \\n\+ \zero_count\CAN\a \SOH(\ACKR\tzeroCount\DC2a\n\+ \\bpositive\CAN\b \SOH(\v2E.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.BucketsR\bpositive\DC2a\n\+ \\bnegative\CAN\t \SOH(\v2E.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.BucketsR\bnegative\DC2\DC4\n\+ \\ENQflags\CAN\n\+ \ \SOH(\rR\ENQflags\DC2F\n\+ \\texemplars\CAN\v \ETX(\v2(.opentelemetry.proto.metrics.v1.ExemplarR\texemplars\DC2\NAK\n\+ \\ETXmin\CAN\f \SOH(\SOHH\SOHR\ETXmin\136\SOH\SOH\DC2\NAK\n\+ \\ETXmax\CAN\r \SOH(\SOHH\STXR\ETXmax\136\SOH\SOH\DC2%\n\+ \\SOzero_threshold\CAN\SO \SOH(\SOHR\rzeroThreshold\SUBF\n\+ \\aBuckets\DC2\SYN\n\+ \\ACKoffset\CAN\SOH \SOH(\DC1R\ACKoffset\DC2#\n\+ \\rbucket_counts\CAN\STX \ETX(\EOTR\fbucketCountsB\ACK\n\+ \\EOT_sumB\ACK\n\+ \\EOT_minB\ACK\n\+ \\EOT_max\"\166\ETX\n\+ \\DLESummaryDataPoint\DC2G\n\+ \\n\+ \attributes\CAN\a \ETX(\v2'.opentelemetry.proto.common.v1.KeyValueR\n\+ \attributes\DC2/\n\+ \\DC4start_time_unix_nano\CAN\STX \SOH(\ACKR\DC1startTimeUnixNano\DC2$\n\+ \\SOtime_unix_nano\CAN\ETX \SOH(\ACKR\ftimeUnixNano\DC2\DC4\n\+ \\ENQcount\CAN\EOT \SOH(\ACKR\ENQcount\DC2\DLE\n\+ \\ETXsum\CAN\ENQ \SOH(\SOHR\ETXsum\DC2i\n\+ \\SIquantile_values\CAN\ACK \ETX(\v2@.opentelemetry.proto.metrics.v1.SummaryDataPoint.ValueAtQuantileR\SOquantileValues\DC2\DC4\n\+ \\ENQflags\CAN\b \SOH(\rR\ENQflags\SUBC\n\+ \\SIValueAtQuantile\DC2\SUB\n\+ \\bquantile\CAN\SOH \SOH(\SOHR\bquantile\DC2\DC4\n\+ \\ENQvalue\CAN\STX \SOH(\SOHR\ENQvalueJ\EOT\b\SOH\DLE\STX\"\133\STX\n\+ \\bExemplar\DC2X\n\+ \\DC3filtered_attributes\CAN\a \ETX(\v2'.opentelemetry.proto.common.v1.KeyValueR\DC2filteredAttributes\DC2$\n\+ \\SOtime_unix_nano\CAN\STX \SOH(\ACKR\ftimeUnixNano\DC2\GS\n\+ \\tas_double\CAN\ETX \SOH(\SOHH\NULR\basDouble\DC2\ETB\n\+ \\ACKas_int\CAN\ACK \SOH(\DLEH\NULR\ENQasInt\DC2\ETB\n\+ \\aspan_id\CAN\EOT \SOH(\fR\ACKspanId\DC2\EM\n\+ \\btrace_id\CAN\ENQ \SOH(\fR\atraceIdB\a\n\+ \\ENQvalueJ\EOT\b\SOH\DLE\STX*\140\SOH\n\+ \\SYNAggregationTemporality\DC2'\n\+ \#AGGREGATION_TEMPORALITY_UNSPECIFIED\DLE\NUL\DC2!\n\+ \\GSAGGREGATION_TEMPORALITY_DELTA\DLE\SOH\DC2&\n\+ \\"AGGREGATION_TEMPORALITY_CUMULATIVE\DLE\STX*^\n\+ \\SODataPointFlags\DC2\US\n\+ \\ESCDATA_POINT_FLAGS_DO_NOT_USE\DLE\NUL\DC2+\n\+ \'DATA_POINT_FLAGS_NO_RECORDED_VALUE_MASK\DLE\SOHB\DEL\n\+ \!io.opentelemetry.proto.metrics.v1B\fMetricsProtoP\SOHZ)go.opentelemetry.io/proto/otlp/metrics/v1\170\STX\RSOpenTelemetry.Proto.Metrics.V1J\216\232\SOH\n\+ \\a\DC2\ENQ\SO\NUL\163\ENQ\SOH\n\+ \\200\EOT\n\+ \\SOH\f\DC2\ETX\SO\NUL\DC22\189\EOT Copyright 2019, OpenTelemetry Authors\n\+ \\n\+ \ Licensed under the Apache License, Version 2.0 (the \"License\");\n\+ \ you may not use this file except in compliance with the License.\n\+ \ You may obtain a copy of the License at\n\+ \\n\+ \ http://www.apache.org/licenses/LICENSE-2.0\n\+ \\n\+ \ Unless required by applicable law or agreed to in writing, software\n\+ \ distributed under the License is distributed on an \"AS IS\" BASIS,\n\+ \ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\+ \ See the License for the specific language governing permissions and\n\+ \ limitations under the License.\n\+ \\n\+ \\b\n\+ \\SOH\STX\DC2\ETX\DLE\NUL'\n\+ \\t\n\+ \\STX\ETX\NUL\DC2\ETX\DC2\NUL4\n\+ \\t\n\+ \\STX\ETX\SOH\DC2\ETX\DC3\NUL8\n\+ \\b\n\+ \\SOH\b\DC2\ETX\NAK\NUL;\n\+ \\t\n\+ \\STX\b%\DC2\ETX\NAK\NUL;\n\+ \\b\n\+ \\SOH\b\DC2\ETX\SYN\NUL\"\n\+ \\t\n\+ \\STX\b\n\+ \\DC2\ETX\SYN\NUL\"\n\+ \\b\n\+ \\SOH\b\DC2\ETX\ETB\NUL:\n\+ \\t\n\+ \\STX\b\SOH\DC2\ETX\ETB\NUL:\n\+ \\b\n\+ \\SOH\b\DC2\ETX\CAN\NUL-\n\+ \\t\n\+ \\STX\b\b\DC2\ETX\CAN\NUL-\n\+ \\b\n\+ \\SOH\b\DC2\ETX\EM\NUL@\n\+ \\t\n\+ \\STX\b\v\DC2\ETX\EM\NUL@\n\+ \\209\ETX\n\+ \\STX\EOT\NUL\DC2\EOT%\NUL,\SOH\SUB\196\ETX MetricsData represents the metrics data that can be stored in a persistent\n\+ \ storage, OR can be embedded by other protocols that transfer OTLP metrics\n\+ \ data but do not implement the OTLP protocol.\n\+ \\n\+ \ The main difference between this message and collector protocol is that\n\+ \ in this message there will not be any \"control\" or \"metadata\" specific to\n\+ \ OTLP protocol.\n\+ \\n\+ \ When new fields are added into this message, the OTLP request MUST be updated\n\+ \ as well.\n\+ \\n\+ \\n\+ \\n\+ \\ETX\EOT\NUL\SOH\DC2\ETX%\b\DC3\n\+ \\176\STX\n\+ \\EOT\EOT\NUL\STX\NUL\DC2\ETX+\STX0\SUB\162\STX An array of ResourceMetrics.\n\+ \ For data coming from a single resource this array will typically contain\n\+ \ one element. Intermediary nodes that receive data from multiple origins\n\+ \ typically batch the data before forwarding further and in that case this\n\+ \ array will contain multiple elements.\n\+ \\n\+ \\f\n\+ \\ENQ\EOT\NUL\STX\NUL\EOT\DC2\ETX+\STX\n\+ \\n\+ \\f\n\+ \\ENQ\EOT\NUL\STX\NUL\ACK\DC2\ETX+\v\SUB\n\+ \\f\n\+ \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX+\ESC+\n\+ \\f\n\+ \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX+./\n\+ \;\n\+ \\STX\EOT\SOH\DC2\EOT/\NUL<\SOH\SUB/ A collection of ScopeMetrics from a Resource.\n\+ \\n\+ \\n\+ \\n\+ \\ETX\EOT\SOH\SOH\DC2\ETX/\b\ETB\n\+ \\n\+ \\n\+ \\ETX\EOT\SOH\t\DC2\ETX0\STX\DLE\n\+ \\v\n\+ \\EOT\EOT\SOH\t\NUL\DC2\ETX0\v\SI\n\+ \\f\n\+ \\ENQ\EOT\SOH\t\NUL\SOH\DC2\ETX0\v\SI\n\+ \\f\n\+ \\ENQ\EOT\SOH\t\NUL\STX\DC2\ETX0\v\SI\n\+ \v\n\+ \\EOT\EOT\SOH\STX\NUL\DC2\ETX4\STX8\SUBi The resource for the metrics in this message.\n\+ \ If this field is not set then no resource info is known.\n\+ \\n\+ \\f\n\+ \\ENQ\EOT\SOH\STX\NUL\ACK\DC2\ETX4\STX*\n\+ \\f\n\+ \\ENQ\EOT\SOH\STX\NUL\SOH\DC2\ETX4+3\n\+ \\f\n\+ \\ENQ\EOT\SOH\STX\NUL\ETX\DC2\ETX467\n\+ \@\n\+ \\EOT\EOT\SOH\STX\SOH\DC2\ETX7\STX*\SUB3 A list of metrics that originate from a resource.\n\+ \\n\+ \\f\n\+ \\ENQ\EOT\SOH\STX\SOH\EOT\DC2\ETX7\STX\n\+ \\n\+ \\f\n\+ \\ENQ\EOT\SOH\STX\SOH\ACK\DC2\ETX7\v\ETB\n\+ \\f\n\+ \\ENQ\EOT\SOH\STX\SOH\SOH\DC2\ETX7\CAN%\n\+ \\f\n\+ \\ENQ\EOT\SOH\STX\SOH\ETX\DC2\ETX7()\n\+ \\175\SOH\n\+ \\EOT\EOT\SOH\STX\STX\DC2\ETX;\STX\CAN\SUB\161\SOH This schema_url applies to the data in the \"resource\" field. It does not apply\n\+ \ to the data in the \"scope_metrics\" field which have their own schema_url field.\n\+ \\n\+ \\f\n\+ \\ENQ\EOT\SOH\STX\STX\ENQ\DC2\ETX;\STX\b\n\+ \\f\n\+ \\ENQ\EOT\SOH\STX\STX\SOH\DC2\ETX;\t\DC3\n\+ \\f\n\+ \\ENQ\EOT\SOH\STX\STX\ETX\DC2\ETX;\SYN\ETB\n\+ \;\n\+ \\STX\EOT\STX\DC2\EOT?\NULJ\SOH\SUB/ A collection of Metrics produced by an Scope.\n\+ \\n\+ \\n\+ \\n\+ \\ETX\EOT\STX\SOH\DC2\ETX?\b\DC4\n\+ \\207\SOH\n\+ \\EOT\EOT\STX\STX\NUL\DC2\ETXC\STX?\SUB\193\SOH The instrumentation scope information for the metrics in this message.\n\+ \ Semantically when InstrumentationScope isn't set, it is equivalent with\n\+ \ an empty instrumentation scope name (unknown).\n\+ \\n\+ \\f\n\+ \\ENQ\EOT\STX\STX\NUL\ACK\DC2\ETXC\STX4\n\+ \\f\n\+ \\ENQ\EOT\STX\STX\NUL\SOH\DC2\ETXC5:\n\+ \\f\n\+ \\ENQ\EOT\STX\STX\NUL\ETX\DC2\ETXC=>\n\+ \P\n\+ \\EOT\EOT\STX\STX\SOH\DC2\ETXF\STX\RS\SUBC A list of metrics that originate from an instrumentation library.\n\+ \\n\+ \\f\n\+ \\ENQ\EOT\STX\STX\SOH\EOT\DC2\ETXF\STX\n\+ \\n\+ \\f\n\+ \\ENQ\EOT\STX\STX\SOH\ACK\DC2\ETXF\v\DC1\n\+ \\f\n\+ \\ENQ\EOT\STX\STX\SOH\SOH\DC2\ETXF\DC2\EM\n\+ \\f\n\+ \\ENQ\EOT\STX\STX\SOH\ETX\DC2\ETXF\FS\GS\n\+ \M\n\+ \\EOT\EOT\STX\STX\STX\DC2\ETXI\STX\CAN\SUB@ This schema_url applies to all metrics in the \"metrics\" field.\n\+ \\n\+ \\f\n\+ \\ENQ\EOT\STX\STX\STX\ENQ\DC2\ETXI\STX\b\n\+ \\f\n\+ \\ENQ\EOT\STX\STX\STX\SOH\DC2\ETXI\t\DC3\n\+ \\f\n\+ \\ENQ\EOT\STX\STX\STX\ETX\DC2\ETXI\SYN\ETB\n\+ \\175\GS\n\+ \\STX\EOT\ETX\DC2\ACK\161\SOH\NUL\184\SOH\SOH\SUB\160\GS Defines a Metric which has one or more timeseries. The following is a\n\+ \ brief summary of the Metric data model. For more details, see:\n\+ \\n\+ \ https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/data-model.md\n\+ \\n\+ \\n\+ \ The data model and relation between entities is shown in the\n\+ \ diagram below. Here, \"DataPoint\" is the term used to refer to any\n\+ \ one of the specific data point value types, and \"points\" is the term used\n\+ \ to refer to any one of the lists of points contained in the Metric.\n\+ \\n\+ \ - Metric is composed of a metadata and data.\n\+ \ - Metadata part contains a name, description, unit.\n\+ \ - Data is one of the possible types (Sum, Gauge, Histogram, Summary).\n\+ \ - DataPoint contains timestamps, attributes, and one of the possible value type\n\+ \ fields.\n\+ \\n\+ \ Metric\n\+ \ +------------+\n\+ \ |name |\n\+ \ |description |\n\+ \ |unit | +------------------------------------+\n\+ \ |data |---> |Gauge, Sum, Histogram, Summary, ... |\n\+ \ +------------+ +------------------------------------+\n\+ \\n\+ \ Data [One of Gauge, Sum, Histogram, Summary, ...]\n\+ \ +-----------+\n\+ \ |... | // Metadata about the Data.\n\+ \ |points |--+\n\+ \ +-----------+ |\n\+ \ | +---------------------------+\n\+ \ | |DataPoint 1 |\n\+ \ v |+------+------+ +------+ |\n\+ \ +-----+ ||label |label |...|label | |\n\+ \ | 1 |-->||value1|value2|...|valueN| |\n\+ \ +-----+ |+------+------+ +------+ |\n\+ \ | . | |+-----+ |\n\+ \ | . | ||value| |\n\+ \ | . | |+-----+ |\n\+ \ | . | +---------------------------+\n\+ \ | . | .\n\+ \ | . | .\n\+ \ | . | .\n\+ \ | . | +---------------------------+\n\+ \ | . | |DataPoint M |\n\+ \ +-----+ |+------+------+ +------+ |\n\+ \ | M |-->||label |label |...|label | |\n\+ \ +-----+ ||value1|value2|...|valueN| |\n\+ \ |+------+------+ +------+ |\n\+ \ |+-----+ |\n\+ \ ||value| |\n\+ \ |+-----+ |\n\+ \ +---------------------------+\n\+ \\n\+ \ Each distinct type of DataPoint represents the output of a specific\n\+ \ aggregation function, the result of applying the DataPoint's\n\+ \ associated function of to one or more measurements.\n\+ \\n\+ \ All DataPoint types have three common fields:\n\+ \ - Attributes includes key-value pairs associated with the data point\n\+ \ - TimeUnixNano is required, set to the end time of the aggregation\n\+ \ - StartTimeUnixNano is optional, but strongly encouraged for DataPoints\n\+ \ having an AggregationTemporality field, as discussed below.\n\+ \\n\+ \ Both TimeUnixNano and StartTimeUnixNano values are expressed as\n\+ \ UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970.\n\+ \\n\+ \ # TimeUnixNano\n\+ \\n\+ \ This field is required, having consistent interpretation across\n\+ \ DataPoint types. TimeUnixNano is the moment corresponding to when\n\+ \ the data point's aggregate value was captured.\n\+ \\n\+ \ Data points with the 0 value for TimeUnixNano SHOULD be rejected\n\+ \ by consumers.\n\+ \\n\+ \ # StartTimeUnixNano\n\+ \\n\+ \ StartTimeUnixNano in general allows detecting when a sequence of\n\+ \ observations is unbroken. This field indicates to consumers the\n\+ \ start time for points with cumulative and delta\n\+ \ AggregationTemporality, and it should be included whenever possible\n\+ \ to support correct rate calculation. Although it may be omitted\n\+ \ when the start time is truly unknown, setting StartTimeUnixNano is\n\+ \ strongly encouraged.\n\+ \\n\+ \\v\n\+ \\ETX\EOT\ETX\SOH\DC2\EOT\161\SOH\b\SO\n\+ \\v\n\+ \\ETX\EOT\ETX\t\DC2\EOT\162\SOH\STX\DC3\n\+ \\f\n\+ \\EOT\EOT\ETX\t\NUL\DC2\EOT\162\SOH\v\f\n\+ \\r\n\+ \\ENQ\EOT\ETX\t\NUL\SOH\DC2\EOT\162\SOH\v\f\n\+ \\r\n\+ \\ENQ\EOT\ETX\t\NUL\STX\DC2\EOT\162\SOH\v\f\n\+ \\f\n\+ \\EOT\EOT\ETX\t\SOH\DC2\EOT\162\SOH\SO\SI\n\+ \\r\n\+ \\ENQ\EOT\ETX\t\SOH\SOH\DC2\EOT\162\SOH\SO\SI\n\+ \\r\n\+ \\ENQ\EOT\ETX\t\SOH\STX\DC2\EOT\162\SOH\SO\SI\n\+ \\f\n\+ \\EOT\EOT\ETX\t\STX\DC2\EOT\162\SOH\DC1\DC2\n\+ \\r\n\+ \\ENQ\EOT\ETX\t\STX\SOH\DC2\EOT\162\SOH\DC1\DC2\n\+ \\r\n\+ \\ENQ\EOT\ETX\t\STX\STX\DC2\EOT\162\SOH\DC1\DC2\n\+ \U\n\+ \\EOT\EOT\ETX\STX\NUL\DC2\EOT\165\SOH\STX\DC2\SUBG name of the metric, including its DNS name prefix. It must be unique.\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\NUL\ENQ\DC2\EOT\165\SOH\STX\b\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\NUL\SOH\DC2\EOT\165\SOH\t\r\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\NUL\ETX\DC2\EOT\165\SOH\DLE\DC1\n\+ \N\n\+ \\EOT\EOT\ETX\STX\SOH\DC2\EOT\168\SOH\STX\EM\SUB@ description of the metric, which can be used in documentation.\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\SOH\ENQ\DC2\EOT\168\SOH\STX\b\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\SOH\SOH\DC2\EOT\168\SOH\t\DC4\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\SOH\ETX\DC2\EOT\168\SOH\ETB\CAN\n\+ \\129\SOH\n\+ \\EOT\EOT\ETX\STX\STX\DC2\EOT\172\SOH\STX\DC2\SUBs unit in which the metric value is reported. Follows the format\n\+ \ described by http://unitsofmeasure.org/ucum.html.\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\STX\ENQ\DC2\EOT\172\SOH\STX\b\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\STX\SOH\DC2\EOT\172\SOH\t\r\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\STX\ETX\DC2\EOT\172\SOH\DLE\DC1\n\+ \\215\SOH\n\+ \\EOT\EOT\ETX\b\NUL\DC2\ACK\177\SOH\STX\183\SOH\ETX\SUB\198\SOH Data determines the aggregation type (if any) of the metric, what is the\n\+ \ reported value type for the data points, as well as the relatationship to\n\+ \ the time interval over which they are reported.\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\ETX\b\NUL\SOH\DC2\EOT\177\SOH\b\f\n\+ \\f\n\+ \\EOT\EOT\ETX\STX\ETX\DC2\EOT\178\SOH\EOT\DC4\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\ETX\ACK\DC2\EOT\178\SOH\EOT\t\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\ETX\SOH\DC2\EOT\178\SOH\n\+ \\SI\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\ETX\ETX\DC2\EOT\178\SOH\DC2\DC3\n\+ \\f\n\+ \\EOT\EOT\ETX\STX\EOT\DC2\EOT\179\SOH\EOT\DLE\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\EOT\ACK\DC2\EOT\179\SOH\EOT\a\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\EOT\SOH\DC2\EOT\179\SOH\b\v\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\EOT\ETX\DC2\EOT\179\SOH\SO\SI\n\+ \\f\n\+ \\EOT\EOT\ETX\STX\ENQ\DC2\EOT\180\SOH\EOT\FS\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\ENQ\ACK\DC2\EOT\180\SOH\EOT\r\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\ENQ\SOH\DC2\EOT\180\SOH\SO\ETB\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\ENQ\ETX\DC2\EOT\180\SOH\SUB\ESC\n\+ \\f\n\+ \\EOT\EOT\ETX\STX\ACK\DC2\EOT\181\SOH\EOT4\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\ACK\ACK\DC2\EOT\181\SOH\EOT\CAN\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\ACK\SOH\DC2\EOT\181\SOH\EM.\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\ACK\ETX\DC2\EOT\181\SOH13\n\+ \\f\n\+ \\EOT\EOT\ETX\STX\a\DC2\EOT\182\SOH\EOT\EM\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\a\ACK\DC2\EOT\182\SOH\EOT\v\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\a\SOH\DC2\EOT\182\SOH\f\DC3\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\a\ETX\DC2\EOT\182\SOH\SYN\CAN\n\+ \\247\ETX\n\+ \\STX\EOT\EOT\DC2\ACK\195\SOH\NUL\197\SOH\SOH\SUB\232\ETX Gauge represents the type of a scalar metric that always exports the\n\+ \ \"current value\" for every data point. It should be used for an \"unknown\"\n\+ \ aggregation.\n\+ \\n\+ \ A Gauge does not support different aggregation temporalities. Given the\n\+ \ aggregation is unknown, points cannot be combined using the same\n\+ \ aggregation, regardless of aggregation temporalities. Therefore,\n\+ \ AggregationTemporality is not included. Consequently, this also means\n\+ \ \"StartTimeUnixNano\" is ignored for all data points.\n\+ \\n\+ \\v\n\+ \\ETX\EOT\EOT\SOH\DC2\EOT\195\SOH\b\r\n\+ \\f\n\+ \\EOT\EOT\EOT\STX\NUL\DC2\EOT\196\SOH\STX+\n\+ \\r\n\+ \\ENQ\EOT\EOT\STX\NUL\EOT\DC2\EOT\196\SOH\STX\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\EOT\STX\NUL\ACK\DC2\EOT\196\SOH\v\SUB\n\+ \\r\n\+ \\ENQ\EOT\EOT\STX\NUL\SOH\DC2\EOT\196\SOH\ESC&\n\+ \\r\n\+ \\ENQ\EOT\EOT\STX\NUL\ETX\DC2\EOT\196\SOH)*\n\+ \\138\SOH\n\+ \\STX\EOT\ENQ\DC2\ACK\201\SOH\NUL\210\SOH\SOH\SUB| Sum represents the type of a scalar metric that is calculated as a sum of all\n\+ \ reported measurements over a time interval.\n\+ \\n\+ \\v\n\+ \\ETX\EOT\ENQ\SOH\DC2\EOT\201\SOH\b\v\n\+ \\f\n\+ \\EOT\EOT\ENQ\STX\NUL\DC2\EOT\202\SOH\STX+\n\+ \\r\n\+ \\ENQ\EOT\ENQ\STX\NUL\EOT\DC2\EOT\202\SOH\STX\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\ENQ\STX\NUL\ACK\DC2\EOT\202\SOH\v\SUB\n\+ \\r\n\+ \\ENQ\EOT\ENQ\STX\NUL\SOH\DC2\EOT\202\SOH\ESC&\n\+ \\r\n\+ \\ENQ\EOT\ENQ\STX\NUL\ETX\DC2\EOT\202\SOH)*\n\+ \\163\SOH\n\+ \\EOT\EOT\ENQ\STX\SOH\DC2\EOT\206\SOH\STX5\SUB\148\SOH aggregation_temporality describes if the aggregator reports delta changes\n\+ \ since last report time, or cumulative changes since a fixed start time.\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\ENQ\STX\SOH\ACK\DC2\EOT\206\SOH\STX\CAN\n\+ \\r\n\+ \\ENQ\EOT\ENQ\STX\SOH\SOH\DC2\EOT\206\SOH\EM0\n\+ \\r\n\+ \\ENQ\EOT\ENQ\STX\SOH\ETX\DC2\EOT\206\SOH34\n\+ \:\n\+ \\EOT\EOT\ENQ\STX\STX\DC2\EOT\209\SOH\STX\CAN\SUB, If \"true\" means that the sum is monotonic.\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\ENQ\STX\STX\ENQ\DC2\EOT\209\SOH\STX\ACK\n\+ \\r\n\+ \\ENQ\EOT\ENQ\STX\STX\SOH\DC2\EOT\209\SOH\a\DC3\n\+ \\r\n\+ \\ENQ\EOT\ENQ\STX\STX\ETX\DC2\EOT\209\SOH\SYN\ETB\n\+ \\159\SOH\n\+ \\STX\EOT\ACK\DC2\ACK\214\SOH\NUL\220\SOH\SOH\SUB\144\SOH Histogram represents the type of a metric that is calculated by aggregating\n\+ \ as a Histogram of all reported measurements over a time interval.\n\+ \\n\+ \\v\n\+ \\ETX\EOT\ACK\SOH\DC2\EOT\214\SOH\b\DC1\n\+ \\f\n\+ \\EOT\EOT\ACK\STX\NUL\DC2\EOT\215\SOH\STX.\n\+ \\r\n\+ \\ENQ\EOT\ACK\STX\NUL\EOT\DC2\EOT\215\SOH\STX\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\ACK\STX\NUL\ACK\DC2\EOT\215\SOH\v\GS\n\+ \\r\n\+ \\ENQ\EOT\ACK\STX\NUL\SOH\DC2\EOT\215\SOH\RS)\n\+ \\r\n\+ \\ENQ\EOT\ACK\STX\NUL\ETX\DC2\EOT\215\SOH,-\n\+ \\163\SOH\n\+ \\EOT\EOT\ACK\STX\SOH\DC2\EOT\219\SOH\STX5\SUB\148\SOH aggregation_temporality describes if the aggregator reports delta changes\n\+ \ since last report time, or cumulative changes since a fixed start time.\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\ACK\STX\SOH\ACK\DC2\EOT\219\SOH\STX\CAN\n\+ \\r\n\+ \\ENQ\EOT\ACK\STX\SOH\SOH\DC2\EOT\219\SOH\EM0\n\+ \\r\n\+ \\ENQ\EOT\ACK\STX\SOH\ETX\DC2\EOT\219\SOH34\n\+ \\188\SOH\n\+ \\STX\EOT\a\DC2\ACK\224\SOH\NUL\230\SOH\SOH\SUB\173\SOH ExponentialHistogram represents the type of a metric that is calculated by aggregating\n\+ \ as a ExponentialHistogram of all reported double measurements over a time interval.\n\+ \\n\+ \\v\n\+ \\ETX\EOT\a\SOH\DC2\EOT\224\SOH\b\FS\n\+ \\f\n\+ \\EOT\EOT\a\STX\NUL\DC2\EOT\225\SOH\STX9\n\+ \\r\n\+ \\ENQ\EOT\a\STX\NUL\EOT\DC2\EOT\225\SOH\STX\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\a\STX\NUL\ACK\DC2\EOT\225\SOH\v(\n\+ \\r\n\+ \\ENQ\EOT\a\STX\NUL\SOH\DC2\EOT\225\SOH)4\n\+ \\r\n\+ \\ENQ\EOT\a\STX\NUL\ETX\DC2\EOT\225\SOH78\n\+ \\163\SOH\n\+ \\EOT\EOT\a\STX\SOH\DC2\EOT\229\SOH\STX5\SUB\148\SOH aggregation_temporality describes if the aggregator reports delta changes\n\+ \ since last report time, or cumulative changes since a fixed start time.\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\a\STX\SOH\ACK\DC2\EOT\229\SOH\STX\CAN\n\+ \\r\n\+ \\ENQ\EOT\a\STX\SOH\SOH\DC2\EOT\229\SOH\EM0\n\+ \\r\n\+ \\ENQ\EOT\a\STX\SOH\ETX\DC2\EOT\229\SOH34\n\+ \\229\ETX\n\+ \\STX\EOT\b\DC2\ACK\238\SOH\NUL\240\SOH\SOH\SUB\214\ETX Summary metric data are used to convey quantile summaries,\n\+ \ a Prometheus (see: https://prometheus.io/docs/concepts/metric_types/#summary)\n\+ \ and OpenMetrics (see: https://github.com/OpenObservability/OpenMetrics/blob/4dbf6075567ab43296eed941037c12951faafb92/protos/prometheus.proto#L45)\n\+ \ data type. These data points cannot always be merged in a meaningful way.\n\+ \ While they can be useful in some applications, histogram data points are\n\+ \ recommended for new applications.\n\+ \\n\+ \\v\n\+ \\ETX\EOT\b\SOH\DC2\EOT\238\SOH\b\SI\n\+ \\f\n\+ \\EOT\EOT\b\STX\NUL\DC2\EOT\239\SOH\STX,\n\+ \\r\n\+ \\ENQ\EOT\b\STX\NUL\EOT\DC2\EOT\239\SOH\STX\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\b\STX\NUL\ACK\DC2\EOT\239\SOH\v\ESC\n\+ \\r\n\+ \\ENQ\EOT\b\STX\NUL\SOH\DC2\EOT\239\SOH\FS'\n\+ \\r\n\+ \\ENQ\EOT\b\STX\NUL\ETX\DC2\EOT\239\SOH*+\n\+ \\190\SOH\n\+ \\STX\ENQ\NUL\DC2\ACK\245\SOH\NUL\183\STX\SOH\SUB\175\SOH AggregationTemporality defines how a metric aggregator reports aggregated\n\+ \ values. It describes how those values relate to the time interval over\n\+ \ which they are aggregated.\n\+ \\n\+ \\v\n\+ \\ETX\ENQ\NUL\SOH\DC2\EOT\245\SOH\ENQ\ESC\n\+ \W\n\+ \\EOT\ENQ\NUL\STX\NUL\DC2\EOT\247\SOH\STX*\SUBI UNSPECIFIED is the default AggregationTemporality, it MUST not be used.\n\+ \\n\+ \\r\n\+ \\ENQ\ENQ\NUL\STX\NUL\SOH\DC2\EOT\247\SOH\STX%\n\+ \\r\n\+ \\ENQ\ENQ\NUL\STX\NUL\STX\DC2\EOT\247\SOH()\n\+ \\236\t\n\+ \\EOT\ENQ\NUL\STX\SOH\DC2\EOT\145\STX\STX$\SUB\221\t DELTA is an AggregationTemporality for a metric aggregator which reports\n\+ \ changes since last report time. Successive metrics contain aggregation of\n\+ \ values from continuous and non-overlapping intervals.\n\+ \\n\+ \ The values for a DELTA metric are based only on the time interval\n\+ \ associated with one measurement cycle. There is no dependency on\n\+ \ previous measurements like is the case for CUMULATIVE metrics.\n\+ \\n\+ \ For example, consider a system measuring the number of requests that\n\+ \ it receives and reports the sum of these requests every second as a\n\+ \ DELTA metric:\n\+ \\n\+ \ 1. The system starts receiving at time=t_0.\n\+ \ 2. A request is received, the system measures 1 request.\n\+ \ 3. A request is received, the system measures 1 request.\n\+ \ 4. A request is received, the system measures 1 request.\n\+ \ 5. The 1 second collection cycle ends. A metric is exported for the\n\+ \ number of requests received over the interval of time t_0 to\n\+ \ t_0+1 with a value of 3.\n\+ \ 6. A request is received, the system measures 1 request.\n\+ \ 7. A request is received, the system measures 1 request.\n\+ \ 8. The 1 second collection cycle ends. A metric is exported for the\n\+ \ number of requests received over the interval of time t_0+1 to\n\+ \ t_0+2 with a value of 2.\n\+ \\n\+ \\r\n\+ \\ENQ\ENQ\NUL\STX\SOH\SOH\DC2\EOT\145\STX\STX\US\n\+ \\r\n\+ \\ENQ\ENQ\NUL\STX\SOH\STX\DC2\EOT\145\STX\"#\n\+ \\147\SI\n\+ \\EOT\ENQ\NUL\STX\STX\DC2\EOT\182\STX\STX)\SUB\132\SI CUMULATIVE is an AggregationTemporality for a metric aggregator which\n\+ \ reports changes since a fixed start time. This means that current values\n\+ \ of a CUMULATIVE metric depend on all previous measurements since the\n\+ \ start time. Because of this, the sender is required to retain this state\n\+ \ in some form. If this state is lost or invalidated, the CUMULATIVE metric\n\+ \ values MUST be reset and a new fixed start time following the last\n\+ \ reported measurement time sent MUST be used.\n\+ \\n\+ \ For example, consider a system measuring the number of requests that\n\+ \ it receives and reports the sum of these requests every second as a\n\+ \ CUMULATIVE metric:\n\+ \\n\+ \ 1. The system starts receiving at time=t_0.\n\+ \ 2. A request is received, the system measures 1 request.\n\+ \ 3. A request is received, the system measures 1 request.\n\+ \ 4. A request is received, the system measures 1 request.\n\+ \ 5. The 1 second collection cycle ends. A metric is exported for the\n\+ \ number of requests received over the interval of time t_0 to\n\+ \ t_0+1 with a value of 3.\n\+ \ 6. A request is received, the system measures 1 request.\n\+ \ 7. A request is received, the system measures 1 request.\n\+ \ 8. The 1 second collection cycle ends. A metric is exported for the\n\+ \ number of requests received over the interval of time t_0 to\n\+ \ t_0+2 with a value of 5.\n\+ \ 9. The system experiences a fault and loses state.\n\+ \ 10. The system recovers and resumes receiving at time=t_1.\n\+ \ 11. A request is received, the system measures 1 request.\n\+ \ 12. The 1 second collection cycle ends. A metric is exported for the\n\+ \ number of requests received over the interval of time t_1 to\n\+ \ t_0+1 with a value of 1.\n\+ \\n\+ \ Note: Even though, when reporting changes since last report time, using\n\+ \ CUMULATIVE is valid, it is not recommended. This may cause problems for\n\+ \ systems that do not use start_time to determine when the aggregation\n\+ \ value was reset (e.g. Prometheus).\n\+ \\n\+ \\r\n\+ \\ENQ\ENQ\NUL\STX\STX\SOH\DC2\EOT\182\STX\STX$\n\+ \\r\n\+ \\ENQ\ENQ\NUL\STX\STX\STX\DC2\EOT\182\STX'(\n\+ \\147\ETX\n\+ \\STX\ENQ\SOH\DC2\ACK\192\STX\NUL\203\STX\SOH\SUB\132\ETX DataPointFlags is defined as a protobuf 'uint32' type and is to be used as a\n\+ \ bit-field representing 32 distinct boolean flags. Each flag defined in this\n\+ \ enum is a bit-mask. To test the presence of a single flag in the flags of\n\+ \ a data point, for example, use an expression like:\n\+ \\n\+ \ (point.flags & DATA_POINT_FLAGS_NO_RECORDED_VALUE_MASK) == DATA_POINT_FLAGS_NO_RECORDED_VALUE_MASK\n\+ \\n\+ \\n\+ \\v\n\+ \\ETX\ENQ\SOH\SOH\DC2\EOT\192\STX\ENQ\DC3\n\+ \\150\SOH\n\+ \\EOT\ENQ\SOH\STX\NUL\DC2\EOT\195\STX\STX\"\SUB\135\SOH The zero value for the enum. Should not be used for comparisons.\n\+ \ Instead use bitwise \"and\" with the appropriate mask as shown above.\n\+ \\n\+ \\r\n\+ \\ENQ\ENQ\SOH\STX\NUL\SOH\DC2\EOT\195\STX\STX\GS\n\+ \\r\n\+ \\ENQ\ENQ\SOH\STX\NUL\STX\DC2\EOT\195\STX !\n\+ \\203\SOH\n\+ \\EOT\ENQ\SOH\STX\SOH\DC2\EOT\200\STX\STX.\SUB\188\SOH This DataPoint is valid but has no recorded value. This value\n\+ \ SHOULD be used to reflect explicitly missing data in a series, as\n\+ \ for an equivalent to the Prometheus \"staleness marker\".\n\+ \\n\+ \\r\n\+ \\ENQ\ENQ\SOH\STX\SOH\SOH\DC2\EOT\200\STX\STX)\n\+ \\r\n\+ \\ENQ\ENQ\SOH\STX\SOH\STX\DC2\EOT\200\STX,-\n\+ \\129\SOH\n\+ \\STX\EOT\t\DC2\ACK\207\STX\NUL\243\STX\SOH\SUBs NumberDataPoint is a single data point in a timeseries that describes the\n\+ \ time-varying scalar value of a metric.\n\+ \\n\+ \\v\n\+ \\ETX\EOT\t\SOH\DC2\EOT\207\STX\b\ETB\n\+ \\v\n\+ \\ETX\EOT\t\t\DC2\EOT\208\STX\STX\r\n\+ \\f\n\+ \\EOT\EOT\t\t\NUL\DC2\EOT\208\STX\v\f\n\+ \\r\n\+ \\ENQ\EOT\t\t\NUL\SOH\DC2\EOT\208\STX\v\f\n\+ \\r\n\+ \\ENQ\EOT\t\t\NUL\STX\DC2\EOT\208\STX\v\f\n\+ \\136\STX\n\+ \\EOT\EOT\t\STX\NUL\DC2\EOT\214\STX\STXA\SUB\249\SOH The set of key/value pairs that uniquely identify the timeseries from\n\+ \ where this point belongs. The list may be empty (may contain 0 elements).\n\+ \ Attribute keys MUST be unique (it is not allowed to have more than one\n\+ \ attribute with the same key).\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\t\STX\NUL\EOT\DC2\EOT\214\STX\STX\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\t\STX\NUL\ACK\DC2\EOT\214\STX\v1\n\+ \\r\n\+ \\ENQ\EOT\t\STX\NUL\SOH\DC2\EOT\214\STX2<\n\+ \\r\n\+ \\ENQ\EOT\t\STX\NUL\ETX\DC2\EOT\214\STX?@\n\+ \\197\SOH\n\+ \\EOT\EOT\t\STX\SOH\DC2\EOT\221\STX\STX#\SUB\182\SOH StartTimeUnixNano is optional but strongly encouraged, see the\n\+ \ the detailed comments above Metric.\n\+ \\n\+ \ Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January\n\+ \ 1970.\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\t\STX\SOH\ENQ\DC2\EOT\221\STX\STX\t\n\+ \\r\n\+ \\ENQ\EOT\t\STX\SOH\SOH\DC2\EOT\221\STX\n\+ \\RS\n\+ \\r\n\+ \\ENQ\EOT\t\STX\SOH\ETX\DC2\EOT\221\STX!\"\n\+ \\163\SOH\n\+ \\EOT\EOT\t\STX\STX\DC2\EOT\227\STX\STX\GS\SUB\148\SOH TimeUnixNano is required, see the detailed comments above Metric.\n\+ \\n\+ \ Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January\n\+ \ 1970.\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\t\STX\STX\ENQ\DC2\EOT\227\STX\STX\t\n\+ \\r\n\+ \\ENQ\EOT\t\STX\STX\SOH\DC2\EOT\227\STX\n\+ \\CAN\n\+ \\r\n\+ \\ENQ\EOT\t\STX\STX\ETX\DC2\EOT\227\STX\ESC\FS\n\+ \\141\SOH\n\+ \\EOT\EOT\t\b\NUL\DC2\ACK\231\STX\STX\234\STX\ETX\SUB} The value itself. A point is considered invalid when one of the recognized\n\+ \ value fields is not present inside this oneof.\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\t\b\NUL\SOH\DC2\EOT\231\STX\b\r\n\+ \\f\n\+ \\EOT\EOT\t\STX\ETX\DC2\EOT\232\STX\EOT\EM\n\+ \\r\n\+ \\ENQ\EOT\t\STX\ETX\ENQ\DC2\EOT\232\STX\EOT\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\t\STX\ETX\SOH\DC2\EOT\232\STX\v\DC4\n\+ \\r\n\+ \\ENQ\EOT\t\STX\ETX\ETX\DC2\EOT\232\STX\ETB\CAN\n\+ \\f\n\+ \\EOT\EOT\t\STX\EOT\DC2\EOT\233\STX\EOT\CAN\n\+ \\r\n\+ \\ENQ\EOT\t\STX\EOT\ENQ\DC2\EOT\233\STX\EOT\f\n\+ \\r\n\+ \\ENQ\EOT\t\STX\EOT\SOH\DC2\EOT\233\STX\r\DC3\n\+ \\r\n\+ \\ENQ\EOT\t\STX\EOT\ETX\DC2\EOT\233\STX\SYN\ETB\n\+ \o\n\+ \\EOT\EOT\t\STX\ENQ\DC2\EOT\238\STX\STX\"\SUBa (Optional) List of exemplars collected from\n\+ \ measurements that were used to form the data point\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\t\STX\ENQ\EOT\DC2\EOT\238\STX\STX\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\t\STX\ENQ\ACK\DC2\EOT\238\STX\v\DC3\n\+ \\r\n\+ \\ENQ\EOT\t\STX\ENQ\SOH\DC2\EOT\238\STX\DC4\GS\n\+ \\r\n\+ \\ENQ\EOT\t\STX\ENQ\ETX\DC2\EOT\238\STX !\n\+ \}\n\+ \\EOT\EOT\t\STX\ACK\DC2\EOT\242\STX\STX\DC3\SUBo Flags that apply to this specific data point. See DataPointFlags\n\+ \ for the available flags and their meaning.\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\t\STX\ACK\ENQ\DC2\EOT\242\STX\STX\b\n\+ \\r\n\+ \\ENQ\EOT\t\STX\ACK\SOH\DC2\EOT\242\STX\t\SO\n\+ \\r\n\+ \\ENQ\EOT\t\STX\ACK\ETX\DC2\EOT\242\STX\DC1\DC2\n\+ \\196\EOT\n\+ \\STX\EOT\n\+ \\DC2\ACK\255\STX\NUL\201\ETX\SOH\SUB\181\EOT HistogramDataPoint is a single data point in a timeseries that describes the\n\+ \ time-varying values of a Histogram. A Histogram contains summary statistics\n\+ \ for a population of values, it may optionally contain the distribution of\n\+ \ those values across a set of buckets.\n\+ \\n\+ \ If the histogram contains the distribution of values, then both\n\+ \ \"explicit_bounds\" and \"bucket counts\" fields must be defined.\n\+ \ If the histogram does not contain the distribution of values, then both\n\+ \ \"explicit_bounds\" and \"bucket_counts\" must be omitted and only \"count\" and\n\+ \ \"sum\" are known.\n\+ \\n\+ \\v\n\+ \\ETX\EOT\n\+ \\SOH\DC2\EOT\255\STX\b\SUB\n\+ \\v\n\+ \\ETX\EOT\n\+ \\t\DC2\EOT\128\ETX\STX\r\n\+ \\f\n\+ \\EOT\EOT\n\+ \\t\NUL\DC2\EOT\128\ETX\v\f\n\+ \\r\n\+ \\ENQ\EOT\n\+ \\t\NUL\SOH\DC2\EOT\128\ETX\v\f\n\+ \\r\n\+ \\ENQ\EOT\n\+ \\t\NUL\STX\DC2\EOT\128\ETX\v\f\n\+ \\136\STX\n\+ \\EOT\EOT\n\+ \\STX\NUL\DC2\EOT\134\ETX\STXA\SUB\249\SOH The set of key/value pairs that uniquely identify the timeseries from\n\+ \ where this point belongs. The list may be empty (may contain 0 elements).\n\+ \ Attribute keys MUST be unique (it is not allowed to have more than one\n\+ \ attribute with the same key).\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\n\+ \\STX\NUL\EOT\DC2\EOT\134\ETX\STX\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\n\+ \\STX\NUL\ACK\DC2\EOT\134\ETX\v1\n\+ \\r\n\+ \\ENQ\EOT\n\+ \\STX\NUL\SOH\DC2\EOT\134\ETX2<\n\+ \\r\n\+ \\ENQ\EOT\n\+ \\STX\NUL\ETX\DC2\EOT\134\ETX?@\n\+ \\197\SOH\n\+ \\EOT\EOT\n\+ \\STX\SOH\DC2\EOT\141\ETX\STX#\SUB\182\SOH StartTimeUnixNano is optional but strongly encouraged, see the\n\+ \ the detailed comments above Metric.\n\+ \\n\+ \ Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January\n\+ \ 1970.\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\n\+ \\STX\SOH\ENQ\DC2\EOT\141\ETX\STX\t\n\+ \\r\n\+ \\ENQ\EOT\n\+ \\STX\SOH\SOH\DC2\EOT\141\ETX\n\+ \\RS\n\+ \\r\n\+ \\ENQ\EOT\n\+ \\STX\SOH\ETX\DC2\EOT\141\ETX!\"\n\+ \\163\SOH\n\+ \\EOT\EOT\n\+ \\STX\STX\DC2\EOT\147\ETX\STX\GS\SUB\148\SOH TimeUnixNano is required, see the detailed comments above Metric.\n\+ \\n\+ \ Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January\n\+ \ 1970.\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\n\+ \\STX\STX\ENQ\DC2\EOT\147\ETX\STX\t\n\+ \\r\n\+ \\ENQ\EOT\n\+ \\STX\STX\SOH\DC2\EOT\147\ETX\n\+ \\CAN\n\+ \\r\n\+ \\ENQ\EOT\n\+ \\STX\STX\ETX\DC2\EOT\147\ETX\ESC\FS\n\+ \\186\SOH\n\+ \\EOT\EOT\n\+ \\STX\ETX\DC2\EOT\152\ETX\STX\DC4\SUB\171\SOH count is the number of values in the population. Must be non-negative. This\n\+ \ value must be equal to the sum of the \"count\" fields in buckets if a\n\+ \ histogram is provided.\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\n\+ \\STX\ETX\ENQ\DC2\EOT\152\ETX\STX\t\n\+ \\r\n\+ \\ENQ\EOT\n\+ \\STX\ETX\SOH\DC2\EOT\152\ETX\n\+ \\SI\n\+ \\r\n\+ \\ENQ\EOT\n\+ \\STX\ETX\ETX\DC2\EOT\152\ETX\DC2\DC3\n\+ \\245\ETX\n\+ \\EOT\EOT\n\+ \\STX\EOT\DC2\EOT\162\ETX\STX\SUB\SUB\230\ETX sum of the values in the population. If count is zero then this field\n\+ \ must be zero.\n\+ \\n\+ \ Note: Sum should only be filled out when measuring non-negative discrete\n\+ \ events, and is assumed to be monotonic over the values of these events.\n\+ \ Negative events *can* be recorded, but sum should not be filled out when\n\+ \ doing so. This is specifically to enforce compatibility w/ OpenMetrics,\n\+ \ see: https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md#histogram\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\n\+ \\STX\EOT\EOT\DC2\EOT\162\ETX\STX\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\n\+ \\STX\EOT\ENQ\DC2\EOT\162\ETX\v\DC1\n\+ \\r\n\+ \\ENQ\EOT\n\+ \\STX\EOT\SOH\DC2\EOT\162\ETX\DC2\NAK\n\+ \\r\n\+ \\ENQ\EOT\n\+ \\STX\EOT\ETX\DC2\EOT\162\ETX\CAN\EM\n\+ \\178\STX\n\+ \\EOT\EOT\n\+ \\STX\ENQ\DC2\EOT\171\ETX\STX%\SUB\163\STX bucket_counts is an optional field contains the count values of histogram\n\+ \ for each bucket.\n\+ \\n\+ \ The sum of the bucket_counts must equal the value in the count field.\n\+ \\n\+ \ The number of elements in bucket_counts array must be by one greater than\n\+ \ the number of elements in explicit_bounds array.\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\n\+ \\STX\ENQ\EOT\DC2\EOT\171\ETX\STX\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\n\+ \\STX\ENQ\ENQ\DC2\EOT\171\ETX\v\DC2\n\+ \\r\n\+ \\ENQ\EOT\n\+ \\STX\ENQ\SOH\DC2\EOT\171\ETX\DC3 \n\+ \\r\n\+ \\ENQ\EOT\n\+ \\STX\ENQ\ETX\DC2\EOT\171\ETX#$\n\+ \\215\EOT\n\+ \\EOT\EOT\n\+ \\STX\ACK\DC2\EOT\186\ETX\STX&\SUB\200\EOT explicit_bounds specifies buckets with explicitly defined bounds for values.\n\+ \\n\+ \ The boundaries for bucket at index i are:\n\+ \\n\+ \ (-infinity, explicit_bounds[i]] for i == 0\n\+ \ (explicit_bounds[i-1], explicit_bounds[i]] for 0 < i < size(explicit_bounds)\n\+ \ (explicit_bounds[i-1], +infinity) for i == size(explicit_bounds)\n\+ \\n\+ \ The values in the explicit_bounds array must be strictly increasing.\n\+ \\n\+ \ Histogram buckets are inclusive of their upper boundary, except the last\n\+ \ bucket where the boundary is at infinity. This format is intentionally\n\+ \ compatible with the OpenMetrics histogram definition.\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\n\+ \\STX\ACK\EOT\DC2\EOT\186\ETX\STX\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\n\+ \\STX\ACK\ENQ\DC2\EOT\186\ETX\v\DC1\n\+ \\r\n\+ \\ENQ\EOT\n\+ \\STX\ACK\SOH\DC2\EOT\186\ETX\DC2!\n\+ \\r\n\+ \\ENQ\EOT\n\+ \\STX\ACK\ETX\DC2\EOT\186\ETX$%\n\+ \o\n\+ \\EOT\EOT\n\+ \\STX\a\DC2\EOT\190\ETX\STX\"\SUBa (Optional) List of exemplars collected from\n\+ \ measurements that were used to form the data point\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\n\+ \\STX\a\EOT\DC2\EOT\190\ETX\STX\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\n\+ \\STX\a\ACK\DC2\EOT\190\ETX\v\DC3\n\+ \\r\n\+ \\ENQ\EOT\n\+ \\STX\a\SOH\DC2\EOT\190\ETX\DC4\GS\n\+ \\r\n\+ \\ENQ\EOT\n\+ \\STX\a\ETX\DC2\EOT\190\ETX !\n\+ \}\n\+ \\EOT\EOT\n\+ \\STX\b\DC2\EOT\194\ETX\STX\DC4\SUBo Flags that apply to this specific data point. See DataPointFlags\n\+ \ for the available flags and their meaning.\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\n\+ \\STX\b\ENQ\DC2\EOT\194\ETX\STX\b\n\+ \\r\n\+ \\ENQ\EOT\n\+ \\STX\b\SOH\DC2\EOT\194\ETX\t\SO\n\+ \\r\n\+ \\ENQ\EOT\n\+ \\STX\b\ETX\DC2\EOT\194\ETX\DC1\DC3\n\+ \E\n\+ \\EOT\EOT\n\+ \\STX\t\DC2\EOT\197\ETX\STX\ESC\SUB7 min is the minimum value over (start_time, end_time].\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\n\+ \\STX\t\EOT\DC2\EOT\197\ETX\STX\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\n\+ \\STX\t\ENQ\DC2\EOT\197\ETX\v\DC1\n\+ \\r\n\+ \\ENQ\EOT\n\+ \\STX\t\SOH\DC2\EOT\197\ETX\DC2\NAK\n\+ \\r\n\+ \\ENQ\EOT\n\+ \\STX\t\ETX\DC2\EOT\197\ETX\CAN\SUB\n\+ \E\n\+ \\EOT\EOT\n\+ \\STX\n\+ \\DC2\EOT\200\ETX\STX\ESC\SUB7 max is the maximum value over (start_time, end_time].\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\n\+ \\STX\n\+ \\EOT\DC2\EOT\200\ETX\STX\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\n\+ \\STX\n\+ \\ENQ\DC2\EOT\200\ETX\v\DC1\n\+ \\r\n\+ \\ENQ\EOT\n\+ \\STX\n\+ \\SOH\DC2\EOT\200\ETX\DC2\NAK\n\+ \\r\n\+ \\ENQ\EOT\n\+ \\STX\n\+ \\ETX\DC2\EOT\200\ETX\CAN\SUB\n\+ \\207\STX\n\+ \\STX\EOT\v\DC2\ACK\208\ETX\NUL\189\EOT\SOH\SUB\192\STX ExponentialHistogramDataPoint is a single data point in a timeseries that describes the\n\+ \ time-varying values of a ExponentialHistogram of double values. A ExponentialHistogram contains\n\+ \ summary statistics for a population of values, it may optionally contain the\n\+ \ distribution of those values across a set of buckets.\n\+ \\n\+ \\n\+ \\v\n\+ \\ETX\EOT\v\SOH\DC2\EOT\208\ETX\b%\n\+ \\136\STX\n\+ \\EOT\EOT\v\STX\NUL\DC2\EOT\213\ETX\STXA\SUB\249\SOH The set of key/value pairs that uniquely identify the timeseries from\n\+ \ where this point belongs. The list may be empty (may contain 0 elements).\n\+ \ Attribute keys MUST be unique (it is not allowed to have more than one\n\+ \ attribute with the same key).\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\v\STX\NUL\EOT\DC2\EOT\213\ETX\STX\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\v\STX\NUL\ACK\DC2\EOT\213\ETX\v1\n\+ \\r\n\+ \\ENQ\EOT\v\STX\NUL\SOH\DC2\EOT\213\ETX2<\n\+ \\r\n\+ \\ENQ\EOT\v\STX\NUL\ETX\DC2\EOT\213\ETX?@\n\+ \\197\SOH\n\+ \\EOT\EOT\v\STX\SOH\DC2\EOT\220\ETX\STX#\SUB\182\SOH StartTimeUnixNano is optional but strongly encouraged, see the\n\+ \ the detailed comments above Metric.\n\+ \\n\+ \ Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January\n\+ \ 1970.\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\v\STX\SOH\ENQ\DC2\EOT\220\ETX\STX\t\n\+ \\r\n\+ \\ENQ\EOT\v\STX\SOH\SOH\DC2\EOT\220\ETX\n\+ \\RS\n\+ \\r\n\+ \\ENQ\EOT\v\STX\SOH\ETX\DC2\EOT\220\ETX!\"\n\+ \\163\SOH\n\+ \\EOT\EOT\v\STX\STX\DC2\EOT\226\ETX\STX\GS\SUB\148\SOH TimeUnixNano is required, see the detailed comments above Metric.\n\+ \\n\+ \ Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January\n\+ \ 1970.\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\v\STX\STX\ENQ\DC2\EOT\226\ETX\STX\t\n\+ \\r\n\+ \\ENQ\EOT\v\STX\STX\SOH\DC2\EOT\226\ETX\n\+ \\CAN\n\+ \\r\n\+ \\ENQ\EOT\v\STX\STX\ETX\DC2\EOT\226\ETX\ESC\FS\n\+ \\221\SOH\n\+ \\EOT\EOT\v\STX\ETX\DC2\EOT\231\ETX\STX\DC4\SUB\206\SOH count is the number of values in the population. Must be\n\+ \ non-negative. This value must be equal to the sum of the \"bucket_counts\"\n\+ \ values in the positive and negative Buckets plus the \"zero_count\" field.\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\v\STX\ETX\ENQ\DC2\EOT\231\ETX\STX\t\n\+ \\r\n\+ \\ENQ\EOT\v\STX\ETX\SOH\DC2\EOT\231\ETX\n\+ \\SI\n\+ \\r\n\+ \\ENQ\EOT\v\STX\ETX\ETX\DC2\EOT\231\ETX\DC2\DC3\n\+ \\245\ETX\n\+ \\EOT\EOT\v\STX\EOT\DC2\EOT\241\ETX\STX\SUB\SUB\230\ETX sum of the values in the population. If count is zero then this field\n\+ \ must be zero.\n\+ \\n\+ \ Note: Sum should only be filled out when measuring non-negative discrete\n\+ \ events, and is assumed to be monotonic over the values of these events.\n\+ \ Negative events *can* be recorded, but sum should not be filled out when\n\+ \ doing so. This is specifically to enforce compatibility w/ OpenMetrics,\n\+ \ see: https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md#histogram\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\v\STX\EOT\EOT\DC2\EOT\241\ETX\STX\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\v\STX\EOT\ENQ\DC2\EOT\241\ETX\v\DC1\n\+ \\r\n\+ \\ENQ\EOT\v\STX\EOT\SOH\DC2\EOT\241\ETX\DC2\NAK\n\+ \\r\n\+ \\ENQ\EOT\v\STX\EOT\ETX\DC2\EOT\241\ETX\CAN\EM\n\+ \\226\EOT\n\+ \\EOT\EOT\v\STX\ENQ\DC2\EOT\130\EOT\STX\DC3\SUB\211\EOT scale describes the resolution of the histogram. Boundaries are\n\+ \ located at powers of the base, where:\n\+ \\n\+ \ base = (2^(2^-scale))\n\+ \\n\+ \ The histogram bucket identified by `index`, a signed integer,\n\+ \ contains values that are greater than (base^index) and\n\+ \ less than or equal to (base^(index+1)).\n\+ \\n\+ \ The positive and negative ranges of the histogram are expressed\n\+ \ separately. Negative values are mapped by their absolute value\n\+ \ into the negative range using the same scale as the positive range.\n\+ \\n\+ \ scale is not restricted by the protocol, as the permissible\n\+ \ values depend on the range of the data.\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\v\STX\ENQ\ENQ\DC2\EOT\130\EOT\STX\b\n\+ \\r\n\+ \\ENQ\EOT\v\STX\ENQ\SOH\DC2\EOT\130\EOT\t\SO\n\+ \\r\n\+ \\ENQ\EOT\v\STX\ENQ\ETX\DC2\EOT\130\EOT\DC1\DC2\n\+ \\170\ETX\n\+ \\EOT\EOT\v\STX\ACK\DC2\EOT\140\EOT\STX\EM\SUB\155\ETX zero_count is the count of values that are either exactly zero or\n\+ \ within the region considered zero by the instrumentation at the\n\+ \ tolerated degree of precision. This bucket stores values that\n\+ \ cannot be expressed using the standard exponential formula as\n\+ \ well as values that have been rounded to zero.\n\+ \\n\+ \ Implementations MAY consider the zero bucket to have probability\n\+ \ mass equal to (zero_count / count).\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\v\STX\ACK\ENQ\DC2\EOT\140\EOT\STX\t\n\+ \\r\n\+ \\ENQ\EOT\v\STX\ACK\SOH\DC2\EOT\140\EOT\n\+ \\DC4\n\+ \\r\n\+ \\ENQ\EOT\v\STX\ACK\ETX\DC2\EOT\140\EOT\ETB\CAN\n\+ \Q\n\+ \\EOT\EOT\v\STX\a\DC2\EOT\143\EOT\STX\ETB\SUBC positive carries the positive range of exponential bucket counts.\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\v\STX\a\ACK\DC2\EOT\143\EOT\STX\t\n\+ \\r\n\+ \\ENQ\EOT\v\STX\a\SOH\DC2\EOT\143\EOT\n\+ \\DC2\n\+ \\r\n\+ \\ENQ\EOT\v\STX\a\ETX\DC2\EOT\143\EOT\NAK\SYN\n\+ \Q\n\+ \\EOT\EOT\v\STX\b\DC2\EOT\146\EOT\STX\ETB\SUBC negative carries the negative range of exponential bucket counts.\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\v\STX\b\ACK\DC2\EOT\146\EOT\STX\t\n\+ \\r\n\+ \\ENQ\EOT\v\STX\b\SOH\DC2\EOT\146\EOT\n\+ \\DC2\n\+ \\r\n\+ \\ENQ\EOT\v\STX\b\ETX\DC2\EOT\146\EOT\NAK\SYN\n\+ \_\n\+ \\EOT\EOT\v\ETX\NUL\DC2\ACK\150\EOT\STX\166\EOT\ETX\SUBO Buckets are a set of bucket counts, encoded in a contiguous array\n\+ \ of counts.\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\v\ETX\NUL\SOH\DC2\EOT\150\EOT\n\+ \\DC1\n\+ \\162\SOH\n\+ \\ACK\EOT\v\ETX\NUL\STX\NUL\DC2\EOT\154\EOT\EOT\SYN\SUB\145\SOH Offset is the bucket index of the first entry in the bucket_counts array.\n\+ \ \n\+ \ Note: This uses a varint encoding as a simple form of compression.\n\+ \\n\+ \\SI\n\+ \\a\EOT\v\ETX\NUL\STX\NUL\ENQ\DC2\EOT\154\EOT\EOT\n\+ \\n\+ \\SI\n\+ \\a\EOT\v\ETX\NUL\STX\NUL\SOH\DC2\EOT\154\EOT\v\DC1\n\+ \\SI\n\+ \\a\EOT\v\ETX\NUL\STX\NUL\ETX\DC2\EOT\154\EOT\DC4\NAK\n\+ \\187\ETX\n\+ \\ACK\EOT\v\ETX\NUL\STX\SOH\DC2\EOT\165\EOT\EOT&\SUB\170\ETX bucket_counts is an array of count values, where bucket_counts[i] carries\n\+ \ the count of the bucket at index (offset+i). bucket_counts[i] is the count\n\+ \ of values greater than base^(offset+i) and less than or equal to\n\+ \ base^(offset+i+1).\n\+ \\n\+ \ Note: By contrast, the explicit HistogramDataPoint uses\n\+ \ fixed64. This field is expected to have many buckets,\n\+ \ especially zeros, so uint64 has been selected to ensure\n\+ \ varint encoding.\n\+ \\n\+ \\SI\n\+ \\a\EOT\v\ETX\NUL\STX\SOH\EOT\DC2\EOT\165\EOT\EOT\f\n\+ \\SI\n\+ \\a\EOT\v\ETX\NUL\STX\SOH\ENQ\DC2\EOT\165\EOT\r\DC3\n\+ \\SI\n\+ \\a\EOT\v\ETX\NUL\STX\SOH\SOH\DC2\EOT\165\EOT\DC4!\n\+ \\SI\n\+ \\a\EOT\v\ETX\NUL\STX\SOH\ETX\DC2\EOT\165\EOT$%\n\+ \}\n\+ \\EOT\EOT\v\STX\t\DC2\EOT\170\EOT\STX\DC4\SUBo Flags that apply to this specific data point. See DataPointFlags\n\+ \ for the available flags and their meaning.\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\v\STX\t\ENQ\DC2\EOT\170\EOT\STX\b\n\+ \\r\n\+ \\ENQ\EOT\v\STX\t\SOH\DC2\EOT\170\EOT\t\SO\n\+ \\r\n\+ \\ENQ\EOT\v\STX\t\ETX\DC2\EOT\170\EOT\DC1\DC3\n\+ \o\n\+ \\EOT\EOT\v\STX\n\+ \\DC2\EOT\174\EOT\STX#\SUBa (Optional) List of exemplars collected from\n\+ \ measurements that were used to form the data point\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\v\STX\n\+ \\EOT\DC2\EOT\174\EOT\STX\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\v\STX\n\+ \\ACK\DC2\EOT\174\EOT\v\DC3\n\+ \\r\n\+ \\ENQ\EOT\v\STX\n\+ \\SOH\DC2\EOT\174\EOT\DC4\GS\n\+ \\r\n\+ \\ENQ\EOT\v\STX\n\+ \\ETX\DC2\EOT\174\EOT \"\n\+ \E\n\+ \\EOT\EOT\v\STX\v\DC2\EOT\177\EOT\STX\ESC\SUB7 min is the minimum value over (start_time, end_time].\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\v\STX\v\EOT\DC2\EOT\177\EOT\STX\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\v\STX\v\ENQ\DC2\EOT\177\EOT\v\DC1\n\+ \\r\n\+ \\ENQ\EOT\v\STX\v\SOH\DC2\EOT\177\EOT\DC2\NAK\n\+ \\r\n\+ \\ENQ\EOT\v\STX\v\ETX\DC2\EOT\177\EOT\CAN\SUB\n\+ \E\n\+ \\EOT\EOT\v\STX\f\DC2\EOT\180\EOT\STX\ESC\SUB7 max is the maximum value over (start_time, end_time].\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\v\STX\f\EOT\DC2\EOT\180\EOT\STX\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\v\STX\f\ENQ\DC2\EOT\180\EOT\v\DC1\n\+ \\r\n\+ \\ENQ\EOT\v\STX\f\SOH\DC2\EOT\180\EOT\DC2\NAK\n\+ \\r\n\+ \\ENQ\EOT\v\STX\f\ETX\DC2\EOT\180\EOT\CAN\SUB\n\+ \\229\STX\n\+ \\EOT\EOT\v\STX\r\DC2\EOT\188\EOT\STX\GS\SUB\214\STX ZeroThreshold may be optionally set to convey the width of the zero\n\+ \ region. Where the zero region is defined as the closed interval\n\+ \ [-ZeroThreshold, ZeroThreshold].\n\+ \ When ZeroThreshold is 0, zero count bucket stores values that cannot be\n\+ \ expressed using the standard exponential formula as well as values that\n\+ \ have been rounded to zero.\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\v\STX\r\ENQ\DC2\EOT\188\EOT\STX\b\n\+ \\r\n\+ \\ENQ\EOT\v\STX\r\SOH\DC2\EOT\188\EOT\t\ETB\n\+ \\r\n\+ \\ENQ\EOT\v\STX\r\ETX\DC2\EOT\188\EOT\SUB\FS\n\+ \\132\SOH\n\+ \\STX\EOT\f\DC2\ACK\193\EOT\NUL\254\EOT\SOH\SUBv SummaryDataPoint is a single data point in a timeseries that describes the\n\+ \ time-varying values of a Summary metric.\n\+ \\n\+ \\v\n\+ \\ETX\EOT\f\SOH\DC2\EOT\193\EOT\b\CAN\n\+ \\v\n\+ \\ETX\EOT\f\t\DC2\EOT\194\EOT\STX\r\n\+ \\f\n\+ \\EOT\EOT\f\t\NUL\DC2\EOT\194\EOT\v\f\n\+ \\r\n\+ \\ENQ\EOT\f\t\NUL\SOH\DC2\EOT\194\EOT\v\f\n\+ \\r\n\+ \\ENQ\EOT\f\t\NUL\STX\DC2\EOT\194\EOT\v\f\n\+ \\136\STX\n\+ \\EOT\EOT\f\STX\NUL\DC2\EOT\200\EOT\STXA\SUB\249\SOH The set of key/value pairs that uniquely identify the timeseries from\n\+ \ where this point belongs. The list may be empty (may contain 0 elements).\n\+ \ Attribute keys MUST be unique (it is not allowed to have more than one\n\+ \ attribute with the same key).\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\f\STX\NUL\EOT\DC2\EOT\200\EOT\STX\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\f\STX\NUL\ACK\DC2\EOT\200\EOT\v1\n\+ \\r\n\+ \\ENQ\EOT\f\STX\NUL\SOH\DC2\EOT\200\EOT2<\n\+ \\r\n\+ \\ENQ\EOT\f\STX\NUL\ETX\DC2\EOT\200\EOT?@\n\+ \\197\SOH\n\+ \\EOT\EOT\f\STX\SOH\DC2\EOT\207\EOT\STX#\SUB\182\SOH StartTimeUnixNano is optional but strongly encouraged, see the\n\+ \ the detailed comments above Metric.\n\+ \\n\+ \ Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January\n\+ \ 1970.\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\f\STX\SOH\ENQ\DC2\EOT\207\EOT\STX\t\n\+ \\r\n\+ \\ENQ\EOT\f\STX\SOH\SOH\DC2\EOT\207\EOT\n\+ \\RS\n\+ \\r\n\+ \\ENQ\EOT\f\STX\SOH\ETX\DC2\EOT\207\EOT!\"\n\+ \\163\SOH\n\+ \\EOT\EOT\f\STX\STX\DC2\EOT\213\EOT\STX\GS\SUB\148\SOH TimeUnixNano is required, see the detailed comments above Metric.\n\+ \\n\+ \ Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January\n\+ \ 1970.\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\f\STX\STX\ENQ\DC2\EOT\213\EOT\STX\t\n\+ \\r\n\+ \\ENQ\EOT\f\STX\STX\SOH\DC2\EOT\213\EOT\n\+ \\CAN\n\+ \\r\n\+ \\ENQ\EOT\f\STX\STX\ETX\DC2\EOT\213\EOT\ESC\FS\n\+ \V\n\+ \\EOT\EOT\f\STX\ETX\DC2\EOT\216\EOT\STX\DC4\SUBH count is the number of values in the population. Must be non-negative.\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\f\STX\ETX\ENQ\DC2\EOT\216\EOT\STX\t\n\+ \\r\n\+ \\ENQ\EOT\f\STX\ETX\SOH\DC2\EOT\216\EOT\n\+ \\SI\n\+ \\r\n\+ \\ENQ\EOT\f\STX\ETX\ETX\DC2\EOT\216\EOT\DC2\DC3\n\+ \\243\ETX\n\+ \\EOT\EOT\f\STX\EOT\DC2\EOT\226\EOT\STX\DC1\SUB\228\ETX sum of the values in the population. If count is zero then this field\n\+ \ must be zero.\n\+ \\n\+ \ Note: Sum should only be filled out when measuring non-negative discrete\n\+ \ events, and is assumed to be monotonic over the values of these events.\n\+ \ Negative events *can* be recorded, but sum should not be filled out when\n\+ \ doing so. This is specifically to enforce compatibility w/ OpenMetrics,\n\+ \ see: https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md#summary\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\f\STX\EOT\ENQ\DC2\EOT\226\EOT\STX\b\n\+ \\r\n\+ \\ENQ\EOT\f\STX\EOT\SOH\DC2\EOT\226\EOT\t\f\n\+ \\r\n\+ \\ENQ\EOT\f\STX\EOT\ETX\DC2\EOT\226\EOT\SI\DLE\n\+ \\253\STX\n\+ \\EOT\EOT\f\ETX\NUL\DC2\ACK\236\EOT\STX\245\EOT\ETX\SUB\236\STX Represents the value at a given quantile of a distribution.\n\+ \\n\+ \ To record Min and Max values following conventions are used:\n\+ \ - The 1.0 quantile is equivalent to the maximum value observed.\n\+ \ - The 0.0 quantile is equivalent to the minimum value observed.\n\+ \\n\+ \ See the following issue for more context:\n\+ \ https://github.com/open-telemetry/opentelemetry-proto/issues/125\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\f\ETX\NUL\SOH\DC2\EOT\236\EOT\n\+ \\EM\n\+ \V\n\+ \\ACK\EOT\f\ETX\NUL\STX\NUL\DC2\EOT\239\EOT\EOT\CAN\SUBF The quantile of a distribution. Must be in the interval\n\+ \ [0.0, 1.0].\n\+ \\n\+ \\SI\n\+ \\a\EOT\f\ETX\NUL\STX\NUL\ENQ\DC2\EOT\239\EOT\EOT\n\+ \\n\+ \\SI\n\+ \\a\EOT\f\ETX\NUL\STX\NUL\SOH\DC2\EOT\239\EOT\v\DC3\n\+ \\SI\n\+ \\a\EOT\f\ETX\NUL\STX\NUL\ETX\DC2\EOT\239\EOT\SYN\ETB\n\+ \l\n\+ \\ACK\EOT\f\ETX\NUL\STX\SOH\DC2\EOT\244\EOT\EOT\NAK\SUB\\ The value at the given quantile of a distribution.\n\+ \\n\+ \ Quantile values must NOT be negative.\n\+ \\n\+ \\SI\n\+ \\a\EOT\f\ETX\NUL\STX\SOH\ENQ\DC2\EOT\244\EOT\EOT\n\+ \\n\+ \\SI\n\+ \\a\EOT\f\ETX\NUL\STX\SOH\SOH\DC2\EOT\244\EOT\v\DLE\n\+ \\SI\n\+ \\a\EOT\f\ETX\NUL\STX\SOH\ETX\DC2\EOT\244\EOT\DC3\DC4\n\+ \\167\SOH\n\+ \\EOT\EOT\f\STX\ENQ\DC2\EOT\249\EOT\STX/\SUB\152\SOH (Optional) list of values at different quantiles of the distribution calculated\n\+ \ from the current snapshot. The quantiles must be strictly increasing.\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\f\STX\ENQ\EOT\DC2\EOT\249\EOT\STX\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\f\STX\ENQ\ACK\DC2\EOT\249\EOT\v\SUB\n\+ \\r\n\+ \\ENQ\EOT\f\STX\ENQ\SOH\DC2\EOT\249\EOT\ESC*\n\+ \\r\n\+ \\ENQ\EOT\f\STX\ENQ\ETX\DC2\EOT\249\EOT-.\n\+ \}\n\+ \\EOT\EOT\f\STX\ACK\DC2\EOT\253\EOT\STX\DC3\SUBo Flags that apply to this specific data point. See DataPointFlags\n\+ \ for the available flags and their meaning.\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\f\STX\ACK\ENQ\DC2\EOT\253\EOT\STX\b\n\+ \\r\n\+ \\ENQ\EOT\f\STX\ACK\SOH\DC2\EOT\253\EOT\t\SO\n\+ \\r\n\+ \\ENQ\EOT\f\STX\ACK\ETX\DC2\EOT\253\EOT\DC1\DC2\n\+ \\135\STX\n\+ \\STX\EOT\r\DC2\ACK\132\ENQ\NUL\163\ENQ\SOH\SUB\248\SOH A representation of an exemplar, which is a sample input measurement.\n\+ \ Exemplars also hold information about the environment when the measurement\n\+ \ was recorded, for example the span and trace ID of the active span when the\n\+ \ exemplar was recorded.\n\+ \\n\+ \\v\n\+ \\ETX\EOT\r\SOH\DC2\EOT\132\ENQ\b\DLE\n\+ \\v\n\+ \\ETX\EOT\r\t\DC2\EOT\133\ENQ\STX\r\n\+ \\f\n\+ \\EOT\EOT\r\t\NUL\DC2\EOT\133\ENQ\v\f\n\+ \\r\n\+ \\ENQ\EOT\r\t\NUL\SOH\DC2\EOT\133\ENQ\v\f\n\+ \\r\n\+ \\ENQ\EOT\r\t\NUL\STX\DC2\EOT\133\ENQ\v\f\n\+ \\217\SOH\n\+ \\EOT\EOT\r\STX\NUL\DC2\EOT\138\ENQ\STXJ\SUB\202\SOH The set of key/value pairs that were filtered out by the aggregator, but\n\+ \ recorded alongside the original measurement. Only key/value pairs that were\n\+ \ filtered out by the aggregator should be included\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\r\STX\NUL\EOT\DC2\EOT\138\ENQ\STX\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\r\STX\NUL\ACK\DC2\EOT\138\ENQ\v1\n\+ \\r\n\+ \\ENQ\EOT\r\STX\NUL\SOH\DC2\EOT\138\ENQ2E\n\+ \\r\n\+ \\ENQ\EOT\r\STX\NUL\ETX\DC2\EOT\138\ENQHI\n\+ \\162\SOH\n\+ \\EOT\EOT\r\STX\SOH\DC2\EOT\144\ENQ\STX\GS\SUB\147\SOH time_unix_nano is the exact time when this exemplar was recorded\n\+ \\n\+ \ Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January\n\+ \ 1970.\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\r\STX\SOH\ENQ\DC2\EOT\144\ENQ\STX\t\n\+ \\r\n\+ \\ENQ\EOT\r\STX\SOH\SOH\DC2\EOT\144\ENQ\n\+ \\CAN\n\+ \\r\n\+ \\ENQ\EOT\r\STX\SOH\ETX\DC2\EOT\144\ENQ\ESC\FS\n\+ \\176\SOH\n\+ \\EOT\EOT\r\b\NUL\DC2\ACK\149\ENQ\STX\152\ENQ\ETX\SUB\159\SOH The value of the measurement that was recorded. An exemplar is\n\+ \ considered invalid when one of the recognized value fields is not present\n\+ \ inside this oneof.\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\r\b\NUL\SOH\DC2\EOT\149\ENQ\b\r\n\+ \\f\n\+ \\EOT\EOT\r\STX\STX\DC2\EOT\150\ENQ\EOT\EM\n\+ \\r\n\+ \\ENQ\EOT\r\STX\STX\ENQ\DC2\EOT\150\ENQ\EOT\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\r\STX\STX\SOH\DC2\EOT\150\ENQ\v\DC4\n\+ \\r\n\+ \\ENQ\EOT\r\STX\STX\ETX\DC2\EOT\150\ENQ\ETB\CAN\n\+ \\f\n\+ \\EOT\EOT\r\STX\ETX\DC2\EOT\151\ENQ\EOT\CAN\n\+ \\r\n\+ \\ENQ\EOT\r\STX\ETX\ENQ\DC2\EOT\151\ENQ\EOT\f\n\+ \\r\n\+ \\ENQ\EOT\r\STX\ETX\SOH\DC2\EOT\151\ENQ\r\DC3\n\+ \\r\n\+ \\ENQ\EOT\r\STX\ETX\ETX\DC2\EOT\151\ENQ\SYN\ETB\n\+ \\165\SOH\n\+ \\EOT\EOT\r\STX\EOT\DC2\EOT\157\ENQ\STX\DC4\SUB\150\SOH (Optional) Span ID of the exemplar trace.\n\+ \ span_id may be missing if the measurement is not recorded inside a trace\n\+ \ or if the trace is not sampled.\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\r\STX\EOT\ENQ\DC2\EOT\157\ENQ\STX\a\n\+ \\r\n\+ \\ENQ\EOT\r\STX\EOT\SOH\DC2\EOT\157\ENQ\b\SI\n\+ \\r\n\+ \\ENQ\EOT\r\STX\EOT\ETX\DC2\EOT\157\ENQ\DC2\DC3\n\+ \\167\SOH\n\+ \\EOT\EOT\r\STX\ENQ\DC2\EOT\162\ENQ\STX\NAK\SUB\152\SOH (Optional) Trace ID of the exemplar trace.\n\+ \ trace_id may be missing if the measurement is not recorded inside a trace\n\+ \ or if the trace is not sampled.\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\r\STX\ENQ\ENQ\DC2\EOT\162\ENQ\STX\a\n\+ \\r\n\+ \\ENQ\EOT\r\STX\ENQ\SOH\DC2\EOT\162\ENQ\b\DLE\n\+ \\r\n\+ \\ENQ\EOT\r\STX\ENQ\ETX\DC2\EOT\162\ENQ\DC3\DC4b\ACKproto3"
src/Proto/Opentelemetry/Proto/Metrics/V1/Metrics_Fields.hs view
@@ -1,3 +1,4 @@+{- HLINT ignore -} {- This file was auto-generated from opentelemetry/proto/metrics/v1/metrics.proto by the proto-lens-protoc program. -} {-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-} {-# OPTIONS_GHC -Wno-unused-imports#-}@@ -102,12 +103,6 @@ Lens.Family2.LensLike' f s a filteredAttributes = Data.ProtoLens.Field.field @"filteredAttributes"-filteredLabels ::- forall f s a.- (Prelude.Functor f,- Data.ProtoLens.Field.HasField s "filteredLabels" a) =>- Lens.Family2.LensLike' f s a-filteredLabels = Data.ProtoLens.Field.field @"filteredLabels" flags :: forall f s a. (Prelude.Functor f, Data.ProtoLens.Field.HasField s "flags" a) =>@@ -124,48 +119,17 @@ Data.ProtoLens.Field.HasField s "histogram" a) => Lens.Family2.LensLike' f s a histogram = Data.ProtoLens.Field.field @"histogram"-instrumentationLibrary ::- forall f s a.- (Prelude.Functor f,- Data.ProtoLens.Field.HasField s "instrumentationLibrary" a) =>- Lens.Family2.LensLike' f s a-instrumentationLibrary- = Data.ProtoLens.Field.field @"instrumentationLibrary"-instrumentationLibraryMetrics ::- forall f s a.- (Prelude.Functor f,- Data.ProtoLens.Field.HasField s "instrumentationLibraryMetrics" a) =>- Lens.Family2.LensLike' f s a-instrumentationLibraryMetrics- = Data.ProtoLens.Field.field @"instrumentationLibraryMetrics"-intGauge ::- forall f s a.- (Prelude.Functor f,- Data.ProtoLens.Field.HasField s "intGauge" a) =>- Lens.Family2.LensLike' f s a-intGauge = Data.ProtoLens.Field.field @"intGauge"-intHistogram ::- forall f s a.- (Prelude.Functor f,- Data.ProtoLens.Field.HasField s "intHistogram" a) =>- Lens.Family2.LensLike' f s a-intHistogram = Data.ProtoLens.Field.field @"intHistogram"-intSum ::- forall f s a.- (Prelude.Functor f, Data.ProtoLens.Field.HasField s "intSum" a) =>- Lens.Family2.LensLike' f s a-intSum = Data.ProtoLens.Field.field @"intSum" isMonotonic :: forall f s a. (Prelude.Functor f, Data.ProtoLens.Field.HasField s "isMonotonic" a) => Lens.Family2.LensLike' f s a isMonotonic = Data.ProtoLens.Field.field @"isMonotonic"-labels ::+max :: forall f s a.- (Prelude.Functor f, Data.ProtoLens.Field.HasField s "labels" a) =>+ (Prelude.Functor f, Data.ProtoLens.Field.HasField s "max" a) => Lens.Family2.LensLike' f s a-labels = Data.ProtoLens.Field.field @"labels"+max = Data.ProtoLens.Field.field @"max" maybe'asDouble :: forall f s a. (Prelude.Functor f,@@ -203,32 +167,18 @@ Data.ProtoLens.Field.HasField s "maybe'histogram" a) => Lens.Family2.LensLike' f s a maybe'histogram = Data.ProtoLens.Field.field @"maybe'histogram"-maybe'instrumentationLibrary ::- forall f s a.- (Prelude.Functor f,- Data.ProtoLens.Field.HasField s "maybe'instrumentationLibrary" a) =>- Lens.Family2.LensLike' f s a-maybe'instrumentationLibrary- = Data.ProtoLens.Field.field @"maybe'instrumentationLibrary"-maybe'intGauge ::- forall f s a.- (Prelude.Functor f,- Data.ProtoLens.Field.HasField s "maybe'intGauge" a) =>- Lens.Family2.LensLike' f s a-maybe'intGauge = Data.ProtoLens.Field.field @"maybe'intGauge"-maybe'intHistogram ::+maybe'max :: forall f s a. (Prelude.Functor f,- Data.ProtoLens.Field.HasField s "maybe'intHistogram" a) =>+ Data.ProtoLens.Field.HasField s "maybe'max" a) => Lens.Family2.LensLike' f s a-maybe'intHistogram- = Data.ProtoLens.Field.field @"maybe'intHistogram"-maybe'intSum ::+maybe'max = Data.ProtoLens.Field.field @"maybe'max"+maybe'min :: forall f s a. (Prelude.Functor f,- Data.ProtoLens.Field.HasField s "maybe'intSum" a) =>+ Data.ProtoLens.Field.HasField s "maybe'min" a) => Lens.Family2.LensLike' f s a-maybe'intSum = Data.ProtoLens.Field.field @"maybe'intSum"+maybe'min = Data.ProtoLens.Field.field @"maybe'min" maybe'negative :: forall f s a. (Prelude.Functor f,@@ -247,6 +197,12 @@ Data.ProtoLens.Field.HasField s "maybe'resource" a) => Lens.Family2.LensLike' f s a maybe'resource = Data.ProtoLens.Field.field @"maybe'resource"+maybe'scope ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "maybe'scope" a) =>+ Lens.Family2.LensLike' f s a+maybe'scope = Data.ProtoLens.Field.field @"maybe'scope" maybe'sum :: forall f s a. (Prelude.Functor f,@@ -270,6 +226,11 @@ (Prelude.Functor f, Data.ProtoLens.Field.HasField s "metrics" a) => Lens.Family2.LensLike' f s a metrics = Data.ProtoLens.Field.field @"metrics"+min ::+ forall f s a.+ (Prelude.Functor f, Data.ProtoLens.Field.HasField s "min" a) =>+ Lens.Family2.LensLike' f s a+min = Data.ProtoLens.Field.field @"min" name :: forall f s a. (Prelude.Functor f, Data.ProtoLens.Field.HasField s "name" a) =>@@ -327,6 +288,17 @@ Data.ProtoLens.Field.HasField s "schemaUrl" a) => Lens.Family2.LensLike' f s a schemaUrl = Data.ProtoLens.Field.field @"schemaUrl"+scope ::+ forall f s a.+ (Prelude.Functor f, Data.ProtoLens.Field.HasField s "scope" a) =>+ Lens.Family2.LensLike' f s a+scope = Data.ProtoLens.Field.field @"scope"+scopeMetrics ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "scopeMetrics" a) =>+ Lens.Family2.LensLike' f s a+scopeMetrics = Data.ProtoLens.Field.field @"scopeMetrics" spanId :: forall f s a. (Prelude.Functor f, Data.ProtoLens.Field.HasField s "spanId" a) =>@@ -407,26 +379,6 @@ Lens.Family2.LensLike' f s a vec'filteredAttributes = Data.ProtoLens.Field.field @"vec'filteredAttributes"-vec'filteredLabels ::- forall f s a.- (Prelude.Functor f,- Data.ProtoLens.Field.HasField s "vec'filteredLabels" a) =>- Lens.Family2.LensLike' f s a-vec'filteredLabels- = Data.ProtoLens.Field.field @"vec'filteredLabels"-vec'instrumentationLibraryMetrics ::- forall f s a.- (Prelude.Functor f,- Data.ProtoLens.Field.HasField s "vec'instrumentationLibraryMetrics" a) =>- Lens.Family2.LensLike' f s a-vec'instrumentationLibraryMetrics- = Data.ProtoLens.Field.field @"vec'instrumentationLibraryMetrics"-vec'labels ::- forall f s a.- (Prelude.Functor f,- Data.ProtoLens.Field.HasField s "vec'labels" a) =>- Lens.Family2.LensLike' f s a-vec'labels = Data.ProtoLens.Field.field @"vec'labels" vec'metrics :: forall f s a. (Prelude.Functor f,@@ -447,9 +399,21 @@ Lens.Family2.LensLike' f s a vec'resourceMetrics = Data.ProtoLens.Field.field @"vec'resourceMetrics"+vec'scopeMetrics ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "vec'scopeMetrics" a) =>+ Lens.Family2.LensLike' f s a+vec'scopeMetrics = Data.ProtoLens.Field.field @"vec'scopeMetrics" zeroCount :: forall f s a. (Prelude.Functor f, Data.ProtoLens.Field.HasField s "zeroCount" a) => Lens.Family2.LensLike' f s a zeroCount = Data.ProtoLens.Field.field @"zeroCount"+zeroThreshold ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "zeroThreshold" a) =>+ Lens.Family2.LensLike' f s a+zeroThreshold = Data.ProtoLens.Field.field @"zeroThreshold"
src/Proto/Opentelemetry/Proto/Resource/V1/Resource.hs view
@@ -1,3 +1,4 @@+{- HLINT ignore -} {- This file was auto-generated from opentelemetry/proto/resource/v1/resource.proto by the proto-lens-protoc program. -} {-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-} {-# OPTIONS_GHC -Wno-unused-imports#-}@@ -226,9 +227,9 @@ \\n\ \attributes\CAN\SOH \ETX(\v2'.opentelemetry.proto.common.v1.KeyValueR\n\ \attributes\DC28\n\- \\CANdropped_attributes_count\CAN\STX \SOH(\rR\SYNdroppedAttributesCountBw\n\- \\"io.opentelemetry.proto.resource.v1B\rResourceProtoP\SOHZ@github.com/open-telemetry/opentelemetry-proto/gen/go/resource/v1J\141\b\n\- \\ACK\DC2\EOT\SO\NUL!\SOH\n\+ \\CANdropped_attributes_count\CAN\STX \SOH(\rR\SYNdroppedAttributesCountB\131\SOH\n\+ \\"io.opentelemetry.proto.resource.v1B\rResourceProtoP\SOHZ*go.opentelemetry.io/proto/otlp/resource/v1\170\STX\USOpenTelemetry.Proto.Resource.V1J\143\t\n\+ \\ACK\DC2\EOT\SO\NUL$\SOH\n\ \\200\EOT\n\ \\SOH\f\DC2\ETX\SO\NUL\DC22\189\EOT Copyright 2019, OpenTelemetry Authors\n\ \\n\@@ -249,47 +250,53 @@ \\t\n\ \\STX\ETX\NUL\DC2\ETX\DC2\NUL4\n\ \\b\n\- \\SOH\b\DC2\ETX\DC4\NUL\"\n\+ \\SOH\b\DC2\ETX\DC4\NUL<\n\ \\t\n\+ \\STX\b%\DC2\ETX\DC4\NUL<\n\+ \\b\n\+ \\SOH\b\DC2\ETX\NAK\NUL\"\n\+ \\t\n\ \\STX\b\n\- \\DC2\ETX\DC4\NUL\"\n\+ \\DC2\ETX\NAK\NUL\"\n\ \\b\n\- \\SOH\b\DC2\ETX\NAK\NUL;\n\+ \\SOH\b\DC2\ETX\SYN\NUL;\n\ \\t\n\- \\STX\b\SOH\DC2\ETX\NAK\NUL;\n\+ \\STX\b\SOH\DC2\ETX\SYN\NUL;\n\ \\b\n\- \\SOH\b\DC2\ETX\SYN\NUL.\n\+ \\SOH\b\DC2\ETX\ETB\NUL.\n\ \\t\n\- \\STX\b\b\DC2\ETX\SYN\NUL.\n\+ \\STX\b\b\DC2\ETX\ETB\NUL.\n\ \\b\n\- \\SOH\b\DC2\ETX\ETB\NULW\n\+ \\SOH\b\DC2\ETX\CAN\NULA\n\ \\t\n\- \\STX\b\v\DC2\ETX\ETB\NULW\n\+ \\STX\b\v\DC2\ETX\CAN\NULA\n\ \#\n\- \\STX\EOT\NUL\DC2\EOT\SUB\NUL!\SOH\SUB\ETB Resource information.\n\+ \\STX\EOT\NUL\DC2\EOT\ESC\NUL$\SOH\SUB\ETB Resource information.\n\ \\n\ \\n\ \\n\- \\ETX\EOT\NUL\SOH\DC2\ETX\SUB\b\DLE\n\- \8\n\- \\EOT\EOT\NUL\STX\NUL\DC2\ETX\FS\STXA\SUB+ Set of labels that describe the resource.\n\+ \\ETX\EOT\NUL\SOH\DC2\ETX\ESC\b\DLE\n\+ \\164\SOH\n\+ \\EOT\EOT\NUL\STX\NUL\DC2\ETX\US\STXA\SUB\150\SOH Set of attributes that describe the resource.\n\+ \ Attribute keys MUST be unique (it is not allowed to have more than one\n\+ \ attribute with the same key).\n\ \\n\ \\f\n\- \\ENQ\EOT\NUL\STX\NUL\EOT\DC2\ETX\FS\STX\n\+ \\ENQ\EOT\NUL\STX\NUL\EOT\DC2\ETX\US\STX\n\ \\n\ \\f\n\- \\ENQ\EOT\NUL\STX\NUL\ACK\DC2\ETX\FS\v1\n\+ \\ENQ\EOT\NUL\STX\NUL\ACK\DC2\ETX\US\v1\n\ \\f\n\- \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX\FS2<\n\+ \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX\US2<\n\ \\f\n\- \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX\FS?@\n\+ \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX\US?@\n\ \\129\SOH\n\- \\EOT\EOT\NUL\STX\SOH\DC2\ETX \STX&\SUBt dropped_attributes_count is the number of dropped attributes. If the value is 0, then\n\+ \\EOT\EOT\NUL\STX\SOH\DC2\ETX#\STX&\SUBt dropped_attributes_count is the number of dropped attributes. If the value is 0, then\n\ \ no attributes were dropped.\n\ \\n\ \\f\n\- \\ENQ\EOT\NUL\STX\SOH\ENQ\DC2\ETX \STX\b\n\+ \\ENQ\EOT\NUL\STX\SOH\ENQ\DC2\ETX#\STX\b\n\ \\f\n\- \\ENQ\EOT\NUL\STX\SOH\SOH\DC2\ETX \t!\n\+ \\ENQ\EOT\NUL\STX\SOH\SOH\DC2\ETX#\t!\n\ \\f\n\- \\ENQ\EOT\NUL\STX\SOH\ETX\DC2\ETX $%b\ACKproto3"+ \\ENQ\EOT\NUL\STX\SOH\ETX\DC2\ETX#$%b\ACKproto3"
src/Proto/Opentelemetry/Proto/Resource/V1/Resource_Fields.hs view
@@ -1,3 +1,4 @@+{- HLINT ignore -} {- This file was auto-generated from opentelemetry/proto/resource/v1/resource.proto by the proto-lens-protoc program. -} {-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-} {-# OPTIONS_GHC -Wno-unused-imports#-}
src/Proto/Opentelemetry/Proto/Trace/V1/Trace.hs view
@@ -1,3654 +1,3118 @@-{- This file was auto-generated from opentelemetry/proto/trace/v1/trace.proto by the proto-lens-protoc program. -}-{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}-{-# OPTIONS_GHC -Wno-unused-imports#-}-{-# OPTIONS_GHC -Wno-duplicate-exports#-}-{-# OPTIONS_GHC -Wno-dodgy-exports#-}-module Proto.Opentelemetry.Proto.Trace.V1.Trace (- InstrumentationLibrarySpans(), ResourceSpans(), Span(),- Span'Event(), Span'Link(), Span'SpanKind(..), Span'SpanKind(),- Span'SpanKind'UnrecognizedValue, Status(),- Status'DeprecatedStatusCode(..), Status'DeprecatedStatusCode(),- Status'DeprecatedStatusCode'UnrecognizedValue,- Status'StatusCode(..), Status'StatusCode(),- Status'StatusCode'UnrecognizedValue, TracesData()- ) where-import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq-import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism-import qualified Data.ProtoLens.Runtime.Prelude as Prelude-import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int-import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid-import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word-import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens-import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes-import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing-import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe-import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire-import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field-import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum-import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types-import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2-import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked-import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text-import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map-import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString-import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8-import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding-import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector-import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic-import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed-import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read-import qualified Proto.Opentelemetry.Proto.Common.V1.Common-import qualified Proto.Opentelemetry.Proto.Resource.V1.Resource-{- | Fields :- - * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.instrumentationLibrary' @:: Lens' InstrumentationLibrarySpans Proto.Opentelemetry.Proto.Common.V1.Common.InstrumentationLibrary@- * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.maybe'instrumentationLibrary' @:: Lens' InstrumentationLibrarySpans (Prelude.Maybe Proto.Opentelemetry.Proto.Common.V1.Common.InstrumentationLibrary)@- * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.spans' @:: Lens' InstrumentationLibrarySpans [Span]@- * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.vec'spans' @:: Lens' InstrumentationLibrarySpans (Data.Vector.Vector Span)@- * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.schemaUrl' @:: Lens' InstrumentationLibrarySpans Data.Text.Text@ -}-data InstrumentationLibrarySpans- = InstrumentationLibrarySpans'_constructor {_InstrumentationLibrarySpans'instrumentationLibrary :: !(Prelude.Maybe Proto.Opentelemetry.Proto.Common.V1.Common.InstrumentationLibrary),- _InstrumentationLibrarySpans'spans :: !(Data.Vector.Vector Span),- _InstrumentationLibrarySpans'schemaUrl :: !Data.Text.Text,- _InstrumentationLibrarySpans'_unknownFields :: !Data.ProtoLens.FieldSet}- deriving stock (Prelude.Eq, Prelude.Ord)-instance Prelude.Show InstrumentationLibrarySpans where- showsPrec _ __x __s- = Prelude.showChar- '{'- (Prelude.showString- (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))-instance Data.ProtoLens.Field.HasField InstrumentationLibrarySpans "instrumentationLibrary" Proto.Opentelemetry.Proto.Common.V1.Common.InstrumentationLibrary where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _InstrumentationLibrarySpans'instrumentationLibrary- (\ x__ y__- -> x__- {_InstrumentationLibrarySpans'instrumentationLibrary = y__}))- (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)-instance Data.ProtoLens.Field.HasField InstrumentationLibrarySpans "maybe'instrumentationLibrary" (Prelude.Maybe Proto.Opentelemetry.Proto.Common.V1.Common.InstrumentationLibrary) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _InstrumentationLibrarySpans'instrumentationLibrary- (\ x__ y__- -> x__- {_InstrumentationLibrarySpans'instrumentationLibrary = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField InstrumentationLibrarySpans "spans" [Span] where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _InstrumentationLibrarySpans'spans- (\ x__ y__ -> x__ {_InstrumentationLibrarySpans'spans = y__}))- (Lens.Family2.Unchecked.lens- Data.Vector.Generic.toList- (\ _ y__ -> Data.Vector.Generic.fromList y__))-instance Data.ProtoLens.Field.HasField InstrumentationLibrarySpans "vec'spans" (Data.Vector.Vector Span) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _InstrumentationLibrarySpans'spans- (\ x__ y__ -> x__ {_InstrumentationLibrarySpans'spans = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField InstrumentationLibrarySpans "schemaUrl" Data.Text.Text where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _InstrumentationLibrarySpans'schemaUrl- (\ x__ y__ -> x__ {_InstrumentationLibrarySpans'schemaUrl = y__}))- Prelude.id-instance Data.ProtoLens.Message InstrumentationLibrarySpans where- messageName _- = Data.Text.pack- "opentelemetry.proto.trace.v1.InstrumentationLibrarySpans"- packedMessageDescriptor _- = "\n\- \\ESCInstrumentationLibrarySpans\DC2n\n\- \\ETBinstrumentation_library\CAN\SOH \SOH(\v25.opentelemetry.proto.common.v1.InstrumentationLibraryR\SYNinstrumentationLibrary\DC28\n\- \\ENQspans\CAN\STX \ETX(\v2\".opentelemetry.proto.trace.v1.SpanR\ENQspans\DC2\GS\n\- \\n\- \schema_url\CAN\ETX \SOH(\tR\tschemaUrl"- packedFileDescriptor _ = packedFileDescriptor- fieldsByTag- = let- instrumentationLibrary__field_descriptor- = Data.ProtoLens.FieldDescriptor- "instrumentation_library"- (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::- Data.ProtoLens.FieldTypeDescriptor Proto.Opentelemetry.Proto.Common.V1.Common.InstrumentationLibrary)- (Data.ProtoLens.OptionalField- (Data.ProtoLens.Field.field @"maybe'instrumentationLibrary")) ::- Data.ProtoLens.FieldDescriptor InstrumentationLibrarySpans- spans__field_descriptor- = Data.ProtoLens.FieldDescriptor- "spans"- (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::- Data.ProtoLens.FieldTypeDescriptor Span)- (Data.ProtoLens.RepeatedField- Data.ProtoLens.Unpacked (Data.ProtoLens.Field.field @"spans")) ::- Data.ProtoLens.FieldDescriptor InstrumentationLibrarySpans- schemaUrl__field_descriptor- = Data.ProtoLens.FieldDescriptor- "schema_url"- (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::- Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional- (Data.ProtoLens.Field.field @"schemaUrl")) ::- Data.ProtoLens.FieldDescriptor InstrumentationLibrarySpans- in- Data.Map.fromList- [(Data.ProtoLens.Tag 1, instrumentationLibrary__field_descriptor),- (Data.ProtoLens.Tag 2, spans__field_descriptor),- (Data.ProtoLens.Tag 3, schemaUrl__field_descriptor)]- unknownFields- = Lens.Family2.Unchecked.lens- _InstrumentationLibrarySpans'_unknownFields- (\ x__ y__- -> x__ {_InstrumentationLibrarySpans'_unknownFields = y__})- defMessage- = InstrumentationLibrarySpans'_constructor- {_InstrumentationLibrarySpans'instrumentationLibrary = Prelude.Nothing,- _InstrumentationLibrarySpans'spans = Data.Vector.Generic.empty,- _InstrumentationLibrarySpans'schemaUrl = Data.ProtoLens.fieldDefault,- _InstrumentationLibrarySpans'_unknownFields = []}- parseMessage- = let- loop ::- InstrumentationLibrarySpans- -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Span- -> Data.ProtoLens.Encoding.Bytes.Parser InstrumentationLibrarySpans- loop x mutable'spans- = do end <- Data.ProtoLens.Encoding.Bytes.atEnd- if end then- do frozen'spans <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.unsafeFreeze mutable'spans)- (let missing = []- in- if Prelude.null missing then- Prelude.return ()- else- Prelude.fail- ((Prelude.++)- "Missing required fields: "- (Prelude.show (missing :: [Prelude.String]))))- Prelude.return- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)- (Lens.Family2.set- (Data.ProtoLens.Field.field @"vec'spans") frozen'spans x))- else- do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt- case tag of- 10- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)- "instrumentation_library"- loop- (Lens.Family2.set- (Data.ProtoLens.Field.field @"instrumentationLibrary") y x)- mutable'spans- 18- -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len)- Data.ProtoLens.parseMessage)- "spans"- v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.append mutable'spans y)- loop x v- 26- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do value <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.getBytes- (Prelude.fromIntegral len)- Data.ProtoLens.Encoding.Bytes.runEither- (case Data.Text.Encoding.decodeUtf8' value of- (Prelude.Left err)- -> Prelude.Left (Prelude.show err)- (Prelude.Right r) -> Prelude.Right r))- "schema_url"- loop- (Lens.Family2.set (Data.ProtoLens.Field.field @"schemaUrl") y x)- mutable'spans- wire- -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire- wire- loop- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)- mutable'spans- in- (Data.ProtoLens.Encoding.Bytes.<?>)- (do mutable'spans <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- Data.ProtoLens.Encoding.Growing.new- loop Data.ProtoLens.defMessage mutable'spans)- "InstrumentationLibrarySpans"- buildMessage- = \ _x- -> (Data.Monoid.<>)- (case- Lens.Family2.view- (Data.ProtoLens.Field.field @"maybe'instrumentationLibrary") _x- of- Prelude.Nothing -> Data.Monoid.mempty- (Prelude.Just _v)- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 10)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.ProtoLens.encodeMessage _v))- ((Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.foldMapBuilder- (\ _v- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 18)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.ProtoLens.encodeMessage _v))- (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'spans") _x))- ((Data.Monoid.<>)- (let- _v = Lens.Family2.view (Data.ProtoLens.Field.field @"schemaUrl") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 26)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.Text.Encoding.encodeUtf8 _v))- (Data.ProtoLens.Encoding.Wire.buildFieldSet- (Lens.Family2.view Data.ProtoLens.unknownFields _x))))-instance Control.DeepSeq.NFData InstrumentationLibrarySpans where- rnf- = \ x__- -> Control.DeepSeq.deepseq- (_InstrumentationLibrarySpans'_unknownFields x__)- (Control.DeepSeq.deepseq- (_InstrumentationLibrarySpans'instrumentationLibrary x__)- (Control.DeepSeq.deepseq- (_InstrumentationLibrarySpans'spans x__)- (Control.DeepSeq.deepseq- (_InstrumentationLibrarySpans'schemaUrl x__) ())))-{- | Fields :- - * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.resource' @:: Lens' ResourceSpans Proto.Opentelemetry.Proto.Resource.V1.Resource.Resource@- * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.maybe'resource' @:: Lens' ResourceSpans (Prelude.Maybe Proto.Opentelemetry.Proto.Resource.V1.Resource.Resource)@- * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.instrumentationLibrarySpans' @:: Lens' ResourceSpans [InstrumentationLibrarySpans]@- * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.vec'instrumentationLibrarySpans' @:: Lens' ResourceSpans (Data.Vector.Vector InstrumentationLibrarySpans)@- * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.schemaUrl' @:: Lens' ResourceSpans Data.Text.Text@ -}-data ResourceSpans- = ResourceSpans'_constructor {_ResourceSpans'resource :: !(Prelude.Maybe Proto.Opentelemetry.Proto.Resource.V1.Resource.Resource),- _ResourceSpans'instrumentationLibrarySpans :: !(Data.Vector.Vector InstrumentationLibrarySpans),- _ResourceSpans'schemaUrl :: !Data.Text.Text,- _ResourceSpans'_unknownFields :: !Data.ProtoLens.FieldSet}- deriving stock (Prelude.Eq, Prelude.Ord)-instance Prelude.Show ResourceSpans where- showsPrec _ __x __s- = Prelude.showChar- '{'- (Prelude.showString- (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))-instance Data.ProtoLens.Field.HasField ResourceSpans "resource" Proto.Opentelemetry.Proto.Resource.V1.Resource.Resource where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _ResourceSpans'resource- (\ x__ y__ -> x__ {_ResourceSpans'resource = y__}))- (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)-instance Data.ProtoLens.Field.HasField ResourceSpans "maybe'resource" (Prelude.Maybe Proto.Opentelemetry.Proto.Resource.V1.Resource.Resource) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _ResourceSpans'resource- (\ x__ y__ -> x__ {_ResourceSpans'resource = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField ResourceSpans "instrumentationLibrarySpans" [InstrumentationLibrarySpans] where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _ResourceSpans'instrumentationLibrarySpans- (\ x__ y__- -> x__ {_ResourceSpans'instrumentationLibrarySpans = y__}))- (Lens.Family2.Unchecked.lens- Data.Vector.Generic.toList- (\ _ y__ -> Data.Vector.Generic.fromList y__))-instance Data.ProtoLens.Field.HasField ResourceSpans "vec'instrumentationLibrarySpans" (Data.Vector.Vector InstrumentationLibrarySpans) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _ResourceSpans'instrumentationLibrarySpans- (\ x__ y__- -> x__ {_ResourceSpans'instrumentationLibrarySpans = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField ResourceSpans "schemaUrl" Data.Text.Text where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _ResourceSpans'schemaUrl- (\ x__ y__ -> x__ {_ResourceSpans'schemaUrl = y__}))- Prelude.id-instance Data.ProtoLens.Message ResourceSpans where- messageName _- = Data.Text.pack "opentelemetry.proto.trace.v1.ResourceSpans"- packedMessageDescriptor _- = "\n\- \\rResourceSpans\DC2E\n\- \\bresource\CAN\SOH \SOH(\v2).opentelemetry.proto.resource.v1.ResourceR\bresource\DC2}\n\- \\GSinstrumentation_library_spans\CAN\STX \ETX(\v29.opentelemetry.proto.trace.v1.InstrumentationLibrarySpansR\ESCinstrumentationLibrarySpans\DC2\GS\n\- \\n\- \schema_url\CAN\ETX \SOH(\tR\tschemaUrl"- packedFileDescriptor _ = packedFileDescriptor- fieldsByTag- = let- resource__field_descriptor- = Data.ProtoLens.FieldDescriptor- "resource"- (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::- Data.ProtoLens.FieldTypeDescriptor Proto.Opentelemetry.Proto.Resource.V1.Resource.Resource)- (Data.ProtoLens.OptionalField- (Data.ProtoLens.Field.field @"maybe'resource")) ::- Data.ProtoLens.FieldDescriptor ResourceSpans- instrumentationLibrarySpans__field_descriptor- = Data.ProtoLens.FieldDescriptor- "instrumentation_library_spans"- (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::- Data.ProtoLens.FieldTypeDescriptor InstrumentationLibrarySpans)- (Data.ProtoLens.RepeatedField- Data.ProtoLens.Unpacked- (Data.ProtoLens.Field.field @"instrumentationLibrarySpans")) ::- Data.ProtoLens.FieldDescriptor ResourceSpans- schemaUrl__field_descriptor- = Data.ProtoLens.FieldDescriptor- "schema_url"- (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::- Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional- (Data.ProtoLens.Field.field @"schemaUrl")) ::- Data.ProtoLens.FieldDescriptor ResourceSpans- in- Data.Map.fromList- [(Data.ProtoLens.Tag 1, resource__field_descriptor),- (Data.ProtoLens.Tag 2, - instrumentationLibrarySpans__field_descriptor),- (Data.ProtoLens.Tag 3, schemaUrl__field_descriptor)]- unknownFields- = Lens.Family2.Unchecked.lens- _ResourceSpans'_unknownFields- (\ x__ y__ -> x__ {_ResourceSpans'_unknownFields = y__})- defMessage- = ResourceSpans'_constructor- {_ResourceSpans'resource = Prelude.Nothing,- _ResourceSpans'instrumentationLibrarySpans = Data.Vector.Generic.empty,- _ResourceSpans'schemaUrl = Data.ProtoLens.fieldDefault,- _ResourceSpans'_unknownFields = []}- parseMessage- = let- loop ::- ResourceSpans- -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld InstrumentationLibrarySpans- -> Data.ProtoLens.Encoding.Bytes.Parser ResourceSpans- loop x mutable'instrumentationLibrarySpans- = do end <- Data.ProtoLens.Encoding.Bytes.atEnd- if end then- do frozen'instrumentationLibrarySpans <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.unsafeFreeze- mutable'instrumentationLibrarySpans)- (let missing = []- in- if Prelude.null missing then- Prelude.return ()- else- Prelude.fail- ((Prelude.++)- "Missing required fields: "- (Prelude.show (missing :: [Prelude.String]))))- Prelude.return- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)- (Lens.Family2.set- (Data.ProtoLens.Field.field @"vec'instrumentationLibrarySpans")- frozen'instrumentationLibrarySpans x))- else- do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt- case tag of- 10- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)- "resource"- loop- (Lens.Family2.set (Data.ProtoLens.Field.field @"resource") y x)- mutable'instrumentationLibrarySpans- 18- -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len)- Data.ProtoLens.parseMessage)- "instrumentation_library_spans"- v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.append- mutable'instrumentationLibrarySpans y)- loop x v- 26- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do value <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.getBytes- (Prelude.fromIntegral len)- Data.ProtoLens.Encoding.Bytes.runEither- (case Data.Text.Encoding.decodeUtf8' value of- (Prelude.Left err)- -> Prelude.Left (Prelude.show err)- (Prelude.Right r) -> Prelude.Right r))- "schema_url"- loop- (Lens.Family2.set (Data.ProtoLens.Field.field @"schemaUrl") y x)- mutable'instrumentationLibrarySpans- wire- -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire- wire- loop- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)- mutable'instrumentationLibrarySpans- in- (Data.ProtoLens.Encoding.Bytes.<?>)- (do mutable'instrumentationLibrarySpans <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- Data.ProtoLens.Encoding.Growing.new- loop Data.ProtoLens.defMessage mutable'instrumentationLibrarySpans)- "ResourceSpans"- buildMessage- = \ _x- -> (Data.Monoid.<>)- (case- Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'resource") _x- of- Prelude.Nothing -> Data.Monoid.mempty- (Prelude.Just _v)- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 10)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.ProtoLens.encodeMessage _v))- ((Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.foldMapBuilder- (\ _v- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 18)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.ProtoLens.encodeMessage _v))- (Lens.Family2.view- (Data.ProtoLens.Field.field @"vec'instrumentationLibrarySpans")- _x))- ((Data.Monoid.<>)- (let- _v = Lens.Family2.view (Data.ProtoLens.Field.field @"schemaUrl") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 26)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.Text.Encoding.encodeUtf8 _v))- (Data.ProtoLens.Encoding.Wire.buildFieldSet- (Lens.Family2.view Data.ProtoLens.unknownFields _x))))-instance Control.DeepSeq.NFData ResourceSpans where- rnf- = \ x__- -> Control.DeepSeq.deepseq- (_ResourceSpans'_unknownFields x__)- (Control.DeepSeq.deepseq- (_ResourceSpans'resource x__)- (Control.DeepSeq.deepseq- (_ResourceSpans'instrumentationLibrarySpans x__)- (Control.DeepSeq.deepseq (_ResourceSpans'schemaUrl x__) ())))-{- | Fields :- - * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.traceId' @:: Lens' Span Data.ByteString.ByteString@- * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.spanId' @:: Lens' Span Data.ByteString.ByteString@- * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.traceState' @:: Lens' Span Data.Text.Text@- * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.parentSpanId' @:: Lens' Span Data.ByteString.ByteString@- * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.name' @:: Lens' Span Data.Text.Text@- * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.kind' @:: Lens' Span Span'SpanKind@- * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.startTimeUnixNano' @:: Lens' Span Data.Word.Word64@- * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.endTimeUnixNano' @:: Lens' Span Data.Word.Word64@- * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.attributes' @:: Lens' Span [Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue]@- * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.vec'attributes' @:: Lens' Span (Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue)@- * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.droppedAttributesCount' @:: Lens' Span Data.Word.Word32@- * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.events' @:: Lens' Span [Span'Event]@- * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.vec'events' @:: Lens' Span (Data.Vector.Vector Span'Event)@- * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.droppedEventsCount' @:: Lens' Span Data.Word.Word32@- * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.links' @:: Lens' Span [Span'Link]@- * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.vec'links' @:: Lens' Span (Data.Vector.Vector Span'Link)@- * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.droppedLinksCount' @:: Lens' Span Data.Word.Word32@- * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.status' @:: Lens' Span Status@- * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.maybe'status' @:: Lens' Span (Prelude.Maybe Status)@ -}-data Span- = Span'_constructor {_Span'traceId :: !Data.ByteString.ByteString,- _Span'spanId :: !Data.ByteString.ByteString,- _Span'traceState :: !Data.Text.Text,- _Span'parentSpanId :: !Data.ByteString.ByteString,- _Span'name :: !Data.Text.Text,- _Span'kind :: !Span'SpanKind,- _Span'startTimeUnixNano :: !Data.Word.Word64,- _Span'endTimeUnixNano :: !Data.Word.Word64,- _Span'attributes :: !(Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue),- _Span'droppedAttributesCount :: !Data.Word.Word32,- _Span'events :: !(Data.Vector.Vector Span'Event),- _Span'droppedEventsCount :: !Data.Word.Word32,- _Span'links :: !(Data.Vector.Vector Span'Link),- _Span'droppedLinksCount :: !Data.Word.Word32,- _Span'status :: !(Prelude.Maybe Status),- _Span'_unknownFields :: !Data.ProtoLens.FieldSet}- deriving stock (Prelude.Eq, Prelude.Ord)-instance Prelude.Show Span where- showsPrec _ __x __s- = Prelude.showChar- '{'- (Prelude.showString- (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))-instance Data.ProtoLens.Field.HasField Span "traceId" Data.ByteString.ByteString where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Span'traceId (\ x__ y__ -> x__ {_Span'traceId = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField Span "spanId" Data.ByteString.ByteString where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Span'spanId (\ x__ y__ -> x__ {_Span'spanId = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField Span "traceState" Data.Text.Text where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Span'traceState (\ x__ y__ -> x__ {_Span'traceState = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField Span "parentSpanId" Data.ByteString.ByteString where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Span'parentSpanId (\ x__ y__ -> x__ {_Span'parentSpanId = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField Span "name" Data.Text.Text where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Span'name (\ x__ y__ -> x__ {_Span'name = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField Span "kind" Span'SpanKind where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Span'kind (\ x__ y__ -> x__ {_Span'kind = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField Span "startTimeUnixNano" Data.Word.Word64 where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Span'startTimeUnixNano- (\ x__ y__ -> x__ {_Span'startTimeUnixNano = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField Span "endTimeUnixNano" Data.Word.Word64 where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Span'endTimeUnixNano- (\ x__ y__ -> x__ {_Span'endTimeUnixNano = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField Span "attributes" [Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue] where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Span'attributes (\ x__ y__ -> x__ {_Span'attributes = y__}))- (Lens.Family2.Unchecked.lens- Data.Vector.Generic.toList- (\ _ y__ -> Data.Vector.Generic.fromList y__))-instance Data.ProtoLens.Field.HasField Span "vec'attributes" (Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Span'attributes (\ x__ y__ -> x__ {_Span'attributes = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField Span "droppedAttributesCount" Data.Word.Word32 where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Span'droppedAttributesCount- (\ x__ y__ -> x__ {_Span'droppedAttributesCount = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField Span "events" [Span'Event] where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Span'events (\ x__ y__ -> x__ {_Span'events = y__}))- (Lens.Family2.Unchecked.lens- Data.Vector.Generic.toList- (\ _ y__ -> Data.Vector.Generic.fromList y__))-instance Data.ProtoLens.Field.HasField Span "vec'events" (Data.Vector.Vector Span'Event) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Span'events (\ x__ y__ -> x__ {_Span'events = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField Span "droppedEventsCount" Data.Word.Word32 where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Span'droppedEventsCount- (\ x__ y__ -> x__ {_Span'droppedEventsCount = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField Span "links" [Span'Link] where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Span'links (\ x__ y__ -> x__ {_Span'links = y__}))- (Lens.Family2.Unchecked.lens- Data.Vector.Generic.toList- (\ _ y__ -> Data.Vector.Generic.fromList y__))-instance Data.ProtoLens.Field.HasField Span "vec'links" (Data.Vector.Vector Span'Link) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Span'links (\ x__ y__ -> x__ {_Span'links = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField Span "droppedLinksCount" Data.Word.Word32 where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Span'droppedLinksCount- (\ x__ y__ -> x__ {_Span'droppedLinksCount = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField Span "status" Status where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Span'status (\ x__ y__ -> x__ {_Span'status = y__}))- (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)-instance Data.ProtoLens.Field.HasField Span "maybe'status" (Prelude.Maybe Status) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Span'status (\ x__ y__ -> x__ {_Span'status = y__}))- Prelude.id-instance Data.ProtoLens.Message Span where- messageName _ = Data.Text.pack "opentelemetry.proto.trace.v1.Span"- packedMessageDescriptor _- = "\n\- \\EOTSpan\DC2\EM\n\- \\btrace_id\CAN\SOH \SOH(\fR\atraceId\DC2\ETB\n\- \\aspan_id\CAN\STX \SOH(\fR\ACKspanId\DC2\US\n\- \\vtrace_state\CAN\ETX \SOH(\tR\n\- \traceState\DC2$\n\- \\SOparent_span_id\CAN\EOT \SOH(\fR\fparentSpanId\DC2\DC2\n\- \\EOTname\CAN\ENQ \SOH(\tR\EOTname\DC2?\n\- \\EOTkind\CAN\ACK \SOH(\SO2+.opentelemetry.proto.trace.v1.Span.SpanKindR\EOTkind\DC2/\n\- \\DC4start_time_unix_nano\CAN\a \SOH(\ACKR\DC1startTimeUnixNano\DC2+\n\- \\DC2end_time_unix_nano\CAN\b \SOH(\ACKR\SIendTimeUnixNano\DC2G\n\- \\n\- \attributes\CAN\t \ETX(\v2'.opentelemetry.proto.common.v1.KeyValueR\n\- \attributes\DC28\n\- \\CANdropped_attributes_count\CAN\n\- \ \SOH(\rR\SYNdroppedAttributesCount\DC2@\n\- \\ACKevents\CAN\v \ETX(\v2(.opentelemetry.proto.trace.v1.Span.EventR\ACKevents\DC20\n\- \\DC4dropped_events_count\CAN\f \SOH(\rR\DC2droppedEventsCount\DC2=\n\- \\ENQlinks\CAN\r \ETX(\v2'.opentelemetry.proto.trace.v1.Span.LinkR\ENQlinks\DC2.\n\- \\DC3dropped_links_count\CAN\SO \SOH(\rR\DC1droppedLinksCount\DC2<\n\- \\ACKstatus\CAN\SI \SOH(\v2$.opentelemetry.proto.trace.v1.StatusR\ACKstatus\SUB\196\SOH\n\- \\ENQEvent\DC2$\n\- \\SOtime_unix_nano\CAN\SOH \SOH(\ACKR\ftimeUnixNano\DC2\DC2\n\- \\EOTname\CAN\STX \SOH(\tR\EOTname\DC2G\n\- \\n\- \attributes\CAN\ETX \ETX(\v2'.opentelemetry.proto.common.v1.KeyValueR\n\- \attributes\DC28\n\- \\CANdropped_attributes_count\CAN\EOT \SOH(\rR\SYNdroppedAttributesCount\SUB\222\SOH\n\- \\EOTLink\DC2\EM\n\- \\btrace_id\CAN\SOH \SOH(\fR\atraceId\DC2\ETB\n\- \\aspan_id\CAN\STX \SOH(\fR\ACKspanId\DC2\US\n\- \\vtrace_state\CAN\ETX \SOH(\tR\n\- \traceState\DC2G\n\- \\n\- \attributes\CAN\EOT \ETX(\v2'.opentelemetry.proto.common.v1.KeyValueR\n\- \attributes\DC28\n\- \\CANdropped_attributes_count\CAN\ENQ \SOH(\rR\SYNdroppedAttributesCount\"\153\SOH\n\- \\bSpanKind\DC2\EM\n\- \\NAKSPAN_KIND_UNSPECIFIED\DLE\NUL\DC2\SYN\n\- \\DC2SPAN_KIND_INTERNAL\DLE\SOH\DC2\DC4\n\- \\DLESPAN_KIND_SERVER\DLE\STX\DC2\DC4\n\- \\DLESPAN_KIND_CLIENT\DLE\ETX\DC2\SYN\n\- \\DC2SPAN_KIND_PRODUCER\DLE\EOT\DC2\SYN\n\- \\DC2SPAN_KIND_CONSUMER\DLE\ENQ"- packedFileDescriptor _ = packedFileDescriptor- fieldsByTag- = let- traceId__field_descriptor- = Data.ProtoLens.FieldDescriptor- "trace_id"- (Data.ProtoLens.ScalarField Data.ProtoLens.BytesField ::- Data.ProtoLens.FieldTypeDescriptor Data.ByteString.ByteString)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"traceId")) ::- Data.ProtoLens.FieldDescriptor Span- spanId__field_descriptor- = Data.ProtoLens.FieldDescriptor- "span_id"- (Data.ProtoLens.ScalarField Data.ProtoLens.BytesField ::- Data.ProtoLens.FieldTypeDescriptor Data.ByteString.ByteString)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"spanId")) ::- Data.ProtoLens.FieldDescriptor Span- traceState__field_descriptor- = Data.ProtoLens.FieldDescriptor- "trace_state"- (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::- Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional- (Data.ProtoLens.Field.field @"traceState")) ::- Data.ProtoLens.FieldDescriptor Span- parentSpanId__field_descriptor- = Data.ProtoLens.FieldDescriptor- "parent_span_id"- (Data.ProtoLens.ScalarField Data.ProtoLens.BytesField ::- Data.ProtoLens.FieldTypeDescriptor Data.ByteString.ByteString)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional- (Data.ProtoLens.Field.field @"parentSpanId")) ::- Data.ProtoLens.FieldDescriptor Span- name__field_descriptor- = Data.ProtoLens.FieldDescriptor- "name"- (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::- Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"name")) ::- Data.ProtoLens.FieldDescriptor Span- kind__field_descriptor- = Data.ProtoLens.FieldDescriptor- "kind"- (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::- Data.ProtoLens.FieldTypeDescriptor Span'SpanKind)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"kind")) ::- Data.ProtoLens.FieldDescriptor Span- startTimeUnixNano__field_descriptor- = Data.ProtoLens.FieldDescriptor- "start_time_unix_nano"- (Data.ProtoLens.ScalarField Data.ProtoLens.Fixed64Field ::- Data.ProtoLens.FieldTypeDescriptor Data.Word.Word64)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional- (Data.ProtoLens.Field.field @"startTimeUnixNano")) ::- Data.ProtoLens.FieldDescriptor Span- endTimeUnixNano__field_descriptor- = Data.ProtoLens.FieldDescriptor- "end_time_unix_nano"- (Data.ProtoLens.ScalarField Data.ProtoLens.Fixed64Field ::- Data.ProtoLens.FieldTypeDescriptor Data.Word.Word64)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional- (Data.ProtoLens.Field.field @"endTimeUnixNano")) ::- Data.ProtoLens.FieldDescriptor Span- attributes__field_descriptor- = Data.ProtoLens.FieldDescriptor- "attributes"- (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::- Data.ProtoLens.FieldTypeDescriptor Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue)- (Data.ProtoLens.RepeatedField- Data.ProtoLens.Unpacked- (Data.ProtoLens.Field.field @"attributes")) ::- Data.ProtoLens.FieldDescriptor Span- droppedAttributesCount__field_descriptor- = Data.ProtoLens.FieldDescriptor- "dropped_attributes_count"- (Data.ProtoLens.ScalarField Data.ProtoLens.UInt32Field ::- Data.ProtoLens.FieldTypeDescriptor Data.Word.Word32)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional- (Data.ProtoLens.Field.field @"droppedAttributesCount")) ::- Data.ProtoLens.FieldDescriptor Span- events__field_descriptor- = Data.ProtoLens.FieldDescriptor- "events"- (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::- Data.ProtoLens.FieldTypeDescriptor Span'Event)- (Data.ProtoLens.RepeatedField- Data.ProtoLens.Unpacked (Data.ProtoLens.Field.field @"events")) ::- Data.ProtoLens.FieldDescriptor Span- droppedEventsCount__field_descriptor- = Data.ProtoLens.FieldDescriptor- "dropped_events_count"- (Data.ProtoLens.ScalarField Data.ProtoLens.UInt32Field ::- Data.ProtoLens.FieldTypeDescriptor Data.Word.Word32)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional- (Data.ProtoLens.Field.field @"droppedEventsCount")) ::- Data.ProtoLens.FieldDescriptor Span- links__field_descriptor- = Data.ProtoLens.FieldDescriptor- "links"- (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::- Data.ProtoLens.FieldTypeDescriptor Span'Link)- (Data.ProtoLens.RepeatedField- Data.ProtoLens.Unpacked (Data.ProtoLens.Field.field @"links")) ::- Data.ProtoLens.FieldDescriptor Span- droppedLinksCount__field_descriptor- = Data.ProtoLens.FieldDescriptor- "dropped_links_count"- (Data.ProtoLens.ScalarField Data.ProtoLens.UInt32Field ::- Data.ProtoLens.FieldTypeDescriptor Data.Word.Word32)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional- (Data.ProtoLens.Field.field @"droppedLinksCount")) ::- Data.ProtoLens.FieldDescriptor Span- status__field_descriptor- = Data.ProtoLens.FieldDescriptor- "status"- (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::- Data.ProtoLens.FieldTypeDescriptor Status)- (Data.ProtoLens.OptionalField- (Data.ProtoLens.Field.field @"maybe'status")) ::- Data.ProtoLens.FieldDescriptor Span- in- Data.Map.fromList- [(Data.ProtoLens.Tag 1, traceId__field_descriptor),- (Data.ProtoLens.Tag 2, spanId__field_descriptor),- (Data.ProtoLens.Tag 3, traceState__field_descriptor),- (Data.ProtoLens.Tag 4, parentSpanId__field_descriptor),- (Data.ProtoLens.Tag 5, name__field_descriptor),- (Data.ProtoLens.Tag 6, kind__field_descriptor),- (Data.ProtoLens.Tag 7, startTimeUnixNano__field_descriptor),- (Data.ProtoLens.Tag 8, endTimeUnixNano__field_descriptor),- (Data.ProtoLens.Tag 9, attributes__field_descriptor),- (Data.ProtoLens.Tag 10, droppedAttributesCount__field_descriptor),- (Data.ProtoLens.Tag 11, events__field_descriptor),- (Data.ProtoLens.Tag 12, droppedEventsCount__field_descriptor),- (Data.ProtoLens.Tag 13, links__field_descriptor),- (Data.ProtoLens.Tag 14, droppedLinksCount__field_descriptor),- (Data.ProtoLens.Tag 15, status__field_descriptor)]- unknownFields- = Lens.Family2.Unchecked.lens- _Span'_unknownFields- (\ x__ y__ -> x__ {_Span'_unknownFields = y__})- defMessage- = Span'_constructor- {_Span'traceId = Data.ProtoLens.fieldDefault,- _Span'spanId = Data.ProtoLens.fieldDefault,- _Span'traceState = Data.ProtoLens.fieldDefault,- _Span'parentSpanId = Data.ProtoLens.fieldDefault,- _Span'name = Data.ProtoLens.fieldDefault,- _Span'kind = Data.ProtoLens.fieldDefault,- _Span'startTimeUnixNano = Data.ProtoLens.fieldDefault,- _Span'endTimeUnixNano = Data.ProtoLens.fieldDefault,- _Span'attributes = Data.Vector.Generic.empty,- _Span'droppedAttributesCount = Data.ProtoLens.fieldDefault,- _Span'events = Data.Vector.Generic.empty,- _Span'droppedEventsCount = Data.ProtoLens.fieldDefault,- _Span'links = Data.Vector.Generic.empty,- _Span'droppedLinksCount = Data.ProtoLens.fieldDefault,- _Span'status = Prelude.Nothing, _Span'_unknownFields = []}- parseMessage- = let- loop ::- Span- -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue- -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Span'Event- -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Span'Link- -> Data.ProtoLens.Encoding.Bytes.Parser Span- loop x mutable'attributes mutable'events mutable'links- = do end <- Data.ProtoLens.Encoding.Bytes.atEnd- if end then- do frozen'attributes <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.unsafeFreeze- mutable'attributes)- frozen'events <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.unsafeFreeze- mutable'events)- frozen'links <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.unsafeFreeze mutable'links)- (let missing = []- in- if Prelude.null missing then- Prelude.return ()- else- Prelude.fail- ((Prelude.++)- "Missing required fields: "- (Prelude.show (missing :: [Prelude.String]))))- Prelude.return- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)- (Lens.Family2.set- (Data.ProtoLens.Field.field @"vec'attributes") frozen'attributes- (Lens.Family2.set- (Data.ProtoLens.Field.field @"vec'events") frozen'events- (Lens.Family2.set- (Data.ProtoLens.Field.field @"vec'links") frozen'links x))))- else- do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt- case tag of- 10- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.getBytes- (Prelude.fromIntegral len))- "trace_id"- loop- (Lens.Family2.set (Data.ProtoLens.Field.field @"traceId") y x)- mutable'attributes mutable'events mutable'links- 18- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.getBytes- (Prelude.fromIntegral len))- "span_id"- loop- (Lens.Family2.set (Data.ProtoLens.Field.field @"spanId") y x)- mutable'attributes mutable'events mutable'links- 26- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do value <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.getBytes- (Prelude.fromIntegral len)- Data.ProtoLens.Encoding.Bytes.runEither- (case Data.Text.Encoding.decodeUtf8' value of- (Prelude.Left err)- -> Prelude.Left (Prelude.show err)- (Prelude.Right r) -> Prelude.Right r))- "trace_state"- loop- (Lens.Family2.set (Data.ProtoLens.Field.field @"traceState") y x)- mutable'attributes mutable'events mutable'links- 34- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.getBytes- (Prelude.fromIntegral len))- "parent_span_id"- loop- (Lens.Family2.set- (Data.ProtoLens.Field.field @"parentSpanId") y x)- mutable'attributes mutable'events mutable'links- 42- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do value <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.getBytes- (Prelude.fromIntegral len)- Data.ProtoLens.Encoding.Bytes.runEither- (case Data.Text.Encoding.decodeUtf8' value of- (Prelude.Left err)- -> Prelude.Left (Prelude.show err)- (Prelude.Right r) -> Prelude.Right r))- "name"- loop- (Lens.Family2.set (Data.ProtoLens.Field.field @"name") y x)- mutable'attributes mutable'events mutable'links- 48- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (Prelude.fmap- Prelude.toEnum- (Prelude.fmap- Prelude.fromIntegral- Data.ProtoLens.Encoding.Bytes.getVarInt))- "kind"- loop- (Lens.Family2.set (Data.ProtoLens.Field.field @"kind") y x)- mutable'attributes mutable'events mutable'links- 57- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- Data.ProtoLens.Encoding.Bytes.getFixed64- "start_time_unix_nano"- loop- (Lens.Family2.set- (Data.ProtoLens.Field.field @"startTimeUnixNano") y x)- mutable'attributes mutable'events mutable'links- 65- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- Data.ProtoLens.Encoding.Bytes.getFixed64 "end_time_unix_nano"- loop- (Lens.Family2.set- (Data.ProtoLens.Field.field @"endTimeUnixNano") y x)- mutable'attributes mutable'events mutable'links- 74- -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len)- Data.ProtoLens.parseMessage)- "attributes"- v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.append mutable'attributes y)- loop x v mutable'events mutable'links- 80- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (Prelude.fmap- Prelude.fromIntegral- Data.ProtoLens.Encoding.Bytes.getVarInt)- "dropped_attributes_count"- loop- (Lens.Family2.set- (Data.ProtoLens.Field.field @"droppedAttributesCount") y x)- mutable'attributes mutable'events mutable'links- 90- -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len)- Data.ProtoLens.parseMessage)- "events"- v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.append mutable'events y)- loop x mutable'attributes v mutable'links- 96- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (Prelude.fmap- Prelude.fromIntegral- Data.ProtoLens.Encoding.Bytes.getVarInt)- "dropped_events_count"- loop- (Lens.Family2.set- (Data.ProtoLens.Field.field @"droppedEventsCount") y x)- mutable'attributes mutable'events mutable'links- 106- -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len)- Data.ProtoLens.parseMessage)- "links"- v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.append mutable'links y)- loop x mutable'attributes mutable'events v- 112- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (Prelude.fmap- Prelude.fromIntegral- Data.ProtoLens.Encoding.Bytes.getVarInt)- "dropped_links_count"- loop- (Lens.Family2.set- (Data.ProtoLens.Field.field @"droppedLinksCount") y x)- mutable'attributes mutable'events mutable'links- 122- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)- "status"- loop- (Lens.Family2.set (Data.ProtoLens.Field.field @"status") y x)- mutable'attributes mutable'events mutable'links- wire- -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire- wire- loop- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)- mutable'attributes mutable'events mutable'links- in- (Data.ProtoLens.Encoding.Bytes.<?>)- (do mutable'attributes <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- Data.ProtoLens.Encoding.Growing.new- mutable'events <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- Data.ProtoLens.Encoding.Growing.new- mutable'links <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- Data.ProtoLens.Encoding.Growing.new- loop- Data.ProtoLens.defMessage mutable'attributes mutable'events- mutable'links)- "Span"- buildMessage- = \ _x- -> (Data.Monoid.<>)- (let- _v = Lens.Family2.view (Data.ProtoLens.Field.field @"traceId") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 10)- ((\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- _v))- ((Data.Monoid.<>)- (let- _v = Lens.Family2.view (Data.ProtoLens.Field.field @"spanId") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 18)- ((\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- _v))- ((Data.Monoid.<>)- (let- _v- = Lens.Family2.view (Data.ProtoLens.Field.field @"traceState") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 26)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.Text.Encoding.encodeUtf8 _v))- ((Data.Monoid.<>)- (let- _v- = Lens.Family2.view (Data.ProtoLens.Field.field @"parentSpanId") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 34)- ((\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- _v))- ((Data.Monoid.<>)- (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"name") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 42)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.Text.Encoding.encodeUtf8 _v))- ((Data.Monoid.<>)- (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"kind") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 48)- ((Prelude..)- ((Prelude..)- Data.ProtoLens.Encoding.Bytes.putVarInt- Prelude.fromIntegral)- Prelude.fromEnum _v))- ((Data.Monoid.<>)- (let- _v- = Lens.Family2.view- (Data.ProtoLens.Field.field @"startTimeUnixNano") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 57)- (Data.ProtoLens.Encoding.Bytes.putFixed64 _v))- ((Data.Monoid.<>)- (let- _v- = Lens.Family2.view- (Data.ProtoLens.Field.field @"endTimeUnixNano") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 65)- (Data.ProtoLens.Encoding.Bytes.putFixed64 _v))- ((Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.foldMapBuilder- (\ _v- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 74)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral- (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes- bs))- Data.ProtoLens.encodeMessage _v))- (Lens.Family2.view- (Data.ProtoLens.Field.field @"vec'attributes") _x))- ((Data.Monoid.<>)- (let- _v- = Lens.Family2.view- (Data.ProtoLens.Field.field- @"droppedAttributesCount")- _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 80)- ((Prelude..)- Data.ProtoLens.Encoding.Bytes.putVarInt- Prelude.fromIntegral _v))- ((Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.foldMapBuilder- (\ _v- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 90)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral- (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes- bs))- Data.ProtoLens.encodeMessage _v))- (Lens.Family2.view- (Data.ProtoLens.Field.field @"vec'events") _x))- ((Data.Monoid.<>)- (let- _v- = Lens.Family2.view- (Data.ProtoLens.Field.field- @"droppedEventsCount")- _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 96)- ((Prelude..)- Data.ProtoLens.Encoding.Bytes.putVarInt- Prelude.fromIntegral _v))- ((Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.foldMapBuilder- (\ _v- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- 106)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral- (Data.ByteString.length- bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes- bs))- Data.ProtoLens.encodeMessage _v))- (Lens.Family2.view- (Data.ProtoLens.Field.field @"vec'links")- _x))- ((Data.Monoid.<>)- (let- _v- = Lens.Family2.view- (Data.ProtoLens.Field.field- @"droppedLinksCount")- _x- in- if (Prelude.==)- _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- 112)- ((Prelude..)- Data.ProtoLens.Encoding.Bytes.putVarInt- Prelude.fromIntegral _v))- ((Data.Monoid.<>)- (case- Lens.Family2.view- (Data.ProtoLens.Field.field- @"maybe'status")- _x- of- Prelude.Nothing -> Data.Monoid.mempty- (Prelude.Just _v)- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- 122)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral- (Data.ByteString.length- bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes- bs))- Data.ProtoLens.encodeMessage- _v))- (Data.ProtoLens.Encoding.Wire.buildFieldSet- (Lens.Family2.view- Data.ProtoLens.unknownFields- _x))))))))))))))))-instance Control.DeepSeq.NFData Span where- rnf- = \ x__- -> Control.DeepSeq.deepseq- (_Span'_unknownFields x__)- (Control.DeepSeq.deepseq- (_Span'traceId x__)- (Control.DeepSeq.deepseq- (_Span'spanId x__)- (Control.DeepSeq.deepseq- (_Span'traceState x__)- (Control.DeepSeq.deepseq- (_Span'parentSpanId x__)- (Control.DeepSeq.deepseq- (_Span'name x__)- (Control.DeepSeq.deepseq- (_Span'kind x__)- (Control.DeepSeq.deepseq- (_Span'startTimeUnixNano x__)- (Control.DeepSeq.deepseq- (_Span'endTimeUnixNano x__)- (Control.DeepSeq.deepseq- (_Span'attributes x__)- (Control.DeepSeq.deepseq- (_Span'droppedAttributesCount x__)- (Control.DeepSeq.deepseq- (_Span'events x__)- (Control.DeepSeq.deepseq- (_Span'droppedEventsCount x__)- (Control.DeepSeq.deepseq- (_Span'links x__)- (Control.DeepSeq.deepseq- (_Span'droppedLinksCount x__)- (Control.DeepSeq.deepseq- (_Span'status x__) ())))))))))))))))-{- | Fields :- - * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.timeUnixNano' @:: Lens' Span'Event Data.Word.Word64@- * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.name' @:: Lens' Span'Event Data.Text.Text@- * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.attributes' @:: Lens' Span'Event [Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue]@- * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.vec'attributes' @:: Lens' Span'Event (Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue)@- * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.droppedAttributesCount' @:: Lens' Span'Event Data.Word.Word32@ -}-data Span'Event- = Span'Event'_constructor {_Span'Event'timeUnixNano :: !Data.Word.Word64,- _Span'Event'name :: !Data.Text.Text,- _Span'Event'attributes :: !(Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue),- _Span'Event'droppedAttributesCount :: !Data.Word.Word32,- _Span'Event'_unknownFields :: !Data.ProtoLens.FieldSet}- deriving stock (Prelude.Eq, Prelude.Ord)-instance Prelude.Show Span'Event where- showsPrec _ __x __s- = Prelude.showChar- '{'- (Prelude.showString- (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))-instance Data.ProtoLens.Field.HasField Span'Event "timeUnixNano" Data.Word.Word64 where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Span'Event'timeUnixNano- (\ x__ y__ -> x__ {_Span'Event'timeUnixNano = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField Span'Event "name" Data.Text.Text where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Span'Event'name (\ x__ y__ -> x__ {_Span'Event'name = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField Span'Event "attributes" [Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue] where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Span'Event'attributes- (\ x__ y__ -> x__ {_Span'Event'attributes = y__}))- (Lens.Family2.Unchecked.lens- Data.Vector.Generic.toList- (\ _ y__ -> Data.Vector.Generic.fromList y__))-instance Data.ProtoLens.Field.HasField Span'Event "vec'attributes" (Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Span'Event'attributes- (\ x__ y__ -> x__ {_Span'Event'attributes = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField Span'Event "droppedAttributesCount" Data.Word.Word32 where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Span'Event'droppedAttributesCount- (\ x__ y__ -> x__ {_Span'Event'droppedAttributesCount = y__}))- Prelude.id-instance Data.ProtoLens.Message Span'Event where- messageName _- = Data.Text.pack "opentelemetry.proto.trace.v1.Span.Event"- packedMessageDescriptor _- = "\n\- \\ENQEvent\DC2$\n\- \\SOtime_unix_nano\CAN\SOH \SOH(\ACKR\ftimeUnixNano\DC2\DC2\n\- \\EOTname\CAN\STX \SOH(\tR\EOTname\DC2G\n\- \\n\- \attributes\CAN\ETX \ETX(\v2'.opentelemetry.proto.common.v1.KeyValueR\n\- \attributes\DC28\n\- \\CANdropped_attributes_count\CAN\EOT \SOH(\rR\SYNdroppedAttributesCount"- packedFileDescriptor _ = packedFileDescriptor- fieldsByTag- = let- timeUnixNano__field_descriptor- = Data.ProtoLens.FieldDescriptor- "time_unix_nano"- (Data.ProtoLens.ScalarField Data.ProtoLens.Fixed64Field ::- Data.ProtoLens.FieldTypeDescriptor Data.Word.Word64)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional- (Data.ProtoLens.Field.field @"timeUnixNano")) ::- Data.ProtoLens.FieldDescriptor Span'Event- name__field_descriptor- = Data.ProtoLens.FieldDescriptor- "name"- (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::- Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"name")) ::- Data.ProtoLens.FieldDescriptor Span'Event- attributes__field_descriptor- = Data.ProtoLens.FieldDescriptor- "attributes"- (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::- Data.ProtoLens.FieldTypeDescriptor Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue)- (Data.ProtoLens.RepeatedField- Data.ProtoLens.Unpacked- (Data.ProtoLens.Field.field @"attributes")) ::- Data.ProtoLens.FieldDescriptor Span'Event- droppedAttributesCount__field_descriptor- = Data.ProtoLens.FieldDescriptor- "dropped_attributes_count"- (Data.ProtoLens.ScalarField Data.ProtoLens.UInt32Field ::- Data.ProtoLens.FieldTypeDescriptor Data.Word.Word32)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional- (Data.ProtoLens.Field.field @"droppedAttributesCount")) ::- Data.ProtoLens.FieldDescriptor Span'Event- in- Data.Map.fromList- [(Data.ProtoLens.Tag 1, timeUnixNano__field_descriptor),- (Data.ProtoLens.Tag 2, name__field_descriptor),- (Data.ProtoLens.Tag 3, attributes__field_descriptor),- (Data.ProtoLens.Tag 4, droppedAttributesCount__field_descriptor)]- unknownFields- = Lens.Family2.Unchecked.lens- _Span'Event'_unknownFields- (\ x__ y__ -> x__ {_Span'Event'_unknownFields = y__})- defMessage- = Span'Event'_constructor- {_Span'Event'timeUnixNano = Data.ProtoLens.fieldDefault,- _Span'Event'name = Data.ProtoLens.fieldDefault,- _Span'Event'attributes = Data.Vector.Generic.empty,- _Span'Event'droppedAttributesCount = Data.ProtoLens.fieldDefault,- _Span'Event'_unknownFields = []}- parseMessage- = let- loop ::- Span'Event- -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue- -> Data.ProtoLens.Encoding.Bytes.Parser Span'Event- loop x mutable'attributes- = do end <- Data.ProtoLens.Encoding.Bytes.atEnd- if end then- do frozen'attributes <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.unsafeFreeze- mutable'attributes)- (let missing = []- in- if Prelude.null missing then- Prelude.return ()- else- Prelude.fail- ((Prelude.++)- "Missing required fields: "- (Prelude.show (missing :: [Prelude.String]))))- Prelude.return- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)- (Lens.Family2.set- (Data.ProtoLens.Field.field @"vec'attributes") frozen'attributes- x))- else- do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt- case tag of- 9 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- Data.ProtoLens.Encoding.Bytes.getFixed64 "time_unix_nano"- loop- (Lens.Family2.set- (Data.ProtoLens.Field.field @"timeUnixNano") y x)- mutable'attributes- 18- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do value <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.getBytes- (Prelude.fromIntegral len)- Data.ProtoLens.Encoding.Bytes.runEither- (case Data.Text.Encoding.decodeUtf8' value of- (Prelude.Left err)- -> Prelude.Left (Prelude.show err)- (Prelude.Right r) -> Prelude.Right r))- "name"- loop- (Lens.Family2.set (Data.ProtoLens.Field.field @"name") y x)- mutable'attributes- 26- -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len)- Data.ProtoLens.parseMessage)- "attributes"- v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.append mutable'attributes y)- loop x v- 32- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (Prelude.fmap- Prelude.fromIntegral- Data.ProtoLens.Encoding.Bytes.getVarInt)- "dropped_attributes_count"- loop- (Lens.Family2.set- (Data.ProtoLens.Field.field @"droppedAttributesCount") y x)- mutable'attributes- wire- -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire- wire- loop- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)- mutable'attributes- in- (Data.ProtoLens.Encoding.Bytes.<?>)- (do mutable'attributes <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- Data.ProtoLens.Encoding.Growing.new- loop Data.ProtoLens.defMessage mutable'attributes)- "Event"- buildMessage- = \ _x- -> (Data.Monoid.<>)- (let- _v- = Lens.Family2.view (Data.ProtoLens.Field.field @"timeUnixNano") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 9)- (Data.ProtoLens.Encoding.Bytes.putFixed64 _v))- ((Data.Monoid.<>)- (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"name") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 18)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.Text.Encoding.encodeUtf8 _v))- ((Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.foldMapBuilder- (\ _v- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 26)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.ProtoLens.encodeMessage _v))- (Lens.Family2.view- (Data.ProtoLens.Field.field @"vec'attributes") _x))- ((Data.Monoid.<>)- (let- _v- = Lens.Family2.view- (Data.ProtoLens.Field.field @"droppedAttributesCount") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 32)- ((Prelude..)- Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))- (Data.ProtoLens.Encoding.Wire.buildFieldSet- (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))-instance Control.DeepSeq.NFData Span'Event where- rnf- = \ x__- -> Control.DeepSeq.deepseq- (_Span'Event'_unknownFields x__)- (Control.DeepSeq.deepseq- (_Span'Event'timeUnixNano x__)- (Control.DeepSeq.deepseq- (_Span'Event'name x__)- (Control.DeepSeq.deepseq- (_Span'Event'attributes x__)- (Control.DeepSeq.deepseq- (_Span'Event'droppedAttributesCount x__) ()))))-{- | Fields :- - * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.traceId' @:: Lens' Span'Link Data.ByteString.ByteString@- * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.spanId' @:: Lens' Span'Link Data.ByteString.ByteString@- * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.traceState' @:: Lens' Span'Link Data.Text.Text@- * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.attributes' @:: Lens' Span'Link [Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue]@- * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.vec'attributes' @:: Lens' Span'Link (Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue)@- * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.droppedAttributesCount' @:: Lens' Span'Link Data.Word.Word32@ -}-data Span'Link- = Span'Link'_constructor {_Span'Link'traceId :: !Data.ByteString.ByteString,- _Span'Link'spanId :: !Data.ByteString.ByteString,- _Span'Link'traceState :: !Data.Text.Text,- _Span'Link'attributes :: !(Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue),- _Span'Link'droppedAttributesCount :: !Data.Word.Word32,- _Span'Link'_unknownFields :: !Data.ProtoLens.FieldSet}- deriving stock (Prelude.Eq, Prelude.Ord)-instance Prelude.Show Span'Link where- showsPrec _ __x __s- = Prelude.showChar- '{'- (Prelude.showString- (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))-instance Data.ProtoLens.Field.HasField Span'Link "traceId" Data.ByteString.ByteString where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Span'Link'traceId (\ x__ y__ -> x__ {_Span'Link'traceId = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField Span'Link "spanId" Data.ByteString.ByteString where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Span'Link'spanId (\ x__ y__ -> x__ {_Span'Link'spanId = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField Span'Link "traceState" Data.Text.Text where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Span'Link'traceState- (\ x__ y__ -> x__ {_Span'Link'traceState = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField Span'Link "attributes" [Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue] where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Span'Link'attributes- (\ x__ y__ -> x__ {_Span'Link'attributes = y__}))- (Lens.Family2.Unchecked.lens- Data.Vector.Generic.toList- (\ _ y__ -> Data.Vector.Generic.fromList y__))-instance Data.ProtoLens.Field.HasField Span'Link "vec'attributes" (Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Span'Link'attributes- (\ x__ y__ -> x__ {_Span'Link'attributes = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField Span'Link "droppedAttributesCount" Data.Word.Word32 where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Span'Link'droppedAttributesCount- (\ x__ y__ -> x__ {_Span'Link'droppedAttributesCount = y__}))- Prelude.id-instance Data.ProtoLens.Message Span'Link where- messageName _- = Data.Text.pack "opentelemetry.proto.trace.v1.Span.Link"- packedMessageDescriptor _- = "\n\- \\EOTLink\DC2\EM\n\- \\btrace_id\CAN\SOH \SOH(\fR\atraceId\DC2\ETB\n\- \\aspan_id\CAN\STX \SOH(\fR\ACKspanId\DC2\US\n\- \\vtrace_state\CAN\ETX \SOH(\tR\n\- \traceState\DC2G\n\- \\n\- \attributes\CAN\EOT \ETX(\v2'.opentelemetry.proto.common.v1.KeyValueR\n\- \attributes\DC28\n\- \\CANdropped_attributes_count\CAN\ENQ \SOH(\rR\SYNdroppedAttributesCount"- packedFileDescriptor _ = packedFileDescriptor- fieldsByTag- = let- traceId__field_descriptor- = Data.ProtoLens.FieldDescriptor- "trace_id"- (Data.ProtoLens.ScalarField Data.ProtoLens.BytesField ::- Data.ProtoLens.FieldTypeDescriptor Data.ByteString.ByteString)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"traceId")) ::- Data.ProtoLens.FieldDescriptor Span'Link- spanId__field_descriptor- = Data.ProtoLens.FieldDescriptor- "span_id"- (Data.ProtoLens.ScalarField Data.ProtoLens.BytesField ::- Data.ProtoLens.FieldTypeDescriptor Data.ByteString.ByteString)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"spanId")) ::- Data.ProtoLens.FieldDescriptor Span'Link- traceState__field_descriptor- = Data.ProtoLens.FieldDescriptor- "trace_state"- (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::- Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional- (Data.ProtoLens.Field.field @"traceState")) ::- Data.ProtoLens.FieldDescriptor Span'Link- attributes__field_descriptor- = Data.ProtoLens.FieldDescriptor- "attributes"- (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::- Data.ProtoLens.FieldTypeDescriptor Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue)- (Data.ProtoLens.RepeatedField- Data.ProtoLens.Unpacked- (Data.ProtoLens.Field.field @"attributes")) ::- Data.ProtoLens.FieldDescriptor Span'Link- droppedAttributesCount__field_descriptor- = Data.ProtoLens.FieldDescriptor- "dropped_attributes_count"- (Data.ProtoLens.ScalarField Data.ProtoLens.UInt32Field ::- Data.ProtoLens.FieldTypeDescriptor Data.Word.Word32)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional- (Data.ProtoLens.Field.field @"droppedAttributesCount")) ::- Data.ProtoLens.FieldDescriptor Span'Link- in- Data.Map.fromList- [(Data.ProtoLens.Tag 1, traceId__field_descriptor),- (Data.ProtoLens.Tag 2, spanId__field_descriptor),- (Data.ProtoLens.Tag 3, traceState__field_descriptor),- (Data.ProtoLens.Tag 4, attributes__field_descriptor),- (Data.ProtoLens.Tag 5, droppedAttributesCount__field_descriptor)]- unknownFields- = Lens.Family2.Unchecked.lens- _Span'Link'_unknownFields- (\ x__ y__ -> x__ {_Span'Link'_unknownFields = y__})- defMessage- = Span'Link'_constructor- {_Span'Link'traceId = Data.ProtoLens.fieldDefault,- _Span'Link'spanId = Data.ProtoLens.fieldDefault,- _Span'Link'traceState = Data.ProtoLens.fieldDefault,- _Span'Link'attributes = Data.Vector.Generic.empty,- _Span'Link'droppedAttributesCount = Data.ProtoLens.fieldDefault,- _Span'Link'_unknownFields = []}- parseMessage- = let- loop ::- Span'Link- -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue- -> Data.ProtoLens.Encoding.Bytes.Parser Span'Link- loop x mutable'attributes- = do end <- Data.ProtoLens.Encoding.Bytes.atEnd- if end then- do frozen'attributes <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.unsafeFreeze- mutable'attributes)- (let missing = []- in- if Prelude.null missing then- Prelude.return ()- else- Prelude.fail- ((Prelude.++)- "Missing required fields: "- (Prelude.show (missing :: [Prelude.String]))))- Prelude.return- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)- (Lens.Family2.set- (Data.ProtoLens.Field.field @"vec'attributes") frozen'attributes- x))- else- do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt- case tag of- 10- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.getBytes- (Prelude.fromIntegral len))- "trace_id"- loop- (Lens.Family2.set (Data.ProtoLens.Field.field @"traceId") y x)- mutable'attributes- 18- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.getBytes- (Prelude.fromIntegral len))- "span_id"- loop- (Lens.Family2.set (Data.ProtoLens.Field.field @"spanId") y x)- mutable'attributes- 26- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do value <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.getBytes- (Prelude.fromIntegral len)- Data.ProtoLens.Encoding.Bytes.runEither- (case Data.Text.Encoding.decodeUtf8' value of- (Prelude.Left err)- -> Prelude.Left (Prelude.show err)- (Prelude.Right r) -> Prelude.Right r))- "trace_state"- loop- (Lens.Family2.set (Data.ProtoLens.Field.field @"traceState") y x)- mutable'attributes- 34- -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len)- Data.ProtoLens.parseMessage)- "attributes"- v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.append mutable'attributes y)- loop x v- 40- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (Prelude.fmap- Prelude.fromIntegral- Data.ProtoLens.Encoding.Bytes.getVarInt)- "dropped_attributes_count"- loop- (Lens.Family2.set- (Data.ProtoLens.Field.field @"droppedAttributesCount") y x)- mutable'attributes- wire- -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire- wire- loop- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)- mutable'attributes- in- (Data.ProtoLens.Encoding.Bytes.<?>)- (do mutable'attributes <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- Data.ProtoLens.Encoding.Growing.new- loop Data.ProtoLens.defMessage mutable'attributes)- "Link"- buildMessage- = \ _x- -> (Data.Monoid.<>)- (let- _v = Lens.Family2.view (Data.ProtoLens.Field.field @"traceId") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 10)- ((\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- _v))- ((Data.Monoid.<>)- (let- _v = Lens.Family2.view (Data.ProtoLens.Field.field @"spanId") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 18)- ((\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- _v))- ((Data.Monoid.<>)- (let- _v- = Lens.Family2.view (Data.ProtoLens.Field.field @"traceState") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 26)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.Text.Encoding.encodeUtf8 _v))- ((Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.foldMapBuilder- (\ _v- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 34)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.ProtoLens.encodeMessage _v))- (Lens.Family2.view- (Data.ProtoLens.Field.field @"vec'attributes") _x))- ((Data.Monoid.<>)- (let- _v- = Lens.Family2.view- (Data.ProtoLens.Field.field @"droppedAttributesCount") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 40)- ((Prelude..)- Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral- _v))- (Data.ProtoLens.Encoding.Wire.buildFieldSet- (Lens.Family2.view Data.ProtoLens.unknownFields _x))))))-instance Control.DeepSeq.NFData Span'Link where- rnf- = \ x__- -> Control.DeepSeq.deepseq- (_Span'Link'_unknownFields x__)- (Control.DeepSeq.deepseq- (_Span'Link'traceId x__)- (Control.DeepSeq.deepseq- (_Span'Link'spanId x__)- (Control.DeepSeq.deepseq- (_Span'Link'traceState x__)- (Control.DeepSeq.deepseq- (_Span'Link'attributes x__)- (Control.DeepSeq.deepseq- (_Span'Link'droppedAttributesCount x__) ())))))-newtype Span'SpanKind'UnrecognizedValue- = Span'SpanKind'UnrecognizedValue Data.Int.Int32- deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)-data Span'SpanKind- = Span'SPAN_KIND_UNSPECIFIED |- Span'SPAN_KIND_INTERNAL |- Span'SPAN_KIND_SERVER |- Span'SPAN_KIND_CLIENT |- Span'SPAN_KIND_PRODUCER |- Span'SPAN_KIND_CONSUMER |- Span'SpanKind'Unrecognized !Span'SpanKind'UnrecognizedValue- deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)-instance Data.ProtoLens.MessageEnum Span'SpanKind where- maybeToEnum 0 = Prelude.Just Span'SPAN_KIND_UNSPECIFIED- maybeToEnum 1 = Prelude.Just Span'SPAN_KIND_INTERNAL- maybeToEnum 2 = Prelude.Just Span'SPAN_KIND_SERVER- maybeToEnum 3 = Prelude.Just Span'SPAN_KIND_CLIENT- maybeToEnum 4 = Prelude.Just Span'SPAN_KIND_PRODUCER- maybeToEnum 5 = Prelude.Just Span'SPAN_KIND_CONSUMER- maybeToEnum k- = Prelude.Just- (Span'SpanKind'Unrecognized- (Span'SpanKind'UnrecognizedValue (Prelude.fromIntegral k)))- showEnum Span'SPAN_KIND_UNSPECIFIED = "SPAN_KIND_UNSPECIFIED"- showEnum Span'SPAN_KIND_INTERNAL = "SPAN_KIND_INTERNAL"- showEnum Span'SPAN_KIND_SERVER = "SPAN_KIND_SERVER"- showEnum Span'SPAN_KIND_CLIENT = "SPAN_KIND_CLIENT"- showEnum Span'SPAN_KIND_PRODUCER = "SPAN_KIND_PRODUCER"- showEnum Span'SPAN_KIND_CONSUMER = "SPAN_KIND_CONSUMER"- showEnum- (Span'SpanKind'Unrecognized (Span'SpanKind'UnrecognizedValue k))- = Prelude.show k- readEnum k- | (Prelude.==) k "SPAN_KIND_UNSPECIFIED"- = Prelude.Just Span'SPAN_KIND_UNSPECIFIED- | (Prelude.==) k "SPAN_KIND_INTERNAL"- = Prelude.Just Span'SPAN_KIND_INTERNAL- | (Prelude.==) k "SPAN_KIND_SERVER"- = Prelude.Just Span'SPAN_KIND_SERVER- | (Prelude.==) k "SPAN_KIND_CLIENT"- = Prelude.Just Span'SPAN_KIND_CLIENT- | (Prelude.==) k "SPAN_KIND_PRODUCER"- = Prelude.Just Span'SPAN_KIND_PRODUCER- | (Prelude.==) k "SPAN_KIND_CONSUMER"- = Prelude.Just Span'SPAN_KIND_CONSUMER- | Prelude.otherwise- = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum-instance Prelude.Bounded Span'SpanKind where- minBound = Span'SPAN_KIND_UNSPECIFIED- maxBound = Span'SPAN_KIND_CONSUMER-instance Prelude.Enum Span'SpanKind where- toEnum k__- = Prelude.maybe- (Prelude.error- ((Prelude.++)- "toEnum: unknown value for enum SpanKind: " (Prelude.show k__)))- Prelude.id (Data.ProtoLens.maybeToEnum k__)- fromEnum Span'SPAN_KIND_UNSPECIFIED = 0- fromEnum Span'SPAN_KIND_INTERNAL = 1- fromEnum Span'SPAN_KIND_SERVER = 2- fromEnum Span'SPAN_KIND_CLIENT = 3- fromEnum Span'SPAN_KIND_PRODUCER = 4- fromEnum Span'SPAN_KIND_CONSUMER = 5- fromEnum- (Span'SpanKind'Unrecognized (Span'SpanKind'UnrecognizedValue k))- = Prelude.fromIntegral k- succ Span'SPAN_KIND_CONSUMER- = Prelude.error- "Span'SpanKind.succ: bad argument Span'SPAN_KIND_CONSUMER. This value would be out of bounds."- succ Span'SPAN_KIND_UNSPECIFIED = Span'SPAN_KIND_INTERNAL- succ Span'SPAN_KIND_INTERNAL = Span'SPAN_KIND_SERVER- succ Span'SPAN_KIND_SERVER = Span'SPAN_KIND_CLIENT- succ Span'SPAN_KIND_CLIENT = Span'SPAN_KIND_PRODUCER- succ Span'SPAN_KIND_PRODUCER = Span'SPAN_KIND_CONSUMER- succ (Span'SpanKind'Unrecognized _)- = Prelude.error- "Span'SpanKind.succ: bad argument: unrecognized value"- pred Span'SPAN_KIND_UNSPECIFIED- = Prelude.error- "Span'SpanKind.pred: bad argument Span'SPAN_KIND_UNSPECIFIED. This value would be out of bounds."- pred Span'SPAN_KIND_INTERNAL = Span'SPAN_KIND_UNSPECIFIED- pred Span'SPAN_KIND_SERVER = Span'SPAN_KIND_INTERNAL- pred Span'SPAN_KIND_CLIENT = Span'SPAN_KIND_SERVER- pred Span'SPAN_KIND_PRODUCER = Span'SPAN_KIND_CLIENT- pred Span'SPAN_KIND_CONSUMER = Span'SPAN_KIND_PRODUCER- pred (Span'SpanKind'Unrecognized _)- = Prelude.error- "Span'SpanKind.pred: bad argument: unrecognized value"- enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom- enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo- enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen- enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo-instance Data.ProtoLens.FieldDefault Span'SpanKind where- fieldDefault = Span'SPAN_KIND_UNSPECIFIED-instance Control.DeepSeq.NFData Span'SpanKind where- rnf x__ = Prelude.seq x__ ()-{- | Fields :- - * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.deprecatedCode' @:: Lens' Status Status'DeprecatedStatusCode@- * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.message' @:: Lens' Status Data.Text.Text@- * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.code' @:: Lens' Status Status'StatusCode@ -}-data Status- = Status'_constructor {_Status'deprecatedCode :: !Status'DeprecatedStatusCode,- _Status'message :: !Data.Text.Text,- _Status'code :: !Status'StatusCode,- _Status'_unknownFields :: !Data.ProtoLens.FieldSet}- deriving stock (Prelude.Eq, Prelude.Ord)-instance Prelude.Show Status where- showsPrec _ __x __s- = Prelude.showChar- '{'- (Prelude.showString- (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))-instance Data.ProtoLens.Field.HasField Status "deprecatedCode" Status'DeprecatedStatusCode where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Status'deprecatedCode- (\ x__ y__ -> x__ {_Status'deprecatedCode = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField Status "message" Data.Text.Text where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Status'message (\ x__ y__ -> x__ {_Status'message = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField Status "code" Status'StatusCode where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _Status'code (\ x__ y__ -> x__ {_Status'code = y__}))- Prelude.id-instance Data.ProtoLens.Message Status where- messageName _- = Data.Text.pack "opentelemetry.proto.trace.v1.Status"- packedMessageDescriptor _- = "\n\- \\ACKStatus\DC2f\n\- \\SIdeprecated_code\CAN\SOH \SOH(\SO29.opentelemetry.proto.trace.v1.Status.DeprecatedStatusCodeR\SOdeprecatedCodeB\STX\CAN\SOH\DC2\CAN\n\- \\amessage\CAN\STX \SOH(\tR\amessage\DC2C\n\- \\EOTcode\CAN\ETX \SOH(\SO2/.opentelemetry.proto.trace.v1.Status.StatusCodeR\EOTcode\"\218\ENQ\n\- \\DC4DeprecatedStatusCode\DC2\GS\n\- \\EMDEPRECATED_STATUS_CODE_OK\DLE\NUL\DC2$\n\- \ DEPRECATED_STATUS_CODE_CANCELLED\DLE\SOH\DC2(\n\- \$DEPRECATED_STATUS_CODE_UNKNOWN_ERROR\DLE\STX\DC2+\n\- \'DEPRECATED_STATUS_CODE_INVALID_ARGUMENT\DLE\ETX\DC2,\n\- \(DEPRECATED_STATUS_CODE_DEADLINE_EXCEEDED\DLE\EOT\DC2$\n\- \ DEPRECATED_STATUS_CODE_NOT_FOUND\DLE\ENQ\DC2)\n\- \%DEPRECATED_STATUS_CODE_ALREADY_EXISTS\DLE\ACK\DC2,\n\- \(DEPRECATED_STATUS_CODE_PERMISSION_DENIED\DLE\a\DC2-\n\- \)DEPRECATED_STATUS_CODE_RESOURCE_EXHAUSTED\DLE\b\DC2.\n\- \*DEPRECATED_STATUS_CODE_FAILED_PRECONDITION\DLE\t\DC2\"\n\- \\RSDEPRECATED_STATUS_CODE_ABORTED\DLE\n\- \\DC2'\n\- \#DEPRECATED_STATUS_CODE_OUT_OF_RANGE\DLE\v\DC2(\n\- \$DEPRECATED_STATUS_CODE_UNIMPLEMENTED\DLE\f\DC2)\n\- \%DEPRECATED_STATUS_CODE_INTERNAL_ERROR\DLE\r\DC2&\n\- \\"DEPRECATED_STATUS_CODE_UNAVAILABLE\DLE\SO\DC2$\n\- \ DEPRECATED_STATUS_CODE_DATA_LOSS\DLE\SI\DC2*\n\- \&DEPRECATED_STATUS_CODE_UNAUTHENTICATED\DLE\DLE\"N\n\- \\n\- \StatusCode\DC2\NAK\n\- \\DC1STATUS_CODE_UNSET\DLE\NUL\DC2\DC2\n\- \\SOSTATUS_CODE_OK\DLE\SOH\DC2\NAK\n\- \\DC1STATUS_CODE_ERROR\DLE\STX"- packedFileDescriptor _ = packedFileDescriptor- fieldsByTag- = let- deprecatedCode__field_descriptor- = Data.ProtoLens.FieldDescriptor- "deprecated_code"- (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::- Data.ProtoLens.FieldTypeDescriptor Status'DeprecatedStatusCode)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional- (Data.ProtoLens.Field.field @"deprecatedCode")) ::- Data.ProtoLens.FieldDescriptor Status- message__field_descriptor- = Data.ProtoLens.FieldDescriptor- "message"- (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::- Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"message")) ::- Data.ProtoLens.FieldDescriptor Status- code__field_descriptor- = Data.ProtoLens.FieldDescriptor- "code"- (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::- Data.ProtoLens.FieldTypeDescriptor Status'StatusCode)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"code")) ::- Data.ProtoLens.FieldDescriptor Status- in- Data.Map.fromList- [(Data.ProtoLens.Tag 1, deprecatedCode__field_descriptor),- (Data.ProtoLens.Tag 2, message__field_descriptor),- (Data.ProtoLens.Tag 3, code__field_descriptor)]- unknownFields- = Lens.Family2.Unchecked.lens- _Status'_unknownFields- (\ x__ y__ -> x__ {_Status'_unknownFields = y__})- defMessage- = Status'_constructor- {_Status'deprecatedCode = Data.ProtoLens.fieldDefault,- _Status'message = Data.ProtoLens.fieldDefault,- _Status'code = Data.ProtoLens.fieldDefault,- _Status'_unknownFields = []}- parseMessage- = let- loop :: Status -> Data.ProtoLens.Encoding.Bytes.Parser Status- loop x- = do end <- Data.ProtoLens.Encoding.Bytes.atEnd- if end then- do (let missing = []- in- if Prelude.null missing then- Prelude.return ()- else- Prelude.fail- ((Prelude.++)- "Missing required fields: "- (Prelude.show (missing :: [Prelude.String]))))- Prelude.return- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)- else- do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt- case tag of- 8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (Prelude.fmap- Prelude.toEnum- (Prelude.fmap- Prelude.fromIntegral- Data.ProtoLens.Encoding.Bytes.getVarInt))- "deprecated_code"- loop- (Lens.Family2.set- (Data.ProtoLens.Field.field @"deprecatedCode") y x)- 18- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do value <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.getBytes- (Prelude.fromIntegral len)- Data.ProtoLens.Encoding.Bytes.runEither- (case Data.Text.Encoding.decodeUtf8' value of- (Prelude.Left err)- -> Prelude.Left (Prelude.show err)- (Prelude.Right r) -> Prelude.Right r))- "message"- loop (Lens.Family2.set (Data.ProtoLens.Field.field @"message") y x)- 24- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (Prelude.fmap- Prelude.toEnum- (Prelude.fmap- Prelude.fromIntegral- Data.ProtoLens.Encoding.Bytes.getVarInt))- "code"- loop (Lens.Family2.set (Data.ProtoLens.Field.field @"code") y x)- wire- -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire- wire- loop- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)- in- (Data.ProtoLens.Encoding.Bytes.<?>)- (do loop Data.ProtoLens.defMessage) "Status"- buildMessage- = \ _x- -> (Data.Monoid.<>)- (let- _v- = Lens.Family2.view- (Data.ProtoLens.Field.field @"deprecatedCode") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 8)- ((Prelude..)- ((Prelude..)- Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)- Prelude.fromEnum _v))- ((Data.Monoid.<>)- (let- _v = Lens.Family2.view (Data.ProtoLens.Field.field @"message") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 18)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.Text.Encoding.encodeUtf8 _v))- ((Data.Monoid.<>)- (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"code") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 24)- ((Prelude..)- ((Prelude..)- Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)- Prelude.fromEnum _v))- (Data.ProtoLens.Encoding.Wire.buildFieldSet- (Lens.Family2.view Data.ProtoLens.unknownFields _x))))-instance Control.DeepSeq.NFData Status where- rnf- = \ x__- -> Control.DeepSeq.deepseq- (_Status'_unknownFields x__)- (Control.DeepSeq.deepseq- (_Status'deprecatedCode x__)- (Control.DeepSeq.deepseq- (_Status'message x__)- (Control.DeepSeq.deepseq (_Status'code x__) ())))-newtype Status'DeprecatedStatusCode'UnrecognizedValue- = Status'DeprecatedStatusCode'UnrecognizedValue Data.Int.Int32- deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)-data Status'DeprecatedStatusCode- = Status'DEPRECATED_STATUS_CODE_OK |- Status'DEPRECATED_STATUS_CODE_CANCELLED |- Status'DEPRECATED_STATUS_CODE_UNKNOWN_ERROR |- Status'DEPRECATED_STATUS_CODE_INVALID_ARGUMENT |- Status'DEPRECATED_STATUS_CODE_DEADLINE_EXCEEDED |- Status'DEPRECATED_STATUS_CODE_NOT_FOUND |- Status'DEPRECATED_STATUS_CODE_ALREADY_EXISTS |- Status'DEPRECATED_STATUS_CODE_PERMISSION_DENIED |- Status'DEPRECATED_STATUS_CODE_RESOURCE_EXHAUSTED |- Status'DEPRECATED_STATUS_CODE_FAILED_PRECONDITION |- Status'DEPRECATED_STATUS_CODE_ABORTED |- Status'DEPRECATED_STATUS_CODE_OUT_OF_RANGE |- Status'DEPRECATED_STATUS_CODE_UNIMPLEMENTED |- Status'DEPRECATED_STATUS_CODE_INTERNAL_ERROR |- Status'DEPRECATED_STATUS_CODE_UNAVAILABLE |- Status'DEPRECATED_STATUS_CODE_DATA_LOSS |- Status'DEPRECATED_STATUS_CODE_UNAUTHENTICATED |- Status'DeprecatedStatusCode'Unrecognized !Status'DeprecatedStatusCode'UnrecognizedValue- deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)-instance Data.ProtoLens.MessageEnum Status'DeprecatedStatusCode where- maybeToEnum 0 = Prelude.Just Status'DEPRECATED_STATUS_CODE_OK- maybeToEnum 1- = Prelude.Just Status'DEPRECATED_STATUS_CODE_CANCELLED- maybeToEnum 2- = Prelude.Just Status'DEPRECATED_STATUS_CODE_UNKNOWN_ERROR- maybeToEnum 3- = Prelude.Just Status'DEPRECATED_STATUS_CODE_INVALID_ARGUMENT- maybeToEnum 4- = Prelude.Just Status'DEPRECATED_STATUS_CODE_DEADLINE_EXCEEDED- maybeToEnum 5- = Prelude.Just Status'DEPRECATED_STATUS_CODE_NOT_FOUND- maybeToEnum 6- = Prelude.Just Status'DEPRECATED_STATUS_CODE_ALREADY_EXISTS- maybeToEnum 7- = Prelude.Just Status'DEPRECATED_STATUS_CODE_PERMISSION_DENIED- maybeToEnum 8- = Prelude.Just Status'DEPRECATED_STATUS_CODE_RESOURCE_EXHAUSTED- maybeToEnum 9- = Prelude.Just Status'DEPRECATED_STATUS_CODE_FAILED_PRECONDITION- maybeToEnum 10 = Prelude.Just Status'DEPRECATED_STATUS_CODE_ABORTED- maybeToEnum 11- = Prelude.Just Status'DEPRECATED_STATUS_CODE_OUT_OF_RANGE- maybeToEnum 12- = Prelude.Just Status'DEPRECATED_STATUS_CODE_UNIMPLEMENTED- maybeToEnum 13- = Prelude.Just Status'DEPRECATED_STATUS_CODE_INTERNAL_ERROR- maybeToEnum 14- = Prelude.Just Status'DEPRECATED_STATUS_CODE_UNAVAILABLE- maybeToEnum 15- = Prelude.Just Status'DEPRECATED_STATUS_CODE_DATA_LOSS- maybeToEnum 16- = Prelude.Just Status'DEPRECATED_STATUS_CODE_UNAUTHENTICATED- maybeToEnum k- = Prelude.Just- (Status'DeprecatedStatusCode'Unrecognized- (Status'DeprecatedStatusCode'UnrecognizedValue- (Prelude.fromIntegral k)))- showEnum Status'DEPRECATED_STATUS_CODE_OK- = "DEPRECATED_STATUS_CODE_OK"- showEnum Status'DEPRECATED_STATUS_CODE_CANCELLED- = "DEPRECATED_STATUS_CODE_CANCELLED"- showEnum Status'DEPRECATED_STATUS_CODE_UNKNOWN_ERROR- = "DEPRECATED_STATUS_CODE_UNKNOWN_ERROR"- showEnum Status'DEPRECATED_STATUS_CODE_INVALID_ARGUMENT- = "DEPRECATED_STATUS_CODE_INVALID_ARGUMENT"- showEnum Status'DEPRECATED_STATUS_CODE_DEADLINE_EXCEEDED- = "DEPRECATED_STATUS_CODE_DEADLINE_EXCEEDED"- showEnum Status'DEPRECATED_STATUS_CODE_NOT_FOUND- = "DEPRECATED_STATUS_CODE_NOT_FOUND"- showEnum Status'DEPRECATED_STATUS_CODE_ALREADY_EXISTS- = "DEPRECATED_STATUS_CODE_ALREADY_EXISTS"- showEnum Status'DEPRECATED_STATUS_CODE_PERMISSION_DENIED- = "DEPRECATED_STATUS_CODE_PERMISSION_DENIED"- showEnum Status'DEPRECATED_STATUS_CODE_RESOURCE_EXHAUSTED- = "DEPRECATED_STATUS_CODE_RESOURCE_EXHAUSTED"- showEnum Status'DEPRECATED_STATUS_CODE_FAILED_PRECONDITION- = "DEPRECATED_STATUS_CODE_FAILED_PRECONDITION"- showEnum Status'DEPRECATED_STATUS_CODE_ABORTED- = "DEPRECATED_STATUS_CODE_ABORTED"- showEnum Status'DEPRECATED_STATUS_CODE_OUT_OF_RANGE- = "DEPRECATED_STATUS_CODE_OUT_OF_RANGE"- showEnum Status'DEPRECATED_STATUS_CODE_UNIMPLEMENTED- = "DEPRECATED_STATUS_CODE_UNIMPLEMENTED"- showEnum Status'DEPRECATED_STATUS_CODE_INTERNAL_ERROR- = "DEPRECATED_STATUS_CODE_INTERNAL_ERROR"- showEnum Status'DEPRECATED_STATUS_CODE_UNAVAILABLE- = "DEPRECATED_STATUS_CODE_UNAVAILABLE"- showEnum Status'DEPRECATED_STATUS_CODE_DATA_LOSS- = "DEPRECATED_STATUS_CODE_DATA_LOSS"- showEnum Status'DEPRECATED_STATUS_CODE_UNAUTHENTICATED- = "DEPRECATED_STATUS_CODE_UNAUTHENTICATED"- showEnum- (Status'DeprecatedStatusCode'Unrecognized (Status'DeprecatedStatusCode'UnrecognizedValue k))- = Prelude.show k- readEnum k- | (Prelude.==) k "DEPRECATED_STATUS_CODE_OK"- = Prelude.Just Status'DEPRECATED_STATUS_CODE_OK- | (Prelude.==) k "DEPRECATED_STATUS_CODE_CANCELLED"- = Prelude.Just Status'DEPRECATED_STATUS_CODE_CANCELLED- | (Prelude.==) k "DEPRECATED_STATUS_CODE_UNKNOWN_ERROR"- = Prelude.Just Status'DEPRECATED_STATUS_CODE_UNKNOWN_ERROR- | (Prelude.==) k "DEPRECATED_STATUS_CODE_INVALID_ARGUMENT"- = Prelude.Just Status'DEPRECATED_STATUS_CODE_INVALID_ARGUMENT- | (Prelude.==) k "DEPRECATED_STATUS_CODE_DEADLINE_EXCEEDED"- = Prelude.Just Status'DEPRECATED_STATUS_CODE_DEADLINE_EXCEEDED- | (Prelude.==) k "DEPRECATED_STATUS_CODE_NOT_FOUND"- = Prelude.Just Status'DEPRECATED_STATUS_CODE_NOT_FOUND- | (Prelude.==) k "DEPRECATED_STATUS_CODE_ALREADY_EXISTS"- = Prelude.Just Status'DEPRECATED_STATUS_CODE_ALREADY_EXISTS- | (Prelude.==) k "DEPRECATED_STATUS_CODE_PERMISSION_DENIED"- = Prelude.Just Status'DEPRECATED_STATUS_CODE_PERMISSION_DENIED- | (Prelude.==) k "DEPRECATED_STATUS_CODE_RESOURCE_EXHAUSTED"- = Prelude.Just Status'DEPRECATED_STATUS_CODE_RESOURCE_EXHAUSTED- | (Prelude.==) k "DEPRECATED_STATUS_CODE_FAILED_PRECONDITION"- = Prelude.Just Status'DEPRECATED_STATUS_CODE_FAILED_PRECONDITION- | (Prelude.==) k "DEPRECATED_STATUS_CODE_ABORTED"- = Prelude.Just Status'DEPRECATED_STATUS_CODE_ABORTED- | (Prelude.==) k "DEPRECATED_STATUS_CODE_OUT_OF_RANGE"- = Prelude.Just Status'DEPRECATED_STATUS_CODE_OUT_OF_RANGE- | (Prelude.==) k "DEPRECATED_STATUS_CODE_UNIMPLEMENTED"- = Prelude.Just Status'DEPRECATED_STATUS_CODE_UNIMPLEMENTED- | (Prelude.==) k "DEPRECATED_STATUS_CODE_INTERNAL_ERROR"- = Prelude.Just Status'DEPRECATED_STATUS_CODE_INTERNAL_ERROR- | (Prelude.==) k "DEPRECATED_STATUS_CODE_UNAVAILABLE"- = Prelude.Just Status'DEPRECATED_STATUS_CODE_UNAVAILABLE- | (Prelude.==) k "DEPRECATED_STATUS_CODE_DATA_LOSS"- = Prelude.Just Status'DEPRECATED_STATUS_CODE_DATA_LOSS- | (Prelude.==) k "DEPRECATED_STATUS_CODE_UNAUTHENTICATED"- = Prelude.Just Status'DEPRECATED_STATUS_CODE_UNAUTHENTICATED- | Prelude.otherwise- = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum-instance Prelude.Bounded Status'DeprecatedStatusCode where- minBound = Status'DEPRECATED_STATUS_CODE_OK- maxBound = Status'DEPRECATED_STATUS_CODE_UNAUTHENTICATED-instance Prelude.Enum Status'DeprecatedStatusCode where- toEnum k__- = Prelude.maybe- (Prelude.error- ((Prelude.++)- "toEnum: unknown value for enum DeprecatedStatusCode: "- (Prelude.show k__)))- Prelude.id (Data.ProtoLens.maybeToEnum k__)- fromEnum Status'DEPRECATED_STATUS_CODE_OK = 0- fromEnum Status'DEPRECATED_STATUS_CODE_CANCELLED = 1- fromEnum Status'DEPRECATED_STATUS_CODE_UNKNOWN_ERROR = 2- fromEnum Status'DEPRECATED_STATUS_CODE_INVALID_ARGUMENT = 3- fromEnum Status'DEPRECATED_STATUS_CODE_DEADLINE_EXCEEDED = 4- fromEnum Status'DEPRECATED_STATUS_CODE_NOT_FOUND = 5- fromEnum Status'DEPRECATED_STATUS_CODE_ALREADY_EXISTS = 6- fromEnum Status'DEPRECATED_STATUS_CODE_PERMISSION_DENIED = 7- fromEnum Status'DEPRECATED_STATUS_CODE_RESOURCE_EXHAUSTED = 8- fromEnum Status'DEPRECATED_STATUS_CODE_FAILED_PRECONDITION = 9- fromEnum Status'DEPRECATED_STATUS_CODE_ABORTED = 10- fromEnum Status'DEPRECATED_STATUS_CODE_OUT_OF_RANGE = 11- fromEnum Status'DEPRECATED_STATUS_CODE_UNIMPLEMENTED = 12- fromEnum Status'DEPRECATED_STATUS_CODE_INTERNAL_ERROR = 13- fromEnum Status'DEPRECATED_STATUS_CODE_UNAVAILABLE = 14- fromEnum Status'DEPRECATED_STATUS_CODE_DATA_LOSS = 15- fromEnum Status'DEPRECATED_STATUS_CODE_UNAUTHENTICATED = 16- fromEnum- (Status'DeprecatedStatusCode'Unrecognized (Status'DeprecatedStatusCode'UnrecognizedValue k))- = Prelude.fromIntegral k- succ Status'DEPRECATED_STATUS_CODE_UNAUTHENTICATED- = Prelude.error- "Status'DeprecatedStatusCode.succ: bad argument Status'DEPRECATED_STATUS_CODE_UNAUTHENTICATED. This value would be out of bounds."- succ Status'DEPRECATED_STATUS_CODE_OK- = Status'DEPRECATED_STATUS_CODE_CANCELLED- succ Status'DEPRECATED_STATUS_CODE_CANCELLED- = Status'DEPRECATED_STATUS_CODE_UNKNOWN_ERROR- succ Status'DEPRECATED_STATUS_CODE_UNKNOWN_ERROR- = Status'DEPRECATED_STATUS_CODE_INVALID_ARGUMENT- succ Status'DEPRECATED_STATUS_CODE_INVALID_ARGUMENT- = Status'DEPRECATED_STATUS_CODE_DEADLINE_EXCEEDED- succ Status'DEPRECATED_STATUS_CODE_DEADLINE_EXCEEDED- = Status'DEPRECATED_STATUS_CODE_NOT_FOUND- succ Status'DEPRECATED_STATUS_CODE_NOT_FOUND- = Status'DEPRECATED_STATUS_CODE_ALREADY_EXISTS- succ Status'DEPRECATED_STATUS_CODE_ALREADY_EXISTS- = Status'DEPRECATED_STATUS_CODE_PERMISSION_DENIED- succ Status'DEPRECATED_STATUS_CODE_PERMISSION_DENIED- = Status'DEPRECATED_STATUS_CODE_RESOURCE_EXHAUSTED- succ Status'DEPRECATED_STATUS_CODE_RESOURCE_EXHAUSTED- = Status'DEPRECATED_STATUS_CODE_FAILED_PRECONDITION- succ Status'DEPRECATED_STATUS_CODE_FAILED_PRECONDITION- = Status'DEPRECATED_STATUS_CODE_ABORTED- succ Status'DEPRECATED_STATUS_CODE_ABORTED- = Status'DEPRECATED_STATUS_CODE_OUT_OF_RANGE- succ Status'DEPRECATED_STATUS_CODE_OUT_OF_RANGE- = Status'DEPRECATED_STATUS_CODE_UNIMPLEMENTED- succ Status'DEPRECATED_STATUS_CODE_UNIMPLEMENTED- = Status'DEPRECATED_STATUS_CODE_INTERNAL_ERROR- succ Status'DEPRECATED_STATUS_CODE_INTERNAL_ERROR- = Status'DEPRECATED_STATUS_CODE_UNAVAILABLE- succ Status'DEPRECATED_STATUS_CODE_UNAVAILABLE- = Status'DEPRECATED_STATUS_CODE_DATA_LOSS- succ Status'DEPRECATED_STATUS_CODE_DATA_LOSS- = Status'DEPRECATED_STATUS_CODE_UNAUTHENTICATED- succ (Status'DeprecatedStatusCode'Unrecognized _)- = Prelude.error- "Status'DeprecatedStatusCode.succ: bad argument: unrecognized value"- pred Status'DEPRECATED_STATUS_CODE_OK- = Prelude.error- "Status'DeprecatedStatusCode.pred: bad argument Status'DEPRECATED_STATUS_CODE_OK. This value would be out of bounds."- pred Status'DEPRECATED_STATUS_CODE_CANCELLED- = Status'DEPRECATED_STATUS_CODE_OK- pred Status'DEPRECATED_STATUS_CODE_UNKNOWN_ERROR- = Status'DEPRECATED_STATUS_CODE_CANCELLED- pred Status'DEPRECATED_STATUS_CODE_INVALID_ARGUMENT- = Status'DEPRECATED_STATUS_CODE_UNKNOWN_ERROR- pred Status'DEPRECATED_STATUS_CODE_DEADLINE_EXCEEDED- = Status'DEPRECATED_STATUS_CODE_INVALID_ARGUMENT- pred Status'DEPRECATED_STATUS_CODE_NOT_FOUND- = Status'DEPRECATED_STATUS_CODE_DEADLINE_EXCEEDED- pred Status'DEPRECATED_STATUS_CODE_ALREADY_EXISTS- = Status'DEPRECATED_STATUS_CODE_NOT_FOUND- pred Status'DEPRECATED_STATUS_CODE_PERMISSION_DENIED- = Status'DEPRECATED_STATUS_CODE_ALREADY_EXISTS- pred Status'DEPRECATED_STATUS_CODE_RESOURCE_EXHAUSTED- = Status'DEPRECATED_STATUS_CODE_PERMISSION_DENIED- pred Status'DEPRECATED_STATUS_CODE_FAILED_PRECONDITION- = Status'DEPRECATED_STATUS_CODE_RESOURCE_EXHAUSTED- pred Status'DEPRECATED_STATUS_CODE_ABORTED- = Status'DEPRECATED_STATUS_CODE_FAILED_PRECONDITION- pred Status'DEPRECATED_STATUS_CODE_OUT_OF_RANGE- = Status'DEPRECATED_STATUS_CODE_ABORTED- pred Status'DEPRECATED_STATUS_CODE_UNIMPLEMENTED- = Status'DEPRECATED_STATUS_CODE_OUT_OF_RANGE- pred Status'DEPRECATED_STATUS_CODE_INTERNAL_ERROR- = Status'DEPRECATED_STATUS_CODE_UNIMPLEMENTED- pred Status'DEPRECATED_STATUS_CODE_UNAVAILABLE- = Status'DEPRECATED_STATUS_CODE_INTERNAL_ERROR- pred Status'DEPRECATED_STATUS_CODE_DATA_LOSS- = Status'DEPRECATED_STATUS_CODE_UNAVAILABLE- pred Status'DEPRECATED_STATUS_CODE_UNAUTHENTICATED- = Status'DEPRECATED_STATUS_CODE_DATA_LOSS- pred (Status'DeprecatedStatusCode'Unrecognized _)- = Prelude.error- "Status'DeprecatedStatusCode.pred: bad argument: unrecognized value"- enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom- enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo- enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen- enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo-instance Data.ProtoLens.FieldDefault Status'DeprecatedStatusCode where- fieldDefault = Status'DEPRECATED_STATUS_CODE_OK-instance Control.DeepSeq.NFData Status'DeprecatedStatusCode where- rnf x__ = Prelude.seq x__ ()-newtype Status'StatusCode'UnrecognizedValue- = Status'StatusCode'UnrecognizedValue Data.Int.Int32- deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)-data Status'StatusCode- = Status'STATUS_CODE_UNSET |- Status'STATUS_CODE_OK |- Status'STATUS_CODE_ERROR |- Status'StatusCode'Unrecognized !Status'StatusCode'UnrecognizedValue- deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)-instance Data.ProtoLens.MessageEnum Status'StatusCode where- maybeToEnum 0 = Prelude.Just Status'STATUS_CODE_UNSET- maybeToEnum 1 = Prelude.Just Status'STATUS_CODE_OK- maybeToEnum 2 = Prelude.Just Status'STATUS_CODE_ERROR- maybeToEnum k- = Prelude.Just- (Status'StatusCode'Unrecognized- (Status'StatusCode'UnrecognizedValue (Prelude.fromIntegral k)))- showEnum Status'STATUS_CODE_UNSET = "STATUS_CODE_UNSET"- showEnum Status'STATUS_CODE_OK = "STATUS_CODE_OK"- showEnum Status'STATUS_CODE_ERROR = "STATUS_CODE_ERROR"- showEnum- (Status'StatusCode'Unrecognized (Status'StatusCode'UnrecognizedValue k))- = Prelude.show k- readEnum k- | (Prelude.==) k "STATUS_CODE_UNSET"- = Prelude.Just Status'STATUS_CODE_UNSET- | (Prelude.==) k "STATUS_CODE_OK"- = Prelude.Just Status'STATUS_CODE_OK- | (Prelude.==) k "STATUS_CODE_ERROR"- = Prelude.Just Status'STATUS_CODE_ERROR- | Prelude.otherwise- = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum-instance Prelude.Bounded Status'StatusCode where- minBound = Status'STATUS_CODE_UNSET- maxBound = Status'STATUS_CODE_ERROR-instance Prelude.Enum Status'StatusCode where- toEnum k__- = Prelude.maybe- (Prelude.error- ((Prelude.++)- "toEnum: unknown value for enum StatusCode: " (Prelude.show k__)))- Prelude.id (Data.ProtoLens.maybeToEnum k__)- fromEnum Status'STATUS_CODE_UNSET = 0- fromEnum Status'STATUS_CODE_OK = 1- fromEnum Status'STATUS_CODE_ERROR = 2- fromEnum- (Status'StatusCode'Unrecognized (Status'StatusCode'UnrecognizedValue k))- = Prelude.fromIntegral k- succ Status'STATUS_CODE_ERROR- = Prelude.error- "Status'StatusCode.succ: bad argument Status'STATUS_CODE_ERROR. This value would be out of bounds."- succ Status'STATUS_CODE_UNSET = Status'STATUS_CODE_OK- succ Status'STATUS_CODE_OK = Status'STATUS_CODE_ERROR- succ (Status'StatusCode'Unrecognized _)- = Prelude.error- "Status'StatusCode.succ: bad argument: unrecognized value"- pred Status'STATUS_CODE_UNSET- = Prelude.error- "Status'StatusCode.pred: bad argument Status'STATUS_CODE_UNSET. This value would be out of bounds."- pred Status'STATUS_CODE_OK = Status'STATUS_CODE_UNSET- pred Status'STATUS_CODE_ERROR = Status'STATUS_CODE_OK- pred (Status'StatusCode'Unrecognized _)- = Prelude.error- "Status'StatusCode.pred: bad argument: unrecognized value"- enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom- enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo- enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen- enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo-instance Data.ProtoLens.FieldDefault Status'StatusCode where- fieldDefault = Status'STATUS_CODE_UNSET-instance Control.DeepSeq.NFData Status'StatusCode where- rnf x__ = Prelude.seq x__ ()-{- | Fields :- - * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.resourceSpans' @:: Lens' TracesData [ResourceSpans]@- * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.vec'resourceSpans' @:: Lens' TracesData (Data.Vector.Vector ResourceSpans)@ -}-data TracesData- = TracesData'_constructor {_TracesData'resourceSpans :: !(Data.Vector.Vector ResourceSpans),- _TracesData'_unknownFields :: !Data.ProtoLens.FieldSet}- deriving stock (Prelude.Eq, Prelude.Ord)-instance Prelude.Show TracesData where- showsPrec _ __x __s- = Prelude.showChar- '{'- (Prelude.showString- (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))-instance Data.ProtoLens.Field.HasField TracesData "resourceSpans" [ResourceSpans] where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _TracesData'resourceSpans- (\ x__ y__ -> x__ {_TracesData'resourceSpans = y__}))- (Lens.Family2.Unchecked.lens- Data.Vector.Generic.toList- (\ _ y__ -> Data.Vector.Generic.fromList y__))-instance Data.ProtoLens.Field.HasField TracesData "vec'resourceSpans" (Data.Vector.Vector ResourceSpans) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _TracesData'resourceSpans- (\ x__ y__ -> x__ {_TracesData'resourceSpans = y__}))- Prelude.id-instance Data.ProtoLens.Message TracesData where- messageName _- = Data.Text.pack "opentelemetry.proto.trace.v1.TracesData"- packedMessageDescriptor _- = "\n\- \\n\- \TracesData\DC2R\n\- \\SOresource_spans\CAN\SOH \ETX(\v2+.opentelemetry.proto.trace.v1.ResourceSpansR\rresourceSpans"- packedFileDescriptor _ = packedFileDescriptor- fieldsByTag- = let- resourceSpans__field_descriptor- = Data.ProtoLens.FieldDescriptor- "resource_spans"- (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::- Data.ProtoLens.FieldTypeDescriptor ResourceSpans)- (Data.ProtoLens.RepeatedField- Data.ProtoLens.Unpacked- (Data.ProtoLens.Field.field @"resourceSpans")) ::- Data.ProtoLens.FieldDescriptor TracesData- in- Data.Map.fromList- [(Data.ProtoLens.Tag 1, resourceSpans__field_descriptor)]- unknownFields- = Lens.Family2.Unchecked.lens- _TracesData'_unknownFields- (\ x__ y__ -> x__ {_TracesData'_unknownFields = y__})- defMessage- = TracesData'_constructor- {_TracesData'resourceSpans = Data.Vector.Generic.empty,- _TracesData'_unknownFields = []}- parseMessage- = let- loop ::- TracesData- -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld ResourceSpans- -> Data.ProtoLens.Encoding.Bytes.Parser TracesData- loop x mutable'resourceSpans- = do end <- Data.ProtoLens.Encoding.Bytes.atEnd- if end then- do frozen'resourceSpans <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.unsafeFreeze- mutable'resourceSpans)- (let missing = []- in- if Prelude.null missing then- Prelude.return ()- else- Prelude.fail- ((Prelude.++)- "Missing required fields: "- (Prelude.show (missing :: [Prelude.String]))))- Prelude.return- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)- (Lens.Family2.set- (Data.ProtoLens.Field.field @"vec'resourceSpans")- frozen'resourceSpans x))- else- do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt- case tag of- 10- -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len)- Data.ProtoLens.parseMessage)- "resource_spans"- v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- (Data.ProtoLens.Encoding.Growing.append- mutable'resourceSpans y)- loop x v- wire- -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire- wire- loop- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)- mutable'resourceSpans- in- (Data.ProtoLens.Encoding.Bytes.<?>)- (do mutable'resourceSpans <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO- Data.ProtoLens.Encoding.Growing.new- loop Data.ProtoLens.defMessage mutable'resourceSpans)- "TracesData"- buildMessage- = \ _x- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.foldMapBuilder- (\ _v- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 10)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.ProtoLens.encodeMessage _v))- (Lens.Family2.view- (Data.ProtoLens.Field.field @"vec'resourceSpans") _x))- (Data.ProtoLens.Encoding.Wire.buildFieldSet- (Lens.Family2.view Data.ProtoLens.unknownFields _x))-instance Control.DeepSeq.NFData TracesData where- rnf- = \ x__- -> Control.DeepSeq.deepseq- (_TracesData'_unknownFields x__)- (Control.DeepSeq.deepseq (_TracesData'resourceSpans x__) ())-packedFileDescriptor :: Data.ByteString.ByteString-packedFileDescriptor- = "\n\- \(opentelemetry/proto/trace/v1/trace.proto\DC2\FSopentelemetry.proto.trace.v1\SUB*opentelemetry/proto/common/v1/common.proto\SUB.opentelemetry/proto/resource/v1/resource.proto\"`\n\- \\n\- \TracesData\DC2R\n\- \\SOresource_spans\CAN\SOH \ETX(\v2+.opentelemetry.proto.trace.v1.ResourceSpansR\rresourceSpans\"\244\SOH\n\- \\rResourceSpans\DC2E\n\- \\bresource\CAN\SOH \SOH(\v2).opentelemetry.proto.resource.v1.ResourceR\bresource\DC2}\n\- \\GSinstrumentation_library_spans\CAN\STX \ETX(\v29.opentelemetry.proto.trace.v1.InstrumentationLibrarySpansR\ESCinstrumentationLibrarySpans\DC2\GS\n\- \\n\- \schema_url\CAN\ETX \SOH(\tR\tschemaUrl\"\230\SOH\n\- \\ESCInstrumentationLibrarySpans\DC2n\n\- \\ETBinstrumentation_library\CAN\SOH \SOH(\v25.opentelemetry.proto.common.v1.InstrumentationLibraryR\SYNinstrumentationLibrary\DC28\n\- \\ENQspans\CAN\STX \ETX(\v2\".opentelemetry.proto.trace.v1.SpanR\ENQspans\DC2\GS\n\- \\n\- \schema_url\CAN\ETX \SOH(\tR\tschemaUrl\"\156\n\- \\n\- \\EOTSpan\DC2\EM\n\- \\btrace_id\CAN\SOH \SOH(\fR\atraceId\DC2\ETB\n\- \\aspan_id\CAN\STX \SOH(\fR\ACKspanId\DC2\US\n\- \\vtrace_state\CAN\ETX \SOH(\tR\n\- \traceState\DC2$\n\- \\SOparent_span_id\CAN\EOT \SOH(\fR\fparentSpanId\DC2\DC2\n\- \\EOTname\CAN\ENQ \SOH(\tR\EOTname\DC2?\n\- \\EOTkind\CAN\ACK \SOH(\SO2+.opentelemetry.proto.trace.v1.Span.SpanKindR\EOTkind\DC2/\n\- \\DC4start_time_unix_nano\CAN\a \SOH(\ACKR\DC1startTimeUnixNano\DC2+\n\- \\DC2end_time_unix_nano\CAN\b \SOH(\ACKR\SIendTimeUnixNano\DC2G\n\- \\n\- \attributes\CAN\t \ETX(\v2'.opentelemetry.proto.common.v1.KeyValueR\n\- \attributes\DC28\n\- \\CANdropped_attributes_count\CAN\n\- \ \SOH(\rR\SYNdroppedAttributesCount\DC2@\n\- \\ACKevents\CAN\v \ETX(\v2(.opentelemetry.proto.trace.v1.Span.EventR\ACKevents\DC20\n\- \\DC4dropped_events_count\CAN\f \SOH(\rR\DC2droppedEventsCount\DC2=\n\- \\ENQlinks\CAN\r \ETX(\v2'.opentelemetry.proto.trace.v1.Span.LinkR\ENQlinks\DC2.\n\- \\DC3dropped_links_count\CAN\SO \SOH(\rR\DC1droppedLinksCount\DC2<\n\- \\ACKstatus\CAN\SI \SOH(\v2$.opentelemetry.proto.trace.v1.StatusR\ACKstatus\SUB\196\SOH\n\- \\ENQEvent\DC2$\n\- \\SOtime_unix_nano\CAN\SOH \SOH(\ACKR\ftimeUnixNano\DC2\DC2\n\- \\EOTname\CAN\STX \SOH(\tR\EOTname\DC2G\n\- \\n\- \attributes\CAN\ETX \ETX(\v2'.opentelemetry.proto.common.v1.KeyValueR\n\- \attributes\DC28\n\- \\CANdropped_attributes_count\CAN\EOT \SOH(\rR\SYNdroppedAttributesCount\SUB\222\SOH\n\- \\EOTLink\DC2\EM\n\- \\btrace_id\CAN\SOH \SOH(\fR\atraceId\DC2\ETB\n\- \\aspan_id\CAN\STX \SOH(\fR\ACKspanId\DC2\US\n\- \\vtrace_state\CAN\ETX \SOH(\tR\n\- \traceState\DC2G\n\- \\n\- \attributes\CAN\EOT \ETX(\v2'.opentelemetry.proto.common.v1.KeyValueR\n\- \attributes\DC28\n\- \\CANdropped_attributes_count\CAN\ENQ \SOH(\rR\SYNdroppedAttributesCount\"\153\SOH\n\- \\bSpanKind\DC2\EM\n\- \\NAKSPAN_KIND_UNSPECIFIED\DLE\NUL\DC2\SYN\n\- \\DC2SPAN_KIND_INTERNAL\DLE\SOH\DC2\DC4\n\- \\DLESPAN_KIND_SERVER\DLE\STX\DC2\DC4\n\- \\DLESPAN_KIND_CLIENT\DLE\ETX\DC2\SYN\n\- \\DC2SPAN_KIND_PRODUCER\DLE\EOT\DC2\SYN\n\- \\DC2SPAN_KIND_CONSUMER\DLE\ENQ\"\252\a\n\- \\ACKStatus\DC2f\n\- \\SIdeprecated_code\CAN\SOH \SOH(\SO29.opentelemetry.proto.trace.v1.Status.DeprecatedStatusCodeR\SOdeprecatedCodeB\STX\CAN\SOH\DC2\CAN\n\- \\amessage\CAN\STX \SOH(\tR\amessage\DC2C\n\- \\EOTcode\CAN\ETX \SOH(\SO2/.opentelemetry.proto.trace.v1.Status.StatusCodeR\EOTcode\"\218\ENQ\n\- \\DC4DeprecatedStatusCode\DC2\GS\n\- \\EMDEPRECATED_STATUS_CODE_OK\DLE\NUL\DC2$\n\- \ DEPRECATED_STATUS_CODE_CANCELLED\DLE\SOH\DC2(\n\- \$DEPRECATED_STATUS_CODE_UNKNOWN_ERROR\DLE\STX\DC2+\n\- \'DEPRECATED_STATUS_CODE_INVALID_ARGUMENT\DLE\ETX\DC2,\n\- \(DEPRECATED_STATUS_CODE_DEADLINE_EXCEEDED\DLE\EOT\DC2$\n\- \ DEPRECATED_STATUS_CODE_NOT_FOUND\DLE\ENQ\DC2)\n\- \%DEPRECATED_STATUS_CODE_ALREADY_EXISTS\DLE\ACK\DC2,\n\- \(DEPRECATED_STATUS_CODE_PERMISSION_DENIED\DLE\a\DC2-\n\- \)DEPRECATED_STATUS_CODE_RESOURCE_EXHAUSTED\DLE\b\DC2.\n\- \*DEPRECATED_STATUS_CODE_FAILED_PRECONDITION\DLE\t\DC2\"\n\- \\RSDEPRECATED_STATUS_CODE_ABORTED\DLE\n\- \\DC2'\n\- \#DEPRECATED_STATUS_CODE_OUT_OF_RANGE\DLE\v\DC2(\n\- \$DEPRECATED_STATUS_CODE_UNIMPLEMENTED\DLE\f\DC2)\n\- \%DEPRECATED_STATUS_CODE_INTERNAL_ERROR\DLE\r\DC2&\n\- \\"DEPRECATED_STATUS_CODE_UNAVAILABLE\DLE\SO\DC2$\n\- \ DEPRECATED_STATUS_CODE_DATA_LOSS\DLE\SI\DC2*\n\- \&DEPRECATED_STATUS_CODE_UNAUTHENTICATED\DLE\DLE\"N\n\- \\n\- \StatusCode\DC2\NAK\n\- \\DC1STATUS_CODE_UNSET\DLE\NUL\DC2\DC2\n\- \\SOSTATUS_CODE_OK\DLE\SOH\DC2\NAK\n\- \\DC1STATUS_CODE_ERROR\DLE\STXBn\n\- \\USio.opentelemetry.proto.trace.v1B\n\- \TraceProtoP\SOHZ=github.com/open-telemetry/opentelemetry-proto/gen/go/trace/v1J\146x\n\- \\a\DC2\ENQ\SO\NUL\214\STX\SOH\n\- \\200\EOT\n\- \\SOH\f\DC2\ETX\SO\NUL\DC22\189\EOT Copyright 2019, OpenTelemetry Authors\n\- \\n\- \ Licensed under the Apache License, Version 2.0 (the \"License\");\n\- \ you may not use this file except in compliance with the License.\n\- \ You may obtain a copy of the License at\n\- \\n\- \ http://www.apache.org/licenses/LICENSE-2.0\n\- \\n\- \ Unless required by applicable law or agreed to in writing, software\n\- \ distributed under the License is distributed on an \"AS IS\" BASIS,\n\- \ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\- \ See the License for the specific language governing permissions and\n\- \ limitations under the License.\n\- \\n\- \\b\n\- \\SOH\STX\DC2\ETX\DLE\NUL%\n\- \\t\n\- \\STX\ETX\NUL\DC2\ETX\DC2\NUL4\n\- \\t\n\- \\STX\ETX\SOH\DC2\ETX\DC3\NUL8\n\- \\b\n\- \\SOH\b\DC2\ETX\NAK\NUL\"\n\- \\t\n\- \\STX\b\n\- \\DC2\ETX\NAK\NUL\"\n\- \\b\n\- \\SOH\b\DC2\ETX\SYN\NUL8\n\- \\t\n\- \\STX\b\SOH\DC2\ETX\SYN\NUL8\n\- \\b\n\- \\SOH\b\DC2\ETX\ETB\NUL+\n\- \\t\n\- \\STX\b\b\DC2\ETX\ETB\NUL+\n\- \\b\n\- \\SOH\b\DC2\ETX\CAN\NULT\n\- \\t\n\- \\STX\b\v\DC2\ETX\CAN\NULT\n\- \\206\ETX\n\- \\STX\EOT\NUL\DC2\EOT$\NUL+\SOH\SUB\193\ETX TracesData represents the traces data that can be stored in a persistent storage,\n\- \ OR can be embedded by other protocols that transfer OTLP traces data but do\n\- \ not implement the OTLP protocol.\n\- \\n\- \ The main difference between this message and collector protocol is that\n\- \ in this message there will not be any \"control\" or \"metadata\" specific to\n\- \ OTLP protocol.\n\- \\n\- \ When new fields are added into this message, the OTLP request MUST be updated\n\- \ as well.\n\- \\n\- \\n\- \\n\- \\ETX\EOT\NUL\SOH\DC2\ETX$\b\DC2\n\- \\174\STX\n\- \\EOT\EOT\NUL\STX\NUL\DC2\ETX*\STX,\SUB\160\STX An array of ResourceSpans.\n\- \ For data coming from a single resource this array will typically contain\n\- \ one element. Intermediary nodes that receive data from multiple origins\n\- \ typically batch the data before forwarding further and in that case this\n\- \ array will contain multiple elements.\n\- \\n\- \\f\n\- \\ENQ\EOT\NUL\STX\NUL\EOT\DC2\ETX*\STX\n\- \\n\- \\f\n\- \\ENQ\EOT\NUL\STX\NUL\ACK\DC2\ETX*\v\CAN\n\- \\f\n\- \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX*\EM'\n\- \\f\n\- \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX**+\n\- \J\n\- \\STX\EOT\SOH\DC2\EOT.\NUL:\SOH\SUB> A collection of InstrumentationLibrarySpans from a Resource.\n\- \\n\- \\n\- \\n\- \\ETX\EOT\SOH\SOH\DC2\ETX.\b\NAK\n\- \t\n\- \\EOT\EOT\SOH\STX\NUL\DC2\ETX1\STX8\SUBg The resource for the spans in this message.\n\- \ If this field is not set then no resource info is known.\n\- \\n\- \\f\n\- \\ENQ\EOT\SOH\STX\NUL\ACK\DC2\ETX1\STX*\n\- \\f\n\- \\ENQ\EOT\SOH\STX\NUL\SOH\DC2\ETX1+3\n\- \\f\n\- \\ENQ\EOT\SOH\STX\NUL\ETX\DC2\ETX167\n\- \T\n\- \\EOT\EOT\SOH\STX\SOH\DC2\ETX4\STXI\SUBG A list of InstrumentationLibrarySpans that originate from a resource.\n\- \\n\- \\f\n\- \\ENQ\EOT\SOH\STX\SOH\EOT\DC2\ETX4\STX\n\- \\n\- \\f\n\- \\ENQ\EOT\SOH\STX\SOH\ACK\DC2\ETX4\v&\n\- \\f\n\- \\ENQ\EOT\SOH\STX\SOH\SOH\DC2\ETX4'D\n\- \\f\n\- \\ENQ\EOT\SOH\STX\SOH\ETX\DC2\ETX4GH\n\- \\192\SOH\n\- \\EOT\EOT\SOH\STX\STX\DC2\ETX9\STX\CAN\SUB\178\SOH This schema_url applies to the data in the \"resource\" field. It does not apply\n\- \ to the data in the \"instrumentation_library_spans\" field which have their own\n\- \ schema_url field.\n\- \\n\- \\f\n\- \\ENQ\EOT\SOH\STX\STX\ENQ\DC2\ETX9\STX\b\n\- \\f\n\- \\ENQ\EOT\SOH\STX\STX\SOH\DC2\ETX9\t\DC3\n\- \\f\n\- \\ENQ\EOT\SOH\STX\STX\ETX\DC2\ETX9\SYN\ETB\n\- \J\n\- \\STX\EOT\STX\DC2\EOT=\NULH\SOH\SUB> A collection of Spans produced by an InstrumentationLibrary.\n\- \\n\- \\n\- \\n\- \\ETX\EOT\STX\SOH\DC2\ETX=\b#\n\- \\211\SOH\n\- \\EOT\EOT\STX\STX\NUL\DC2\ETXA\STXS\SUB\197\SOH The instrumentation library information for the spans in this message.\n\- \ Semantically when InstrumentationLibrary isn't set, it is equivalent with\n\- \ an empty instrumentation library name (unknown).\n\- \\n\- \\f\n\- \\ENQ\EOT\STX\STX\NUL\ACK\DC2\ETXA\STX6\n\- \\f\n\- \\ENQ\EOT\STX\STX\NUL\SOH\DC2\ETXA7N\n\- \\f\n\- \\ENQ\EOT\STX\STX\NUL\ETX\DC2\ETXAQR\n\- \N\n\- \\EOT\EOT\STX\STX\SOH\DC2\ETXD\STX\SUB\SUBA A list of Spans that originate from an instrumentation library.\n\- \\n\- \\f\n\- \\ENQ\EOT\STX\STX\SOH\EOT\DC2\ETXD\STX\n\- \\n\- \\f\n\- \\ENQ\EOT\STX\STX\SOH\ACK\DC2\ETXD\v\SI\n\- \\f\n\- \\ENQ\EOT\STX\STX\SOH\SOH\DC2\ETXD\DLE\NAK\n\- \\f\n\- \\ENQ\EOT\STX\STX\SOH\ETX\DC2\ETXD\CAN\EM\n\- \Y\n\- \\EOT\EOT\STX\STX\STX\DC2\ETXG\STX\CAN\SUBL This schema_url applies to all spans and span events in the \"spans\" field.\n\- \\n\- \\f\n\- \\ENQ\EOT\STX\STX\STX\ENQ\DC2\ETXG\STX\b\n\- \\f\n\- \\ENQ\EOT\STX\STX\STX\SOH\DC2\ETXG\t\DC3\n\- \\f\n\- \\ENQ\EOT\STX\STX\STX\ETX\DC2\ETXG\SYN\ETB\n\- \\136\EOT\n\- \\STX\EOT\ETX\DC2\ENQS\NUL\253\SOH\SOH\SUB\250\ETX Span represents a single operation within a trace. Spans can be\n\- \ nested to form a trace tree. Spans may also be linked to other spans\n\- \ from the same or different trace and form graphs. Often, a trace\n\- \ contains a root span that describes the end-to-end latency, and one\n\- \ or more subspans for its sub-operations. A trace can also contain\n\- \ multiple root spans, or none at all. Spans do not need to be\n\- \ contiguous - there may be gaps or overlaps between spans in a trace.\n\- \\n\- \ The next available field id is 17.\n\- \\n\- \\n\- \\n\- \\ETX\EOT\ETX\SOH\DC2\ETXS\b\f\n\- \\205\STX\n\- \\EOT\EOT\ETX\STX\NUL\DC2\ETX\\\STX\NAK\SUB\191\STX A unique identifier for a trace. All spans from the same trace share\n\- \ the same `trace_id`. The ID is a 16-byte array. An ID with all zeroes\n\- \ is considered invalid.\n\- \\n\- \ This field is semantically required. Receiver should generate new\n\- \ random trace_id if empty or invalid trace_id was received.\n\- \\n\- \ This field is required.\n\- \\n\- \\f\n\- \\ENQ\EOT\ETX\STX\NUL\ENQ\DC2\ETX\\\STX\a\n\- \\f\n\- \\ENQ\EOT\ETX\STX\NUL\SOH\DC2\ETX\\\b\DLE\n\- \\f\n\- \\ENQ\EOT\ETX\STX\NUL\ETX\DC2\ETX\\\DC3\DC4\n\- \\195\STX\n\- \\EOT\EOT\ETX\STX\SOH\DC2\ETXf\STX\DC4\SUB\181\STX A unique identifier for a span within a trace, assigned when the span\n\- \ is created. The ID is an 8-byte array. An ID with all zeroes is considered\n\- \ invalid.\n\- \\n\- \ This field is semantically required. Receiver should generate new\n\- \ random span_id if empty or invalid span_id was received.\n\- \\n\- \ This field is required.\n\- \\n\- \\f\n\- \\ENQ\EOT\ETX\STX\SOH\ENQ\DC2\ETXf\STX\a\n\- \\f\n\- \\ENQ\EOT\ETX\STX\SOH\SOH\DC2\ETXf\b\SI\n\- \\f\n\- \\ENQ\EOT\ETX\STX\SOH\ETX\DC2\ETXf\DC2\DC3\n\- \\175\STX\n\- \\EOT\EOT\ETX\STX\STX\DC2\ETXk\STX\EM\SUB\161\STX trace_state conveys information about request position in multiple distributed tracing graphs.\n\- \ It is a trace_state in w3c-trace-context format: https://www.w3.org/TR/trace-context/#tracestate-header\n\- \ See also https://github.com/w3c/distributed-tracing for more details about this field.\n\- \\n\- \\f\n\- \\ENQ\EOT\ETX\STX\STX\ENQ\DC2\ETXk\STX\b\n\- \\f\n\- \\ENQ\EOT\ETX\STX\STX\SOH\DC2\ETXk\t\DC4\n\- \\f\n\- \\ENQ\EOT\ETX\STX\STX\ETX\DC2\ETXk\ETB\CAN\n\- \\139\SOH\n\- \\EOT\EOT\ETX\STX\ETX\DC2\ETXo\STX\ESC\SUB~ The `span_id` of this span's parent span. If this is a root span, then this\n\- \ field must be empty. The ID is an 8-byte array.\n\- \\n\- \\f\n\- \\ENQ\EOT\ETX\STX\ETX\ENQ\DC2\ETXo\STX\a\n\- \\f\n\- \\ENQ\EOT\ETX\STX\ETX\SOH\DC2\ETXo\b\SYN\n\- \\f\n\- \\ENQ\EOT\ETX\STX\ETX\ETX\DC2\ETXo\EM\SUB\n\- \\218\ETX\n\- \\EOT\EOT\ETX\STX\EOT\DC2\ETX|\STX\DC2\SUB\204\ETX A description of the span's operation.\n\- \\n\- \ For example, the name can be a qualified method name or a file name\n\- \ and a line number where the operation is called. A best practice is to use\n\- \ the same display name at the same call point in an application.\n\- \ This makes it easier to correlate spans in different traces.\n\- \\n\- \ This field is semantically required to be set to non-empty string.\n\- \ Empty value is equivalent to an unknown span name.\n\- \\n\- \ This field is required.\n\- \\n\- \\f\n\- \\ENQ\EOT\ETX\STX\EOT\ENQ\DC2\ETX|\STX\b\n\- \\f\n\- \\ENQ\EOT\ETX\STX\EOT\SOH\DC2\ETX|\t\r\n\- \\f\n\- \\ENQ\EOT\ETX\STX\EOT\ETX\DC2\ETX|\DLE\DC1\n\- \\155\SOH\n\- \\EOT\EOT\ETX\EOT\NUL\DC2\ACK\128\SOH\STX\154\SOH\ETX\SUB\138\SOH SpanKind is the type of span. Can be used to specify additional relationships between spans\n\- \ in addition to a parent/child relationship.\n\- \\n\- \\r\n\- \\ENQ\EOT\ETX\EOT\NUL\SOH\DC2\EOT\128\SOH\a\SI\n\- \\133\SOH\n\- \\ACK\EOT\ETX\EOT\NUL\STX\NUL\DC2\EOT\131\SOH\EOT\RS\SUBu Unspecified. Do NOT use as default.\n\- \ Implementations MAY assume SpanKind to be INTERNAL when receiving UNSPECIFIED.\n\- \\n\- \\SI\n\- \\a\EOT\ETX\EOT\NUL\STX\NUL\SOH\DC2\EOT\131\SOH\EOT\EM\n\- \\SI\n\- \\a\EOT\ETX\EOT\NUL\STX\NUL\STX\DC2\EOT\131\SOH\FS\GS\n\- \\170\SOH\n\- \\ACK\EOT\ETX\EOT\NUL\STX\SOH\DC2\EOT\135\SOH\EOT\ESC\SUB\153\SOH Indicates that the span represents an internal operation within an application,\n\- \ as opposed to an operation happening at the boundaries. Default value.\n\- \\n\- \\SI\n\- \\a\EOT\ETX\EOT\NUL\STX\SOH\SOH\DC2\EOT\135\SOH\EOT\SYN\n\- \\SI\n\- \\a\EOT\ETX\EOT\NUL\STX\SOH\STX\DC2\EOT\135\SOH\EM\SUB\n\- \q\n\- \\ACK\EOT\ETX\EOT\NUL\STX\STX\DC2\EOT\139\SOH\EOT\EM\SUBa Indicates that the span covers server-side handling of an RPC or other\n\- \ remote network request.\n\- \\n\- \\SI\n\- \\a\EOT\ETX\EOT\NUL\STX\STX\SOH\DC2\EOT\139\SOH\EOT\DC4\n\- \\SI\n\- \\a\EOT\ETX\EOT\NUL\STX\STX\STX\DC2\EOT\139\SOH\ETB\CAN\n\- \U\n\- \\ACK\EOT\ETX\EOT\NUL\STX\ETX\DC2\EOT\142\SOH\EOT\EM\SUBE Indicates that the span describes a request to some remote service.\n\- \\n\- \\SI\n\- \\a\EOT\ETX\EOT\NUL\STX\ETX\SOH\DC2\EOT\142\SOH\EOT\DC4\n\- \\SI\n\- \\a\EOT\ETX\EOT\NUL\STX\ETX\STX\DC2\EOT\142\SOH\ETB\CAN\n\- \\232\STX\n\- \\ACK\EOT\ETX\EOT\NUL\STX\EOT\DC2\EOT\148\SOH\EOT\ESC\SUB\215\STX Indicates that the span describes a producer sending a message to a broker.\n\- \ Unlike CLIENT and SERVER, there is often no direct critical path latency relationship\n\- \ between producer and consumer spans. A PRODUCER span ends when the message was accepted\n\- \ by the broker while the logical processing of the message might span a much longer time.\n\- \\n\- \\SI\n\- \\a\EOT\ETX\EOT\NUL\STX\EOT\SOH\DC2\EOT\148\SOH\EOT\SYN\n\- \\SI\n\- \\a\EOT\ETX\EOT\NUL\STX\EOT\STX\DC2\EOT\148\SOH\EM\SUB\n\- \\219\SOH\n\- \\ACK\EOT\ETX\EOT\NUL\STX\ENQ\DC2\EOT\153\SOH\EOT\ESC\SUB\202\SOH Indicates that the span describes consumer receiving a message from a broker.\n\- \ Like the PRODUCER kind, there is often no direct critical path latency relationship\n\- \ between producer and consumer spans.\n\- \\n\- \\SI\n\- \\a\EOT\ETX\EOT\NUL\STX\ENQ\SOH\DC2\EOT\153\SOH\EOT\SYN\n\- \\SI\n\- \\a\EOT\ETX\EOT\NUL\STX\ENQ\STX\DC2\EOT\153\SOH\EM\SUB\n\- \\245\SOH\n\- \\EOT\EOT\ETX\STX\ENQ\DC2\EOT\159\SOH\STX\DC4\SUB\230\SOH Distinguishes between spans generated in a particular context. For example,\n\- \ two spans with the same name may be distinguished using `CLIENT` (caller)\n\- \ and `SERVER` (callee) to identify queueing latency associated with the span.\n\- \\n\- \\r\n\- \\ENQ\EOT\ETX\STX\ENQ\ACK\DC2\EOT\159\SOH\STX\n\- \\n\- \\r\n\- \\ENQ\EOT\ETX\STX\ENQ\SOH\DC2\EOT\159\SOH\v\SI\n\- \\r\n\- \\ENQ\EOT\ETX\STX\ENQ\ETX\DC2\EOT\159\SOH\DC2\DC3\n\- \\166\ETX\n\- \\EOT\EOT\ETX\STX\ACK\DC2\EOT\167\SOH\STX#\SUB\151\ETX start_time_unix_nano is the start time of the span. On the client side, this is the time\n\- \ kept by the local machine where the span execution starts. On the server side, this\n\- \ is the time when the server's application handler starts running.\n\- \ Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970.\n\- \\n\- \ This field is semantically required and it is expected that end_time >= start_time.\n\- \\n\- \\r\n\- \\ENQ\EOT\ETX\STX\ACK\ENQ\DC2\EOT\167\SOH\STX\t\n\- \\r\n\- \\ENQ\EOT\ETX\STX\ACK\SOH\DC2\EOT\167\SOH\n\- \\RS\n\- \\r\n\- \\ENQ\EOT\ETX\STX\ACK\ETX\DC2\EOT\167\SOH!\"\n\- \\157\ETX\n\- \\EOT\EOT\ETX\STX\a\DC2\EOT\175\SOH\STX!\SUB\142\ETX end_time_unix_nano is the end time of the span. On the client side, this is the time\n\- \ kept by the local machine where the span execution ends. On the server side, this\n\- \ is the time when the server application handler stops running.\n\- \ Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970.\n\- \\n\- \ This field is semantically required and it is expected that end_time >= start_time.\n\- \\n\- \\r\n\- \\ENQ\EOT\ETX\STX\a\ENQ\DC2\EOT\175\SOH\STX\t\n\- \\r\n\- \\ENQ\EOT\ETX\STX\a\SOH\DC2\EOT\175\SOH\n\- \\FS\n\- \\r\n\- \\ENQ\EOT\ETX\STX\a\ETX\DC2\EOT\175\SOH\US \n\- \\220\EOT\n\- \\EOT\EOT\ETX\STX\b\DC2\EOT\187\SOH\STXA\SUB\205\EOT attributes is a collection of key/value pairs. Note, global attributes\n\- \ like server name can be set using the resource API. Examples of attributes:\n\- \\n\- \ \"/http/user_agent\": \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36\"\n\- \ \"/http/server_latency\": 300\n\- \ \"abc.com/myattribute\": true\n\- \ \"abc.com/score\": 10.239\n\- \\n\- \ The OpenTelemetry API specification further restricts the allowed value types:\n\- \ https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/common/common.md#attributes\n\- \\n\- \\r\n\- \\ENQ\EOT\ETX\STX\b\EOT\DC2\EOT\187\SOH\STX\n\- \\n\- \\r\n\- \\ENQ\EOT\ETX\STX\b\ACK\DC2\EOT\187\SOH\v1\n\- \\r\n\- \\ENQ\EOT\ETX\STX\b\SOH\DC2\EOT\187\SOH2<\n\- \\r\n\- \\ENQ\EOT\ETX\STX\b\ETX\DC2\EOT\187\SOH?@\n\- \\247\SOH\n\- \\EOT\EOT\ETX\STX\t\DC2\EOT\192\SOH\STX'\SUB\232\SOH dropped_attributes_count is the number of attributes that were discarded. Attributes\n\- \ can be discarded because their keys are too long or because there are too many\n\- \ attributes. If this value is 0, then no attributes were dropped.\n\- \\n\- \\r\n\- \\ENQ\EOT\ETX\STX\t\ENQ\DC2\EOT\192\SOH\STX\b\n\- \\r\n\- \\ENQ\EOT\ETX\STX\t\SOH\DC2\EOT\192\SOH\t!\n\- \\r\n\- \\ENQ\EOT\ETX\STX\t\ETX\DC2\EOT\192\SOH$&\n\- \\132\SOH\n\- \\EOT\EOT\ETX\ETX\NUL\DC2\ACK\196\SOH\STX\210\SOH\ETX\SUBt Event is a time-stamped annotation of the span, consisting of user-supplied\n\- \ text description and key-value pairs.\n\- \\n\- \\r\n\- \\ENQ\EOT\ETX\ETX\NUL\SOH\DC2\EOT\196\SOH\n\- \\SI\n\- \@\n\- \\ACK\EOT\ETX\ETX\NUL\STX\NUL\DC2\EOT\198\SOH\EOT\US\SUB0 time_unix_nano is the time the event occurred.\n\- \\n\- \\SI\n\- \\a\EOT\ETX\ETX\NUL\STX\NUL\ENQ\DC2\EOT\198\SOH\EOT\v\n\- \\SI\n\- \\a\EOT\ETX\ETX\NUL\STX\NUL\SOH\DC2\EOT\198\SOH\f\SUB\n\- \\SI\n\- \\a\EOT\ETX\ETX\NUL\STX\NUL\ETX\DC2\EOT\198\SOH\GS\RS\n\- \h\n\- \\ACK\EOT\ETX\ETX\NUL\STX\SOH\DC2\EOT\202\SOH\EOT\DC4\SUBX name of the event.\n\- \ This field is semantically required to be set to non-empty string.\n\- \\n\- \\SI\n\- \\a\EOT\ETX\ETX\NUL\STX\SOH\ENQ\DC2\EOT\202\SOH\EOT\n\- \\n\- \\SI\n\- \\a\EOT\ETX\ETX\NUL\STX\SOH\SOH\DC2\EOT\202\SOH\v\SI\n\- \\SI\n\- \\a\EOT\ETX\ETX\NUL\STX\SOH\ETX\DC2\EOT\202\SOH\DC2\DC3\n\- \W\n\- \\ACK\EOT\ETX\ETX\NUL\STX\STX\DC2\EOT\205\SOH\EOTC\SUBG attributes is a collection of attribute key/value pairs on the event.\n\- \\n\- \\SI\n\- \\a\EOT\ETX\ETX\NUL\STX\STX\EOT\DC2\EOT\205\SOH\EOT\f\n\- \\SI\n\- \\a\EOT\ETX\ETX\NUL\STX\STX\ACK\DC2\EOT\205\SOH\r3\n\- \\SI\n\- \\a\EOT\ETX\ETX\NUL\STX\STX\SOH\DC2\EOT\205\SOH4>\n\- \\SI\n\- \\a\EOT\ETX\ETX\NUL\STX\STX\ETX\DC2\EOT\205\SOHAB\n\- \\132\SOH\n\- \\ACK\EOT\ETX\ETX\NUL\STX\ETX\DC2\EOT\209\SOH\EOT(\SUBt dropped_attributes_count is the number of dropped attributes. If the value is 0,\n\- \ then no attributes were dropped.\n\- \\n\- \\SI\n\- \\a\EOT\ETX\ETX\NUL\STX\ETX\ENQ\DC2\EOT\209\SOH\EOT\n\- \\n\- \\SI\n\- \\a\EOT\ETX\ETX\NUL\STX\ETX\SOH\DC2\EOT\209\SOH\v#\n\- \\SI\n\- \\a\EOT\ETX\ETX\NUL\STX\ETX\ETX\DC2\EOT\209\SOH&'\n\- \6\n\- \\EOT\EOT\ETX\STX\n\- \\DC2\EOT\213\SOH\STX\GS\SUB( events is a collection of Event items.\n\- \\n\- \\r\n\- \\ENQ\EOT\ETX\STX\n\- \\EOT\DC2\EOT\213\SOH\STX\n\- \\n\- \\r\n\- \\ENQ\EOT\ETX\STX\n\- \\ACK\DC2\EOT\213\SOH\v\DLE\n\- \\r\n\- \\ENQ\EOT\ETX\STX\n\- \\SOH\DC2\EOT\213\SOH\DC1\ETB\n\- \\r\n\- \\ENQ\EOT\ETX\STX\n\- \\ETX\DC2\EOT\213\SOH\SUB\FS\n\- \v\n\- \\EOT\EOT\ETX\STX\v\DC2\EOT\217\SOH\STX#\SUBh dropped_events_count is the number of dropped events. If the value is 0, then no\n\- \ events were dropped.\n\- \\n\- \\r\n\- \\ENQ\EOT\ETX\STX\v\ENQ\DC2\EOT\217\SOH\STX\b\n\- \\r\n\- \\ENQ\EOT\ETX\STX\v\SOH\DC2\EOT\217\SOH\t\GS\n\- \\r\n\- \\ENQ\EOT\ETX\STX\v\ETX\DC2\EOT\217\SOH \"\n\- \\182\STX\n\- \\EOT\EOT\ETX\ETX\SOH\DC2\ACK\223\SOH\STX\240\SOH\ETX\SUB\165\STX A pointer from the current span to another span in the same trace or in a\n\- \ different trace. For example, this can be used in batching operations,\n\- \ where a single batch handler processes multiple requests from different\n\- \ traces or when the handler receives a request from a different project.\n\- \\n\- \\r\n\- \\ENQ\EOT\ETX\ETX\SOH\SOH\DC2\EOT\223\SOH\n\- \\SO\n\- \n\n\- \\ACK\EOT\ETX\ETX\SOH\STX\NUL\DC2\EOT\226\SOH\EOT\ETB\SUB^ A unique identifier of a trace that this linked span is part of. The ID is a\n\- \ 16-byte array.\n\- \\n\- \\SI\n\- \\a\EOT\ETX\ETX\SOH\STX\NUL\ENQ\DC2\EOT\226\SOH\EOT\t\n\- \\SI\n\- \\a\EOT\ETX\ETX\SOH\STX\NUL\SOH\DC2\EOT\226\SOH\n\- \\DC2\n\- \\SI\n\- \\a\EOT\ETX\ETX\SOH\STX\NUL\ETX\DC2\EOT\226\SOH\NAK\SYN\n\- \U\n\- \\ACK\EOT\ETX\ETX\SOH\STX\SOH\DC2\EOT\229\SOH\EOT\SYN\SUBE A unique identifier for the linked span. The ID is an 8-byte array.\n\- \\n\- \\SI\n\- \\a\EOT\ETX\ETX\SOH\STX\SOH\ENQ\DC2\EOT\229\SOH\EOT\t\n\- \\SI\n\- \\a\EOT\ETX\ETX\SOH\STX\SOH\SOH\DC2\EOT\229\SOH\n\- \\DC1\n\- \\SI\n\- \\a\EOT\ETX\ETX\SOH\STX\SOH\ETX\DC2\EOT\229\SOH\DC4\NAK\n\- \;\n\- \\ACK\EOT\ETX\ETX\SOH\STX\STX\DC2\EOT\232\SOH\EOT\ESC\SUB+ The trace_state associated with the link.\n\- \\n\- \\SI\n\- \\a\EOT\ETX\ETX\SOH\STX\STX\ENQ\DC2\EOT\232\SOH\EOT\n\- \\n\- \\SI\n\- \\a\EOT\ETX\ETX\SOH\STX\STX\SOH\DC2\EOT\232\SOH\v\SYN\n\- \\SI\n\- \\a\EOT\ETX\ETX\SOH\STX\STX\ETX\DC2\EOT\232\SOH\EM\SUB\n\- \V\n\- \\ACK\EOT\ETX\ETX\SOH\STX\ETX\DC2\EOT\235\SOH\EOTC\SUBF attributes is a collection of attribute key/value pairs on the link.\n\- \\n\- \\SI\n\- \\a\EOT\ETX\ETX\SOH\STX\ETX\EOT\DC2\EOT\235\SOH\EOT\f\n\- \\SI\n\- \\a\EOT\ETX\ETX\SOH\STX\ETX\ACK\DC2\EOT\235\SOH\r3\n\- \\SI\n\- \\a\EOT\ETX\ETX\SOH\STX\ETX\SOH\DC2\EOT\235\SOH4>\n\- \\SI\n\- \\a\EOT\ETX\ETX\SOH\STX\ETX\ETX\DC2\EOT\235\SOHAB\n\- \\132\SOH\n\- \\ACK\EOT\ETX\ETX\SOH\STX\EOT\DC2\EOT\239\SOH\EOT(\SUBt dropped_attributes_count is the number of dropped attributes. If the value is 0,\n\- \ then no attributes were dropped.\n\- \\n\- \\SI\n\- \\a\EOT\ETX\ETX\SOH\STX\EOT\ENQ\DC2\EOT\239\SOH\EOT\n\- \\n\- \\SI\n\- \\a\EOT\ETX\ETX\SOH\STX\EOT\SOH\DC2\EOT\239\SOH\v#\n\- \\SI\n\- \\a\EOT\ETX\ETX\SOH\STX\EOT\ETX\DC2\EOT\239\SOH&'\n\- \~\n\- \\EOT\EOT\ETX\STX\f\DC2\EOT\244\SOH\STX\ESC\SUBp links is a collection of Links, which are references from this span to a span\n\- \ in the same or different trace.\n\- \\n\- \\r\n\- \\ENQ\EOT\ETX\STX\f\EOT\DC2\EOT\244\SOH\STX\n\- \\n\- \\r\n\- \\ENQ\EOT\ETX\STX\f\ACK\DC2\EOT\244\SOH\v\SI\n\- \\r\n\- \\ENQ\EOT\ETX\STX\f\SOH\DC2\EOT\244\SOH\DLE\NAK\n\- \\r\n\- \\ENQ\EOT\ETX\STX\f\ETX\DC2\EOT\244\SOH\CAN\SUB\n\- \\153\SOH\n\- \\EOT\EOT\ETX\STX\r\DC2\EOT\248\SOH\STX\"\SUB\138\SOH dropped_links_count is the number of dropped links after the maximum size was\n\- \ enforced. If this value is 0, then no links were dropped.\n\- \\n\- \\r\n\- \\ENQ\EOT\ETX\STX\r\ENQ\DC2\EOT\248\SOH\STX\b\n\- \\r\n\- \\ENQ\EOT\ETX\STX\r\SOH\DC2\EOT\248\SOH\t\FS\n\- \\r\n\- \\ENQ\EOT\ETX\STX\r\ETX\DC2\EOT\248\SOH\US!\n\- \\173\SOH\n\- \\EOT\EOT\ETX\STX\SO\DC2\EOT\252\SOH\STX\NAK\SUB\158\SOH An optional final status for this span. Semantically when Status isn't set, it means\n\- \ span's status code is unset, i.e. assume STATUS_CODE_UNSET (code = 0).\n\- \\n\- \\r\n\- \\ENQ\EOT\ETX\STX\SO\ACK\DC2\EOT\252\SOH\STX\b\n\- \\r\n\- \\ENQ\EOT\ETX\STX\SO\SOH\DC2\EOT\252\SOH\t\SI\n\- \\r\n\- \\ENQ\EOT\ETX\STX\SO\ETX\DC2\EOT\252\SOH\DC2\DC4\n\- \\145\SO\n\- \\STX\EOT\EOT\DC2\ACK\129\STX\NUL\214\STX\SOH\SUB\139\SOH The Status type defines a logical error model that is suitable for different\n\- \ programming environments, including REST APIs and RPC APIs.\n\- \\"\244\f IMPORTANT: Backward compatibility notes:\n\- \\n\- \ To ensure any pair of senders and receivers continues to correctly signal and\n\- \ interpret erroneous situations, the senders and receivers MUST follow these rules:\n\- \\n\- \ 1. Old senders and receivers that are not aware of `code` field will continue using\n\- \ the `deprecated_code` field to signal and interpret erroneous situation.\n\- \\n\- \ 2. New senders, which are aware of the `code` field MUST set both the\n\- \ `deprecated_code` and `code` fields according to the following rules:\n\- \\n\- \ if code==STATUS_CODE_UNSET then `deprecated_code` MUST be\n\- \ set to DEPRECATED_STATUS_CODE_OK.\n\- \\n\- \ if code==STATUS_CODE_OK then `deprecated_code` MUST be\n\- \ set to DEPRECATED_STATUS_CODE_OK.\n\- \\n\- \ if code==STATUS_CODE_ERROR then `deprecated_code` MUST be\n\- \ set to DEPRECATED_STATUS_CODE_UNKNOWN_ERROR.\n\- \\n\- \ These rules allow old receivers to correctly interpret data received from new senders.\n\- \\n\- \ 3. New receivers MUST look at both the `code` and `deprecated_code` fields in order\n\- \ to interpret the overall status:\n\- \\n\- \ If code==STATUS_CODE_UNSET then the value of `deprecated_code` is the\n\- \ carrier of the overall status according to these rules:\n\- \\n\- \ if deprecated_code==DEPRECATED_STATUS_CODE_OK then the receiver MUST interpret\n\- \ the overall status to be STATUS_CODE_UNSET.\n\- \\n\- \ if deprecated_code!=DEPRECATED_STATUS_CODE_OK then the receiver MUST interpret\n\- \ the overall status to be STATUS_CODE_ERROR.\n\- \\n\- \ If code!=STATUS_CODE_UNSET then the value of `deprecated_code` MUST be\n\- \ ignored, the `code` field is the sole carrier of the status.\n\- \\n\- \ These rules allow new receivers to correctly interpret data received from old senders.\n\- \\n\- \\v\n\- \\ETX\EOT\EOT\SOH\DC2\EOT\129\STX\b\SO\n\- \\SO\n\- \\EOT\EOT\EOT\EOT\NUL\DC2\ACK\169\STX\STX\187\STX\ETX\n\- \\r\n\- \\ENQ\EOT\EOT\EOT\NUL\SOH\DC2\EOT\169\STX\a\ESC\n\- \\SO\n\- \\ACK\EOT\EOT\EOT\NUL\STX\NUL\DC2\EOT\170\STX\EOT3\n\- \\SI\n\- \\a\EOT\EOT\EOT\NUL\STX\NUL\SOH\DC2\EOT\170\STX\EOT\GS\n\- \\SI\n\- \\a\EOT\EOT\EOT\NUL\STX\NUL\STX\DC2\EOT\170\STX12\n\- \\SO\n\- \\ACK\EOT\EOT\EOT\NUL\STX\SOH\DC2\EOT\171\STX\EOT3\n\- \\SI\n\- \\a\EOT\EOT\EOT\NUL\STX\SOH\SOH\DC2\EOT\171\STX\EOT$\n\- \\SI\n\- \\a\EOT\EOT\EOT\NUL\STX\SOH\STX\DC2\EOT\171\STX12\n\- \\SO\n\- \\ACK\EOT\EOT\EOT\NUL\STX\STX\DC2\EOT\172\STX\EOT3\n\- \\SI\n\- \\a\EOT\EOT\EOT\NUL\STX\STX\SOH\DC2\EOT\172\STX\EOT(\n\- \\SI\n\- \\a\EOT\EOT\EOT\NUL\STX\STX\STX\DC2\EOT\172\STX12\n\- \\SO\n\- \\ACK\EOT\EOT\EOT\NUL\STX\ETX\DC2\EOT\173\STX\EOT3\n\- \\SI\n\- \\a\EOT\EOT\EOT\NUL\STX\ETX\SOH\DC2\EOT\173\STX\EOT+\n\- \\SI\n\- \\a\EOT\EOT\EOT\NUL\STX\ETX\STX\DC2\EOT\173\STX12\n\- \\SO\n\- \\ACK\EOT\EOT\EOT\NUL\STX\EOT\DC2\EOT\174\STX\EOT3\n\- \\SI\n\- \\a\EOT\EOT\EOT\NUL\STX\EOT\SOH\DC2\EOT\174\STX\EOT,\n\- \\SI\n\- \\a\EOT\EOT\EOT\NUL\STX\EOT\STX\DC2\EOT\174\STX12\n\- \\SO\n\- \\ACK\EOT\EOT\EOT\NUL\STX\ENQ\DC2\EOT\175\STX\EOT3\n\- \\SI\n\- \\a\EOT\EOT\EOT\NUL\STX\ENQ\SOH\DC2\EOT\175\STX\EOT$\n\- \\SI\n\- \\a\EOT\EOT\EOT\NUL\STX\ENQ\STX\DC2\EOT\175\STX12\n\- \\SO\n\- \\ACK\EOT\EOT\EOT\NUL\STX\ACK\DC2\EOT\176\STX\EOT3\n\- \\SI\n\- \\a\EOT\EOT\EOT\NUL\STX\ACK\SOH\DC2\EOT\176\STX\EOT)\n\- \\SI\n\- \\a\EOT\EOT\EOT\NUL\STX\ACK\STX\DC2\EOT\176\STX12\n\- \\SO\n\- \\ACK\EOT\EOT\EOT\NUL\STX\a\DC2\EOT\177\STX\EOT3\n\- \\SI\n\- \\a\EOT\EOT\EOT\NUL\STX\a\SOH\DC2\EOT\177\STX\EOT,\n\- \\SI\n\- \\a\EOT\EOT\EOT\NUL\STX\a\STX\DC2\EOT\177\STX12\n\- \\SO\n\- \\ACK\EOT\EOT\EOT\NUL\STX\b\DC2\EOT\178\STX\EOT3\n\- \\SI\n\- \\a\EOT\EOT\EOT\NUL\STX\b\SOH\DC2\EOT\178\STX\EOT-\n\- \\SI\n\- \\a\EOT\EOT\EOT\NUL\STX\b\STX\DC2\EOT\178\STX12\n\- \\SO\n\- \\ACK\EOT\EOT\EOT\NUL\STX\t\DC2\EOT\179\STX\EOT3\n\- \\SI\n\- \\a\EOT\EOT\EOT\NUL\STX\t\SOH\DC2\EOT\179\STX\EOT.\n\- \\SI\n\- \\a\EOT\EOT\EOT\NUL\STX\t\STX\DC2\EOT\179\STX12\n\- \\SO\n\- \\ACK\EOT\EOT\EOT\NUL\STX\n\- \\DC2\EOT\180\STX\EOT4\n\- \\SI\n\- \\a\EOT\EOT\EOT\NUL\STX\n\- \\SOH\DC2\EOT\180\STX\EOT\"\n\- \\SI\n\- \\a\EOT\EOT\EOT\NUL\STX\n\- \\STX\DC2\EOT\180\STX13\n\- \\SO\n\- \\ACK\EOT\EOT\EOT\NUL\STX\v\DC2\EOT\181\STX\EOT4\n\- \\SI\n\- \\a\EOT\EOT\EOT\NUL\STX\v\SOH\DC2\EOT\181\STX\EOT'\n\- \\SI\n\- \\a\EOT\EOT\EOT\NUL\STX\v\STX\DC2\EOT\181\STX13\n\- \\SO\n\- \\ACK\EOT\EOT\EOT\NUL\STX\f\DC2\EOT\182\STX\EOT4\n\- \\SI\n\- \\a\EOT\EOT\EOT\NUL\STX\f\SOH\DC2\EOT\182\STX\EOT(\n\- \\SI\n\- \\a\EOT\EOT\EOT\NUL\STX\f\STX\DC2\EOT\182\STX13\n\- \\SO\n\- \\ACK\EOT\EOT\EOT\NUL\STX\r\DC2\EOT\183\STX\EOT4\n\- \\SI\n\- \\a\EOT\EOT\EOT\NUL\STX\r\SOH\DC2\EOT\183\STX\EOT)\n\- \\SI\n\- \\a\EOT\EOT\EOT\NUL\STX\r\STX\DC2\EOT\183\STX13\n\- \\SO\n\- \\ACK\EOT\EOT\EOT\NUL\STX\SO\DC2\EOT\184\STX\EOT4\n\- \\SI\n\- \\a\EOT\EOT\EOT\NUL\STX\SO\SOH\DC2\EOT\184\STX\EOT&\n\- \\SI\n\- \\a\EOT\EOT\EOT\NUL\STX\SO\STX\DC2\EOT\184\STX13\n\- \\SO\n\- \\ACK\EOT\EOT\EOT\NUL\STX\SI\DC2\EOT\185\STX\EOT4\n\- \\SI\n\- \\a\EOT\EOT\EOT\NUL\STX\SI\SOH\DC2\EOT\185\STX\EOT$\n\- \\SI\n\- \\a\EOT\EOT\EOT\NUL\STX\SI\STX\DC2\EOT\185\STX13\n\- \\SO\n\- \\ACK\EOT\EOT\EOT\NUL\STX\DLE\DC2\EOT\186\STX\EOT4\n\- \\SI\n\- \\a\EOT\EOT\EOT\NUL\STX\DLE\SOH\DC2\EOT\186\STX\EOT*\n\- \\SI\n\- \\a\EOT\EOT\EOT\NUL\STX\DLE\STX\DC2\EOT\186\STX13\n\- \\131\ETX\n\- \\EOT\EOT\EOT\STX\NUL\DC2\EOT\195\STX\STX=\SUB\244\STX The deprecated status code. This is an optional field.\n\- \\n\- \ This field is deprecated and is replaced by the `code` field below. See backward\n\- \ compatibility notes below. According to our stability guarantees this field\n\- \ will be removed in 12 months, on Oct 22, 2021. All usage of old senders and\n\- \ receivers that do not understand the `code` field MUST be phased out by then.\n\- \\n\- \\r\n\- \\ENQ\EOT\EOT\STX\NUL\ACK\DC2\EOT\195\STX\STX\SYN\n\- \\r\n\- \\ENQ\EOT\EOT\STX\NUL\SOH\DC2\EOT\195\STX\ETB&\n\- \\r\n\- \\ENQ\EOT\EOT\STX\NUL\ETX\DC2\EOT\195\STX)*\n\- \\r\n\- \\ENQ\EOT\EOT\STX\NUL\b\DC2\EOT\195\STX+<\n\- \\SO\n\- \\ACK\EOT\EOT\STX\NUL\b\ETX\DC2\EOT\195\STX,;\n\- \@\n\- \\EOT\EOT\EOT\STX\SOH\DC2\EOT\198\STX\STX\NAK\SUB2 A developer-facing human readable error message.\n\- \\n\- \\r\n\- \\ENQ\EOT\EOT\STX\SOH\ENQ\DC2\EOT\198\STX\STX\b\n\- \\r\n\- \\ENQ\EOT\EOT\STX\SOH\SOH\DC2\EOT\198\STX\t\DLE\n\- \\r\n\- \\ENQ\EOT\EOT\STX\SOH\ETX\DC2\EOT\198\STX\DC3\DC4\n\- \\167\SOH\n\- \\EOT\EOT\EOT\EOT\SOH\DC2\ACK\202\STX\STX\210\STX\ETX\SUB\150\SOH For the semantics of status codes see\n\- \ https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/api.md#set-status\n\- \\n\- \\r\n\- \\ENQ\EOT\EOT\EOT\SOH\SOH\DC2\EOT\202\STX\a\DC1\n\- \%\n\- \\ACK\EOT\EOT\EOT\SOH\STX\NUL\DC2\EOT\204\STX\EOT(\SUB\NAK The default status.\n\- \\n\- \\SI\n\- \\a\EOT\EOT\EOT\SOH\STX\NUL\SOH\DC2\EOT\204\STX\EOT\NAK\n\- \\SI\n\- \\a\EOT\EOT\EOT\SOH\STX\NUL\STX\DC2\EOT\204\STX&'\n\- \w\n\- \\ACK\EOT\EOT\EOT\SOH\STX\SOH\DC2\EOT\207\STX\EOT(\SUBg The Span has been validated by an Application developers or Operator to have\n\- \ completed successfully.\n\- \\n\- \\SI\n\- \\a\EOT\EOT\EOT\SOH\STX\SOH\SOH\DC2\EOT\207\STX\EOT\DC2\n\- \\SI\n\- \\a\EOT\EOT\EOT\SOH\STX\SOH\STX\DC2\EOT\207\STX&'\n\- \-\n\- \\ACK\EOT\EOT\EOT\SOH\STX\STX\DC2\EOT\209\STX\EOT(\SUB\GS The Span contains an error.\n\- \\n\- \\SI\n\- \\a\EOT\EOT\EOT\SOH\STX\STX\SOH\DC2\EOT\209\STX\EOT\NAK\n\- \\SI\n\- \\a\EOT\EOT\EOT\SOH\STX\STX\STX\DC2\EOT\209\STX&'\n\- \ \n\- \\EOT\EOT\EOT\STX\STX\DC2\EOT\213\STX\STX\SYN\SUB\DC2 The status code.\n\- \\n\- \\r\n\- \\ENQ\EOT\EOT\STX\STX\ACK\DC2\EOT\213\STX\STX\f\n\- \\r\n\- \\ENQ\EOT\EOT\STX\STX\SOH\DC2\EOT\213\STX\r\DC1\n\- \\r\n\- \\ENQ\EOT\EOT\STX\STX\ETX\DC2\EOT\213\STX\DC4\NAKb\ACKproto3"+{- HLINT ignore -}+{- This file was auto-generated from opentelemetry/proto/trace/v1/trace.proto by the proto-lens-protoc program. -}+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}+{-# OPTIONS_GHC -Wno-unused-imports#-}+{-# OPTIONS_GHC -Wno-duplicate-exports#-}+{-# OPTIONS_GHC -Wno-dodgy-exports#-}+module Proto.Opentelemetry.Proto.Trace.V1.Trace (+ ResourceSpans(), ScopeSpans(), Span(), Span'Event(), Span'Link(),+ Span'SpanKind(..), Span'SpanKind(),+ Span'SpanKind'UnrecognizedValue, Status(), Status'StatusCode(..),+ Status'StatusCode(), Status'StatusCode'UnrecognizedValue,+ TracesData()+ ) where+import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism+import qualified Data.ProtoLens.Runtime.Prelude as Prelude+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read+import qualified Proto.Opentelemetry.Proto.Common.V1.Common+import qualified Proto.Opentelemetry.Proto.Resource.V1.Resource+{- | Fields :+ + * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.resource' @:: Lens' ResourceSpans Proto.Opentelemetry.Proto.Resource.V1.Resource.Resource@+ * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.maybe'resource' @:: Lens' ResourceSpans (Prelude.Maybe Proto.Opentelemetry.Proto.Resource.V1.Resource.Resource)@+ * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.scopeSpans' @:: Lens' ResourceSpans [ScopeSpans]@+ * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.vec'scopeSpans' @:: Lens' ResourceSpans (Data.Vector.Vector ScopeSpans)@+ * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.schemaUrl' @:: Lens' ResourceSpans Data.Text.Text@ -}+data ResourceSpans+ = ResourceSpans'_constructor {_ResourceSpans'resource :: !(Prelude.Maybe Proto.Opentelemetry.Proto.Resource.V1.Resource.Resource),+ _ResourceSpans'scopeSpans :: !(Data.Vector.Vector ScopeSpans),+ _ResourceSpans'schemaUrl :: !Data.Text.Text,+ _ResourceSpans'_unknownFields :: !Data.ProtoLens.FieldSet}+ deriving stock (Prelude.Eq, Prelude.Ord)+instance Prelude.Show ResourceSpans where+ showsPrec _ __x __s+ = Prelude.showChar+ '{'+ (Prelude.showString+ (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))+instance Data.ProtoLens.Field.HasField ResourceSpans "resource" Proto.Opentelemetry.Proto.Resource.V1.Resource.Resource where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ResourceSpans'resource+ (\ x__ y__ -> x__ {_ResourceSpans'resource = y__}))+ (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)+instance Data.ProtoLens.Field.HasField ResourceSpans "maybe'resource" (Prelude.Maybe Proto.Opentelemetry.Proto.Resource.V1.Resource.Resource) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ResourceSpans'resource+ (\ x__ y__ -> x__ {_ResourceSpans'resource = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField ResourceSpans "scopeSpans" [ScopeSpans] where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ResourceSpans'scopeSpans+ (\ x__ y__ -> x__ {_ResourceSpans'scopeSpans = y__}))+ (Lens.Family2.Unchecked.lens+ Data.Vector.Generic.toList+ (\ _ y__ -> Data.Vector.Generic.fromList y__))+instance Data.ProtoLens.Field.HasField ResourceSpans "vec'scopeSpans" (Data.Vector.Vector ScopeSpans) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ResourceSpans'scopeSpans+ (\ x__ y__ -> x__ {_ResourceSpans'scopeSpans = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField ResourceSpans "schemaUrl" Data.Text.Text where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ResourceSpans'schemaUrl+ (\ x__ y__ -> x__ {_ResourceSpans'schemaUrl = y__}))+ Prelude.id+instance Data.ProtoLens.Message ResourceSpans where+ messageName _+ = Data.Text.pack "opentelemetry.proto.trace.v1.ResourceSpans"+ packedMessageDescriptor _+ = "\n\+ \\rResourceSpans\DC2E\n\+ \\bresource\CAN\SOH \SOH(\v2).opentelemetry.proto.resource.v1.ResourceR\bresource\DC2I\n\+ \\vscope_spans\CAN\STX \ETX(\v2(.opentelemetry.proto.trace.v1.ScopeSpansR\n\+ \scopeSpans\DC2\GS\n\+ \\n\+ \schema_url\CAN\ETX \SOH(\tR\tschemaUrlJ\ACK\b\232\a\DLE\233\a"+ packedFileDescriptor _ = packedFileDescriptor+ fieldsByTag+ = let+ resource__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "resource"+ (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::+ Data.ProtoLens.FieldTypeDescriptor Proto.Opentelemetry.Proto.Resource.V1.Resource.Resource)+ (Data.ProtoLens.OptionalField+ (Data.ProtoLens.Field.field @"maybe'resource")) ::+ Data.ProtoLens.FieldDescriptor ResourceSpans+ scopeSpans__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "scope_spans"+ (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::+ Data.ProtoLens.FieldTypeDescriptor ScopeSpans)+ (Data.ProtoLens.RepeatedField+ Data.ProtoLens.Unpacked+ (Data.ProtoLens.Field.field @"scopeSpans")) ::+ Data.ProtoLens.FieldDescriptor ResourceSpans+ schemaUrl__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "schema_url"+ (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::+ Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional+ (Data.ProtoLens.Field.field @"schemaUrl")) ::+ Data.ProtoLens.FieldDescriptor ResourceSpans+ in+ Data.Map.fromList+ [(Data.ProtoLens.Tag 1, resource__field_descriptor),+ (Data.ProtoLens.Tag 2, scopeSpans__field_descriptor),+ (Data.ProtoLens.Tag 3, schemaUrl__field_descriptor)]+ unknownFields+ = Lens.Family2.Unchecked.lens+ _ResourceSpans'_unknownFields+ (\ x__ y__ -> x__ {_ResourceSpans'_unknownFields = y__})+ defMessage+ = ResourceSpans'_constructor+ {_ResourceSpans'resource = Prelude.Nothing,+ _ResourceSpans'scopeSpans = Data.Vector.Generic.empty,+ _ResourceSpans'schemaUrl = Data.ProtoLens.fieldDefault,+ _ResourceSpans'_unknownFields = []}+ parseMessage+ = let+ loop ::+ ResourceSpans+ -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld ScopeSpans+ -> Data.ProtoLens.Encoding.Bytes.Parser ResourceSpans+ loop x mutable'scopeSpans+ = do end <- Data.ProtoLens.Encoding.Bytes.atEnd+ if end then+ do frozen'scopeSpans <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.unsafeFreeze+ mutable'scopeSpans)+ (let missing = []+ in+ if Prelude.null missing then+ Prelude.return ()+ else+ Prelude.fail+ ((Prelude.++)+ "Missing required fields: "+ (Prelude.show (missing :: [Prelude.String]))))+ Prelude.return+ (Lens.Family2.over+ Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"vec'scopeSpans") frozen'scopeSpans+ x))+ else+ do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt+ case tag of+ 10+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.isolate+ (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)+ "resource"+ loop+ (Lens.Family2.set (Data.ProtoLens.Field.field @"resource") y x)+ mutable'scopeSpans+ 18+ -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.isolate+ (Prelude.fromIntegral len)+ Data.ProtoLens.parseMessage)+ "scope_spans"+ v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.append mutable'scopeSpans y)+ loop x v+ 26+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.getText+ (Prelude.fromIntegral len))+ "schema_url"+ loop+ (Lens.Family2.set (Data.ProtoLens.Field.field @"schemaUrl") y x)+ mutable'scopeSpans+ wire+ -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire+ wire+ loop+ (Lens.Family2.over+ Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)+ mutable'scopeSpans+ in+ (Data.ProtoLens.Encoding.Bytes.<?>)+ (do mutable'scopeSpans <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ Data.ProtoLens.Encoding.Growing.new+ loop Data.ProtoLens.defMessage mutable'scopeSpans)+ "ResourceSpans"+ buildMessage+ = \ _x+ -> (Data.Monoid.<>)+ (case+ Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'resource") _x+ of+ Prelude.Nothing -> Data.Monoid.mempty+ (Prelude.Just _v)+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 10)+ ((Prelude..)+ (\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ Data.ProtoLens.encodeMessage _v))+ ((Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.foldMapBuilder+ (\ _v+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 18)+ ((Prelude..)+ (\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ Data.ProtoLens.encodeMessage _v))+ (Lens.Family2.view+ (Data.ProtoLens.Field.field @"vec'scopeSpans") _x))+ ((Data.Monoid.<>)+ (let+ _v = Lens.Family2.view (Data.ProtoLens.Field.field @"schemaUrl") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 26)+ ((Prelude..)+ (\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ Data.Text.Encoding.encodeUtf8 _v))+ (Data.ProtoLens.Encoding.Wire.buildFieldSet+ (Lens.Family2.view Data.ProtoLens.unknownFields _x))))+instance Control.DeepSeq.NFData ResourceSpans where+ rnf+ = \ x__+ -> Control.DeepSeq.deepseq+ (_ResourceSpans'_unknownFields x__)+ (Control.DeepSeq.deepseq+ (_ResourceSpans'resource x__)+ (Control.DeepSeq.deepseq+ (_ResourceSpans'scopeSpans x__)+ (Control.DeepSeq.deepseq (_ResourceSpans'schemaUrl x__) ())))+{- | Fields :+ + * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.scope' @:: Lens' ScopeSpans Proto.Opentelemetry.Proto.Common.V1.Common.InstrumentationScope@+ * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.maybe'scope' @:: Lens' ScopeSpans (Prelude.Maybe Proto.Opentelemetry.Proto.Common.V1.Common.InstrumentationScope)@+ * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.spans' @:: Lens' ScopeSpans [Span]@+ * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.vec'spans' @:: Lens' ScopeSpans (Data.Vector.Vector Span)@+ * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.schemaUrl' @:: Lens' ScopeSpans Data.Text.Text@ -}+data ScopeSpans+ = ScopeSpans'_constructor {_ScopeSpans'scope :: !(Prelude.Maybe Proto.Opentelemetry.Proto.Common.V1.Common.InstrumentationScope),+ _ScopeSpans'spans :: !(Data.Vector.Vector Span),+ _ScopeSpans'schemaUrl :: !Data.Text.Text,+ _ScopeSpans'_unknownFields :: !Data.ProtoLens.FieldSet}+ deriving stock (Prelude.Eq, Prelude.Ord)+instance Prelude.Show ScopeSpans where+ showsPrec _ __x __s+ = Prelude.showChar+ '{'+ (Prelude.showString+ (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))+instance Data.ProtoLens.Field.HasField ScopeSpans "scope" Proto.Opentelemetry.Proto.Common.V1.Common.InstrumentationScope where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ScopeSpans'scope (\ x__ y__ -> x__ {_ScopeSpans'scope = y__}))+ (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)+instance Data.ProtoLens.Field.HasField ScopeSpans "maybe'scope" (Prelude.Maybe Proto.Opentelemetry.Proto.Common.V1.Common.InstrumentationScope) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ScopeSpans'scope (\ x__ y__ -> x__ {_ScopeSpans'scope = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField ScopeSpans "spans" [Span] where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ScopeSpans'spans (\ x__ y__ -> x__ {_ScopeSpans'spans = y__}))+ (Lens.Family2.Unchecked.lens+ Data.Vector.Generic.toList+ (\ _ y__ -> Data.Vector.Generic.fromList y__))+instance Data.ProtoLens.Field.HasField ScopeSpans "vec'spans" (Data.Vector.Vector Span) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ScopeSpans'spans (\ x__ y__ -> x__ {_ScopeSpans'spans = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField ScopeSpans "schemaUrl" Data.Text.Text where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ScopeSpans'schemaUrl+ (\ x__ y__ -> x__ {_ScopeSpans'schemaUrl = y__}))+ Prelude.id+instance Data.ProtoLens.Message ScopeSpans where+ messageName _+ = Data.Text.pack "opentelemetry.proto.trace.v1.ScopeSpans"+ packedMessageDescriptor _+ = "\n\+ \\n\+ \ScopeSpans\DC2I\n\+ \\ENQscope\CAN\SOH \SOH(\v23.opentelemetry.proto.common.v1.InstrumentationScopeR\ENQscope\DC28\n\+ \\ENQspans\CAN\STX \ETX(\v2\".opentelemetry.proto.trace.v1.SpanR\ENQspans\DC2\GS\n\+ \\n\+ \schema_url\CAN\ETX \SOH(\tR\tschemaUrl"+ packedFileDescriptor _ = packedFileDescriptor+ fieldsByTag+ = let+ scope__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "scope"+ (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::+ Data.ProtoLens.FieldTypeDescriptor Proto.Opentelemetry.Proto.Common.V1.Common.InstrumentationScope)+ (Data.ProtoLens.OptionalField+ (Data.ProtoLens.Field.field @"maybe'scope")) ::+ Data.ProtoLens.FieldDescriptor ScopeSpans+ spans__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "spans"+ (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::+ Data.ProtoLens.FieldTypeDescriptor Span)+ (Data.ProtoLens.RepeatedField+ Data.ProtoLens.Unpacked (Data.ProtoLens.Field.field @"spans")) ::+ Data.ProtoLens.FieldDescriptor ScopeSpans+ schemaUrl__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "schema_url"+ (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::+ Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional+ (Data.ProtoLens.Field.field @"schemaUrl")) ::+ Data.ProtoLens.FieldDescriptor ScopeSpans+ in+ Data.Map.fromList+ [(Data.ProtoLens.Tag 1, scope__field_descriptor),+ (Data.ProtoLens.Tag 2, spans__field_descriptor),+ (Data.ProtoLens.Tag 3, schemaUrl__field_descriptor)]+ unknownFields+ = Lens.Family2.Unchecked.lens+ _ScopeSpans'_unknownFields+ (\ x__ y__ -> x__ {_ScopeSpans'_unknownFields = y__})+ defMessage+ = ScopeSpans'_constructor+ {_ScopeSpans'scope = Prelude.Nothing,+ _ScopeSpans'spans = Data.Vector.Generic.empty,+ _ScopeSpans'schemaUrl = Data.ProtoLens.fieldDefault,+ _ScopeSpans'_unknownFields = []}+ parseMessage+ = let+ loop ::+ ScopeSpans+ -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Span+ -> Data.ProtoLens.Encoding.Bytes.Parser ScopeSpans+ loop x mutable'spans+ = do end <- Data.ProtoLens.Encoding.Bytes.atEnd+ if end then+ do frozen'spans <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.unsafeFreeze mutable'spans)+ (let missing = []+ in+ if Prelude.null missing then+ Prelude.return ()+ else+ Prelude.fail+ ((Prelude.++)+ "Missing required fields: "+ (Prelude.show (missing :: [Prelude.String]))))+ Prelude.return+ (Lens.Family2.over+ Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"vec'spans") frozen'spans x))+ else+ do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt+ case tag of+ 10+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.isolate+ (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)+ "scope"+ loop+ (Lens.Family2.set (Data.ProtoLens.Field.field @"scope") y x)+ mutable'spans+ 18+ -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.isolate+ (Prelude.fromIntegral len)+ Data.ProtoLens.parseMessage)+ "spans"+ v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.append mutable'spans y)+ loop x v+ 26+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.getText+ (Prelude.fromIntegral len))+ "schema_url"+ loop+ (Lens.Family2.set (Data.ProtoLens.Field.field @"schemaUrl") y x)+ mutable'spans+ wire+ -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire+ wire+ loop+ (Lens.Family2.over+ Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)+ mutable'spans+ in+ (Data.ProtoLens.Encoding.Bytes.<?>)+ (do mutable'spans <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ Data.ProtoLens.Encoding.Growing.new+ loop Data.ProtoLens.defMessage mutable'spans)+ "ScopeSpans"+ buildMessage+ = \ _x+ -> (Data.Monoid.<>)+ (case+ Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'scope") _x+ of+ Prelude.Nothing -> Data.Monoid.mempty+ (Prelude.Just _v)+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 10)+ ((Prelude..)+ (\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ Data.ProtoLens.encodeMessage _v))+ ((Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.foldMapBuilder+ (\ _v+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 18)+ ((Prelude..)+ (\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ Data.ProtoLens.encodeMessage _v))+ (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'spans") _x))+ ((Data.Monoid.<>)+ (let+ _v = Lens.Family2.view (Data.ProtoLens.Field.field @"schemaUrl") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 26)+ ((Prelude..)+ (\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ Data.Text.Encoding.encodeUtf8 _v))+ (Data.ProtoLens.Encoding.Wire.buildFieldSet+ (Lens.Family2.view Data.ProtoLens.unknownFields _x))))+instance Control.DeepSeq.NFData ScopeSpans where+ rnf+ = \ x__+ -> Control.DeepSeq.deepseq+ (_ScopeSpans'_unknownFields x__)+ (Control.DeepSeq.deepseq+ (_ScopeSpans'scope x__)+ (Control.DeepSeq.deepseq+ (_ScopeSpans'spans x__)+ (Control.DeepSeq.deepseq (_ScopeSpans'schemaUrl x__) ())))+{- | Fields :+ + * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.traceId' @:: Lens' Span Data.ByteString.ByteString@+ * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.spanId' @:: Lens' Span Data.ByteString.ByteString@+ * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.traceState' @:: Lens' Span Data.Text.Text@+ * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.parentSpanId' @:: Lens' Span Data.ByteString.ByteString@+ * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.name' @:: Lens' Span Data.Text.Text@+ * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.kind' @:: Lens' Span Span'SpanKind@+ * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.startTimeUnixNano' @:: Lens' Span Data.Word.Word64@+ * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.endTimeUnixNano' @:: Lens' Span Data.Word.Word64@+ * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.attributes' @:: Lens' Span [Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue]@+ * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.vec'attributes' @:: Lens' Span (Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue)@+ * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.droppedAttributesCount' @:: Lens' Span Data.Word.Word32@+ * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.events' @:: Lens' Span [Span'Event]@+ * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.vec'events' @:: Lens' Span (Data.Vector.Vector Span'Event)@+ * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.droppedEventsCount' @:: Lens' Span Data.Word.Word32@+ * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.links' @:: Lens' Span [Span'Link]@+ * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.vec'links' @:: Lens' Span (Data.Vector.Vector Span'Link)@+ * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.droppedLinksCount' @:: Lens' Span Data.Word.Word32@+ * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.status' @:: Lens' Span Status@+ * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.maybe'status' @:: Lens' Span (Prelude.Maybe Status)@ -}+data Span+ = Span'_constructor {_Span'traceId :: !Data.ByteString.ByteString,+ _Span'spanId :: !Data.ByteString.ByteString,+ _Span'traceState :: !Data.Text.Text,+ _Span'parentSpanId :: !Data.ByteString.ByteString,+ _Span'name :: !Data.Text.Text,+ _Span'kind :: !Span'SpanKind,+ _Span'startTimeUnixNano :: !Data.Word.Word64,+ _Span'endTimeUnixNano :: !Data.Word.Word64,+ _Span'attributes :: !(Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue),+ _Span'droppedAttributesCount :: !Data.Word.Word32,+ _Span'events :: !(Data.Vector.Vector Span'Event),+ _Span'droppedEventsCount :: !Data.Word.Word32,+ _Span'links :: !(Data.Vector.Vector Span'Link),+ _Span'droppedLinksCount :: !Data.Word.Word32,+ _Span'status :: !(Prelude.Maybe Status),+ _Span'_unknownFields :: !Data.ProtoLens.FieldSet}+ deriving stock (Prelude.Eq, Prelude.Ord)+instance Prelude.Show Span where+ showsPrec _ __x __s+ = Prelude.showChar+ '{'+ (Prelude.showString+ (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))+instance Data.ProtoLens.Field.HasField Span "traceId" Data.ByteString.ByteString where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Span'traceId (\ x__ y__ -> x__ {_Span'traceId = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField Span "spanId" Data.ByteString.ByteString where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Span'spanId (\ x__ y__ -> x__ {_Span'spanId = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField Span "traceState" Data.Text.Text where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Span'traceState (\ x__ y__ -> x__ {_Span'traceState = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField Span "parentSpanId" Data.ByteString.ByteString where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Span'parentSpanId (\ x__ y__ -> x__ {_Span'parentSpanId = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField Span "name" Data.Text.Text where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Span'name (\ x__ y__ -> x__ {_Span'name = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField Span "kind" Span'SpanKind where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Span'kind (\ x__ y__ -> x__ {_Span'kind = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField Span "startTimeUnixNano" Data.Word.Word64 where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Span'startTimeUnixNano+ (\ x__ y__ -> x__ {_Span'startTimeUnixNano = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField Span "endTimeUnixNano" Data.Word.Word64 where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Span'endTimeUnixNano+ (\ x__ y__ -> x__ {_Span'endTimeUnixNano = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField Span "attributes" [Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue] where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Span'attributes (\ x__ y__ -> x__ {_Span'attributes = y__}))+ (Lens.Family2.Unchecked.lens+ Data.Vector.Generic.toList+ (\ _ y__ -> Data.Vector.Generic.fromList y__))+instance Data.ProtoLens.Field.HasField Span "vec'attributes" (Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Span'attributes (\ x__ y__ -> x__ {_Span'attributes = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField Span "droppedAttributesCount" Data.Word.Word32 where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Span'droppedAttributesCount+ (\ x__ y__ -> x__ {_Span'droppedAttributesCount = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField Span "events" [Span'Event] where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Span'events (\ x__ y__ -> x__ {_Span'events = y__}))+ (Lens.Family2.Unchecked.lens+ Data.Vector.Generic.toList+ (\ _ y__ -> Data.Vector.Generic.fromList y__))+instance Data.ProtoLens.Field.HasField Span "vec'events" (Data.Vector.Vector Span'Event) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Span'events (\ x__ y__ -> x__ {_Span'events = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField Span "droppedEventsCount" Data.Word.Word32 where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Span'droppedEventsCount+ (\ x__ y__ -> x__ {_Span'droppedEventsCount = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField Span "links" [Span'Link] where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Span'links (\ x__ y__ -> x__ {_Span'links = y__}))+ (Lens.Family2.Unchecked.lens+ Data.Vector.Generic.toList+ (\ _ y__ -> Data.Vector.Generic.fromList y__))+instance Data.ProtoLens.Field.HasField Span "vec'links" (Data.Vector.Vector Span'Link) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Span'links (\ x__ y__ -> x__ {_Span'links = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField Span "droppedLinksCount" Data.Word.Word32 where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Span'droppedLinksCount+ (\ x__ y__ -> x__ {_Span'droppedLinksCount = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField Span "status" Status where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Span'status (\ x__ y__ -> x__ {_Span'status = y__}))+ (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)+instance Data.ProtoLens.Field.HasField Span "maybe'status" (Prelude.Maybe Status) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Span'status (\ x__ y__ -> x__ {_Span'status = y__}))+ Prelude.id+instance Data.ProtoLens.Message Span where+ messageName _ = Data.Text.pack "opentelemetry.proto.trace.v1.Span"+ packedMessageDescriptor _+ = "\n\+ \\EOTSpan\DC2\EM\n\+ \\btrace_id\CAN\SOH \SOH(\fR\atraceId\DC2\ETB\n\+ \\aspan_id\CAN\STX \SOH(\fR\ACKspanId\DC2\US\n\+ \\vtrace_state\CAN\ETX \SOH(\tR\n\+ \traceState\DC2$\n\+ \\SOparent_span_id\CAN\EOT \SOH(\fR\fparentSpanId\DC2\DC2\n\+ \\EOTname\CAN\ENQ \SOH(\tR\EOTname\DC2?\n\+ \\EOTkind\CAN\ACK \SOH(\SO2+.opentelemetry.proto.trace.v1.Span.SpanKindR\EOTkind\DC2/\n\+ \\DC4start_time_unix_nano\CAN\a \SOH(\ACKR\DC1startTimeUnixNano\DC2+\n\+ \\DC2end_time_unix_nano\CAN\b \SOH(\ACKR\SIendTimeUnixNano\DC2G\n\+ \\n\+ \attributes\CAN\t \ETX(\v2'.opentelemetry.proto.common.v1.KeyValueR\n\+ \attributes\DC28\n\+ \\CANdropped_attributes_count\CAN\n\+ \ \SOH(\rR\SYNdroppedAttributesCount\DC2@\n\+ \\ACKevents\CAN\v \ETX(\v2(.opentelemetry.proto.trace.v1.Span.EventR\ACKevents\DC20\n\+ \\DC4dropped_events_count\CAN\f \SOH(\rR\DC2droppedEventsCount\DC2=\n\+ \\ENQlinks\CAN\r \ETX(\v2'.opentelemetry.proto.trace.v1.Span.LinkR\ENQlinks\DC2.\n\+ \\DC3dropped_links_count\CAN\SO \SOH(\rR\DC1droppedLinksCount\DC2<\n\+ \\ACKstatus\CAN\SI \SOH(\v2$.opentelemetry.proto.trace.v1.StatusR\ACKstatus\SUB\196\SOH\n\+ \\ENQEvent\DC2$\n\+ \\SOtime_unix_nano\CAN\SOH \SOH(\ACKR\ftimeUnixNano\DC2\DC2\n\+ \\EOTname\CAN\STX \SOH(\tR\EOTname\DC2G\n\+ \\n\+ \attributes\CAN\ETX \ETX(\v2'.opentelemetry.proto.common.v1.KeyValueR\n\+ \attributes\DC28\n\+ \\CANdropped_attributes_count\CAN\EOT \SOH(\rR\SYNdroppedAttributesCount\SUB\222\SOH\n\+ \\EOTLink\DC2\EM\n\+ \\btrace_id\CAN\SOH \SOH(\fR\atraceId\DC2\ETB\n\+ \\aspan_id\CAN\STX \SOH(\fR\ACKspanId\DC2\US\n\+ \\vtrace_state\CAN\ETX \SOH(\tR\n\+ \traceState\DC2G\n\+ \\n\+ \attributes\CAN\EOT \ETX(\v2'.opentelemetry.proto.common.v1.KeyValueR\n\+ \attributes\DC28\n\+ \\CANdropped_attributes_count\CAN\ENQ \SOH(\rR\SYNdroppedAttributesCount\"\153\SOH\n\+ \\bSpanKind\DC2\EM\n\+ \\NAKSPAN_KIND_UNSPECIFIED\DLE\NUL\DC2\SYN\n\+ \\DC2SPAN_KIND_INTERNAL\DLE\SOH\DC2\DC4\n\+ \\DLESPAN_KIND_SERVER\DLE\STX\DC2\DC4\n\+ \\DLESPAN_KIND_CLIENT\DLE\ETX\DC2\SYN\n\+ \\DC2SPAN_KIND_PRODUCER\DLE\EOT\DC2\SYN\n\+ \\DC2SPAN_KIND_CONSUMER\DLE\ENQ"+ packedFileDescriptor _ = packedFileDescriptor+ fieldsByTag+ = let+ traceId__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "trace_id"+ (Data.ProtoLens.ScalarField Data.ProtoLens.BytesField ::+ Data.ProtoLens.FieldTypeDescriptor Data.ByteString.ByteString)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"traceId")) ::+ Data.ProtoLens.FieldDescriptor Span+ spanId__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "span_id"+ (Data.ProtoLens.ScalarField Data.ProtoLens.BytesField ::+ Data.ProtoLens.FieldTypeDescriptor Data.ByteString.ByteString)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"spanId")) ::+ Data.ProtoLens.FieldDescriptor Span+ traceState__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "trace_state"+ (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::+ Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional+ (Data.ProtoLens.Field.field @"traceState")) ::+ Data.ProtoLens.FieldDescriptor Span+ parentSpanId__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "parent_span_id"+ (Data.ProtoLens.ScalarField Data.ProtoLens.BytesField ::+ Data.ProtoLens.FieldTypeDescriptor Data.ByteString.ByteString)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional+ (Data.ProtoLens.Field.field @"parentSpanId")) ::+ Data.ProtoLens.FieldDescriptor Span+ name__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "name"+ (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::+ Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"name")) ::+ Data.ProtoLens.FieldDescriptor Span+ kind__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "kind"+ (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::+ Data.ProtoLens.FieldTypeDescriptor Span'SpanKind)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"kind")) ::+ Data.ProtoLens.FieldDescriptor Span+ startTimeUnixNano__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "start_time_unix_nano"+ (Data.ProtoLens.ScalarField Data.ProtoLens.Fixed64Field ::+ Data.ProtoLens.FieldTypeDescriptor Data.Word.Word64)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional+ (Data.ProtoLens.Field.field @"startTimeUnixNano")) ::+ Data.ProtoLens.FieldDescriptor Span+ endTimeUnixNano__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "end_time_unix_nano"+ (Data.ProtoLens.ScalarField Data.ProtoLens.Fixed64Field ::+ Data.ProtoLens.FieldTypeDescriptor Data.Word.Word64)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional+ (Data.ProtoLens.Field.field @"endTimeUnixNano")) ::+ Data.ProtoLens.FieldDescriptor Span+ attributes__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "attributes"+ (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::+ Data.ProtoLens.FieldTypeDescriptor Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue)+ (Data.ProtoLens.RepeatedField+ Data.ProtoLens.Unpacked+ (Data.ProtoLens.Field.field @"attributes")) ::+ Data.ProtoLens.FieldDescriptor Span+ droppedAttributesCount__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "dropped_attributes_count"+ (Data.ProtoLens.ScalarField Data.ProtoLens.UInt32Field ::+ Data.ProtoLens.FieldTypeDescriptor Data.Word.Word32)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional+ (Data.ProtoLens.Field.field @"droppedAttributesCount")) ::+ Data.ProtoLens.FieldDescriptor Span+ events__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "events"+ (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::+ Data.ProtoLens.FieldTypeDescriptor Span'Event)+ (Data.ProtoLens.RepeatedField+ Data.ProtoLens.Unpacked (Data.ProtoLens.Field.field @"events")) ::+ Data.ProtoLens.FieldDescriptor Span+ droppedEventsCount__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "dropped_events_count"+ (Data.ProtoLens.ScalarField Data.ProtoLens.UInt32Field ::+ Data.ProtoLens.FieldTypeDescriptor Data.Word.Word32)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional+ (Data.ProtoLens.Field.field @"droppedEventsCount")) ::+ Data.ProtoLens.FieldDescriptor Span+ links__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "links"+ (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::+ Data.ProtoLens.FieldTypeDescriptor Span'Link)+ (Data.ProtoLens.RepeatedField+ Data.ProtoLens.Unpacked (Data.ProtoLens.Field.field @"links")) ::+ Data.ProtoLens.FieldDescriptor Span+ droppedLinksCount__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "dropped_links_count"+ (Data.ProtoLens.ScalarField Data.ProtoLens.UInt32Field ::+ Data.ProtoLens.FieldTypeDescriptor Data.Word.Word32)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional+ (Data.ProtoLens.Field.field @"droppedLinksCount")) ::+ Data.ProtoLens.FieldDescriptor Span+ status__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "status"+ (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::+ Data.ProtoLens.FieldTypeDescriptor Status)+ (Data.ProtoLens.OptionalField+ (Data.ProtoLens.Field.field @"maybe'status")) ::+ Data.ProtoLens.FieldDescriptor Span+ in+ Data.Map.fromList+ [(Data.ProtoLens.Tag 1, traceId__field_descriptor),+ (Data.ProtoLens.Tag 2, spanId__field_descriptor),+ (Data.ProtoLens.Tag 3, traceState__field_descriptor),+ (Data.ProtoLens.Tag 4, parentSpanId__field_descriptor),+ (Data.ProtoLens.Tag 5, name__field_descriptor),+ (Data.ProtoLens.Tag 6, kind__field_descriptor),+ (Data.ProtoLens.Tag 7, startTimeUnixNano__field_descriptor),+ (Data.ProtoLens.Tag 8, endTimeUnixNano__field_descriptor),+ (Data.ProtoLens.Tag 9, attributes__field_descriptor),+ (Data.ProtoLens.Tag 10, droppedAttributesCount__field_descriptor),+ (Data.ProtoLens.Tag 11, events__field_descriptor),+ (Data.ProtoLens.Tag 12, droppedEventsCount__field_descriptor),+ (Data.ProtoLens.Tag 13, links__field_descriptor),+ (Data.ProtoLens.Tag 14, droppedLinksCount__field_descriptor),+ (Data.ProtoLens.Tag 15, status__field_descriptor)]+ unknownFields+ = Lens.Family2.Unchecked.lens+ _Span'_unknownFields+ (\ x__ y__ -> x__ {_Span'_unknownFields = y__})+ defMessage+ = Span'_constructor+ {_Span'traceId = Data.ProtoLens.fieldDefault,+ _Span'spanId = Data.ProtoLens.fieldDefault,+ _Span'traceState = Data.ProtoLens.fieldDefault,+ _Span'parentSpanId = Data.ProtoLens.fieldDefault,+ _Span'name = Data.ProtoLens.fieldDefault,+ _Span'kind = Data.ProtoLens.fieldDefault,+ _Span'startTimeUnixNano = Data.ProtoLens.fieldDefault,+ _Span'endTimeUnixNano = Data.ProtoLens.fieldDefault,+ _Span'attributes = Data.Vector.Generic.empty,+ _Span'droppedAttributesCount = Data.ProtoLens.fieldDefault,+ _Span'events = Data.Vector.Generic.empty,+ _Span'droppedEventsCount = Data.ProtoLens.fieldDefault,+ _Span'links = Data.Vector.Generic.empty,+ _Span'droppedLinksCount = Data.ProtoLens.fieldDefault,+ _Span'status = Prelude.Nothing, _Span'_unknownFields = []}+ parseMessage+ = let+ loop ::+ Span+ -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue+ -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Span'Event+ -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Span'Link+ -> Data.ProtoLens.Encoding.Bytes.Parser Span+ loop x mutable'attributes mutable'events mutable'links+ = do end <- Data.ProtoLens.Encoding.Bytes.atEnd+ if end then+ do frozen'attributes <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.unsafeFreeze+ mutable'attributes)+ frozen'events <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.unsafeFreeze+ mutable'events)+ frozen'links <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.unsafeFreeze mutable'links)+ (let missing = []+ in+ if Prelude.null missing then+ Prelude.return ()+ else+ Prelude.fail+ ((Prelude.++)+ "Missing required fields: "+ (Prelude.show (missing :: [Prelude.String]))))+ Prelude.return+ (Lens.Family2.over+ Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"vec'attributes") frozen'attributes+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"vec'events") frozen'events+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"vec'links") frozen'links x))))+ else+ do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt+ case tag of+ 10+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.getBytes+ (Prelude.fromIntegral len))+ "trace_id"+ loop+ (Lens.Family2.set (Data.ProtoLens.Field.field @"traceId") y x)+ mutable'attributes mutable'events mutable'links+ 18+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.getBytes+ (Prelude.fromIntegral len))+ "span_id"+ loop+ (Lens.Family2.set (Data.ProtoLens.Field.field @"spanId") y x)+ mutable'attributes mutable'events mutable'links+ 26+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.getText+ (Prelude.fromIntegral len))+ "trace_state"+ loop+ (Lens.Family2.set (Data.ProtoLens.Field.field @"traceState") y x)+ mutable'attributes mutable'events mutable'links+ 34+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.getBytes+ (Prelude.fromIntegral len))+ "parent_span_id"+ loop+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"parentSpanId") y x)+ mutable'attributes mutable'events mutable'links+ 42+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.getText+ (Prelude.fromIntegral len))+ "name"+ loop+ (Lens.Family2.set (Data.ProtoLens.Field.field @"name") y x)+ mutable'attributes mutable'events mutable'links+ 48+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (Prelude.fmap+ Prelude.toEnum+ (Prelude.fmap+ Prelude.fromIntegral+ Data.ProtoLens.Encoding.Bytes.getVarInt))+ "kind"+ loop+ (Lens.Family2.set (Data.ProtoLens.Field.field @"kind") y x)+ mutable'attributes mutable'events mutable'links+ 57+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ Data.ProtoLens.Encoding.Bytes.getFixed64+ "start_time_unix_nano"+ loop+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"startTimeUnixNano") y x)+ mutable'attributes mutable'events mutable'links+ 65+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ Data.ProtoLens.Encoding.Bytes.getFixed64 "end_time_unix_nano"+ loop+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"endTimeUnixNano") y x)+ mutable'attributes mutable'events mutable'links+ 74+ -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.isolate+ (Prelude.fromIntegral len)+ Data.ProtoLens.parseMessage)+ "attributes"+ v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.append mutable'attributes y)+ loop x v mutable'events mutable'links+ 80+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (Prelude.fmap+ Prelude.fromIntegral+ Data.ProtoLens.Encoding.Bytes.getVarInt)+ "dropped_attributes_count"+ loop+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"droppedAttributesCount") y x)+ mutable'attributes mutable'events mutable'links+ 90+ -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.isolate+ (Prelude.fromIntegral len)+ Data.ProtoLens.parseMessage)+ "events"+ v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.append mutable'events y)+ loop x mutable'attributes v mutable'links+ 96+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (Prelude.fmap+ Prelude.fromIntegral+ Data.ProtoLens.Encoding.Bytes.getVarInt)+ "dropped_events_count"+ loop+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"droppedEventsCount") y x)+ mutable'attributes mutable'events mutable'links+ 106+ -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.isolate+ (Prelude.fromIntegral len)+ Data.ProtoLens.parseMessage)+ "links"+ v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.append mutable'links y)+ loop x mutable'attributes mutable'events v+ 112+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (Prelude.fmap+ Prelude.fromIntegral+ Data.ProtoLens.Encoding.Bytes.getVarInt)+ "dropped_links_count"+ loop+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"droppedLinksCount") y x)+ mutable'attributes mutable'events mutable'links+ 122+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.isolate+ (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)+ "status"+ loop+ (Lens.Family2.set (Data.ProtoLens.Field.field @"status") y x)+ mutable'attributes mutable'events mutable'links+ wire+ -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire+ wire+ loop+ (Lens.Family2.over+ Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)+ mutable'attributes mutable'events mutable'links+ in+ (Data.ProtoLens.Encoding.Bytes.<?>)+ (do mutable'attributes <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ Data.ProtoLens.Encoding.Growing.new+ mutable'events <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ Data.ProtoLens.Encoding.Growing.new+ mutable'links <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ Data.ProtoLens.Encoding.Growing.new+ loop+ Data.ProtoLens.defMessage mutable'attributes mutable'events+ mutable'links)+ "Span"+ buildMessage+ = \ _x+ -> (Data.Monoid.<>)+ (let+ _v = Lens.Family2.view (Data.ProtoLens.Field.field @"traceId") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 10)+ ((\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ _v))+ ((Data.Monoid.<>)+ (let+ _v = Lens.Family2.view (Data.ProtoLens.Field.field @"spanId") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 18)+ ((\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ _v))+ ((Data.Monoid.<>)+ (let+ _v+ = Lens.Family2.view (Data.ProtoLens.Field.field @"traceState") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 26)+ ((Prelude..)+ (\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ Data.Text.Encoding.encodeUtf8 _v))+ ((Data.Monoid.<>)+ (let+ _v+ = Lens.Family2.view (Data.ProtoLens.Field.field @"parentSpanId") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 34)+ ((\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ _v))+ ((Data.Monoid.<>)+ (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"name") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 42)+ ((Prelude..)+ (\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ Data.Text.Encoding.encodeUtf8 _v))+ ((Data.Monoid.<>)+ (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"kind") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 48)+ ((Prelude..)+ ((Prelude..)+ Data.ProtoLens.Encoding.Bytes.putVarInt+ Prelude.fromIntegral)+ Prelude.fromEnum _v))+ ((Data.Monoid.<>)+ (let+ _v+ = Lens.Family2.view+ (Data.ProtoLens.Field.field @"startTimeUnixNano") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 57)+ (Data.ProtoLens.Encoding.Bytes.putFixed64 _v))+ ((Data.Monoid.<>)+ (let+ _v+ = Lens.Family2.view+ (Data.ProtoLens.Field.field @"endTimeUnixNano") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 65)+ (Data.ProtoLens.Encoding.Bytes.putFixed64 _v))+ ((Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.foldMapBuilder+ (\ _v+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 74)+ ((Prelude..)+ (\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral+ (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes+ bs))+ Data.ProtoLens.encodeMessage _v))+ (Lens.Family2.view+ (Data.ProtoLens.Field.field @"vec'attributes") _x))+ ((Data.Monoid.<>)+ (let+ _v+ = Lens.Family2.view+ (Data.ProtoLens.Field.field+ @"droppedAttributesCount")+ _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 80)+ ((Prelude..)+ Data.ProtoLens.Encoding.Bytes.putVarInt+ Prelude.fromIntegral _v))+ ((Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.foldMapBuilder+ (\ _v+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 90)+ ((Prelude..)+ (\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral+ (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes+ bs))+ Data.ProtoLens.encodeMessage _v))+ (Lens.Family2.view+ (Data.ProtoLens.Field.field @"vec'events") _x))+ ((Data.Monoid.<>)+ (let+ _v+ = Lens.Family2.view+ (Data.ProtoLens.Field.field+ @"droppedEventsCount")+ _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 96)+ ((Prelude..)+ Data.ProtoLens.Encoding.Bytes.putVarInt+ Prelude.fromIntegral _v))+ ((Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.foldMapBuilder+ (\ _v+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ 106)+ ((Prelude..)+ (\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral+ (Data.ByteString.length+ bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes+ bs))+ Data.ProtoLens.encodeMessage _v))+ (Lens.Family2.view+ (Data.ProtoLens.Field.field @"vec'links")+ _x))+ ((Data.Monoid.<>)+ (let+ _v+ = Lens.Family2.view+ (Data.ProtoLens.Field.field+ @"droppedLinksCount")+ _x+ in+ if (Prelude.==)+ _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ 112)+ ((Prelude..)+ Data.ProtoLens.Encoding.Bytes.putVarInt+ Prelude.fromIntegral _v))+ ((Data.Monoid.<>)+ (case+ Lens.Family2.view+ (Data.ProtoLens.Field.field+ @"maybe'status")+ _x+ of+ Prelude.Nothing -> Data.Monoid.mempty+ (Prelude.Just _v)+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ 122)+ ((Prelude..)+ (\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral+ (Data.ByteString.length+ bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes+ bs))+ Data.ProtoLens.encodeMessage+ _v))+ (Data.ProtoLens.Encoding.Wire.buildFieldSet+ (Lens.Family2.view+ Data.ProtoLens.unknownFields+ _x))))))))))))))))+instance Control.DeepSeq.NFData Span where+ rnf+ = \ x__+ -> Control.DeepSeq.deepseq+ (_Span'_unknownFields x__)+ (Control.DeepSeq.deepseq+ (_Span'traceId x__)+ (Control.DeepSeq.deepseq+ (_Span'spanId x__)+ (Control.DeepSeq.deepseq+ (_Span'traceState x__)+ (Control.DeepSeq.deepseq+ (_Span'parentSpanId x__)+ (Control.DeepSeq.deepseq+ (_Span'name x__)+ (Control.DeepSeq.deepseq+ (_Span'kind x__)+ (Control.DeepSeq.deepseq+ (_Span'startTimeUnixNano x__)+ (Control.DeepSeq.deepseq+ (_Span'endTimeUnixNano x__)+ (Control.DeepSeq.deepseq+ (_Span'attributes x__)+ (Control.DeepSeq.deepseq+ (_Span'droppedAttributesCount x__)+ (Control.DeepSeq.deepseq+ (_Span'events x__)+ (Control.DeepSeq.deepseq+ (_Span'droppedEventsCount x__)+ (Control.DeepSeq.deepseq+ (_Span'links x__)+ (Control.DeepSeq.deepseq+ (_Span'droppedLinksCount x__)+ (Control.DeepSeq.deepseq+ (_Span'status x__) ())))))))))))))))+{- | Fields :+ + * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.timeUnixNano' @:: Lens' Span'Event Data.Word.Word64@+ * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.name' @:: Lens' Span'Event Data.Text.Text@+ * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.attributes' @:: Lens' Span'Event [Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue]@+ * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.vec'attributes' @:: Lens' Span'Event (Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue)@+ * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.droppedAttributesCount' @:: Lens' Span'Event Data.Word.Word32@ -}+data Span'Event+ = Span'Event'_constructor {_Span'Event'timeUnixNano :: !Data.Word.Word64,+ _Span'Event'name :: !Data.Text.Text,+ _Span'Event'attributes :: !(Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue),+ _Span'Event'droppedAttributesCount :: !Data.Word.Word32,+ _Span'Event'_unknownFields :: !Data.ProtoLens.FieldSet}+ deriving stock (Prelude.Eq, Prelude.Ord)+instance Prelude.Show Span'Event where+ showsPrec _ __x __s+ = Prelude.showChar+ '{'+ (Prelude.showString+ (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))+instance Data.ProtoLens.Field.HasField Span'Event "timeUnixNano" Data.Word.Word64 where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Span'Event'timeUnixNano+ (\ x__ y__ -> x__ {_Span'Event'timeUnixNano = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField Span'Event "name" Data.Text.Text where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Span'Event'name (\ x__ y__ -> x__ {_Span'Event'name = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField Span'Event "attributes" [Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue] where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Span'Event'attributes+ (\ x__ y__ -> x__ {_Span'Event'attributes = y__}))+ (Lens.Family2.Unchecked.lens+ Data.Vector.Generic.toList+ (\ _ y__ -> Data.Vector.Generic.fromList y__))+instance Data.ProtoLens.Field.HasField Span'Event "vec'attributes" (Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Span'Event'attributes+ (\ x__ y__ -> x__ {_Span'Event'attributes = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField Span'Event "droppedAttributesCount" Data.Word.Word32 where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Span'Event'droppedAttributesCount+ (\ x__ y__ -> x__ {_Span'Event'droppedAttributesCount = y__}))+ Prelude.id+instance Data.ProtoLens.Message Span'Event where+ messageName _+ = Data.Text.pack "opentelemetry.proto.trace.v1.Span.Event"+ packedMessageDescriptor _+ = "\n\+ \\ENQEvent\DC2$\n\+ \\SOtime_unix_nano\CAN\SOH \SOH(\ACKR\ftimeUnixNano\DC2\DC2\n\+ \\EOTname\CAN\STX \SOH(\tR\EOTname\DC2G\n\+ \\n\+ \attributes\CAN\ETX \ETX(\v2'.opentelemetry.proto.common.v1.KeyValueR\n\+ \attributes\DC28\n\+ \\CANdropped_attributes_count\CAN\EOT \SOH(\rR\SYNdroppedAttributesCount"+ packedFileDescriptor _ = packedFileDescriptor+ fieldsByTag+ = let+ timeUnixNano__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "time_unix_nano"+ (Data.ProtoLens.ScalarField Data.ProtoLens.Fixed64Field ::+ Data.ProtoLens.FieldTypeDescriptor Data.Word.Word64)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional+ (Data.ProtoLens.Field.field @"timeUnixNano")) ::+ Data.ProtoLens.FieldDescriptor Span'Event+ name__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "name"+ (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::+ Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"name")) ::+ Data.ProtoLens.FieldDescriptor Span'Event+ attributes__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "attributes"+ (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::+ Data.ProtoLens.FieldTypeDescriptor Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue)+ (Data.ProtoLens.RepeatedField+ Data.ProtoLens.Unpacked+ (Data.ProtoLens.Field.field @"attributes")) ::+ Data.ProtoLens.FieldDescriptor Span'Event+ droppedAttributesCount__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "dropped_attributes_count"+ (Data.ProtoLens.ScalarField Data.ProtoLens.UInt32Field ::+ Data.ProtoLens.FieldTypeDescriptor Data.Word.Word32)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional+ (Data.ProtoLens.Field.field @"droppedAttributesCount")) ::+ Data.ProtoLens.FieldDescriptor Span'Event+ in+ Data.Map.fromList+ [(Data.ProtoLens.Tag 1, timeUnixNano__field_descriptor),+ (Data.ProtoLens.Tag 2, name__field_descriptor),+ (Data.ProtoLens.Tag 3, attributes__field_descriptor),+ (Data.ProtoLens.Tag 4, droppedAttributesCount__field_descriptor)]+ unknownFields+ = Lens.Family2.Unchecked.lens+ _Span'Event'_unknownFields+ (\ x__ y__ -> x__ {_Span'Event'_unknownFields = y__})+ defMessage+ = Span'Event'_constructor+ {_Span'Event'timeUnixNano = Data.ProtoLens.fieldDefault,+ _Span'Event'name = Data.ProtoLens.fieldDefault,+ _Span'Event'attributes = Data.Vector.Generic.empty,+ _Span'Event'droppedAttributesCount = Data.ProtoLens.fieldDefault,+ _Span'Event'_unknownFields = []}+ parseMessage+ = let+ loop ::+ Span'Event+ -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue+ -> Data.ProtoLens.Encoding.Bytes.Parser Span'Event+ loop x mutable'attributes+ = do end <- Data.ProtoLens.Encoding.Bytes.atEnd+ if end then+ do frozen'attributes <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.unsafeFreeze+ mutable'attributes)+ (let missing = []+ in+ if Prelude.null missing then+ Prelude.return ()+ else+ Prelude.fail+ ((Prelude.++)+ "Missing required fields: "+ (Prelude.show (missing :: [Prelude.String]))))+ Prelude.return+ (Lens.Family2.over+ Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"vec'attributes") frozen'attributes+ x))+ else+ do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt+ case tag of+ 9 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ Data.ProtoLens.Encoding.Bytes.getFixed64 "time_unix_nano"+ loop+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"timeUnixNano") y x)+ mutable'attributes+ 18+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.getText+ (Prelude.fromIntegral len))+ "name"+ loop+ (Lens.Family2.set (Data.ProtoLens.Field.field @"name") y x)+ mutable'attributes+ 26+ -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.isolate+ (Prelude.fromIntegral len)+ Data.ProtoLens.parseMessage)+ "attributes"+ v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.append mutable'attributes y)+ loop x v+ 32+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (Prelude.fmap+ Prelude.fromIntegral+ Data.ProtoLens.Encoding.Bytes.getVarInt)+ "dropped_attributes_count"+ loop+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"droppedAttributesCount") y x)+ mutable'attributes+ wire+ -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire+ wire+ loop+ (Lens.Family2.over+ Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)+ mutable'attributes+ in+ (Data.ProtoLens.Encoding.Bytes.<?>)+ (do mutable'attributes <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ Data.ProtoLens.Encoding.Growing.new+ loop Data.ProtoLens.defMessage mutable'attributes)+ "Event"+ buildMessage+ = \ _x+ -> (Data.Monoid.<>)+ (let+ _v+ = Lens.Family2.view (Data.ProtoLens.Field.field @"timeUnixNano") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 9)+ (Data.ProtoLens.Encoding.Bytes.putFixed64 _v))+ ((Data.Monoid.<>)+ (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"name") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 18)+ ((Prelude..)+ (\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ Data.Text.Encoding.encodeUtf8 _v))+ ((Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.foldMapBuilder+ (\ _v+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 26)+ ((Prelude..)+ (\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ Data.ProtoLens.encodeMessage _v))+ (Lens.Family2.view+ (Data.ProtoLens.Field.field @"vec'attributes") _x))+ ((Data.Monoid.<>)+ (let+ _v+ = Lens.Family2.view+ (Data.ProtoLens.Field.field @"droppedAttributesCount") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 32)+ ((Prelude..)+ Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))+ (Data.ProtoLens.Encoding.Wire.buildFieldSet+ (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))+instance Control.DeepSeq.NFData Span'Event where+ rnf+ = \ x__+ -> Control.DeepSeq.deepseq+ (_Span'Event'_unknownFields x__)+ (Control.DeepSeq.deepseq+ (_Span'Event'timeUnixNano x__)+ (Control.DeepSeq.deepseq+ (_Span'Event'name x__)+ (Control.DeepSeq.deepseq+ (_Span'Event'attributes x__)+ (Control.DeepSeq.deepseq+ (_Span'Event'droppedAttributesCount x__) ()))))+{- | Fields :+ + * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.traceId' @:: Lens' Span'Link Data.ByteString.ByteString@+ * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.spanId' @:: Lens' Span'Link Data.ByteString.ByteString@+ * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.traceState' @:: Lens' Span'Link Data.Text.Text@+ * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.attributes' @:: Lens' Span'Link [Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue]@+ * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.vec'attributes' @:: Lens' Span'Link (Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue)@+ * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.droppedAttributesCount' @:: Lens' Span'Link Data.Word.Word32@ -}+data Span'Link+ = Span'Link'_constructor {_Span'Link'traceId :: !Data.ByteString.ByteString,+ _Span'Link'spanId :: !Data.ByteString.ByteString,+ _Span'Link'traceState :: !Data.Text.Text,+ _Span'Link'attributes :: !(Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue),+ _Span'Link'droppedAttributesCount :: !Data.Word.Word32,+ _Span'Link'_unknownFields :: !Data.ProtoLens.FieldSet}+ deriving stock (Prelude.Eq, Prelude.Ord)+instance Prelude.Show Span'Link where+ showsPrec _ __x __s+ = Prelude.showChar+ '{'+ (Prelude.showString+ (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))+instance Data.ProtoLens.Field.HasField Span'Link "traceId" Data.ByteString.ByteString where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Span'Link'traceId (\ x__ y__ -> x__ {_Span'Link'traceId = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField Span'Link "spanId" Data.ByteString.ByteString where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Span'Link'spanId (\ x__ y__ -> x__ {_Span'Link'spanId = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField Span'Link "traceState" Data.Text.Text where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Span'Link'traceState+ (\ x__ y__ -> x__ {_Span'Link'traceState = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField Span'Link "attributes" [Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue] where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Span'Link'attributes+ (\ x__ y__ -> x__ {_Span'Link'attributes = y__}))+ (Lens.Family2.Unchecked.lens+ Data.Vector.Generic.toList+ (\ _ y__ -> Data.Vector.Generic.fromList y__))+instance Data.ProtoLens.Field.HasField Span'Link "vec'attributes" (Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Span'Link'attributes+ (\ x__ y__ -> x__ {_Span'Link'attributes = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField Span'Link "droppedAttributesCount" Data.Word.Word32 where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Span'Link'droppedAttributesCount+ (\ x__ y__ -> x__ {_Span'Link'droppedAttributesCount = y__}))+ Prelude.id+instance Data.ProtoLens.Message Span'Link where+ messageName _+ = Data.Text.pack "opentelemetry.proto.trace.v1.Span.Link"+ packedMessageDescriptor _+ = "\n\+ \\EOTLink\DC2\EM\n\+ \\btrace_id\CAN\SOH \SOH(\fR\atraceId\DC2\ETB\n\+ \\aspan_id\CAN\STX \SOH(\fR\ACKspanId\DC2\US\n\+ \\vtrace_state\CAN\ETX \SOH(\tR\n\+ \traceState\DC2G\n\+ \\n\+ \attributes\CAN\EOT \ETX(\v2'.opentelemetry.proto.common.v1.KeyValueR\n\+ \attributes\DC28\n\+ \\CANdropped_attributes_count\CAN\ENQ \SOH(\rR\SYNdroppedAttributesCount"+ packedFileDescriptor _ = packedFileDescriptor+ fieldsByTag+ = let+ traceId__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "trace_id"+ (Data.ProtoLens.ScalarField Data.ProtoLens.BytesField ::+ Data.ProtoLens.FieldTypeDescriptor Data.ByteString.ByteString)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"traceId")) ::+ Data.ProtoLens.FieldDescriptor Span'Link+ spanId__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "span_id"+ (Data.ProtoLens.ScalarField Data.ProtoLens.BytesField ::+ Data.ProtoLens.FieldTypeDescriptor Data.ByteString.ByteString)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"spanId")) ::+ Data.ProtoLens.FieldDescriptor Span'Link+ traceState__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "trace_state"+ (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::+ Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional+ (Data.ProtoLens.Field.field @"traceState")) ::+ Data.ProtoLens.FieldDescriptor Span'Link+ attributes__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "attributes"+ (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::+ Data.ProtoLens.FieldTypeDescriptor Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue)+ (Data.ProtoLens.RepeatedField+ Data.ProtoLens.Unpacked+ (Data.ProtoLens.Field.field @"attributes")) ::+ Data.ProtoLens.FieldDescriptor Span'Link+ droppedAttributesCount__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "dropped_attributes_count"+ (Data.ProtoLens.ScalarField Data.ProtoLens.UInt32Field ::+ Data.ProtoLens.FieldTypeDescriptor Data.Word.Word32)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional+ (Data.ProtoLens.Field.field @"droppedAttributesCount")) ::+ Data.ProtoLens.FieldDescriptor Span'Link+ in+ Data.Map.fromList+ [(Data.ProtoLens.Tag 1, traceId__field_descriptor),+ (Data.ProtoLens.Tag 2, spanId__field_descriptor),+ (Data.ProtoLens.Tag 3, traceState__field_descriptor),+ (Data.ProtoLens.Tag 4, attributes__field_descriptor),+ (Data.ProtoLens.Tag 5, droppedAttributesCount__field_descriptor)]+ unknownFields+ = Lens.Family2.Unchecked.lens+ _Span'Link'_unknownFields+ (\ x__ y__ -> x__ {_Span'Link'_unknownFields = y__})+ defMessage+ = Span'Link'_constructor+ {_Span'Link'traceId = Data.ProtoLens.fieldDefault,+ _Span'Link'spanId = Data.ProtoLens.fieldDefault,+ _Span'Link'traceState = Data.ProtoLens.fieldDefault,+ _Span'Link'attributes = Data.Vector.Generic.empty,+ _Span'Link'droppedAttributesCount = Data.ProtoLens.fieldDefault,+ _Span'Link'_unknownFields = []}+ parseMessage+ = let+ loop ::+ Span'Link+ -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue+ -> Data.ProtoLens.Encoding.Bytes.Parser Span'Link+ loop x mutable'attributes+ = do end <- Data.ProtoLens.Encoding.Bytes.atEnd+ if end then+ do frozen'attributes <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.unsafeFreeze+ mutable'attributes)+ (let missing = []+ in+ if Prelude.null missing then+ Prelude.return ()+ else+ Prelude.fail+ ((Prelude.++)+ "Missing required fields: "+ (Prelude.show (missing :: [Prelude.String]))))+ Prelude.return+ (Lens.Family2.over+ Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"vec'attributes") frozen'attributes+ x))+ else+ do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt+ case tag of+ 10+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.getBytes+ (Prelude.fromIntegral len))+ "trace_id"+ loop+ (Lens.Family2.set (Data.ProtoLens.Field.field @"traceId") y x)+ mutable'attributes+ 18+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.getBytes+ (Prelude.fromIntegral len))+ "span_id"+ loop+ (Lens.Family2.set (Data.ProtoLens.Field.field @"spanId") y x)+ mutable'attributes+ 26+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.getText+ (Prelude.fromIntegral len))+ "trace_state"+ loop+ (Lens.Family2.set (Data.ProtoLens.Field.field @"traceState") y x)+ mutable'attributes+ 34+ -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.isolate+ (Prelude.fromIntegral len)+ Data.ProtoLens.parseMessage)+ "attributes"+ v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.append mutable'attributes y)+ loop x v+ 40+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (Prelude.fmap+ Prelude.fromIntegral+ Data.ProtoLens.Encoding.Bytes.getVarInt)+ "dropped_attributes_count"+ loop+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"droppedAttributesCount") y x)+ mutable'attributes+ wire+ -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire+ wire+ loop+ (Lens.Family2.over+ Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)+ mutable'attributes+ in+ (Data.ProtoLens.Encoding.Bytes.<?>)+ (do mutable'attributes <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ Data.ProtoLens.Encoding.Growing.new+ loop Data.ProtoLens.defMessage mutable'attributes)+ "Link"+ buildMessage+ = \ _x+ -> (Data.Monoid.<>)+ (let+ _v = Lens.Family2.view (Data.ProtoLens.Field.field @"traceId") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 10)+ ((\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ _v))+ ((Data.Monoid.<>)+ (let+ _v = Lens.Family2.view (Data.ProtoLens.Field.field @"spanId") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 18)+ ((\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ _v))+ ((Data.Monoid.<>)+ (let+ _v+ = Lens.Family2.view (Data.ProtoLens.Field.field @"traceState") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 26)+ ((Prelude..)+ (\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ Data.Text.Encoding.encodeUtf8 _v))+ ((Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.foldMapBuilder+ (\ _v+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 34)+ ((Prelude..)+ (\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ Data.ProtoLens.encodeMessage _v))+ (Lens.Family2.view+ (Data.ProtoLens.Field.field @"vec'attributes") _x))+ ((Data.Monoid.<>)+ (let+ _v+ = Lens.Family2.view+ (Data.ProtoLens.Field.field @"droppedAttributesCount") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 40)+ ((Prelude..)+ Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral+ _v))+ (Data.ProtoLens.Encoding.Wire.buildFieldSet+ (Lens.Family2.view Data.ProtoLens.unknownFields _x))))))+instance Control.DeepSeq.NFData Span'Link where+ rnf+ = \ x__+ -> Control.DeepSeq.deepseq+ (_Span'Link'_unknownFields x__)+ (Control.DeepSeq.deepseq+ (_Span'Link'traceId x__)+ (Control.DeepSeq.deepseq+ (_Span'Link'spanId x__)+ (Control.DeepSeq.deepseq+ (_Span'Link'traceState x__)+ (Control.DeepSeq.deepseq+ (_Span'Link'attributes x__)+ (Control.DeepSeq.deepseq+ (_Span'Link'droppedAttributesCount x__) ())))))+newtype Span'SpanKind'UnrecognizedValue+ = Span'SpanKind'UnrecognizedValue Data.Int.Int32+ deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)+data Span'SpanKind+ = Span'SPAN_KIND_UNSPECIFIED |+ Span'SPAN_KIND_INTERNAL |+ Span'SPAN_KIND_SERVER |+ Span'SPAN_KIND_CLIENT |+ Span'SPAN_KIND_PRODUCER |+ Span'SPAN_KIND_CONSUMER |+ Span'SpanKind'Unrecognized !Span'SpanKind'UnrecognizedValue+ deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)+instance Data.ProtoLens.MessageEnum Span'SpanKind where+ maybeToEnum 0 = Prelude.Just Span'SPAN_KIND_UNSPECIFIED+ maybeToEnum 1 = Prelude.Just Span'SPAN_KIND_INTERNAL+ maybeToEnum 2 = Prelude.Just Span'SPAN_KIND_SERVER+ maybeToEnum 3 = Prelude.Just Span'SPAN_KIND_CLIENT+ maybeToEnum 4 = Prelude.Just Span'SPAN_KIND_PRODUCER+ maybeToEnum 5 = Prelude.Just Span'SPAN_KIND_CONSUMER+ maybeToEnum k+ = Prelude.Just+ (Span'SpanKind'Unrecognized+ (Span'SpanKind'UnrecognizedValue (Prelude.fromIntegral k)))+ showEnum Span'SPAN_KIND_UNSPECIFIED = "SPAN_KIND_UNSPECIFIED"+ showEnum Span'SPAN_KIND_INTERNAL = "SPAN_KIND_INTERNAL"+ showEnum Span'SPAN_KIND_SERVER = "SPAN_KIND_SERVER"+ showEnum Span'SPAN_KIND_CLIENT = "SPAN_KIND_CLIENT"+ showEnum Span'SPAN_KIND_PRODUCER = "SPAN_KIND_PRODUCER"+ showEnum Span'SPAN_KIND_CONSUMER = "SPAN_KIND_CONSUMER"+ showEnum+ (Span'SpanKind'Unrecognized (Span'SpanKind'UnrecognizedValue k))+ = Prelude.show k+ readEnum k+ | (Prelude.==) k "SPAN_KIND_UNSPECIFIED"+ = Prelude.Just Span'SPAN_KIND_UNSPECIFIED+ | (Prelude.==) k "SPAN_KIND_INTERNAL"+ = Prelude.Just Span'SPAN_KIND_INTERNAL+ | (Prelude.==) k "SPAN_KIND_SERVER"+ = Prelude.Just Span'SPAN_KIND_SERVER+ | (Prelude.==) k "SPAN_KIND_CLIENT"+ = Prelude.Just Span'SPAN_KIND_CLIENT+ | (Prelude.==) k "SPAN_KIND_PRODUCER"+ = Prelude.Just Span'SPAN_KIND_PRODUCER+ | (Prelude.==) k "SPAN_KIND_CONSUMER"+ = Prelude.Just Span'SPAN_KIND_CONSUMER+ | Prelude.otherwise+ = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum+instance Prelude.Bounded Span'SpanKind where+ minBound = Span'SPAN_KIND_UNSPECIFIED+ maxBound = Span'SPAN_KIND_CONSUMER+instance Prelude.Enum Span'SpanKind where+ toEnum k__+ = Prelude.maybe+ (Prelude.error+ ((Prelude.++)+ "toEnum: unknown value for enum SpanKind: " (Prelude.show k__)))+ Prelude.id (Data.ProtoLens.maybeToEnum k__)+ fromEnum Span'SPAN_KIND_UNSPECIFIED = 0+ fromEnum Span'SPAN_KIND_INTERNAL = 1+ fromEnum Span'SPAN_KIND_SERVER = 2+ fromEnum Span'SPAN_KIND_CLIENT = 3+ fromEnum Span'SPAN_KIND_PRODUCER = 4+ fromEnum Span'SPAN_KIND_CONSUMER = 5+ fromEnum+ (Span'SpanKind'Unrecognized (Span'SpanKind'UnrecognizedValue k))+ = Prelude.fromIntegral k+ succ Span'SPAN_KIND_CONSUMER+ = Prelude.error+ "Span'SpanKind.succ: bad argument Span'SPAN_KIND_CONSUMER. This value would be out of bounds."+ succ Span'SPAN_KIND_UNSPECIFIED = Span'SPAN_KIND_INTERNAL+ succ Span'SPAN_KIND_INTERNAL = Span'SPAN_KIND_SERVER+ succ Span'SPAN_KIND_SERVER = Span'SPAN_KIND_CLIENT+ succ Span'SPAN_KIND_CLIENT = Span'SPAN_KIND_PRODUCER+ succ Span'SPAN_KIND_PRODUCER = Span'SPAN_KIND_CONSUMER+ succ (Span'SpanKind'Unrecognized _)+ = Prelude.error+ "Span'SpanKind.succ: bad argument: unrecognized value"+ pred Span'SPAN_KIND_UNSPECIFIED+ = Prelude.error+ "Span'SpanKind.pred: bad argument Span'SPAN_KIND_UNSPECIFIED. This value would be out of bounds."+ pred Span'SPAN_KIND_INTERNAL = Span'SPAN_KIND_UNSPECIFIED+ pred Span'SPAN_KIND_SERVER = Span'SPAN_KIND_INTERNAL+ pred Span'SPAN_KIND_CLIENT = Span'SPAN_KIND_SERVER+ pred Span'SPAN_KIND_PRODUCER = Span'SPAN_KIND_CLIENT+ pred Span'SPAN_KIND_CONSUMER = Span'SPAN_KIND_PRODUCER+ pred (Span'SpanKind'Unrecognized _)+ = Prelude.error+ "Span'SpanKind.pred: bad argument: unrecognized value"+ enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom+ enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo+ enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen+ enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo+instance Data.ProtoLens.FieldDefault Span'SpanKind where+ fieldDefault = Span'SPAN_KIND_UNSPECIFIED+instance Control.DeepSeq.NFData Span'SpanKind where+ rnf x__ = Prelude.seq x__ ()+{- | Fields :+ + * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.message' @:: Lens' Status Data.Text.Text@+ * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.code' @:: Lens' Status Status'StatusCode@ -}+data Status+ = Status'_constructor {_Status'message :: !Data.Text.Text,+ _Status'code :: !Status'StatusCode,+ _Status'_unknownFields :: !Data.ProtoLens.FieldSet}+ deriving stock (Prelude.Eq, Prelude.Ord)+instance Prelude.Show Status where+ showsPrec _ __x __s+ = Prelude.showChar+ '{'+ (Prelude.showString+ (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))+instance Data.ProtoLens.Field.HasField Status "message" Data.Text.Text where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Status'message (\ x__ y__ -> x__ {_Status'message = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField Status "code" Status'StatusCode where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Status'code (\ x__ y__ -> x__ {_Status'code = y__}))+ Prelude.id+instance Data.ProtoLens.Message Status where+ messageName _+ = Data.Text.pack "opentelemetry.proto.trace.v1.Status"+ packedMessageDescriptor _+ = "\n\+ \\ACKStatus\DC2\CAN\n\+ \\amessage\CAN\STX \SOH(\tR\amessage\DC2C\n\+ \\EOTcode\CAN\ETX \SOH(\SO2/.opentelemetry.proto.trace.v1.Status.StatusCodeR\EOTcode\"N\n\+ \\n\+ \StatusCode\DC2\NAK\n\+ \\DC1STATUS_CODE_UNSET\DLE\NUL\DC2\DC2\n\+ \\SOSTATUS_CODE_OK\DLE\SOH\DC2\NAK\n\+ \\DC1STATUS_CODE_ERROR\DLE\STXJ\EOT\b\SOH\DLE\STX"+ packedFileDescriptor _ = packedFileDescriptor+ fieldsByTag+ = let+ message__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "message"+ (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::+ Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"message")) ::+ Data.ProtoLens.FieldDescriptor Status+ code__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "code"+ (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::+ Data.ProtoLens.FieldTypeDescriptor Status'StatusCode)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"code")) ::+ Data.ProtoLens.FieldDescriptor Status+ in+ Data.Map.fromList+ [(Data.ProtoLens.Tag 2, message__field_descriptor),+ (Data.ProtoLens.Tag 3, code__field_descriptor)]+ unknownFields+ = Lens.Family2.Unchecked.lens+ _Status'_unknownFields+ (\ x__ y__ -> x__ {_Status'_unknownFields = y__})+ defMessage+ = Status'_constructor+ {_Status'message = Data.ProtoLens.fieldDefault,+ _Status'code = Data.ProtoLens.fieldDefault,+ _Status'_unknownFields = []}+ parseMessage+ = let+ loop :: Status -> Data.ProtoLens.Encoding.Bytes.Parser Status+ loop x+ = do end <- Data.ProtoLens.Encoding.Bytes.atEnd+ if end then+ do (let missing = []+ in+ if Prelude.null missing then+ Prelude.return ()+ else+ Prelude.fail+ ((Prelude.++)+ "Missing required fields: "+ (Prelude.show (missing :: [Prelude.String]))))+ Prelude.return+ (Lens.Family2.over+ Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)+ else+ do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt+ case tag of+ 18+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.getText+ (Prelude.fromIntegral len))+ "message"+ loop (Lens.Family2.set (Data.ProtoLens.Field.field @"message") y x)+ 24+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (Prelude.fmap+ Prelude.toEnum+ (Prelude.fmap+ Prelude.fromIntegral+ Data.ProtoLens.Encoding.Bytes.getVarInt))+ "code"+ loop (Lens.Family2.set (Data.ProtoLens.Field.field @"code") y x)+ wire+ -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire+ wire+ loop+ (Lens.Family2.over+ Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)+ in+ (Data.ProtoLens.Encoding.Bytes.<?>)+ (do loop Data.ProtoLens.defMessage) "Status"+ buildMessage+ = \ _x+ -> (Data.Monoid.<>)+ (let+ _v = Lens.Family2.view (Data.ProtoLens.Field.field @"message") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 18)+ ((Prelude..)+ (\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ Data.Text.Encoding.encodeUtf8 _v))+ ((Data.Monoid.<>)+ (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"code") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 24)+ ((Prelude..)+ ((Prelude..)+ Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)+ Prelude.fromEnum _v))+ (Data.ProtoLens.Encoding.Wire.buildFieldSet+ (Lens.Family2.view Data.ProtoLens.unknownFields _x)))+instance Control.DeepSeq.NFData Status where+ rnf+ = \ x__+ -> Control.DeepSeq.deepseq+ (_Status'_unknownFields x__)+ (Control.DeepSeq.deepseq+ (_Status'message x__)+ (Control.DeepSeq.deepseq (_Status'code x__) ()))+newtype Status'StatusCode'UnrecognizedValue+ = Status'StatusCode'UnrecognizedValue Data.Int.Int32+ deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)+data Status'StatusCode+ = Status'STATUS_CODE_UNSET |+ Status'STATUS_CODE_OK |+ Status'STATUS_CODE_ERROR |+ Status'StatusCode'Unrecognized !Status'StatusCode'UnrecognizedValue+ deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)+instance Data.ProtoLens.MessageEnum Status'StatusCode where+ maybeToEnum 0 = Prelude.Just Status'STATUS_CODE_UNSET+ maybeToEnum 1 = Prelude.Just Status'STATUS_CODE_OK+ maybeToEnum 2 = Prelude.Just Status'STATUS_CODE_ERROR+ maybeToEnum k+ = Prelude.Just+ (Status'StatusCode'Unrecognized+ (Status'StatusCode'UnrecognizedValue (Prelude.fromIntegral k)))+ showEnum Status'STATUS_CODE_UNSET = "STATUS_CODE_UNSET"+ showEnum Status'STATUS_CODE_OK = "STATUS_CODE_OK"+ showEnum Status'STATUS_CODE_ERROR = "STATUS_CODE_ERROR"+ showEnum+ (Status'StatusCode'Unrecognized (Status'StatusCode'UnrecognizedValue k))+ = Prelude.show k+ readEnum k+ | (Prelude.==) k "STATUS_CODE_UNSET"+ = Prelude.Just Status'STATUS_CODE_UNSET+ | (Prelude.==) k "STATUS_CODE_OK"+ = Prelude.Just Status'STATUS_CODE_OK+ | (Prelude.==) k "STATUS_CODE_ERROR"+ = Prelude.Just Status'STATUS_CODE_ERROR+ | Prelude.otherwise+ = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum+instance Prelude.Bounded Status'StatusCode where+ minBound = Status'STATUS_CODE_UNSET+ maxBound = Status'STATUS_CODE_ERROR+instance Prelude.Enum Status'StatusCode where+ toEnum k__+ = Prelude.maybe+ (Prelude.error+ ((Prelude.++)+ "toEnum: unknown value for enum StatusCode: " (Prelude.show k__)))+ Prelude.id (Data.ProtoLens.maybeToEnum k__)+ fromEnum Status'STATUS_CODE_UNSET = 0+ fromEnum Status'STATUS_CODE_OK = 1+ fromEnum Status'STATUS_CODE_ERROR = 2+ fromEnum+ (Status'StatusCode'Unrecognized (Status'StatusCode'UnrecognizedValue k))+ = Prelude.fromIntegral k+ succ Status'STATUS_CODE_ERROR+ = Prelude.error+ "Status'StatusCode.succ: bad argument Status'STATUS_CODE_ERROR. This value would be out of bounds."+ succ Status'STATUS_CODE_UNSET = Status'STATUS_CODE_OK+ succ Status'STATUS_CODE_OK = Status'STATUS_CODE_ERROR+ succ (Status'StatusCode'Unrecognized _)+ = Prelude.error+ "Status'StatusCode.succ: bad argument: unrecognized value"+ pred Status'STATUS_CODE_UNSET+ = Prelude.error+ "Status'StatusCode.pred: bad argument Status'STATUS_CODE_UNSET. This value would be out of bounds."+ pred Status'STATUS_CODE_OK = Status'STATUS_CODE_UNSET+ pred Status'STATUS_CODE_ERROR = Status'STATUS_CODE_OK+ pred (Status'StatusCode'Unrecognized _)+ = Prelude.error+ "Status'StatusCode.pred: bad argument: unrecognized value"+ enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom+ enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo+ enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen+ enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo+instance Data.ProtoLens.FieldDefault Status'StatusCode where+ fieldDefault = Status'STATUS_CODE_UNSET+instance Control.DeepSeq.NFData Status'StatusCode where+ rnf x__ = Prelude.seq x__ ()+{- | Fields :+ + * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.resourceSpans' @:: Lens' TracesData [ResourceSpans]@+ * 'Proto.Opentelemetry.Proto.Trace.V1.Trace_Fields.vec'resourceSpans' @:: Lens' TracesData (Data.Vector.Vector ResourceSpans)@ -}+data TracesData+ = TracesData'_constructor {_TracesData'resourceSpans :: !(Data.Vector.Vector ResourceSpans),+ _TracesData'_unknownFields :: !Data.ProtoLens.FieldSet}+ deriving stock (Prelude.Eq, Prelude.Ord)+instance Prelude.Show TracesData where+ showsPrec _ __x __s+ = Prelude.showChar+ '{'+ (Prelude.showString+ (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))+instance Data.ProtoLens.Field.HasField TracesData "resourceSpans" [ResourceSpans] where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _TracesData'resourceSpans+ (\ x__ y__ -> x__ {_TracesData'resourceSpans = y__}))+ (Lens.Family2.Unchecked.lens+ Data.Vector.Generic.toList+ (\ _ y__ -> Data.Vector.Generic.fromList y__))+instance Data.ProtoLens.Field.HasField TracesData "vec'resourceSpans" (Data.Vector.Vector ResourceSpans) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _TracesData'resourceSpans+ (\ x__ y__ -> x__ {_TracesData'resourceSpans = y__}))+ Prelude.id+instance Data.ProtoLens.Message TracesData where+ messageName _+ = Data.Text.pack "opentelemetry.proto.trace.v1.TracesData"+ packedMessageDescriptor _+ = "\n\+ \\n\+ \TracesData\DC2R\n\+ \\SOresource_spans\CAN\SOH \ETX(\v2+.opentelemetry.proto.trace.v1.ResourceSpansR\rresourceSpans"+ packedFileDescriptor _ = packedFileDescriptor+ fieldsByTag+ = let+ resourceSpans__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "resource_spans"+ (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::+ Data.ProtoLens.FieldTypeDescriptor ResourceSpans)+ (Data.ProtoLens.RepeatedField+ Data.ProtoLens.Unpacked+ (Data.ProtoLens.Field.field @"resourceSpans")) ::+ Data.ProtoLens.FieldDescriptor TracesData+ in+ Data.Map.fromList+ [(Data.ProtoLens.Tag 1, resourceSpans__field_descriptor)]+ unknownFields+ = Lens.Family2.Unchecked.lens+ _TracesData'_unknownFields+ (\ x__ y__ -> x__ {_TracesData'_unknownFields = y__})+ defMessage+ = TracesData'_constructor+ {_TracesData'resourceSpans = Data.Vector.Generic.empty,+ _TracesData'_unknownFields = []}+ parseMessage+ = let+ loop ::+ TracesData+ -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld ResourceSpans+ -> Data.ProtoLens.Encoding.Bytes.Parser TracesData+ loop x mutable'resourceSpans+ = do end <- Data.ProtoLens.Encoding.Bytes.atEnd+ if end then+ do frozen'resourceSpans <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.unsafeFreeze+ mutable'resourceSpans)+ (let missing = []+ in+ if Prelude.null missing then+ Prelude.return ()+ else+ Prelude.fail+ ((Prelude.++)+ "Missing required fields: "+ (Prelude.show (missing :: [Prelude.String]))))+ Prelude.return+ (Lens.Family2.over+ Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)+ (Lens.Family2.set+ (Data.ProtoLens.Field.field @"vec'resourceSpans")+ frozen'resourceSpans x))+ else+ do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt+ case tag of+ 10+ -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.isolate+ (Prelude.fromIntegral len)+ Data.ProtoLens.parseMessage)+ "resource_spans"+ v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.append+ mutable'resourceSpans y)+ loop x v+ wire+ -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire+ wire+ loop+ (Lens.Family2.over+ Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)+ mutable'resourceSpans+ in+ (Data.ProtoLens.Encoding.Bytes.<?>)+ (do mutable'resourceSpans <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ Data.ProtoLens.Encoding.Growing.new+ loop Data.ProtoLens.defMessage mutable'resourceSpans)+ "TracesData"+ buildMessage+ = \ _x+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.foldMapBuilder+ (\ _v+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 10)+ ((Prelude..)+ (\ bs+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt+ (Prelude.fromIntegral (Data.ByteString.length bs)))+ (Data.ProtoLens.Encoding.Bytes.putBytes bs))+ Data.ProtoLens.encodeMessage _v))+ (Lens.Family2.view+ (Data.ProtoLens.Field.field @"vec'resourceSpans") _x))+ (Data.ProtoLens.Encoding.Wire.buildFieldSet+ (Lens.Family2.view Data.ProtoLens.unknownFields _x))+instance Control.DeepSeq.NFData TracesData where+ rnf+ = \ x__+ -> Control.DeepSeq.deepseq+ (_TracesData'_unknownFields x__)+ (Control.DeepSeq.deepseq (_TracesData'resourceSpans x__) ())+packedFileDescriptor :: Data.ByteString.ByteString+packedFileDescriptor+ = "\n\+ \(opentelemetry/proto/trace/v1/trace.proto\DC2\FSopentelemetry.proto.trace.v1\SUB*opentelemetry/proto/common/v1/common.proto\SUB.opentelemetry/proto/resource/v1/resource.proto\"`\n\+ \\n\+ \TracesData\DC2R\n\+ \\SOresource_spans\CAN\SOH \ETX(\v2+.opentelemetry.proto.trace.v1.ResourceSpansR\rresourceSpans\"\200\SOH\n\+ \\rResourceSpans\DC2E\n\+ \\bresource\CAN\SOH \SOH(\v2).opentelemetry.proto.resource.v1.ResourceR\bresource\DC2I\n\+ \\vscope_spans\CAN\STX \ETX(\v2(.opentelemetry.proto.trace.v1.ScopeSpansR\n\+ \scopeSpans\DC2\GS\n\+ \\n\+ \schema_url\CAN\ETX \SOH(\tR\tschemaUrlJ\ACK\b\232\a\DLE\233\a\"\176\SOH\n\+ \\n\+ \ScopeSpans\DC2I\n\+ \\ENQscope\CAN\SOH \SOH(\v23.opentelemetry.proto.common.v1.InstrumentationScopeR\ENQscope\DC28\n\+ \\ENQspans\CAN\STX \ETX(\v2\".opentelemetry.proto.trace.v1.SpanR\ENQspans\DC2\GS\n\+ \\n\+ \schema_url\CAN\ETX \SOH(\tR\tschemaUrl\"\156\n\+ \\n\+ \\EOTSpan\DC2\EM\n\+ \\btrace_id\CAN\SOH \SOH(\fR\atraceId\DC2\ETB\n\+ \\aspan_id\CAN\STX \SOH(\fR\ACKspanId\DC2\US\n\+ \\vtrace_state\CAN\ETX \SOH(\tR\n\+ \traceState\DC2$\n\+ \\SOparent_span_id\CAN\EOT \SOH(\fR\fparentSpanId\DC2\DC2\n\+ \\EOTname\CAN\ENQ \SOH(\tR\EOTname\DC2?\n\+ \\EOTkind\CAN\ACK \SOH(\SO2+.opentelemetry.proto.trace.v1.Span.SpanKindR\EOTkind\DC2/\n\+ \\DC4start_time_unix_nano\CAN\a \SOH(\ACKR\DC1startTimeUnixNano\DC2+\n\+ \\DC2end_time_unix_nano\CAN\b \SOH(\ACKR\SIendTimeUnixNano\DC2G\n\+ \\n\+ \attributes\CAN\t \ETX(\v2'.opentelemetry.proto.common.v1.KeyValueR\n\+ \attributes\DC28\n\+ \\CANdropped_attributes_count\CAN\n\+ \ \SOH(\rR\SYNdroppedAttributesCount\DC2@\n\+ \\ACKevents\CAN\v \ETX(\v2(.opentelemetry.proto.trace.v1.Span.EventR\ACKevents\DC20\n\+ \\DC4dropped_events_count\CAN\f \SOH(\rR\DC2droppedEventsCount\DC2=\n\+ \\ENQlinks\CAN\r \ETX(\v2'.opentelemetry.proto.trace.v1.Span.LinkR\ENQlinks\DC2.\n\+ \\DC3dropped_links_count\CAN\SO \SOH(\rR\DC1droppedLinksCount\DC2<\n\+ \\ACKstatus\CAN\SI \SOH(\v2$.opentelemetry.proto.trace.v1.StatusR\ACKstatus\SUB\196\SOH\n\+ \\ENQEvent\DC2$\n\+ \\SOtime_unix_nano\CAN\SOH \SOH(\ACKR\ftimeUnixNano\DC2\DC2\n\+ \\EOTname\CAN\STX \SOH(\tR\EOTname\DC2G\n\+ \\n\+ \attributes\CAN\ETX \ETX(\v2'.opentelemetry.proto.common.v1.KeyValueR\n\+ \attributes\DC28\n\+ \\CANdropped_attributes_count\CAN\EOT \SOH(\rR\SYNdroppedAttributesCount\SUB\222\SOH\n\+ \\EOTLink\DC2\EM\n\+ \\btrace_id\CAN\SOH \SOH(\fR\atraceId\DC2\ETB\n\+ \\aspan_id\CAN\STX \SOH(\fR\ACKspanId\DC2\US\n\+ \\vtrace_state\CAN\ETX \SOH(\tR\n\+ \traceState\DC2G\n\+ \\n\+ \attributes\CAN\EOT \ETX(\v2'.opentelemetry.proto.common.v1.KeyValueR\n\+ \attributes\DC28\n\+ \\CANdropped_attributes_count\CAN\ENQ \SOH(\rR\SYNdroppedAttributesCount\"\153\SOH\n\+ \\bSpanKind\DC2\EM\n\+ \\NAKSPAN_KIND_UNSPECIFIED\DLE\NUL\DC2\SYN\n\+ \\DC2SPAN_KIND_INTERNAL\DLE\SOH\DC2\DC4\n\+ \\DLESPAN_KIND_SERVER\DLE\STX\DC2\DC4\n\+ \\DLESPAN_KIND_CLIENT\DLE\ETX\DC2\SYN\n\+ \\DC2SPAN_KIND_PRODUCER\DLE\EOT\DC2\SYN\n\+ \\DC2SPAN_KIND_CONSUMER\DLE\ENQ\"\189\SOH\n\+ \\ACKStatus\DC2\CAN\n\+ \\amessage\CAN\STX \SOH(\tR\amessage\DC2C\n\+ \\EOTcode\CAN\ETX \SOH(\SO2/.opentelemetry.proto.trace.v1.Status.StatusCodeR\EOTcode\"N\n\+ \\n\+ \StatusCode\DC2\NAK\n\+ \\DC1STATUS_CODE_UNSET\DLE\NUL\DC2\DC2\n\+ \\SOSTATUS_CODE_OK\DLE\SOH\DC2\NAK\n\+ \\DC1STATUS_CODE_ERROR\DLE\STXJ\EOT\b\SOH\DLE\STXBw\n\+ \\USio.opentelemetry.proto.trace.v1B\n\+ \TraceProtoP\SOHZ'go.opentelemetry.io/proto/otlp/trace/v1\170\STX\FSOpenTelemetry.Proto.Trace.V1J\160`\n\+ \\a\DC2\ENQ\SO\NUL\147\STX\SOH\n\+ \\200\EOT\n\+ \\SOH\f\DC2\ETX\SO\NUL\DC22\189\EOT Copyright 2019, OpenTelemetry Authors\n\+ \\n\+ \ Licensed under the Apache License, Version 2.0 (the \"License\");\n\+ \ you may not use this file except in compliance with the License.\n\+ \ You may obtain a copy of the License at\n\+ \\n\+ \ http://www.apache.org/licenses/LICENSE-2.0\n\+ \\n\+ \ Unless required by applicable law or agreed to in writing, software\n\+ \ distributed under the License is distributed on an \"AS IS\" BASIS,\n\+ \ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\+ \ See the License for the specific language governing permissions and\n\+ \ limitations under the License.\n\+ \\n\+ \\b\n\+ \\SOH\STX\DC2\ETX\DLE\NUL%\n\+ \\t\n\+ \\STX\ETX\NUL\DC2\ETX\DC2\NUL4\n\+ \\t\n\+ \\STX\ETX\SOH\DC2\ETX\DC3\NUL8\n\+ \\b\n\+ \\SOH\b\DC2\ETX\NAK\NUL9\n\+ \\t\n\+ \\STX\b%\DC2\ETX\NAK\NUL9\n\+ \\b\n\+ \\SOH\b\DC2\ETX\SYN\NUL\"\n\+ \\t\n\+ \\STX\b\n\+ \\DC2\ETX\SYN\NUL\"\n\+ \\b\n\+ \\SOH\b\DC2\ETX\ETB\NUL8\n\+ \\t\n\+ \\STX\b\SOH\DC2\ETX\ETB\NUL8\n\+ \\b\n\+ \\SOH\b\DC2\ETX\CAN\NUL+\n\+ \\t\n\+ \\STX\b\b\DC2\ETX\CAN\NUL+\n\+ \\b\n\+ \\SOH\b\DC2\ETX\EM\NUL>\n\+ \\t\n\+ \\STX\b\v\DC2\ETX\EM\NUL>\n\+ \\206\ETX\n\+ \\STX\EOT\NUL\DC2\EOT%\NUL,\SOH\SUB\193\ETX TracesData represents the traces data that can be stored in a persistent storage,\n\+ \ OR can be embedded by other protocols that transfer OTLP traces data but do\n\+ \ not implement the OTLP protocol.\n\+ \\n\+ \ The main difference between this message and collector protocol is that\n\+ \ in this message there will not be any \"control\" or \"metadata\" specific to\n\+ \ OTLP protocol.\n\+ \\n\+ \ When new fields are added into this message, the OTLP request MUST be updated\n\+ \ as well.\n\+ \\n\+ \\n\+ \\n\+ \\ETX\EOT\NUL\SOH\DC2\ETX%\b\DC2\n\+ \\174\STX\n\+ \\EOT\EOT\NUL\STX\NUL\DC2\ETX+\STX,\SUB\160\STX An array of ResourceSpans.\n\+ \ For data coming from a single resource this array will typically contain\n\+ \ one element. Intermediary nodes that receive data from multiple origins\n\+ \ typically batch the data before forwarding further and in that case this\n\+ \ array will contain multiple elements.\n\+ \\n\+ \\f\n\+ \\ENQ\EOT\NUL\STX\NUL\EOT\DC2\ETX+\STX\n\+ \\n\+ \\f\n\+ \\ENQ\EOT\NUL\STX\NUL\ACK\DC2\ETX+\v\CAN\n\+ \\f\n\+ \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX+\EM'\n\+ \\f\n\+ \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX+*+\n\+ \9\n\+ \\STX\EOT\SOH\DC2\EOT/\NUL<\SOH\SUB- A collection of ScopeSpans from a Resource.\n\+ \\n\+ \\n\+ \\n\+ \\ETX\EOT\SOH\SOH\DC2\ETX/\b\NAK\n\+ \\n\+ \\n\+ \\ETX\EOT\SOH\t\DC2\ETX0\STX\DLE\n\+ \\v\n\+ \\EOT\EOT\SOH\t\NUL\DC2\ETX0\v\SI\n\+ \\f\n\+ \\ENQ\EOT\SOH\t\NUL\SOH\DC2\ETX0\v\SI\n\+ \\f\n\+ \\ENQ\EOT\SOH\t\NUL\STX\DC2\ETX0\v\SI\n\+ \t\n\+ \\EOT\EOT\SOH\STX\NUL\DC2\ETX4\STX8\SUBg The resource for the spans in this message.\n\+ \ If this field is not set then no resource info is known.\n\+ \\n\+ \\f\n\+ \\ENQ\EOT\SOH\STX\NUL\ACK\DC2\ETX4\STX*\n\+ \\f\n\+ \\ENQ\EOT\SOH\STX\NUL\SOH\DC2\ETX4+3\n\+ \\f\n\+ \\ENQ\EOT\SOH\STX\NUL\ETX\DC2\ETX467\n\+ \C\n\+ \\EOT\EOT\SOH\STX\SOH\DC2\ETX7\STX&\SUB6 A list of ScopeSpans that originate from a resource.\n\+ \\n\+ \\f\n\+ \\ENQ\EOT\SOH\STX\SOH\EOT\DC2\ETX7\STX\n\+ \\n\+ \\f\n\+ \\ENQ\EOT\SOH\STX\SOH\ACK\DC2\ETX7\v\NAK\n\+ \\f\n\+ \\ENQ\EOT\SOH\STX\SOH\SOH\DC2\ETX7\SYN!\n\+ \\f\n\+ \\ENQ\EOT\SOH\STX\SOH\ETX\DC2\ETX7$%\n\+ \\173\SOH\n\+ \\EOT\EOT\SOH\STX\STX\DC2\ETX;\STX\CAN\SUB\159\SOH This schema_url applies to the data in the \"resource\" field. It does not apply\n\+ \ to the data in the \"scope_spans\" field which have their own schema_url field.\n\+ \\n\+ \\f\n\+ \\ENQ\EOT\SOH\STX\STX\ENQ\DC2\ETX;\STX\b\n\+ \\f\n\+ \\ENQ\EOT\SOH\STX\STX\SOH\DC2\ETX;\t\DC3\n\+ \\f\n\+ \\ENQ\EOT\SOH\STX\STX\ETX\DC2\ETX;\SYN\ETB\n\+ \H\n\+ \\STX\EOT\STX\DC2\EOT?\NULJ\SOH\SUB< A collection of Spans produced by an InstrumentationScope.\n\+ \\n\+ \\n\+ \\n\+ \\ETX\EOT\STX\SOH\DC2\ETX?\b\DC2\n\+ \\205\SOH\n\+ \\EOT\EOT\STX\STX\NUL\DC2\ETXC\STX?\SUB\191\SOH The instrumentation scope information for the spans in this message.\n\+ \ Semantically when InstrumentationScope isn't set, it is equivalent with\n\+ \ an empty instrumentation scope name (unknown).\n\+ \\n\+ \\f\n\+ \\ENQ\EOT\STX\STX\NUL\ACK\DC2\ETXC\STX4\n\+ \\f\n\+ \\ENQ\EOT\STX\STX\NUL\SOH\DC2\ETXC5:\n\+ \\f\n\+ \\ENQ\EOT\STX\STX\NUL\ETX\DC2\ETXC=>\n\+ \L\n\+ \\EOT\EOT\STX\STX\SOH\DC2\ETXF\STX\SUB\SUB? A list of Spans that originate from an instrumentation scope.\n\+ \\n\+ \\f\n\+ \\ENQ\EOT\STX\STX\SOH\EOT\DC2\ETXF\STX\n\+ \\n\+ \\f\n\+ \\ENQ\EOT\STX\STX\SOH\ACK\DC2\ETXF\v\SI\n\+ \\f\n\+ \\ENQ\EOT\STX\STX\SOH\SOH\DC2\ETXF\DLE\NAK\n\+ \\f\n\+ \\ENQ\EOT\STX\STX\SOH\ETX\DC2\ETXF\CAN\EM\n\+ \Y\n\+ \\EOT\EOT\STX\STX\STX\DC2\ETXI\STX\CAN\SUBL This schema_url applies to all spans and span events in the \"spans\" field.\n\+ \\n\+ \\f\n\+ \\ENQ\EOT\STX\STX\STX\ENQ\DC2\ETXI\STX\b\n\+ \\f\n\+ \\ENQ\EOT\STX\STX\STX\SOH\DC2\ETXI\t\DC3\n\+ \\f\n\+ \\ENQ\EOT\STX\STX\STX\ETX\DC2\ETXI\SYN\ETB\n\+ \\135\SOH\n\+ \\STX\EOT\ETX\DC2\ENQO\NUL\251\SOH\SOH\SUBz A Span represents a single operation performed by a single component of the system.\n\+ \\n\+ \ The next available field id is 17.\n\+ \\n\+ \\n\+ \\n\+ \\ETX\EOT\ETX\SOH\DC2\ETXO\b\f\n\+ \\179\STX\n\+ \\EOT\EOT\ETX\STX\NUL\DC2\ETXV\STX\NAK\SUB\165\STX A unique identifier for a trace. All spans from the same trace share\n\+ \ the same `trace_id`. The ID is a 16-byte array. An ID with all zeroes OR\n\+ \ of length other than 16 bytes is considered invalid (empty string in OTLP/JSON\n\+ \ is zero-length and thus is also invalid).\n\+ \\n\+ \ This field is required.\n\+ \\n\+ \\f\n\+ \\ENQ\EOT\ETX\STX\NUL\ENQ\DC2\ETXV\STX\a\n\+ \\f\n\+ \\ENQ\EOT\ETX\STX\NUL\SOH\DC2\ETXV\b\DLE\n\+ \\f\n\+ \\ENQ\EOT\ETX\STX\NUL\ETX\DC2\ETXV\DC3\DC4\n\+ \\170\STX\n\+ \\EOT\EOT\ETX\STX\SOH\DC2\ETX^\STX\DC4\SUB\156\STX A unique identifier for a span within a trace, assigned when the span\n\+ \ is created. The ID is an 8-byte array. An ID with all zeroes OR of length\n\+ \ other than 8 bytes is considered invalid (empty string in OTLP/JSON\n\+ \ is zero-length and thus is also invalid).\n\+ \\n\+ \ This field is required.\n\+ \\n\+ \\f\n\+ \\ENQ\EOT\ETX\STX\SOH\ENQ\DC2\ETX^\STX\a\n\+ \\f\n\+ \\ENQ\EOT\ETX\STX\SOH\SOH\DC2\ETX^\b\SI\n\+ \\f\n\+ \\ENQ\EOT\ETX\STX\SOH\ETX\DC2\ETX^\DC2\DC3\n\+ \\175\STX\n\+ \\EOT\EOT\ETX\STX\STX\DC2\ETXc\STX\EM\SUB\161\STX trace_state conveys information about request position in multiple distributed tracing graphs.\n\+ \ It is a trace_state in w3c-trace-context format: https://www.w3.org/TR/trace-context/#tracestate-header\n\+ \ See also https://github.com/w3c/distributed-tracing for more details about this field.\n\+ \\n\+ \\f\n\+ \\ENQ\EOT\ETX\STX\STX\ENQ\DC2\ETXc\STX\b\n\+ \\f\n\+ \\ENQ\EOT\ETX\STX\STX\SOH\DC2\ETXc\t\DC4\n\+ \\f\n\+ \\ENQ\EOT\ETX\STX\STX\ETX\DC2\ETXc\ETB\CAN\n\+ \\139\SOH\n\+ \\EOT\EOT\ETX\STX\ETX\DC2\ETXg\STX\ESC\SUB~ The `span_id` of this span's parent span. If this is a root span, then this\n\+ \ field must be empty. The ID is an 8-byte array.\n\+ \\n\+ \\f\n\+ \\ENQ\EOT\ETX\STX\ETX\ENQ\DC2\ETXg\STX\a\n\+ \\f\n\+ \\ENQ\EOT\ETX\STX\ETX\SOH\DC2\ETXg\b\SYN\n\+ \\f\n\+ \\ENQ\EOT\ETX\STX\ETX\ETX\DC2\ETXg\EM\SUB\n\+ \\218\ETX\n\+ \\EOT\EOT\ETX\STX\EOT\DC2\ETXt\STX\DC2\SUB\204\ETX A description of the span's operation.\n\+ \\n\+ \ For example, the name can be a qualified method name or a file name\n\+ \ and a line number where the operation is called. A best practice is to use\n\+ \ the same display name at the same call point in an application.\n\+ \ This makes it easier to correlate spans in different traces.\n\+ \\n\+ \ This field is semantically required to be set to non-empty string.\n\+ \ Empty value is equivalent to an unknown span name.\n\+ \\n\+ \ This field is required.\n\+ \\n\+ \\f\n\+ \\ENQ\EOT\ETX\STX\EOT\ENQ\DC2\ETXt\STX\b\n\+ \\f\n\+ \\ENQ\EOT\ETX\STX\EOT\SOH\DC2\ETXt\t\r\n\+ \\f\n\+ \\ENQ\EOT\ETX\STX\EOT\ETX\DC2\ETXt\DLE\DC1\n\+ \\154\SOH\n\+ \\EOT\EOT\ETX\EOT\NUL\DC2\ENQx\STX\146\SOH\ETX\SUB\138\SOH SpanKind is the type of span. Can be used to specify additional relationships between spans\n\+ \ in addition to a parent/child relationship.\n\+ \\n\+ \\f\n\+ \\ENQ\EOT\ETX\EOT\NUL\SOH\DC2\ETXx\a\SI\n\+ \\132\SOH\n\+ \\ACK\EOT\ETX\EOT\NUL\STX\NUL\DC2\ETX{\EOT\RS\SUBu Unspecified. Do NOT use as default.\n\+ \ Implementations MAY assume SpanKind to be INTERNAL when receiving UNSPECIFIED.\n\+ \\n\+ \\SO\n\+ \\a\EOT\ETX\EOT\NUL\STX\NUL\SOH\DC2\ETX{\EOT\EM\n\+ \\SO\n\+ \\a\EOT\ETX\EOT\NUL\STX\NUL\STX\DC2\ETX{\FS\GS\n\+ \\169\SOH\n\+ \\ACK\EOT\ETX\EOT\NUL\STX\SOH\DC2\ETX\DEL\EOT\ESC\SUB\153\SOH Indicates that the span represents an internal operation within an application,\n\+ \ as opposed to an operation happening at the boundaries. Default value.\n\+ \\n\+ \\SO\n\+ \\a\EOT\ETX\EOT\NUL\STX\SOH\SOH\DC2\ETX\DEL\EOT\SYN\n\+ \\SO\n\+ \\a\EOT\ETX\EOT\NUL\STX\SOH\STX\DC2\ETX\DEL\EM\SUB\n\+ \q\n\+ \\ACK\EOT\ETX\EOT\NUL\STX\STX\DC2\EOT\131\SOH\EOT\EM\SUBa Indicates that the span covers server-side handling of an RPC or other\n\+ \ remote network request.\n\+ \\n\+ \\SI\n\+ \\a\EOT\ETX\EOT\NUL\STX\STX\SOH\DC2\EOT\131\SOH\EOT\DC4\n\+ \\SI\n\+ \\a\EOT\ETX\EOT\NUL\STX\STX\STX\DC2\EOT\131\SOH\ETB\CAN\n\+ \U\n\+ \\ACK\EOT\ETX\EOT\NUL\STX\ETX\DC2\EOT\134\SOH\EOT\EM\SUBE Indicates that the span describes a request to some remote service.\n\+ \\n\+ \\SI\n\+ \\a\EOT\ETX\EOT\NUL\STX\ETX\SOH\DC2\EOT\134\SOH\EOT\DC4\n\+ \\SI\n\+ \\a\EOT\ETX\EOT\NUL\STX\ETX\STX\DC2\EOT\134\SOH\ETB\CAN\n\+ \\232\STX\n\+ \\ACK\EOT\ETX\EOT\NUL\STX\EOT\DC2\EOT\140\SOH\EOT\ESC\SUB\215\STX Indicates that the span describes a producer sending a message to a broker.\n\+ \ Unlike CLIENT and SERVER, there is often no direct critical path latency relationship\n\+ \ between producer and consumer spans. A PRODUCER span ends when the message was accepted\n\+ \ by the broker while the logical processing of the message might span a much longer time.\n\+ \\n\+ \\SI\n\+ \\a\EOT\ETX\EOT\NUL\STX\EOT\SOH\DC2\EOT\140\SOH\EOT\SYN\n\+ \\SI\n\+ \\a\EOT\ETX\EOT\NUL\STX\EOT\STX\DC2\EOT\140\SOH\EM\SUB\n\+ \\219\SOH\n\+ \\ACK\EOT\ETX\EOT\NUL\STX\ENQ\DC2\EOT\145\SOH\EOT\ESC\SUB\202\SOH Indicates that the span describes consumer receiving a message from a broker.\n\+ \ Like the PRODUCER kind, there is often no direct critical path latency relationship\n\+ \ between producer and consumer spans.\n\+ \\n\+ \\SI\n\+ \\a\EOT\ETX\EOT\NUL\STX\ENQ\SOH\DC2\EOT\145\SOH\EOT\SYN\n\+ \\SI\n\+ \\a\EOT\ETX\EOT\NUL\STX\ENQ\STX\DC2\EOT\145\SOH\EM\SUB\n\+ \\245\SOH\n\+ \\EOT\EOT\ETX\STX\ENQ\DC2\EOT\151\SOH\STX\DC4\SUB\230\SOH Distinguishes between spans generated in a particular context. For example,\n\+ \ two spans with the same name may be distinguished using `CLIENT` (caller)\n\+ \ and `SERVER` (callee) to identify queueing latency associated with the span.\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\ENQ\ACK\DC2\EOT\151\SOH\STX\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\ENQ\SOH\DC2\EOT\151\SOH\v\SI\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\ENQ\ETX\DC2\EOT\151\SOH\DC2\DC3\n\+ \\166\ETX\n\+ \\EOT\EOT\ETX\STX\ACK\DC2\EOT\159\SOH\STX#\SUB\151\ETX start_time_unix_nano is the start time of the span. On the client side, this is the time\n\+ \ kept by the local machine where the span execution starts. On the server side, this\n\+ \ is the time when the server's application handler starts running.\n\+ \ Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970.\n\+ \\n\+ \ This field is semantically required and it is expected that end_time >= start_time.\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\ACK\ENQ\DC2\EOT\159\SOH\STX\t\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\ACK\SOH\DC2\EOT\159\SOH\n\+ \\RS\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\ACK\ETX\DC2\EOT\159\SOH!\"\n\+ \\157\ETX\n\+ \\EOT\EOT\ETX\STX\a\DC2\EOT\167\SOH\STX!\SUB\142\ETX end_time_unix_nano is the end time of the span. On the client side, this is the time\n\+ \ kept by the local machine where the span execution ends. On the server side, this\n\+ \ is the time when the server application handler stops running.\n\+ \ Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970.\n\+ \\n\+ \ This field is semantically required and it is expected that end_time >= start_time.\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\a\ENQ\DC2\EOT\167\SOH\STX\t\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\a\SOH\DC2\EOT\167\SOH\n\+ \\FS\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\a\ETX\DC2\EOT\167\SOH\US \n\+ \\202\ENQ\n\+ \\EOT\EOT\ETX\STX\b\DC2\EOT\181\SOH\STXA\SUB\187\ENQ attributes is a collection of key/value pairs. Note, global attributes\n\+ \ like server name can be set using the resource API. Examples of attributes:\n\+ \\n\+ \ \"/http/user_agent\": \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36\"\n\+ \ \"/http/server_latency\": 300\n\+ \ \"example.com/myattribute\": true\n\+ \ \"example.com/score\": 10.239\n\+ \\n\+ \ The OpenTelemetry API specification further restricts the allowed value types:\n\+ \ https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/common/README.md#attribute\n\+ \ Attribute keys MUST be unique (it is not allowed to have more than one\n\+ \ attribute with the same key).\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\b\EOT\DC2\EOT\181\SOH\STX\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\b\ACK\DC2\EOT\181\SOH\v1\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\b\SOH\DC2\EOT\181\SOH2<\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\b\ETX\DC2\EOT\181\SOH?@\n\+ \\247\SOH\n\+ \\EOT\EOT\ETX\STX\t\DC2\EOT\186\SOH\STX'\SUB\232\SOH dropped_attributes_count is the number of attributes that were discarded. Attributes\n\+ \ can be discarded because their keys are too long or because there are too many\n\+ \ attributes. If this value is 0, then no attributes were dropped.\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\t\ENQ\DC2\EOT\186\SOH\STX\b\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\t\SOH\DC2\EOT\186\SOH\t!\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\t\ETX\DC2\EOT\186\SOH$&\n\+ \\132\SOH\n\+ \\EOT\EOT\ETX\ETX\NUL\DC2\ACK\190\SOH\STX\206\SOH\ETX\SUBt Event is a time-stamped annotation of the span, consisting of user-supplied\n\+ \ text description and key-value pairs.\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\ETX\ETX\NUL\SOH\DC2\EOT\190\SOH\n\+ \\SI\n\+ \@\n\+ \\ACK\EOT\ETX\ETX\NUL\STX\NUL\DC2\EOT\192\SOH\EOT\US\SUB0 time_unix_nano is the time the event occurred.\n\+ \\n\+ \\SI\n\+ \\a\EOT\ETX\ETX\NUL\STX\NUL\ENQ\DC2\EOT\192\SOH\EOT\v\n\+ \\SI\n\+ \\a\EOT\ETX\ETX\NUL\STX\NUL\SOH\DC2\EOT\192\SOH\f\SUB\n\+ \\SI\n\+ \\a\EOT\ETX\ETX\NUL\STX\NUL\ETX\DC2\EOT\192\SOH\GS\RS\n\+ \h\n\+ \\ACK\EOT\ETX\ETX\NUL\STX\SOH\DC2\EOT\196\SOH\EOT\DC4\SUBX name of the event.\n\+ \ This field is semantically required to be set to non-empty string.\n\+ \\n\+ \\SI\n\+ \\a\EOT\ETX\ETX\NUL\STX\SOH\ENQ\DC2\EOT\196\SOH\EOT\n\+ \\n\+ \\SI\n\+ \\a\EOT\ETX\ETX\NUL\STX\SOH\SOH\DC2\EOT\196\SOH\v\SI\n\+ \\SI\n\+ \\a\EOT\ETX\ETX\NUL\STX\SOH\ETX\DC2\EOT\196\SOH\DC2\DC3\n\+ \\191\SOH\n\+ \\ACK\EOT\ETX\ETX\NUL\STX\STX\DC2\EOT\201\SOH\EOTC\SUB\174\SOH attributes is a collection of attribute key/value pairs on the event.\n\+ \ Attribute keys MUST be unique (it is not allowed to have more than one\n\+ \ attribute with the same key).\n\+ \\n\+ \\SI\n\+ \\a\EOT\ETX\ETX\NUL\STX\STX\EOT\DC2\EOT\201\SOH\EOT\f\n\+ \\SI\n\+ \\a\EOT\ETX\ETX\NUL\STX\STX\ACK\DC2\EOT\201\SOH\r3\n\+ \\SI\n\+ \\a\EOT\ETX\ETX\NUL\STX\STX\SOH\DC2\EOT\201\SOH4>\n\+ \\SI\n\+ \\a\EOT\ETX\ETX\NUL\STX\STX\ETX\DC2\EOT\201\SOHAB\n\+ \\132\SOH\n\+ \\ACK\EOT\ETX\ETX\NUL\STX\ETX\DC2\EOT\205\SOH\EOT(\SUBt dropped_attributes_count is the number of dropped attributes. If the value is 0,\n\+ \ then no attributes were dropped.\n\+ \\n\+ \\SI\n\+ \\a\EOT\ETX\ETX\NUL\STX\ETX\ENQ\DC2\EOT\205\SOH\EOT\n\+ \\n\+ \\SI\n\+ \\a\EOT\ETX\ETX\NUL\STX\ETX\SOH\DC2\EOT\205\SOH\v#\n\+ \\SI\n\+ \\a\EOT\ETX\ETX\NUL\STX\ETX\ETX\DC2\EOT\205\SOH&'\n\+ \6\n\+ \\EOT\EOT\ETX\STX\n\+ \\DC2\EOT\209\SOH\STX\GS\SUB( events is a collection of Event items.\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\n\+ \\EOT\DC2\EOT\209\SOH\STX\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\n\+ \\ACK\DC2\EOT\209\SOH\v\DLE\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\n\+ \\SOH\DC2\EOT\209\SOH\DC1\ETB\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\n\+ \\ETX\DC2\EOT\209\SOH\SUB\FS\n\+ \v\n\+ \\EOT\EOT\ETX\STX\v\DC2\EOT\213\SOH\STX#\SUBh dropped_events_count is the number of dropped events. If the value is 0, then no\n\+ \ events were dropped.\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\v\ENQ\DC2\EOT\213\SOH\STX\b\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\v\SOH\DC2\EOT\213\SOH\t\GS\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\v\ETX\DC2\EOT\213\SOH \"\n\+ \\182\STX\n\+ \\EOT\EOT\ETX\ETX\SOH\DC2\ACK\219\SOH\STX\238\SOH\ETX\SUB\165\STX A pointer from the current span to another span in the same trace or in a\n\+ \ different trace. For example, this can be used in batching operations,\n\+ \ where a single batch handler processes multiple requests from different\n\+ \ traces or when the handler receives a request from a different project.\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\ETX\ETX\SOH\SOH\DC2\EOT\219\SOH\n\+ \\SO\n\+ \n\n\+ \\ACK\EOT\ETX\ETX\SOH\STX\NUL\DC2\EOT\222\SOH\EOT\ETB\SUB^ A unique identifier of a trace that this linked span is part of. The ID is a\n\+ \ 16-byte array.\n\+ \\n\+ \\SI\n\+ \\a\EOT\ETX\ETX\SOH\STX\NUL\ENQ\DC2\EOT\222\SOH\EOT\t\n\+ \\SI\n\+ \\a\EOT\ETX\ETX\SOH\STX\NUL\SOH\DC2\EOT\222\SOH\n\+ \\DC2\n\+ \\SI\n\+ \\a\EOT\ETX\ETX\SOH\STX\NUL\ETX\DC2\EOT\222\SOH\NAK\SYN\n\+ \U\n\+ \\ACK\EOT\ETX\ETX\SOH\STX\SOH\DC2\EOT\225\SOH\EOT\SYN\SUBE A unique identifier for the linked span. The ID is an 8-byte array.\n\+ \\n\+ \\SI\n\+ \\a\EOT\ETX\ETX\SOH\STX\SOH\ENQ\DC2\EOT\225\SOH\EOT\t\n\+ \\SI\n\+ \\a\EOT\ETX\ETX\SOH\STX\SOH\SOH\DC2\EOT\225\SOH\n\+ \\DC1\n\+ \\SI\n\+ \\a\EOT\ETX\ETX\SOH\STX\SOH\ETX\DC2\EOT\225\SOH\DC4\NAK\n\+ \;\n\+ \\ACK\EOT\ETX\ETX\SOH\STX\STX\DC2\EOT\228\SOH\EOT\ESC\SUB+ The trace_state associated with the link.\n\+ \\n\+ \\SI\n\+ \\a\EOT\ETX\ETX\SOH\STX\STX\ENQ\DC2\EOT\228\SOH\EOT\n\+ \\n\+ \\SI\n\+ \\a\EOT\ETX\ETX\SOH\STX\STX\SOH\DC2\EOT\228\SOH\v\SYN\n\+ \\SI\n\+ \\a\EOT\ETX\ETX\SOH\STX\STX\ETX\DC2\EOT\228\SOH\EM\SUB\n\+ \\190\SOH\n\+ \\ACK\EOT\ETX\ETX\SOH\STX\ETX\DC2\EOT\233\SOH\EOTC\SUB\173\SOH attributes is a collection of attribute key/value pairs on the link.\n\+ \ Attribute keys MUST be unique (it is not allowed to have more than one\n\+ \ attribute with the same key).\n\+ \\n\+ \\SI\n\+ \\a\EOT\ETX\ETX\SOH\STX\ETX\EOT\DC2\EOT\233\SOH\EOT\f\n\+ \\SI\n\+ \\a\EOT\ETX\ETX\SOH\STX\ETX\ACK\DC2\EOT\233\SOH\r3\n\+ \\SI\n\+ \\a\EOT\ETX\ETX\SOH\STX\ETX\SOH\DC2\EOT\233\SOH4>\n\+ \\SI\n\+ \\a\EOT\ETX\ETX\SOH\STX\ETX\ETX\DC2\EOT\233\SOHAB\n\+ \\132\SOH\n\+ \\ACK\EOT\ETX\ETX\SOH\STX\EOT\DC2\EOT\237\SOH\EOT(\SUBt dropped_attributes_count is the number of dropped attributes. If the value is 0,\n\+ \ then no attributes were dropped.\n\+ \\n\+ \\SI\n\+ \\a\EOT\ETX\ETX\SOH\STX\EOT\ENQ\DC2\EOT\237\SOH\EOT\n\+ \\n\+ \\SI\n\+ \\a\EOT\ETX\ETX\SOH\STX\EOT\SOH\DC2\EOT\237\SOH\v#\n\+ \\SI\n\+ \\a\EOT\ETX\ETX\SOH\STX\EOT\ETX\DC2\EOT\237\SOH&'\n\+ \~\n\+ \\EOT\EOT\ETX\STX\f\DC2\EOT\242\SOH\STX\ESC\SUBp links is a collection of Links, which are references from this span to a span\n\+ \ in the same or different trace.\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\f\EOT\DC2\EOT\242\SOH\STX\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\f\ACK\DC2\EOT\242\SOH\v\SI\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\f\SOH\DC2\EOT\242\SOH\DLE\NAK\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\f\ETX\DC2\EOT\242\SOH\CAN\SUB\n\+ \\153\SOH\n\+ \\EOT\EOT\ETX\STX\r\DC2\EOT\246\SOH\STX\"\SUB\138\SOH dropped_links_count is the number of dropped links after the maximum size was\n\+ \ enforced. If this value is 0, then no links were dropped.\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\r\ENQ\DC2\EOT\246\SOH\STX\b\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\r\SOH\DC2\EOT\246\SOH\t\FS\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\r\ETX\DC2\EOT\246\SOH\US!\n\+ \\173\SOH\n\+ \\EOT\EOT\ETX\STX\SO\DC2\EOT\250\SOH\STX\NAK\SUB\158\SOH An optional final status for this span. Semantically when Status isn't set, it means\n\+ \ span's status code is unset, i.e. assume STATUS_CODE_UNSET (code = 0).\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\SO\ACK\DC2\EOT\250\SOH\STX\b\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\SO\SOH\DC2\EOT\250\SOH\t\SI\n\+ \\r\n\+ \\ENQ\EOT\ETX\STX\SO\ETX\DC2\EOT\250\SOH\DC2\DC4\n\+ \\154\SOH\n\+ \\STX\EOT\EOT\DC2\ACK\255\SOH\NUL\147\STX\SOH\SUB\139\SOH The Status type defines a logical error model that is suitable for different\n\+ \ programming environments, including REST APIs and RPC APIs.\n\+ \\n\+ \\v\n\+ \\ETX\EOT\EOT\SOH\DC2\EOT\255\SOH\b\SO\n\+ \\v\n\+ \\ETX\EOT\EOT\t\DC2\EOT\128\STX\STX\r\n\+ \\f\n\+ \\EOT\EOT\EOT\t\NUL\DC2\EOT\128\STX\v\f\n\+ \\r\n\+ \\ENQ\EOT\EOT\t\NUL\SOH\DC2\EOT\128\STX\v\f\n\+ \\r\n\+ \\ENQ\EOT\EOT\t\NUL\STX\DC2\EOT\128\STX\v\f\n\+ \@\n\+ \\EOT\EOT\EOT\STX\NUL\DC2\EOT\131\STX\STX\NAK\SUB2 A developer-facing human readable error message.\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\EOT\STX\NUL\ENQ\DC2\EOT\131\STX\STX\b\n\+ \\r\n\+ \\ENQ\EOT\EOT\STX\NUL\SOH\DC2\EOT\131\STX\t\DLE\n\+ \\r\n\+ \\ENQ\EOT\EOT\STX\NUL\ETX\DC2\EOT\131\STX\DC3\DC4\n\+ \\167\SOH\n\+ \\EOT\EOT\EOT\EOT\NUL\DC2\ACK\135\STX\STX\143\STX\ETX\SUB\150\SOH For the semantics of status codes see\n\+ \ https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/api.md#set-status\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\EOT\EOT\NUL\SOH\DC2\EOT\135\STX\a\DC1\n\+ \%\n\+ \\ACK\EOT\EOT\EOT\NUL\STX\NUL\DC2\EOT\137\STX\EOT(\SUB\NAK The default status.\n\+ \\n\+ \\SI\n\+ \\a\EOT\EOT\EOT\NUL\STX\NUL\SOH\DC2\EOT\137\STX\EOT\NAK\n\+ \\SI\n\+ \\a\EOT\EOT\EOT\NUL\STX\NUL\STX\DC2\EOT\137\STX&'\n\+ \w\n\+ \\ACK\EOT\EOT\EOT\NUL\STX\SOH\DC2\EOT\140\STX\EOT(\SUBg The Span has been validated by an Application developer or Operator to \n\+ \ have completed successfully.\n\+ \\n\+ \\SI\n\+ \\a\EOT\EOT\EOT\NUL\STX\SOH\SOH\DC2\EOT\140\STX\EOT\DC2\n\+ \\SI\n\+ \\a\EOT\EOT\EOT\NUL\STX\SOH\STX\DC2\EOT\140\STX&'\n\+ \-\n\+ \\ACK\EOT\EOT\EOT\NUL\STX\STX\DC2\EOT\142\STX\EOT(\SUB\GS The Span contains an error.\n\+ \\n\+ \\SI\n\+ \\a\EOT\EOT\EOT\NUL\STX\STX\SOH\DC2\EOT\142\STX\EOT\NAK\n\+ \\SI\n\+ \\a\EOT\EOT\EOT\NUL\STX\STX\STX\DC2\EOT\142\STX&'\n\+ \ \n\+ \\EOT\EOT\EOT\STX\SOH\DC2\EOT\146\STX\STX\SYN\SUB\DC2 The status code.\n\+ \\n\+ \\r\n\+ \\ENQ\EOT\EOT\STX\SOH\ACK\DC2\EOT\146\STX\STX\f\n\+ \\r\n\+ \\ENQ\EOT\EOT\STX\SOH\SOH\DC2\EOT\146\STX\r\DC1\n\+ \\r\n\+ \\ENQ\EOT\EOT\STX\SOH\ETX\DC2\EOT\146\STX\DC4\NAKb\ACKproto3"
− src/Proto/Opentelemetry/Proto/Trace/V1/TraceConfig.hs
@@ -1,1201 +0,0 @@-{- This file was auto-generated from opentelemetry/proto/trace/v1/trace_config.proto by the proto-lens-protoc program. -}-{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}-{-# OPTIONS_GHC -Wno-unused-imports#-}-{-# OPTIONS_GHC -Wno-duplicate-exports#-}-{-# OPTIONS_GHC -Wno-dodgy-exports#-}-module Proto.Opentelemetry.Proto.Trace.V1.TraceConfig (- ConstantSampler(), ConstantSampler'ConstantDecision(..),- ConstantSampler'ConstantDecision(),- ConstantSampler'ConstantDecision'UnrecognizedValue,- RateLimitingSampler(), TraceConfig(), TraceConfig'Sampler(..),- _TraceConfig'ConstantSampler, _TraceConfig'TraceIdRatioBased,- _TraceConfig'RateLimitingSampler, TraceIdRatioBased()- ) where-import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq-import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism-import qualified Data.ProtoLens.Runtime.Prelude as Prelude-import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int-import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid-import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word-import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens-import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes-import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing-import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe-import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire-import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field-import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum-import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types-import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2-import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked-import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text-import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map-import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString-import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8-import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding-import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector-import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic-import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed-import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read-{- | Fields :- - * 'Proto.Opentelemetry.Proto.Trace.V1.TraceConfig_Fields.decision' @:: Lens' ConstantSampler ConstantSampler'ConstantDecision@ -}-data ConstantSampler- = ConstantSampler'_constructor {_ConstantSampler'decision :: !ConstantSampler'ConstantDecision,- _ConstantSampler'_unknownFields :: !Data.ProtoLens.FieldSet}- deriving stock (Prelude.Eq, Prelude.Ord)-instance Prelude.Show ConstantSampler where- showsPrec _ __x __s- = Prelude.showChar- '{'- (Prelude.showString- (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))-instance Data.ProtoLens.Field.HasField ConstantSampler "decision" ConstantSampler'ConstantDecision where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _ConstantSampler'decision- (\ x__ y__ -> x__ {_ConstantSampler'decision = y__}))- Prelude.id-instance Data.ProtoLens.Message ConstantSampler where- messageName _- = Data.Text.pack "opentelemetry.proto.trace.v1.ConstantSampler"- packedMessageDescriptor _- = "\n\- \\SIConstantSampler\DC2Z\n\- \\bdecision\CAN\SOH \SOH(\SO2>.opentelemetry.proto.trace.v1.ConstantSampler.ConstantDecisionR\bdecision\"D\n\- \\DLEConstantDecision\DC2\SO\n\- \\n\- \ALWAYS_OFF\DLE\NUL\DC2\r\n\- \\tALWAYS_ON\DLE\SOH\DC2\DC1\n\- \\rALWAYS_PARENT\DLE\STX"- packedFileDescriptor _ = packedFileDescriptor- fieldsByTag- = let- decision__field_descriptor- = Data.ProtoLens.FieldDescriptor- "decision"- (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::- Data.ProtoLens.FieldTypeDescriptor ConstantSampler'ConstantDecision)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional- (Data.ProtoLens.Field.field @"decision")) ::- Data.ProtoLens.FieldDescriptor ConstantSampler- in- Data.Map.fromList- [(Data.ProtoLens.Tag 1, decision__field_descriptor)]- unknownFields- = Lens.Family2.Unchecked.lens- _ConstantSampler'_unknownFields- (\ x__ y__ -> x__ {_ConstantSampler'_unknownFields = y__})- defMessage- = ConstantSampler'_constructor- {_ConstantSampler'decision = Data.ProtoLens.fieldDefault,- _ConstantSampler'_unknownFields = []}- parseMessage- = let- loop ::- ConstantSampler- -> Data.ProtoLens.Encoding.Bytes.Parser ConstantSampler- loop x- = do end <- Data.ProtoLens.Encoding.Bytes.atEnd- if end then- do (let missing = []- in- if Prelude.null missing then- Prelude.return ()- else- Prelude.fail- ((Prelude.++)- "Missing required fields: "- (Prelude.show (missing :: [Prelude.String]))))- Prelude.return- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)- else- do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt- case tag of- 8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (Prelude.fmap- Prelude.toEnum- (Prelude.fmap- Prelude.fromIntegral- Data.ProtoLens.Encoding.Bytes.getVarInt))- "decision"- loop- (Lens.Family2.set (Data.ProtoLens.Field.field @"decision") y x)- wire- -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire- wire- loop- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)- in- (Data.ProtoLens.Encoding.Bytes.<?>)- (do loop Data.ProtoLens.defMessage) "ConstantSampler"- buildMessage- = \ _x- -> (Data.Monoid.<>)- (let- _v = Lens.Family2.view (Data.ProtoLens.Field.field @"decision") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 8)- ((Prelude..)- ((Prelude..)- Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)- Prelude.fromEnum _v))- (Data.ProtoLens.Encoding.Wire.buildFieldSet- (Lens.Family2.view Data.ProtoLens.unknownFields _x))-instance Control.DeepSeq.NFData ConstantSampler where- rnf- = \ x__- -> Control.DeepSeq.deepseq- (_ConstantSampler'_unknownFields x__)- (Control.DeepSeq.deepseq (_ConstantSampler'decision x__) ())-newtype ConstantSampler'ConstantDecision'UnrecognizedValue- = ConstantSampler'ConstantDecision'UnrecognizedValue Data.Int.Int32- deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)-data ConstantSampler'ConstantDecision- = ConstantSampler'ALWAYS_OFF |- ConstantSampler'ALWAYS_ON |- ConstantSampler'ALWAYS_PARENT |- ConstantSampler'ConstantDecision'Unrecognized !ConstantSampler'ConstantDecision'UnrecognizedValue- deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)-instance Data.ProtoLens.MessageEnum ConstantSampler'ConstantDecision where- maybeToEnum 0 = Prelude.Just ConstantSampler'ALWAYS_OFF- maybeToEnum 1 = Prelude.Just ConstantSampler'ALWAYS_ON- maybeToEnum 2 = Prelude.Just ConstantSampler'ALWAYS_PARENT- maybeToEnum k- = Prelude.Just- (ConstantSampler'ConstantDecision'Unrecognized- (ConstantSampler'ConstantDecision'UnrecognizedValue- (Prelude.fromIntegral k)))- showEnum ConstantSampler'ALWAYS_OFF = "ALWAYS_OFF"- showEnum ConstantSampler'ALWAYS_ON = "ALWAYS_ON"- showEnum ConstantSampler'ALWAYS_PARENT = "ALWAYS_PARENT"- showEnum- (ConstantSampler'ConstantDecision'Unrecognized (ConstantSampler'ConstantDecision'UnrecognizedValue k))- = Prelude.show k- readEnum k- | (Prelude.==) k "ALWAYS_OFF"- = Prelude.Just ConstantSampler'ALWAYS_OFF- | (Prelude.==) k "ALWAYS_ON"- = Prelude.Just ConstantSampler'ALWAYS_ON- | (Prelude.==) k "ALWAYS_PARENT"- = Prelude.Just ConstantSampler'ALWAYS_PARENT- | Prelude.otherwise- = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum-instance Prelude.Bounded ConstantSampler'ConstantDecision where- minBound = ConstantSampler'ALWAYS_OFF- maxBound = ConstantSampler'ALWAYS_PARENT-instance Prelude.Enum ConstantSampler'ConstantDecision where- toEnum k__- = Prelude.maybe- (Prelude.error- ((Prelude.++)- "toEnum: unknown value for enum ConstantDecision: "- (Prelude.show k__)))- Prelude.id (Data.ProtoLens.maybeToEnum k__)- fromEnum ConstantSampler'ALWAYS_OFF = 0- fromEnum ConstantSampler'ALWAYS_ON = 1- fromEnum ConstantSampler'ALWAYS_PARENT = 2- fromEnum- (ConstantSampler'ConstantDecision'Unrecognized (ConstantSampler'ConstantDecision'UnrecognizedValue k))- = Prelude.fromIntegral k- succ ConstantSampler'ALWAYS_PARENT- = Prelude.error- "ConstantSampler'ConstantDecision.succ: bad argument ConstantSampler'ALWAYS_PARENT. This value would be out of bounds."- succ ConstantSampler'ALWAYS_OFF = ConstantSampler'ALWAYS_ON- succ ConstantSampler'ALWAYS_ON = ConstantSampler'ALWAYS_PARENT- succ (ConstantSampler'ConstantDecision'Unrecognized _)- = Prelude.error- "ConstantSampler'ConstantDecision.succ: bad argument: unrecognized value"- pred ConstantSampler'ALWAYS_OFF- = Prelude.error- "ConstantSampler'ConstantDecision.pred: bad argument ConstantSampler'ALWAYS_OFF. This value would be out of bounds."- pred ConstantSampler'ALWAYS_ON = ConstantSampler'ALWAYS_OFF- pred ConstantSampler'ALWAYS_PARENT = ConstantSampler'ALWAYS_ON- pred (ConstantSampler'ConstantDecision'Unrecognized _)- = Prelude.error- "ConstantSampler'ConstantDecision.pred: bad argument: unrecognized value"- enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom- enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo- enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen- enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo-instance Data.ProtoLens.FieldDefault ConstantSampler'ConstantDecision where- fieldDefault = ConstantSampler'ALWAYS_OFF-instance Control.DeepSeq.NFData ConstantSampler'ConstantDecision where- rnf x__ = Prelude.seq x__ ()-{- | Fields :- - * 'Proto.Opentelemetry.Proto.Trace.V1.TraceConfig_Fields.qps' @:: Lens' RateLimitingSampler Data.Int.Int64@ -}-data RateLimitingSampler- = RateLimitingSampler'_constructor {_RateLimitingSampler'qps :: !Data.Int.Int64,- _RateLimitingSampler'_unknownFields :: !Data.ProtoLens.FieldSet}- deriving stock (Prelude.Eq, Prelude.Ord)-instance Prelude.Show RateLimitingSampler where- showsPrec _ __x __s- = Prelude.showChar- '{'- (Prelude.showString- (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))-instance Data.ProtoLens.Field.HasField RateLimitingSampler "qps" Data.Int.Int64 where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _RateLimitingSampler'qps- (\ x__ y__ -> x__ {_RateLimitingSampler'qps = y__}))- Prelude.id-instance Data.ProtoLens.Message RateLimitingSampler where- messageName _- = Data.Text.pack "opentelemetry.proto.trace.v1.RateLimitingSampler"- packedMessageDescriptor _- = "\n\- \\DC3RateLimitingSampler\DC2\DLE\n\- \\ETXqps\CAN\SOH \SOH(\ETXR\ETXqps"- packedFileDescriptor _ = packedFileDescriptor- fieldsByTag- = let- qps__field_descriptor- = Data.ProtoLens.FieldDescriptor- "qps"- (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::- Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"qps")) ::- Data.ProtoLens.FieldDescriptor RateLimitingSampler- in- Data.Map.fromList [(Data.ProtoLens.Tag 1, qps__field_descriptor)]- unknownFields- = Lens.Family2.Unchecked.lens- _RateLimitingSampler'_unknownFields- (\ x__ y__ -> x__ {_RateLimitingSampler'_unknownFields = y__})- defMessage- = RateLimitingSampler'_constructor- {_RateLimitingSampler'qps = Data.ProtoLens.fieldDefault,- _RateLimitingSampler'_unknownFields = []}- parseMessage- = let- loop ::- RateLimitingSampler- -> Data.ProtoLens.Encoding.Bytes.Parser RateLimitingSampler- loop x- = do end <- Data.ProtoLens.Encoding.Bytes.atEnd- if end then- do (let missing = []- in- if Prelude.null missing then- Prelude.return ()- else- Prelude.fail- ((Prelude.++)- "Missing required fields: "- (Prelude.show (missing :: [Prelude.String]))))- Prelude.return- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)- else- do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt- case tag of- 8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (Prelude.fmap- Prelude.fromIntegral- Data.ProtoLens.Encoding.Bytes.getVarInt)- "qps"- loop (Lens.Family2.set (Data.ProtoLens.Field.field @"qps") y x)- wire- -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire- wire- loop- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)- in- (Data.ProtoLens.Encoding.Bytes.<?>)- (do loop Data.ProtoLens.defMessage) "RateLimitingSampler"- buildMessage- = \ _x- -> (Data.Monoid.<>)- (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"qps") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 8)- ((Prelude..)- Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))- (Data.ProtoLens.Encoding.Wire.buildFieldSet- (Lens.Family2.view Data.ProtoLens.unknownFields _x))-instance Control.DeepSeq.NFData RateLimitingSampler where- rnf- = \ x__- -> Control.DeepSeq.deepseq- (_RateLimitingSampler'_unknownFields x__)- (Control.DeepSeq.deepseq (_RateLimitingSampler'qps x__) ())-{- | Fields :- - * 'Proto.Opentelemetry.Proto.Trace.V1.TraceConfig_Fields.maxNumberOfAttributes' @:: Lens' TraceConfig Data.Int.Int64@- * 'Proto.Opentelemetry.Proto.Trace.V1.TraceConfig_Fields.maxNumberOfTimedEvents' @:: Lens' TraceConfig Data.Int.Int64@- * 'Proto.Opentelemetry.Proto.Trace.V1.TraceConfig_Fields.maxNumberOfAttributesPerTimedEvent' @:: Lens' TraceConfig Data.Int.Int64@- * 'Proto.Opentelemetry.Proto.Trace.V1.TraceConfig_Fields.maxNumberOfLinks' @:: Lens' TraceConfig Data.Int.Int64@- * 'Proto.Opentelemetry.Proto.Trace.V1.TraceConfig_Fields.maxNumberOfAttributesPerLink' @:: Lens' TraceConfig Data.Int.Int64@- * 'Proto.Opentelemetry.Proto.Trace.V1.TraceConfig_Fields.maybe'sampler' @:: Lens' TraceConfig (Prelude.Maybe TraceConfig'Sampler)@- * 'Proto.Opentelemetry.Proto.Trace.V1.TraceConfig_Fields.maybe'constantSampler' @:: Lens' TraceConfig (Prelude.Maybe ConstantSampler)@- * 'Proto.Opentelemetry.Proto.Trace.V1.TraceConfig_Fields.constantSampler' @:: Lens' TraceConfig ConstantSampler@- * 'Proto.Opentelemetry.Proto.Trace.V1.TraceConfig_Fields.maybe'traceIdRatioBased' @:: Lens' TraceConfig (Prelude.Maybe TraceIdRatioBased)@- * 'Proto.Opentelemetry.Proto.Trace.V1.TraceConfig_Fields.traceIdRatioBased' @:: Lens' TraceConfig TraceIdRatioBased@- * 'Proto.Opentelemetry.Proto.Trace.V1.TraceConfig_Fields.maybe'rateLimitingSampler' @:: Lens' TraceConfig (Prelude.Maybe RateLimitingSampler)@- * 'Proto.Opentelemetry.Proto.Trace.V1.TraceConfig_Fields.rateLimitingSampler' @:: Lens' TraceConfig RateLimitingSampler@ -}-data TraceConfig- = TraceConfig'_constructor {_TraceConfig'maxNumberOfAttributes :: !Data.Int.Int64,- _TraceConfig'maxNumberOfTimedEvents :: !Data.Int.Int64,- _TraceConfig'maxNumberOfAttributesPerTimedEvent :: !Data.Int.Int64,- _TraceConfig'maxNumberOfLinks :: !Data.Int.Int64,- _TraceConfig'maxNumberOfAttributesPerLink :: !Data.Int.Int64,- _TraceConfig'sampler :: !(Prelude.Maybe TraceConfig'Sampler),- _TraceConfig'_unknownFields :: !Data.ProtoLens.FieldSet}- deriving stock (Prelude.Eq, Prelude.Ord)-instance Prelude.Show TraceConfig where- showsPrec _ __x __s- = Prelude.showChar- '{'- (Prelude.showString- (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))-data TraceConfig'Sampler- = TraceConfig'ConstantSampler !ConstantSampler |- TraceConfig'TraceIdRatioBased !TraceIdRatioBased |- TraceConfig'RateLimitingSampler !RateLimitingSampler- deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)-instance Data.ProtoLens.Field.HasField TraceConfig "maxNumberOfAttributes" Data.Int.Int64 where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _TraceConfig'maxNumberOfAttributes- (\ x__ y__ -> x__ {_TraceConfig'maxNumberOfAttributes = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField TraceConfig "maxNumberOfTimedEvents" Data.Int.Int64 where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _TraceConfig'maxNumberOfTimedEvents- (\ x__ y__ -> x__ {_TraceConfig'maxNumberOfTimedEvents = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField TraceConfig "maxNumberOfAttributesPerTimedEvent" Data.Int.Int64 where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _TraceConfig'maxNumberOfAttributesPerTimedEvent- (\ x__ y__- -> x__ {_TraceConfig'maxNumberOfAttributesPerTimedEvent = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField TraceConfig "maxNumberOfLinks" Data.Int.Int64 where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _TraceConfig'maxNumberOfLinks- (\ x__ y__ -> x__ {_TraceConfig'maxNumberOfLinks = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField TraceConfig "maxNumberOfAttributesPerLink" Data.Int.Int64 where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _TraceConfig'maxNumberOfAttributesPerLink- (\ x__ y__- -> x__ {_TraceConfig'maxNumberOfAttributesPerLink = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField TraceConfig "maybe'sampler" (Prelude.Maybe TraceConfig'Sampler) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _TraceConfig'sampler- (\ x__ y__ -> x__ {_TraceConfig'sampler = y__}))- Prelude.id-instance Data.ProtoLens.Field.HasField TraceConfig "maybe'constantSampler" (Prelude.Maybe ConstantSampler) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _TraceConfig'sampler- (\ x__ y__ -> x__ {_TraceConfig'sampler = y__}))- (Lens.Family2.Unchecked.lens- (\ x__- -> case x__ of- (Prelude.Just (TraceConfig'ConstantSampler x__val))- -> Prelude.Just x__val- _otherwise -> Prelude.Nothing)- (\ _ y__ -> Prelude.fmap TraceConfig'ConstantSampler y__))-instance Data.ProtoLens.Field.HasField TraceConfig "constantSampler" ConstantSampler where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _TraceConfig'sampler- (\ x__ y__ -> x__ {_TraceConfig'sampler = y__}))- ((Prelude..)- (Lens.Family2.Unchecked.lens- (\ x__- -> case x__ of- (Prelude.Just (TraceConfig'ConstantSampler x__val))- -> Prelude.Just x__val- _otherwise -> Prelude.Nothing)- (\ _ y__ -> Prelude.fmap TraceConfig'ConstantSampler y__))- (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))-instance Data.ProtoLens.Field.HasField TraceConfig "maybe'traceIdRatioBased" (Prelude.Maybe TraceIdRatioBased) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _TraceConfig'sampler- (\ x__ y__ -> x__ {_TraceConfig'sampler = y__}))- (Lens.Family2.Unchecked.lens- (\ x__- -> case x__ of- (Prelude.Just (TraceConfig'TraceIdRatioBased x__val))- -> Prelude.Just x__val- _otherwise -> Prelude.Nothing)- (\ _ y__ -> Prelude.fmap TraceConfig'TraceIdRatioBased y__))-instance Data.ProtoLens.Field.HasField TraceConfig "traceIdRatioBased" TraceIdRatioBased where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _TraceConfig'sampler- (\ x__ y__ -> x__ {_TraceConfig'sampler = y__}))- ((Prelude..)- (Lens.Family2.Unchecked.lens- (\ x__- -> case x__ of- (Prelude.Just (TraceConfig'TraceIdRatioBased x__val))- -> Prelude.Just x__val- _otherwise -> Prelude.Nothing)- (\ _ y__ -> Prelude.fmap TraceConfig'TraceIdRatioBased y__))- (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))-instance Data.ProtoLens.Field.HasField TraceConfig "maybe'rateLimitingSampler" (Prelude.Maybe RateLimitingSampler) where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _TraceConfig'sampler- (\ x__ y__ -> x__ {_TraceConfig'sampler = y__}))- (Lens.Family2.Unchecked.lens- (\ x__- -> case x__ of- (Prelude.Just (TraceConfig'RateLimitingSampler x__val))- -> Prelude.Just x__val- _otherwise -> Prelude.Nothing)- (\ _ y__ -> Prelude.fmap TraceConfig'RateLimitingSampler y__))-instance Data.ProtoLens.Field.HasField TraceConfig "rateLimitingSampler" RateLimitingSampler where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _TraceConfig'sampler- (\ x__ y__ -> x__ {_TraceConfig'sampler = y__}))- ((Prelude..)- (Lens.Family2.Unchecked.lens- (\ x__- -> case x__ of- (Prelude.Just (TraceConfig'RateLimitingSampler x__val))- -> Prelude.Just x__val- _otherwise -> Prelude.Nothing)- (\ _ y__ -> Prelude.fmap TraceConfig'RateLimitingSampler y__))- (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))-instance Data.ProtoLens.Message TraceConfig where- messageName _- = Data.Text.pack "opentelemetry.proto.trace.v1.TraceConfig"- packedMessageDescriptor _- = "\n\- \\vTraceConfig\DC2Z\n\- \\DLEconstant_sampler\CAN\SOH \SOH(\v2-.opentelemetry.proto.trace.v1.ConstantSamplerH\NULR\SIconstantSampler\DC2b\n\- \\DC4trace_id_ratio_based\CAN\STX \SOH(\v2/.opentelemetry.proto.trace.v1.TraceIdRatioBasedH\NULR\DC1traceIdRatioBased\DC2g\n\- \\NAKrate_limiting_sampler\CAN\ETX \SOH(\v21.opentelemetry.proto.trace.v1.RateLimitingSamplerH\NULR\DC3rateLimitingSampler\DC27\n\- \\CANmax_number_of_attributes\CAN\EOT \SOH(\ETXR\NAKmaxNumberOfAttributes\DC2:\n\- \\SUBmax_number_of_timed_events\CAN\ENQ \SOH(\ETXR\SYNmaxNumberOfTimedEvents\DC2T\n\- \(max_number_of_attributes_per_timed_event\CAN\ACK \SOH(\ETXR\"maxNumberOfAttributesPerTimedEvent\DC2-\n\- \\DC3max_number_of_links\CAN\a \SOH(\ETXR\DLEmaxNumberOfLinks\DC2G\n\- \!max_number_of_attributes_per_link\CAN\b \SOH(\ETXR\FSmaxNumberOfAttributesPerLinkB\t\n\- \\asampler"- packedFileDescriptor _ = packedFileDescriptor- fieldsByTag- = let- maxNumberOfAttributes__field_descriptor- = Data.ProtoLens.FieldDescriptor- "max_number_of_attributes"- (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::- Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional- (Data.ProtoLens.Field.field @"maxNumberOfAttributes")) ::- Data.ProtoLens.FieldDescriptor TraceConfig- maxNumberOfTimedEvents__field_descriptor- = Data.ProtoLens.FieldDescriptor- "max_number_of_timed_events"- (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::- Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional- (Data.ProtoLens.Field.field @"maxNumberOfTimedEvents")) ::- Data.ProtoLens.FieldDescriptor TraceConfig- maxNumberOfAttributesPerTimedEvent__field_descriptor- = Data.ProtoLens.FieldDescriptor- "max_number_of_attributes_per_timed_event"- (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::- Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional- (Data.ProtoLens.Field.field- @"maxNumberOfAttributesPerTimedEvent")) ::- Data.ProtoLens.FieldDescriptor TraceConfig- maxNumberOfLinks__field_descriptor- = Data.ProtoLens.FieldDescriptor- "max_number_of_links"- (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::- Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional- (Data.ProtoLens.Field.field @"maxNumberOfLinks")) ::- Data.ProtoLens.FieldDescriptor TraceConfig- maxNumberOfAttributesPerLink__field_descriptor- = Data.ProtoLens.FieldDescriptor- "max_number_of_attributes_per_link"- (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::- Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional- (Data.ProtoLens.Field.field @"maxNumberOfAttributesPerLink")) ::- Data.ProtoLens.FieldDescriptor TraceConfig- constantSampler__field_descriptor- = Data.ProtoLens.FieldDescriptor- "constant_sampler"- (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::- Data.ProtoLens.FieldTypeDescriptor ConstantSampler)- (Data.ProtoLens.OptionalField- (Data.ProtoLens.Field.field @"maybe'constantSampler")) ::- Data.ProtoLens.FieldDescriptor TraceConfig- traceIdRatioBased__field_descriptor- = Data.ProtoLens.FieldDescriptor- "trace_id_ratio_based"- (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::- Data.ProtoLens.FieldTypeDescriptor TraceIdRatioBased)- (Data.ProtoLens.OptionalField- (Data.ProtoLens.Field.field @"maybe'traceIdRatioBased")) ::- Data.ProtoLens.FieldDescriptor TraceConfig- rateLimitingSampler__field_descriptor- = Data.ProtoLens.FieldDescriptor- "rate_limiting_sampler"- (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::- Data.ProtoLens.FieldTypeDescriptor RateLimitingSampler)- (Data.ProtoLens.OptionalField- (Data.ProtoLens.Field.field @"maybe'rateLimitingSampler")) ::- Data.ProtoLens.FieldDescriptor TraceConfig- in- Data.Map.fromList- [(Data.ProtoLens.Tag 4, maxNumberOfAttributes__field_descriptor),- (Data.ProtoLens.Tag 5, maxNumberOfTimedEvents__field_descriptor),- (Data.ProtoLens.Tag 6, - maxNumberOfAttributesPerTimedEvent__field_descriptor),- (Data.ProtoLens.Tag 7, maxNumberOfLinks__field_descriptor),- (Data.ProtoLens.Tag 8, - maxNumberOfAttributesPerLink__field_descriptor),- (Data.ProtoLens.Tag 1, constantSampler__field_descriptor),- (Data.ProtoLens.Tag 2, traceIdRatioBased__field_descriptor),- (Data.ProtoLens.Tag 3, rateLimitingSampler__field_descriptor)]- unknownFields- = Lens.Family2.Unchecked.lens- _TraceConfig'_unknownFields- (\ x__ y__ -> x__ {_TraceConfig'_unknownFields = y__})- defMessage- = TraceConfig'_constructor- {_TraceConfig'maxNumberOfAttributes = Data.ProtoLens.fieldDefault,- _TraceConfig'maxNumberOfTimedEvents = Data.ProtoLens.fieldDefault,- _TraceConfig'maxNumberOfAttributesPerTimedEvent = Data.ProtoLens.fieldDefault,- _TraceConfig'maxNumberOfLinks = Data.ProtoLens.fieldDefault,- _TraceConfig'maxNumberOfAttributesPerLink = Data.ProtoLens.fieldDefault,- _TraceConfig'sampler = Prelude.Nothing,- _TraceConfig'_unknownFields = []}- parseMessage- = let- loop ::- TraceConfig -> Data.ProtoLens.Encoding.Bytes.Parser TraceConfig- loop x- = do end <- Data.ProtoLens.Encoding.Bytes.atEnd- if end then- do (let missing = []- in- if Prelude.null missing then- Prelude.return ()- else- Prelude.fail- ((Prelude.++)- "Missing required fields: "- (Prelude.show (missing :: [Prelude.String]))))- Prelude.return- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)- else- do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt- case tag of- 32- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (Prelude.fmap- Prelude.fromIntegral- Data.ProtoLens.Encoding.Bytes.getVarInt)- "max_number_of_attributes"- loop- (Lens.Family2.set- (Data.ProtoLens.Field.field @"maxNumberOfAttributes") y x)- 40- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (Prelude.fmap- Prelude.fromIntegral- Data.ProtoLens.Encoding.Bytes.getVarInt)- "max_number_of_timed_events"- loop- (Lens.Family2.set- (Data.ProtoLens.Field.field @"maxNumberOfTimedEvents") y x)- 48- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (Prelude.fmap- Prelude.fromIntegral- Data.ProtoLens.Encoding.Bytes.getVarInt)- "max_number_of_attributes_per_timed_event"- loop- (Lens.Family2.set- (Data.ProtoLens.Field.field- @"maxNumberOfAttributesPerTimedEvent")- y x)- 56- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (Prelude.fmap- Prelude.fromIntegral- Data.ProtoLens.Encoding.Bytes.getVarInt)- "max_number_of_links"- loop- (Lens.Family2.set- (Data.ProtoLens.Field.field @"maxNumberOfLinks") y x)- 64- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (Prelude.fmap- Prelude.fromIntegral- Data.ProtoLens.Encoding.Bytes.getVarInt)- "max_number_of_attributes_per_link"- loop- (Lens.Family2.set- (Data.ProtoLens.Field.field @"maxNumberOfAttributesPerLink") y- x)- 10- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)- "constant_sampler"- loop- (Lens.Family2.set- (Data.ProtoLens.Field.field @"constantSampler") y x)- 18- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)- "trace_id_ratio_based"- loop- (Lens.Family2.set- (Data.ProtoLens.Field.field @"traceIdRatioBased") y x)- 26- -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt- Data.ProtoLens.Encoding.Bytes.isolate- (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)- "rate_limiting_sampler"- loop- (Lens.Family2.set- (Data.ProtoLens.Field.field @"rateLimitingSampler") y x)- wire- -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire- wire- loop- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)- in- (Data.ProtoLens.Encoding.Bytes.<?>)- (do loop Data.ProtoLens.defMessage) "TraceConfig"- buildMessage- = \ _x- -> (Data.Monoid.<>)- (let- _v- = Lens.Family2.view- (Data.ProtoLens.Field.field @"maxNumberOfAttributes") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 32)- ((Prelude..)- Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))- ((Data.Monoid.<>)- (let- _v- = Lens.Family2.view- (Data.ProtoLens.Field.field @"maxNumberOfTimedEvents") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 40)- ((Prelude..)- Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))- ((Data.Monoid.<>)- (let- _v- = Lens.Family2.view- (Data.ProtoLens.Field.field @"maxNumberOfAttributesPerTimedEvent")- _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 48)- ((Prelude..)- Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))- ((Data.Monoid.<>)- (let- _v- = Lens.Family2.view- (Data.ProtoLens.Field.field @"maxNumberOfLinks") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 56)- ((Prelude..)- Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))- ((Data.Monoid.<>)- (let- _v- = Lens.Family2.view- (Data.ProtoLens.Field.field @"maxNumberOfAttributesPerLink") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 64)- ((Prelude..)- Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral- _v))- ((Data.Monoid.<>)- (case- Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'sampler") _x- of- Prelude.Nothing -> Data.Monoid.mempty- (Prelude.Just (TraceConfig'ConstantSampler v))- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 10)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral- (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.ProtoLens.encodeMessage v)- (Prelude.Just (TraceConfig'TraceIdRatioBased v))- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 18)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral- (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.ProtoLens.encodeMessage v)- (Prelude.Just (TraceConfig'RateLimitingSampler v))- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 26)- ((Prelude..)- (\ bs- -> (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt- (Prelude.fromIntegral- (Data.ByteString.length bs)))- (Data.ProtoLens.Encoding.Bytes.putBytes bs))- Data.ProtoLens.encodeMessage v))- (Data.ProtoLens.Encoding.Wire.buildFieldSet- (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))))-instance Control.DeepSeq.NFData TraceConfig where- rnf- = \ x__- -> Control.DeepSeq.deepseq- (_TraceConfig'_unknownFields x__)- (Control.DeepSeq.deepseq- (_TraceConfig'maxNumberOfAttributes x__)- (Control.DeepSeq.deepseq- (_TraceConfig'maxNumberOfTimedEvents x__)- (Control.DeepSeq.deepseq- (_TraceConfig'maxNumberOfAttributesPerTimedEvent x__)- (Control.DeepSeq.deepseq- (_TraceConfig'maxNumberOfLinks x__)- (Control.DeepSeq.deepseq- (_TraceConfig'maxNumberOfAttributesPerLink x__)- (Control.DeepSeq.deepseq (_TraceConfig'sampler x__) ()))))))-instance Control.DeepSeq.NFData TraceConfig'Sampler where- rnf (TraceConfig'ConstantSampler x__) = Control.DeepSeq.rnf x__- rnf (TraceConfig'TraceIdRatioBased x__) = Control.DeepSeq.rnf x__- rnf (TraceConfig'RateLimitingSampler x__) = Control.DeepSeq.rnf x__-_TraceConfig'ConstantSampler ::- Data.ProtoLens.Prism.Prism' TraceConfig'Sampler ConstantSampler-_TraceConfig'ConstantSampler- = Data.ProtoLens.Prism.prism'- TraceConfig'ConstantSampler- (\ p__- -> case p__ of- (TraceConfig'ConstantSampler p__val) -> Prelude.Just p__val- _otherwise -> Prelude.Nothing)-_TraceConfig'TraceIdRatioBased ::- Data.ProtoLens.Prism.Prism' TraceConfig'Sampler TraceIdRatioBased-_TraceConfig'TraceIdRatioBased- = Data.ProtoLens.Prism.prism'- TraceConfig'TraceIdRatioBased- (\ p__- -> case p__ of- (TraceConfig'TraceIdRatioBased p__val) -> Prelude.Just p__val- _otherwise -> Prelude.Nothing)-_TraceConfig'RateLimitingSampler ::- Data.ProtoLens.Prism.Prism' TraceConfig'Sampler RateLimitingSampler-_TraceConfig'RateLimitingSampler- = Data.ProtoLens.Prism.prism'- TraceConfig'RateLimitingSampler- (\ p__- -> case p__ of- (TraceConfig'RateLimitingSampler p__val) -> Prelude.Just p__val- _otherwise -> Prelude.Nothing)-{- | Fields :- - * 'Proto.Opentelemetry.Proto.Trace.V1.TraceConfig_Fields.samplingRatio' @:: Lens' TraceIdRatioBased Prelude.Double@ -}-data TraceIdRatioBased- = TraceIdRatioBased'_constructor {_TraceIdRatioBased'samplingRatio :: !Prelude.Double,- _TraceIdRatioBased'_unknownFields :: !Data.ProtoLens.FieldSet}- deriving stock (Prelude.Eq, Prelude.Ord)-instance Prelude.Show TraceIdRatioBased where- showsPrec _ __x __s- = Prelude.showChar- '{'- (Prelude.showString- (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))-instance Data.ProtoLens.Field.HasField TraceIdRatioBased "samplingRatio" Prelude.Double where- fieldOf _- = (Prelude..)- (Lens.Family2.Unchecked.lens- _TraceIdRatioBased'samplingRatio- (\ x__ y__ -> x__ {_TraceIdRatioBased'samplingRatio = y__}))- Prelude.id-instance Data.ProtoLens.Message TraceIdRatioBased where- messageName _- = Data.Text.pack "opentelemetry.proto.trace.v1.TraceIdRatioBased"- packedMessageDescriptor _- = "\n\- \\DC1TraceIdRatioBased\DC2$\n\- \\rsamplingRatio\CAN\SOH \SOH(\SOHR\rsamplingRatio"- packedFileDescriptor _ = packedFileDescriptor- fieldsByTag- = let- samplingRatio__field_descriptor- = Data.ProtoLens.FieldDescriptor- "samplingRatio"- (Data.ProtoLens.ScalarField Data.ProtoLens.DoubleField ::- Data.ProtoLens.FieldTypeDescriptor Prelude.Double)- (Data.ProtoLens.PlainField- Data.ProtoLens.Optional- (Data.ProtoLens.Field.field @"samplingRatio")) ::- Data.ProtoLens.FieldDescriptor TraceIdRatioBased- in- Data.Map.fromList- [(Data.ProtoLens.Tag 1, samplingRatio__field_descriptor)]- unknownFields- = Lens.Family2.Unchecked.lens- _TraceIdRatioBased'_unknownFields- (\ x__ y__ -> x__ {_TraceIdRatioBased'_unknownFields = y__})- defMessage- = TraceIdRatioBased'_constructor- {_TraceIdRatioBased'samplingRatio = Data.ProtoLens.fieldDefault,- _TraceIdRatioBased'_unknownFields = []}- parseMessage- = let- loop ::- TraceIdRatioBased- -> Data.ProtoLens.Encoding.Bytes.Parser TraceIdRatioBased- loop x- = do end <- Data.ProtoLens.Encoding.Bytes.atEnd- if end then- do (let missing = []- in- if Prelude.null missing then- Prelude.return ()- else- Prelude.fail- ((Prelude.++)- "Missing required fields: "- (Prelude.show (missing :: [Prelude.String]))))- Prelude.return- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)- else- do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt- case tag of- 9 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)- (Prelude.fmap- Data.ProtoLens.Encoding.Bytes.wordToDouble- Data.ProtoLens.Encoding.Bytes.getFixed64)- "samplingRatio"- loop- (Lens.Family2.set- (Data.ProtoLens.Field.field @"samplingRatio") y x)- wire- -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire- wire- loop- (Lens.Family2.over- Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)- in- (Data.ProtoLens.Encoding.Bytes.<?>)- (do loop Data.ProtoLens.defMessage) "TraceIdRatioBased"- buildMessage- = \ _x- -> (Data.Monoid.<>)- (let- _v- = Lens.Family2.view- (Data.ProtoLens.Field.field @"samplingRatio") _x- in- if (Prelude.==) _v Data.ProtoLens.fieldDefault then- Data.Monoid.mempty- else- (Data.Monoid.<>)- (Data.ProtoLens.Encoding.Bytes.putVarInt 9)- ((Prelude..)- Data.ProtoLens.Encoding.Bytes.putFixed64- Data.ProtoLens.Encoding.Bytes.doubleToWord _v))- (Data.ProtoLens.Encoding.Wire.buildFieldSet- (Lens.Family2.view Data.ProtoLens.unknownFields _x))-instance Control.DeepSeq.NFData TraceIdRatioBased where- rnf- = \ x__- -> Control.DeepSeq.deepseq- (_TraceIdRatioBased'_unknownFields x__)- (Control.DeepSeq.deepseq (_TraceIdRatioBased'samplingRatio x__) ())-packedFileDescriptor :: Data.ByteString.ByteString-packedFileDescriptor- = "\n\- \/opentelemetry/proto/trace/v1/trace_config.proto\DC2\FSopentelemetry.proto.trace.v1\"\132\ENQ\n\- \\vTraceConfig\DC2Z\n\- \\DLEconstant_sampler\CAN\SOH \SOH(\v2-.opentelemetry.proto.trace.v1.ConstantSamplerH\NULR\SIconstantSampler\DC2b\n\- \\DC4trace_id_ratio_based\CAN\STX \SOH(\v2/.opentelemetry.proto.trace.v1.TraceIdRatioBasedH\NULR\DC1traceIdRatioBased\DC2g\n\- \\NAKrate_limiting_sampler\CAN\ETX \SOH(\v21.opentelemetry.proto.trace.v1.RateLimitingSamplerH\NULR\DC3rateLimitingSampler\DC27\n\- \\CANmax_number_of_attributes\CAN\EOT \SOH(\ETXR\NAKmaxNumberOfAttributes\DC2:\n\- \\SUBmax_number_of_timed_events\CAN\ENQ \SOH(\ETXR\SYNmaxNumberOfTimedEvents\DC2T\n\- \(max_number_of_attributes_per_timed_event\CAN\ACK \SOH(\ETXR\"maxNumberOfAttributesPerTimedEvent\DC2-\n\- \\DC3max_number_of_links\CAN\a \SOH(\ETXR\DLEmaxNumberOfLinks\DC2G\n\- \!max_number_of_attributes_per_link\CAN\b \SOH(\ETXR\FSmaxNumberOfAttributesPerLinkB\t\n\- \\asampler\"\179\SOH\n\- \\SIConstantSampler\DC2Z\n\- \\bdecision\CAN\SOH \SOH(\SO2>.opentelemetry.proto.trace.v1.ConstantSampler.ConstantDecisionR\bdecision\"D\n\- \\DLEConstantDecision\DC2\SO\n\- \\n\- \ALWAYS_OFF\DLE\NUL\DC2\r\n\- \\tALWAYS_ON\DLE\SOH\DC2\DC1\n\- \\rALWAYS_PARENT\DLE\STX\"9\n\- \\DC1TraceIdRatioBased\DC2$\n\- \\rsamplingRatio\CAN\SOH \SOH(\SOHR\rsamplingRatio\"'\n\- \\DC3RateLimitingSampler\DC2\DLE\n\- \\ETXqps\CAN\SOH \SOH(\ETXR\ETXqpsB~\n\- \\USio.opentelemetry.proto.trace.v1B\DLETraceConfigProtoP\SOHZGgithub.com/open-telemetry/opentelemetry-proto/gen/go/collector/trace/v1J\139\DC4\n\- \\ACK\DC2\EOT\SO\NULM\SOH\n\- \\200\EOT\n\- \\SOH\f\DC2\ETX\SO\NUL\DC22\189\EOT Copyright 2019, OpenTelemetry Authors\n\- \\n\- \ Licensed under the Apache License, Version 2.0 (the \"License\");\n\- \ you may not use this file except in compliance with the License.\n\- \ You may obtain a copy of the License at\n\- \\n\- \ http://www.apache.org/licenses/LICENSE-2.0\n\- \\n\- \ Unless required by applicable law or agreed to in writing, software\n\- \ distributed under the License is distributed on an \"AS IS\" BASIS,\n\- \ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\- \ See the License for the specific language governing permissions and\n\- \ limitations under the License.\n\- \\n\- \\b\n\- \\SOH\STX\DC2\ETX\DLE\NUL%\n\- \\b\n\- \\SOH\b\DC2\ETX\DC2\NUL\"\n\- \\t\n\- \\STX\b\n\- \\DC2\ETX\DC2\NUL\"\n\- \\b\n\- \\SOH\b\DC2\ETX\DC3\NUL8\n\- \\t\n\- \\STX\b\SOH\DC2\ETX\DC3\NUL8\n\- \\b\n\- \\SOH\b\DC2\ETX\DC4\NUL1\n\- \\t\n\- \\STX\b\b\DC2\ETX\DC4\NUL1\n\- \\b\n\- \\SOH\b\DC2\ETX\NAK\NUL^\n\- \\t\n\- \\STX\b\v\DC2\ETX\NAK\NUL^\n\- \\145\SOH\n\- \\STX\EOT\NUL\DC2\EOT\EM\NUL2\SOH\SUB\132\SOH Global configuration of the trace service. All fields must be specified, or\n\- \ the default (zero) values will be used for each type.\n\- \\n\- \\n\- \\n\- \\ETX\EOT\NUL\SOH\DC2\ETX\EM\b\DC3\n\- \S\n\- \\EOT\EOT\NUL\b\NUL\DC2\EOT\FS\STX\"\ETX\SUBE The global default sampler used to make decisions on span sampling.\n\- \\n\- \\f\n\- \\ENQ\EOT\NUL\b\NUL\SOH\DC2\ETX\FS\b\SI\n\- \\v\n\- \\EOT\EOT\NUL\STX\NUL\DC2\ETX\GS\EOT)\n\- \\f\n\- \\ENQ\EOT\NUL\STX\NUL\ACK\DC2\ETX\GS\EOT\DC3\n\- \\f\n\- \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX\GS\DC4$\n\- \\f\n\- \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX\GS'(\n\- \\v\n\- \\EOT\EOT\NUL\STX\SOH\DC2\ETX\US\EOT/\n\- \\f\n\- \\ENQ\EOT\NUL\STX\SOH\ACK\DC2\ETX\US\EOT\NAK\n\- \\f\n\- \\ENQ\EOT\NUL\STX\SOH\SOH\DC2\ETX\US\SYN*\n\- \\f\n\- \\ENQ\EOT\NUL\STX\SOH\ETX\DC2\ETX\US-.\n\- \\v\n\- \\EOT\EOT\NUL\STX\STX\DC2\ETX!\EOT2\n\- \\f\n\- \\ENQ\EOT\NUL\STX\STX\ACK\DC2\ETX!\EOT\ETB\n\- \\f\n\- \\ENQ\EOT\NUL\STX\STX\SOH\DC2\ETX!\CAN-\n\- \\f\n\- \\ENQ\EOT\NUL\STX\STX\ETX\DC2\ETX!01\n\- \D\n\- \\EOT\EOT\NUL\STX\ETX\DC2\ETX%\STX%\SUB7 The global default max number of attributes per span.\n\- \\n\- \\f\n\- \\ENQ\EOT\NUL\STX\ETX\ENQ\DC2\ETX%\STX\a\n\- \\f\n\- \\ENQ\EOT\NUL\STX\ETX\SOH\DC2\ETX%\b \n\- \\f\n\- \\ENQ\EOT\NUL\STX\ETX\ETX\DC2\ETX%#$\n\- \K\n\- \\EOT\EOT\NUL\STX\EOT\DC2\ETX(\STX&\SUB> The global default max number of annotation events per span.\n\- \\n\- \\f\n\- \\ENQ\EOT\NUL\STX\EOT\ENQ\DC2\ETX(\STX\a\n\- \\f\n\- \\ENQ\EOT\NUL\STX\EOT\SOH\DC2\ETX(\b\"\n\- \\f\n\- \\ENQ\EOT\NUL\STX\EOT\ETX\DC2\ETX($%\n\- \K\n\- \\EOT\EOT\NUL\STX\ENQ\DC2\ETX+\STX5\SUB> The global default max number of attributes per timed event.\n\- \\n\- \\f\n\- \\ENQ\EOT\NUL\STX\ENQ\ENQ\DC2\ETX+\STX\a\n\- \\f\n\- \\ENQ\EOT\NUL\STX\ENQ\SOH\DC2\ETX+\b0\n\- \\f\n\- \\ENQ\EOT\NUL\STX\ENQ\ETX\DC2\ETX+34\n\- \F\n\- \\EOT\EOT\NUL\STX\ACK\DC2\ETX.\STX \SUB9 The global default max number of link entries per span.\n\- \\n\- \\f\n\- \\ENQ\EOT\NUL\STX\ACK\ENQ\DC2\ETX.\STX\a\n\- \\f\n\- \\ENQ\EOT\NUL\STX\ACK\SOH\DC2\ETX.\b\ESC\n\- \\f\n\- \\ENQ\EOT\NUL\STX\ACK\ETX\DC2\ETX.\RS\US\n\- \D\n\- \\EOT\EOT\NUL\STX\a\DC2\ETX1\STX.\SUB7 The global default max number of attributes per span.\n\- \\n\- \\f\n\- \\ENQ\EOT\NUL\STX\a\ENQ\DC2\ETX1\STX\a\n\- \\f\n\- \\ENQ\EOT\NUL\STX\a\SOH\DC2\ETX1\b)\n\- \\f\n\- \\ENQ\EOT\NUL\STX\a\ETX\DC2\ETX1,-\n\- \M\n\- \\STX\EOT\SOH\DC2\EOT5\NUL@\SOH\SUBA Sampler that always makes a constant decision on span sampling.\n\- \\n\- \\n\- \\n\- \\ETX\EOT\SOH\SOH\DC2\ETX5\b\ETB\n\- \\135\SOH\n\- \\EOT\EOT\SOH\EOT\NUL\DC2\EOT:\STX>\ETX\SUBy How spans should be sampled:\n\- \ - Always off\n\- \ - Always on\n\- \ - Always follow the parent Span's decision (off if no parent).\n\- \\n\- \\f\n\- \\ENQ\EOT\SOH\EOT\NUL\SOH\DC2\ETX:\a\ETB\n\- \\r\n\- \\ACK\EOT\SOH\EOT\NUL\STX\NUL\DC2\ETX;\EOT\DC3\n\- \\SO\n\- \\a\EOT\SOH\EOT\NUL\STX\NUL\SOH\DC2\ETX;\EOT\SO\n\- \\SO\n\- \\a\EOT\SOH\EOT\NUL\STX\NUL\STX\DC2\ETX;\DC1\DC2\n\- \\r\n\- \\ACK\EOT\SOH\EOT\NUL\STX\SOH\DC2\ETX<\EOT\DC2\n\- \\SO\n\- \\a\EOT\SOH\EOT\NUL\STX\SOH\SOH\DC2\ETX<\EOT\r\n\- \\SO\n\- \\a\EOT\SOH\EOT\NUL\STX\SOH\STX\DC2\ETX<\DLE\DC1\n\- \\r\n\- \\ACK\EOT\SOH\EOT\NUL\STX\STX\DC2\ETX=\EOT\SYN\n\- \\SO\n\- \\a\EOT\SOH\EOT\NUL\STX\STX\SOH\DC2\ETX=\EOT\DC1\n\- \\SO\n\- \\a\EOT\SOH\EOT\NUL\STX\STX\STX\DC2\ETX=\DC4\NAK\n\- \\v\n\- \\EOT\EOT\SOH\STX\NUL\DC2\ETX?\STX \n\- \\f\n\- \\ENQ\EOT\SOH\STX\NUL\ACK\DC2\ETX?\STX\DC2\n\- \\f\n\- \\ENQ\EOT\SOH\STX\NUL\SOH\DC2\ETX?\DC3\ESC\n\- \\f\n\- \\ENQ\EOT\SOH\STX\NUL\ETX\DC2\ETX?\RS\US\n\- \\152\SOH\n\- \\STX\EOT\STX\DC2\EOTD\NULG\SOH\SUB\139\SOH Sampler that tries to uniformly sample traces with a given ratio.\n\- \ The ratio of sampling a trace is equal to that of the specified ratio.\n\- \\n\- \\n\- \\n\- \\ETX\EOT\STX\SOH\DC2\ETXD\b\EM\n\- \H\n\- \\EOT\EOT\STX\STX\NUL\DC2\ETXF\STX\ESC\SUB; The desired ratio of sampling. Must be within [0.0, 1.0].\n\- \\n\- \\f\n\- \\ENQ\EOT\STX\STX\NUL\ENQ\DC2\ETXF\STX\b\n\- \\f\n\- \\ENQ\EOT\STX\STX\NUL\SOH\DC2\ETXF\t\SYN\n\- \\f\n\- \\ENQ\EOT\STX\STX\NUL\ETX\DC2\ETXF\EM\SUB\n\- \G\n\- \\STX\EOT\ETX\DC2\EOTJ\NULM\SOH\SUB; Sampler that tries to sample with a rate per time window.\n\- \\n\- \\n\- \\n\- \\ETX\EOT\ETX\SOH\DC2\ETXJ\b\ESC\n\- \\US\n\- \\EOT\EOT\ETX\STX\NUL\DC2\ETXL\STX\DLE\SUB\DC2 Rate per second.\n\- \\n\- \\f\n\- \\ENQ\EOT\ETX\STX\NUL\ENQ\DC2\ETXL\STX\a\n\- \\f\n\- \\ENQ\EOT\ETX\STX\NUL\SOH\DC2\ETXL\b\v\n\- \\f\n\- \\ENQ\EOT\ETX\STX\NUL\ETX\DC2\ETXL\SO\SIb\ACKproto3"
− src/Proto/Opentelemetry/Proto/Trace/V1/TraceConfig_Fields.hs
@@ -1,126 +0,0 @@-{- This file was auto-generated from opentelemetry/proto/trace/v1/trace_config.proto by the proto-lens-protoc program. -}-{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}-{-# OPTIONS_GHC -Wno-unused-imports#-}-{-# OPTIONS_GHC -Wno-duplicate-exports#-}-{-# OPTIONS_GHC -Wno-dodgy-exports#-}-module Proto.Opentelemetry.Proto.Trace.V1.TraceConfig_Fields where-import qualified Data.ProtoLens.Runtime.Prelude as Prelude-import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int-import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid-import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word-import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens-import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes-import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing-import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe-import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire-import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field-import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum-import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types-import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2-import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked-import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text-import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map-import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString-import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8-import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding-import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector-import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic-import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed-import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read-constantSampler ::- forall f s a.- (Prelude.Functor f,- Data.ProtoLens.Field.HasField s "constantSampler" a) =>- Lens.Family2.LensLike' f s a-constantSampler = Data.ProtoLens.Field.field @"constantSampler"-decision ::- forall f s a.- (Prelude.Functor f,- Data.ProtoLens.Field.HasField s "decision" a) =>- Lens.Family2.LensLike' f s a-decision = Data.ProtoLens.Field.field @"decision"-maxNumberOfAttributes ::- forall f s a.- (Prelude.Functor f,- Data.ProtoLens.Field.HasField s "maxNumberOfAttributes" a) =>- Lens.Family2.LensLike' f s a-maxNumberOfAttributes- = Data.ProtoLens.Field.field @"maxNumberOfAttributes"-maxNumberOfAttributesPerLink ::- forall f s a.- (Prelude.Functor f,- Data.ProtoLens.Field.HasField s "maxNumberOfAttributesPerLink" a) =>- Lens.Family2.LensLike' f s a-maxNumberOfAttributesPerLink- = Data.ProtoLens.Field.field @"maxNumberOfAttributesPerLink"-maxNumberOfAttributesPerTimedEvent ::- forall f s a.- (Prelude.Functor f,- Data.ProtoLens.Field.HasField s "maxNumberOfAttributesPerTimedEvent" a) =>- Lens.Family2.LensLike' f s a-maxNumberOfAttributesPerTimedEvent- = Data.ProtoLens.Field.field @"maxNumberOfAttributesPerTimedEvent"-maxNumberOfLinks ::- forall f s a.- (Prelude.Functor f,- Data.ProtoLens.Field.HasField s "maxNumberOfLinks" a) =>- Lens.Family2.LensLike' f s a-maxNumberOfLinks = Data.ProtoLens.Field.field @"maxNumberOfLinks"-maxNumberOfTimedEvents ::- forall f s a.- (Prelude.Functor f,- Data.ProtoLens.Field.HasField s "maxNumberOfTimedEvents" a) =>- Lens.Family2.LensLike' f s a-maxNumberOfTimedEvents- = Data.ProtoLens.Field.field @"maxNumberOfTimedEvents"-maybe'constantSampler ::- forall f s a.- (Prelude.Functor f,- Data.ProtoLens.Field.HasField s "maybe'constantSampler" a) =>- Lens.Family2.LensLike' f s a-maybe'constantSampler- = Data.ProtoLens.Field.field @"maybe'constantSampler"-maybe'rateLimitingSampler ::- forall f s a.- (Prelude.Functor f,- Data.ProtoLens.Field.HasField s "maybe'rateLimitingSampler" a) =>- Lens.Family2.LensLike' f s a-maybe'rateLimitingSampler- = Data.ProtoLens.Field.field @"maybe'rateLimitingSampler"-maybe'sampler ::- forall f s a.- (Prelude.Functor f,- Data.ProtoLens.Field.HasField s "maybe'sampler" a) =>- Lens.Family2.LensLike' f s a-maybe'sampler = Data.ProtoLens.Field.field @"maybe'sampler"-maybe'traceIdRatioBased ::- forall f s a.- (Prelude.Functor f,- Data.ProtoLens.Field.HasField s "maybe'traceIdRatioBased" a) =>- Lens.Family2.LensLike' f s a-maybe'traceIdRatioBased- = Data.ProtoLens.Field.field @"maybe'traceIdRatioBased"-qps ::- forall f s a.- (Prelude.Functor f, Data.ProtoLens.Field.HasField s "qps" a) =>- Lens.Family2.LensLike' f s a-qps = Data.ProtoLens.Field.field @"qps"-rateLimitingSampler ::- forall f s a.- (Prelude.Functor f,- Data.ProtoLens.Field.HasField s "rateLimitingSampler" a) =>- Lens.Family2.LensLike' f s a-rateLimitingSampler- = Data.ProtoLens.Field.field @"rateLimitingSampler"-samplingRatio ::- forall f s a.- (Prelude.Functor f,- Data.ProtoLens.Field.HasField s "samplingRatio" a) =>- Lens.Family2.LensLike' f s a-samplingRatio = Data.ProtoLens.Field.field @"samplingRatio"-traceIdRatioBased ::- forall f s a.- (Prelude.Functor f,- Data.ProtoLens.Field.HasField s "traceIdRatioBased" a) =>- Lens.Family2.LensLike' f s a-traceIdRatioBased = Data.ProtoLens.Field.field @"traceIdRatioBased"
src/Proto/Opentelemetry/Proto/Trace/V1/Trace_Fields.hs view
@@ -1,3 +1,4 @@+{- HLINT ignore -} {- This file was auto-generated from opentelemetry/proto/trace/v1/trace.proto by the proto-lens-protoc program. -} {-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-} {-# OPTIONS_GHC -Wno-unused-imports#-}@@ -40,12 +41,6 @@ (Prelude.Functor f, Data.ProtoLens.Field.HasField s "code" a) => Lens.Family2.LensLike' f s a code = Data.ProtoLens.Field.field @"code"-deprecatedCode ::- forall f s a.- (Prelude.Functor f,- Data.ProtoLens.Field.HasField s "deprecatedCode" a) =>- Lens.Family2.LensLike' f s a-deprecatedCode = Data.ProtoLens.Field.field @"deprecatedCode" droppedAttributesCount :: forall f s a. (Prelude.Functor f,@@ -77,20 +72,6 @@ (Prelude.Functor f, Data.ProtoLens.Field.HasField s "events" a) => Lens.Family2.LensLike' f s a events = Data.ProtoLens.Field.field @"events"-instrumentationLibrary ::- forall f s a.- (Prelude.Functor f,- Data.ProtoLens.Field.HasField s "instrumentationLibrary" a) =>- Lens.Family2.LensLike' f s a-instrumentationLibrary- = Data.ProtoLens.Field.field @"instrumentationLibrary"-instrumentationLibrarySpans ::- forall f s a.- (Prelude.Functor f,- Data.ProtoLens.Field.HasField s "instrumentationLibrarySpans" a) =>- Lens.Family2.LensLike' f s a-instrumentationLibrarySpans- = Data.ProtoLens.Field.field @"instrumentationLibrarySpans" kind :: forall f s a. (Prelude.Functor f, Data.ProtoLens.Field.HasField s "kind" a) =>@@ -101,19 +82,18 @@ (Prelude.Functor f, Data.ProtoLens.Field.HasField s "links" a) => Lens.Family2.LensLike' f s a links = Data.ProtoLens.Field.field @"links"-maybe'instrumentationLibrary ::- forall f s a.- (Prelude.Functor f,- Data.ProtoLens.Field.HasField s "maybe'instrumentationLibrary" a) =>- Lens.Family2.LensLike' f s a-maybe'instrumentationLibrary- = Data.ProtoLens.Field.field @"maybe'instrumentationLibrary" maybe'resource :: forall f s a. (Prelude.Functor f, Data.ProtoLens.Field.HasField s "maybe'resource" a) => Lens.Family2.LensLike' f s a maybe'resource = Data.ProtoLens.Field.field @"maybe'resource"+maybe'scope ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "maybe'scope" a) =>+ Lens.Family2.LensLike' f s a+maybe'scope = Data.ProtoLens.Field.field @"maybe'scope" maybe'status :: forall f s a. (Prelude.Functor f,@@ -154,6 +134,17 @@ Data.ProtoLens.Field.HasField s "schemaUrl" a) => Lens.Family2.LensLike' f s a schemaUrl = Data.ProtoLens.Field.field @"schemaUrl"+scope ::+ forall f s a.+ (Prelude.Functor f, Data.ProtoLens.Field.HasField s "scope" a) =>+ Lens.Family2.LensLike' f s a+scope = Data.ProtoLens.Field.field @"scope"+scopeSpans ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "scopeSpans" a) =>+ Lens.Family2.LensLike' f s a+scopeSpans = Data.ProtoLens.Field.field @"scopeSpans" spanId :: forall f s a. (Prelude.Functor f, Data.ProtoLens.Field.HasField s "spanId" a) =>@@ -204,13 +195,6 @@ Data.ProtoLens.Field.HasField s "vec'events" a) => Lens.Family2.LensLike' f s a vec'events = Data.ProtoLens.Field.field @"vec'events"-vec'instrumentationLibrarySpans ::- forall f s a.- (Prelude.Functor f,- Data.ProtoLens.Field.HasField s "vec'instrumentationLibrarySpans" a) =>- Lens.Family2.LensLike' f s a-vec'instrumentationLibrarySpans- = Data.ProtoLens.Field.field @"vec'instrumentationLibrarySpans" vec'links :: forall f s a. (Prelude.Functor f,@@ -223,6 +207,12 @@ Data.ProtoLens.Field.HasField s "vec'resourceSpans" a) => Lens.Family2.LensLike' f s a vec'resourceSpans = Data.ProtoLens.Field.field @"vec'resourceSpans"+vec'scopeSpans ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "vec'scopeSpans" a) =>+ Lens.Family2.LensLike' f s a+vec'scopeSpans = Data.ProtoLens.Field.field @"vec'scopeSpans" vec'spans :: forall f s a. (Prelude.Functor f,