hs-opentelemetry-otlp (empty) → 0.0.1.0
raw patch · 24 files changed
+21984/−0 lines, 24 filesdep +basedep +proto-lensdep +proto-lens-runtime
Dependencies added: base, proto-lens, proto-lens-runtime
Files
- ChangeLog.md +3/−0
- LICENSE +30/−0
- README.md +1/−0
- hs-opentelemetry-otlp.cabal +58/−0
- src/Proto/Opentelemetry/Proto/Collector/Logs/V1/LogsService.hs +353/−0
- src/Proto/Opentelemetry/Proto/Collector/Logs/V1/LogsService_Fields.hs +42/−0
- src/Proto/Opentelemetry/Proto/Collector/Metrics/V1/MetricsService.hs +354/−0
- src/Proto/Opentelemetry/Proto/Collector/Metrics/V1/MetricsService_Fields.hs +43/−0
- src/Proto/Opentelemetry/Proto/Collector/Trace/V1/TraceService.hs +354/−0
- src/Proto/Opentelemetry/Proto/Collector/Trace/V1/TraceService_Fields.hs +42/−0
- src/Proto/Opentelemetry/Proto/Common/V1/Common.hs +1596/−0
- src/Proto/Opentelemetry/Proto/Common/V1/Common_Fields.hs +150/−0
- src/Proto/Opentelemetry/Proto/Logs/V1/Logs.hs +2066/−0
- src/Proto/Opentelemetry/Proto/Logs/V1/Logs_Fields.hs +168/−0
- src/Proto/Opentelemetry/Proto/Metrics/Experimental/MetricsConfigService.hs +1223/−0
- src/Proto/Opentelemetry/Proto/Metrics/Experimental/MetricsConfigService_Fields.hs +135/−0
- src/Proto/Opentelemetry/Proto/Metrics/V1/Metrics.hs +9355/−0
- src/Proto/Opentelemetry/Proto/Metrics/V1/Metrics_Fields.hs +455/−0
- src/Proto/Opentelemetry/Proto/Resource/V1/Resource.hs +295/−0
- src/Proto/Opentelemetry/Proto/Resource/V1/Resource_Fields.hs +49/−0
- src/Proto/Opentelemetry/Proto/Trace/V1/Trace.hs +3654/−0
- src/Proto/Opentelemetry/Proto/Trace/V1/TraceConfig.hs +1201/−0
- src/Proto/Opentelemetry/Proto/Trace/V1/TraceConfig_Fields.hs +126/−0
- src/Proto/Opentelemetry/Proto/Trace/V1/Trace_Fields.hs +231/−0
+ ChangeLog.md view
@@ -0,0 +1,3 @@+# Changelog for otlp++## Unreleased changes
+ LICENSE view
@@ -0,0 +1,30 @@+Copyright Ian Duncan (c) 2021++All rights reserved.++Redistribution and use in source and binary forms, with or without+modification, are permitted provided that the following conditions are met:++ * Redistributions of source code must retain the above copyright+ notice, this list of conditions and the following disclaimer.++ * Redistributions in binary form must reproduce the above+ copyright notice, this list of conditions and the following+ disclaimer in the documentation and/or other materials provided+ with the distribution.++ * Neither the name of Ian Duncan nor the names of other+ contributors may be used to endorse or promote products derived+ from this software without specific prior written permission.++THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ README.md view
@@ -0,0 +1,1 @@+# otlp
+ hs-opentelemetry-otlp.cabal view
@@ -0,0 +1,58 @@+cabal-version: 1.12++-- This file has been generated from package.yaml by hpack version 0.34.4.+--+-- see: https://github.com/sol/hpack++name: hs-opentelemetry-otlp+version: 0.0.1.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+maintainer: ian@iankduncan.com+copyright: 2021 Ian Duncan+license: BSD3+license-file: LICENSE+build-type: Simple+extra-source-files:+ README.md+ ChangeLog.md++source-repository head+ type: git+ location: https://github.com/iand675/hs-opentelemetry++library+ exposed-modules:+ Proto.Opentelemetry.Proto.Collector.Logs.V1.LogsService+ Proto.Opentelemetry.Proto.Collector.Logs.V1.LogsService_Fields+ Proto.Opentelemetry.Proto.Collector.Metrics.V1.MetricsService+ Proto.Opentelemetry.Proto.Collector.Metrics.V1.MetricsService_Fields+ Proto.Opentelemetry.Proto.Collector.Trace.V1.TraceService+ Proto.Opentelemetry.Proto.Collector.Trace.V1.TraceService_Fields+ Proto.Opentelemetry.Proto.Common.V1.Common+ 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
+ src/Proto/Opentelemetry/Proto/Collector/Logs/V1/LogsService.hs view
@@ -0,0 +1,353 @@+{- 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()+ ) 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.Logs.V1.Logs+{- | 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+ = ExportLogsServiceRequest'_constructor {_ExportLogsServiceRequest'resourceLogs :: !(Data.Vector.Vector Proto.Opentelemetry.Proto.Logs.V1.Logs.ResourceLogs),+ _ExportLogsServiceRequest'_unknownFields :: !Data.ProtoLens.FieldSet}+ deriving stock (Prelude.Eq, Prelude.Ord)+instance Prelude.Show ExportLogsServiceRequest where+ showsPrec _ __x __s+ = Prelude.showChar+ '{'+ (Prelude.showString+ (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))+instance Data.ProtoLens.Field.HasField ExportLogsServiceRequest "resourceLogs" [Proto.Opentelemetry.Proto.Logs.V1.Logs.ResourceLogs] where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ExportLogsServiceRequest'resourceLogs+ (\ x__ y__ -> x__ {_ExportLogsServiceRequest'resourceLogs = y__}))+ (Lens.Family2.Unchecked.lens+ Data.Vector.Generic.toList+ (\ _ y__ -> Data.Vector.Generic.fromList y__))+instance Data.ProtoLens.Field.HasField ExportLogsServiceRequest "vec'resourceLogs" (Data.Vector.Vector Proto.Opentelemetry.Proto.Logs.V1.Logs.ResourceLogs) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ExportLogsServiceRequest'resourceLogs+ (\ x__ y__ -> x__ {_ExportLogsServiceRequest'resourceLogs = y__}))+ Prelude.id+instance Data.ProtoLens.Message ExportLogsServiceRequest where+ messageName _+ = Data.Text.pack+ "opentelemetry.proto.collector.logs.v1.ExportLogsServiceRequest"+ packedMessageDescriptor _+ = "\n\+ \\CANExportLogsServiceRequest\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 Proto.Opentelemetry.Proto.Logs.V1.Logs.ResourceLogs)+ (Data.ProtoLens.RepeatedField+ Data.ProtoLens.Unpacked+ (Data.ProtoLens.Field.field @"resourceLogs")) ::+ Data.ProtoLens.FieldDescriptor ExportLogsServiceRequest+ in+ Data.Map.fromList+ [(Data.ProtoLens.Tag 1, resourceLogs__field_descriptor)]+ unknownFields+ = Lens.Family2.Unchecked.lens+ _ExportLogsServiceRequest'_unknownFields+ (\ x__ y__ -> x__ {_ExportLogsServiceRequest'_unknownFields = y__})+ defMessage+ = ExportLogsServiceRequest'_constructor+ {_ExportLogsServiceRequest'resourceLogs = Data.Vector.Generic.empty,+ _ExportLogsServiceRequest'_unknownFields = []}+ parseMessage+ = let+ loop ::+ ExportLogsServiceRequest+ -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Proto.Opentelemetry.Proto.Logs.V1.Logs.ResourceLogs+ -> Data.ProtoLens.Encoding.Bytes.Parser ExportLogsServiceRequest+ 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)+ "ExportLogsServiceRequest"+ 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 ExportLogsServiceRequest where+ rnf+ = \ x__+ -> Control.DeepSeq.deepseq+ (_ExportLogsServiceRequest'_unknownFields x__)+ (Control.DeepSeq.deepseq+ (_ExportLogsServiceRequest'resourceLogs x__) ())+{- | Fields :+ -}+data ExportLogsServiceResponse+ = ExportLogsServiceResponse'_constructor {_ExportLogsServiceResponse'_unknownFields :: !Data.ProtoLens.FieldSet}+ deriving stock (Prelude.Eq, Prelude.Ord)+instance Prelude.Show ExportLogsServiceResponse where+ showsPrec _ __x __s+ = Prelude.showChar+ '{'+ (Prelude.showString+ (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))+instance Data.ProtoLens.Message ExportLogsServiceResponse where+ messageName _+ = Data.Text.pack+ "opentelemetry.proto.collector.logs.v1.ExportLogsServiceResponse"+ packedMessageDescriptor _+ = "\n\+ \\EMExportLogsServiceResponse"+ packedFileDescriptor _ = packedFileDescriptor+ fieldsByTag = let in Data.Map.fromList []+ unknownFields+ = Lens.Family2.Unchecked.lens+ _ExportLogsServiceResponse'_unknownFields+ (\ x__ y__+ -> x__ {_ExportLogsServiceResponse'_unknownFields = y__})+ defMessage+ = ExportLogsServiceResponse'_constructor+ {_ExportLogsServiceResponse'_unknownFields = []}+ parseMessage+ = let+ loop ::+ ExportLogsServiceResponse+ -> Data.ProtoLens.Encoding.Bytes.Parser ExportLogsServiceResponse+ 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 {+ 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) "ExportLogsServiceResponse"+ buildMessage+ = \ _x+ -> 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__) ()+data LogsService = LogsService {}+instance Data.ProtoLens.Service.Types.Service LogsService where+ type ServiceName LogsService = "LogsService"+ type ServicePackage LogsService = "opentelemetry.proto.collector.logs.v1"+ type ServiceMethods LogsService = '["export"]+ packedServiceDescriptor _+ = "\n\+ \\vLogsService\DC2\141\SOH\n\+ \\ACKExport\DC2?.opentelemetry.proto.collector.logs.v1.ExportLogsServiceRequest\SUB@.opentelemetry.proto.collector.logs.v1.ExportLogsServiceResponse\"\NUL"+instance Data.ProtoLens.Service.Types.HasMethodImpl LogsService "export" where+ type MethodName LogsService "export" = "Export"+ type MethodInput LogsService "export" = ExportLogsServiceRequest+ type MethodOutput LogsService "export" = ExportLogsServiceResponse+ type MethodStreamingType LogsService "export" = 'Data.ProtoLens.Service.Types.NonStreaming+packedFileDescriptor :: Data.ByteString.ByteString+packedFileDescriptor+ = "\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\+ \\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\+ \\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\+ \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\+ \\t\n\+ \\STX\ETX\NUL\DC2\ETX\NAK\NUL0\n\+ \\b\n\+ \\SOH\b\DC2\ETX\ETB\NUL\"\n\+ \\t\n\+ \\STX\b\n\+ \\DC2\ETX\ETB\NUL\"\n\+ \\b\n\+ \\SOH\b\DC2\ETX\CAN\NULA\n\+ \\t\n\+ \\STX\b\SOH\DC2\ETX\CAN\NULA\n\+ \\b\n\+ \\SOH\b\DC2\ETX\EM\NUL1\n\+ \\t\n\+ \\STX\b\b\DC2\ETX\EM\NUL1\n\+ \\b\n\+ \\SOH\b\DC2\ETX\SUB\NUL]\n\+ \\t\n\+ \\STX\b\v\DC2\ETX\SUB\NUL]\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\+ \ 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\+ \y\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\+ \\f\n\+ \\ENQ\ACK\NUL\STX\NUL\STX\DC2\ETX\"\r%\n\+ \\f\n\+ \\ENQ\ACK\NUL\STX\NUL\ETX\DC2\ETX\"0I\n\+ \\n\+ \\n\+ \\STX\EOT\NUL\DC2\EOT%\NUL,\SOH\n\+ \\n\+ \\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\+ \ 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\+ \\n\+ \\f\n\+ \\ENQ\EOT\NUL\STX\NUL\ACK\DC2\ETX+\v3\n\+ \\f\n\+ \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX+4A\n\+ \\f\n\+ \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX+DE\n\+ \\n\+ \\n\+ \\STX\EOT\SOH\DC2\EOT.\NUL/\SOH\n\+ \\n\+ \\n\+ \\ETX\EOT\SOH\SOH\DC2\ETX.\b!b\ACKproto3"
+ src/Proto/Opentelemetry/Proto/Collector/Logs/V1/LogsService_Fields.hs view
@@ -0,0 +1,42 @@+{- 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_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.Logs.V1.Logs+resourceLogs ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "resourceLogs" a) =>+ Lens.Family2.LensLike' f s a+resourceLogs = Data.ProtoLens.Field.field @"resourceLogs"+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"
+ src/Proto/Opentelemetry/Proto/Collector/Metrics/V1/MetricsService.hs view
@@ -0,0 +1,354 @@+{- 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()+ ) 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.Metrics.V1.Metrics+{- | 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+ = ExportMetricsServiceRequest'_constructor {_ExportMetricsServiceRequest'resourceMetrics :: !(Data.Vector.Vector Proto.Opentelemetry.Proto.Metrics.V1.Metrics.ResourceMetrics),+ _ExportMetricsServiceRequest'_unknownFields :: !Data.ProtoLens.FieldSet}+ deriving stock (Prelude.Eq, Prelude.Ord)+instance Prelude.Show ExportMetricsServiceRequest where+ showsPrec _ __x __s+ = Prelude.showChar+ '{'+ (Prelude.showString+ (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))+instance Data.ProtoLens.Field.HasField ExportMetricsServiceRequest "resourceMetrics" [Proto.Opentelemetry.Proto.Metrics.V1.Metrics.ResourceMetrics] where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ExportMetricsServiceRequest'resourceMetrics+ (\ x__ y__+ -> x__ {_ExportMetricsServiceRequest'resourceMetrics = y__}))+ (Lens.Family2.Unchecked.lens+ Data.Vector.Generic.toList+ (\ _ y__ -> Data.Vector.Generic.fromList y__))+instance Data.ProtoLens.Field.HasField ExportMetricsServiceRequest "vec'resourceMetrics" (Data.Vector.Vector Proto.Opentelemetry.Proto.Metrics.V1.Metrics.ResourceMetrics) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ExportMetricsServiceRequest'resourceMetrics+ (\ x__ y__+ -> x__ {_ExportMetricsServiceRequest'resourceMetrics = y__}))+ Prelude.id+instance Data.ProtoLens.Message ExportMetricsServiceRequest where+ messageName _+ = Data.Text.pack+ "opentelemetry.proto.collector.metrics.v1.ExportMetricsServiceRequest"+ packedMessageDescriptor _+ = "\n\+ \\ESCExportMetricsServiceRequest\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 Proto.Opentelemetry.Proto.Metrics.V1.Metrics.ResourceMetrics)+ (Data.ProtoLens.RepeatedField+ Data.ProtoLens.Unpacked+ (Data.ProtoLens.Field.field @"resourceMetrics")) ::+ Data.ProtoLens.FieldDescriptor ExportMetricsServiceRequest+ in+ Data.Map.fromList+ [(Data.ProtoLens.Tag 1, resourceMetrics__field_descriptor)]+ unknownFields+ = Lens.Family2.Unchecked.lens+ _ExportMetricsServiceRequest'_unknownFields+ (\ x__ y__+ -> x__ {_ExportMetricsServiceRequest'_unknownFields = y__})+ defMessage+ = ExportMetricsServiceRequest'_constructor+ {_ExportMetricsServiceRequest'resourceMetrics = Data.Vector.Generic.empty,+ _ExportMetricsServiceRequest'_unknownFields = []}+ parseMessage+ = let+ loop ::+ ExportMetricsServiceRequest+ -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Proto.Opentelemetry.Proto.Metrics.V1.Metrics.ResourceMetrics+ -> Data.ProtoLens.Encoding.Bytes.Parser ExportMetricsServiceRequest+ 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)+ "ExportMetricsServiceRequest"+ 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 ExportMetricsServiceRequest where+ rnf+ = \ x__+ -> Control.DeepSeq.deepseq+ (_ExportMetricsServiceRequest'_unknownFields x__)+ (Control.DeepSeq.deepseq+ (_ExportMetricsServiceRequest'resourceMetrics x__) ())+{- | Fields :+ -}+data ExportMetricsServiceResponse+ = ExportMetricsServiceResponse'_constructor {_ExportMetricsServiceResponse'_unknownFields :: !Data.ProtoLens.FieldSet}+ deriving stock (Prelude.Eq, Prelude.Ord)+instance Prelude.Show ExportMetricsServiceResponse where+ showsPrec _ __x __s+ = Prelude.showChar+ '{'+ (Prelude.showString+ (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))+instance Data.ProtoLens.Message ExportMetricsServiceResponse where+ messageName _+ = Data.Text.pack+ "opentelemetry.proto.collector.metrics.v1.ExportMetricsServiceResponse"+ packedMessageDescriptor _+ = "\n\+ \\FSExportMetricsServiceResponse"+ packedFileDescriptor _ = packedFileDescriptor+ fieldsByTag = let in Data.Map.fromList []+ unknownFields+ = Lens.Family2.Unchecked.lens+ _ExportMetricsServiceResponse'_unknownFields+ (\ x__ y__+ -> x__ {_ExportMetricsServiceResponse'_unknownFields = y__})+ defMessage+ = ExportMetricsServiceResponse'_constructor+ {_ExportMetricsServiceResponse'_unknownFields = []}+ parseMessage+ = let+ loop ::+ ExportMetricsServiceResponse+ -> Data.ProtoLens.Encoding.Bytes.Parser ExportMetricsServiceResponse+ 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 {+ 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) "ExportMetricsServiceResponse"+ buildMessage+ = \ _x+ -> 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__) ()+data MetricsService = MetricsService {}+instance Data.ProtoLens.Service.Types.Service MetricsService where+ type ServiceName MetricsService = "MetricsService"+ type ServicePackage MetricsService = "opentelemetry.proto.collector.metrics.v1"+ type ServiceMethods MetricsService = '["export"]+ packedServiceDescriptor _+ = "\n\+ \\SOMetricsService\DC2\153\SOH\n\+ \\ACKExport\DC2E.opentelemetry.proto.collector.metrics.v1.ExportMetricsServiceRequest\SUBF.opentelemetry.proto.collector.metrics.v1.ExportMetricsServiceResponse\"\NUL"+instance Data.ProtoLens.Service.Types.HasMethodImpl MetricsService "export" where+ type MethodName MetricsService "export" = "Export"+ type MethodInput MetricsService "export" = ExportMetricsServiceRequest+ type MethodOutput MetricsService "export" = ExportMetricsServiceResponse+ type MethodStreamingType MetricsService "export" = 'Data.ProtoLens.Service.Types.NonStreaming+packedFileDescriptor :: Data.ByteString.ByteString+packedFileDescriptor+ = "\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\+ \\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\+ \\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\NUL6\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\NUL4\n\+ \\t\n\+ \\STX\b\b\DC2\ETX\SYN\NUL4\n\+ \\b\n\+ \\SOH\b\DC2\ETX\ETB\NUL`\n\+ \\t\n\+ \\STX\b\v\DC2\ETX\ETB\NUL`\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\+ \ 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\+ \y\n\+ \\EOT\ACK\NUL\STX\NUL\DC2\ETX\US\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\+ \\f\n\+ \\ENQ\ACK\NUL\STX\NUL\STX\DC2\ETX\US\r(\n\+ \\f\n\+ \\ENQ\ACK\NUL\STX\NUL\ETX\DC2\ETX\US3O\n\+ \\n\+ \\n\+ \\STX\EOT\NUL\DC2\EOT\"\NUL)\SOH\n\+ \\n\+ \\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\+ \ 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\+ \\n\+ \\f\n\+ \\ENQ\EOT\NUL\STX\NUL\ACK\DC2\ETX(\v9\n\+ \\f\n\+ \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX(:J\n\+ \\f\n\+ \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX(MN\n\+ \\n\+ \\n\+ \\STX\EOT\SOH\DC2\EOT+\NUL,\SOH\n\+ \\n\+ \\n\+ \\ETX\EOT\SOH\SOH\DC2\ETX+\b$b\ACKproto3"
+ src/Proto/Opentelemetry/Proto/Collector/Metrics/V1/MetricsService_Fields.hs view
@@ -0,0 +1,43 @@+{- 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_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.Metrics.V1.Metrics+resourceMetrics ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "resourceMetrics" a) =>+ Lens.Family2.LensLike' f s a+resourceMetrics = Data.ProtoLens.Field.field @"resourceMetrics"+vec'resourceMetrics ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "vec'resourceMetrics" a) =>+ Lens.Family2.LensLike' f s a+vec'resourceMetrics+ = Data.ProtoLens.Field.field @"vec'resourceMetrics"
+ src/Proto/Opentelemetry/Proto/Collector/Trace/V1/TraceService.hs view
@@ -0,0 +1,354 @@+{- 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()+ ) 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.Trace.V1.Trace+{- | 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+ = ExportTraceServiceRequest'_constructor {_ExportTraceServiceRequest'resourceSpans :: !(Data.Vector.Vector Proto.Opentelemetry.Proto.Trace.V1.Trace.ResourceSpans),+ _ExportTraceServiceRequest'_unknownFields :: !Data.ProtoLens.FieldSet}+ deriving stock (Prelude.Eq, Prelude.Ord)+instance Prelude.Show ExportTraceServiceRequest where+ showsPrec _ __x __s+ = Prelude.showChar+ '{'+ (Prelude.showString+ (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))+instance Data.ProtoLens.Field.HasField ExportTraceServiceRequest "resourceSpans" [Proto.Opentelemetry.Proto.Trace.V1.Trace.ResourceSpans] where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ExportTraceServiceRequest'resourceSpans+ (\ x__ y__+ -> x__ {_ExportTraceServiceRequest'resourceSpans = y__}))+ (Lens.Family2.Unchecked.lens+ Data.Vector.Generic.toList+ (\ _ y__ -> Data.Vector.Generic.fromList y__))+instance Data.ProtoLens.Field.HasField ExportTraceServiceRequest "vec'resourceSpans" (Data.Vector.Vector Proto.Opentelemetry.Proto.Trace.V1.Trace.ResourceSpans) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ExportTraceServiceRequest'resourceSpans+ (\ x__ y__+ -> x__ {_ExportTraceServiceRequest'resourceSpans = y__}))+ Prelude.id+instance Data.ProtoLens.Message ExportTraceServiceRequest where+ messageName _+ = Data.Text.pack+ "opentelemetry.proto.collector.trace.v1.ExportTraceServiceRequest"+ packedMessageDescriptor _+ = "\n\+ \\EMExportTraceServiceRequest\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 Proto.Opentelemetry.Proto.Trace.V1.Trace.ResourceSpans)+ (Data.ProtoLens.RepeatedField+ Data.ProtoLens.Unpacked+ (Data.ProtoLens.Field.field @"resourceSpans")) ::+ Data.ProtoLens.FieldDescriptor ExportTraceServiceRequest+ in+ Data.Map.fromList+ [(Data.ProtoLens.Tag 1, resourceSpans__field_descriptor)]+ unknownFields+ = Lens.Family2.Unchecked.lens+ _ExportTraceServiceRequest'_unknownFields+ (\ x__ y__+ -> x__ {_ExportTraceServiceRequest'_unknownFields = y__})+ defMessage+ = ExportTraceServiceRequest'_constructor+ {_ExportTraceServiceRequest'resourceSpans = Data.Vector.Generic.empty,+ _ExportTraceServiceRequest'_unknownFields = []}+ parseMessage+ = let+ loop ::+ ExportTraceServiceRequest+ -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Proto.Opentelemetry.Proto.Trace.V1.Trace.ResourceSpans+ -> Data.ProtoLens.Encoding.Bytes.Parser ExportTraceServiceRequest+ 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)+ "ExportTraceServiceRequest"+ 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 ExportTraceServiceRequest where+ rnf+ = \ x__+ -> Control.DeepSeq.deepseq+ (_ExportTraceServiceRequest'_unknownFields x__)+ (Control.DeepSeq.deepseq+ (_ExportTraceServiceRequest'resourceSpans x__) ())+{- | Fields :+ -}+data ExportTraceServiceResponse+ = ExportTraceServiceResponse'_constructor {_ExportTraceServiceResponse'_unknownFields :: !Data.ProtoLens.FieldSet}+ deriving stock (Prelude.Eq, Prelude.Ord)+instance Prelude.Show ExportTraceServiceResponse where+ showsPrec _ __x __s+ = Prelude.showChar+ '{'+ (Prelude.showString+ (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))+instance Data.ProtoLens.Message ExportTraceServiceResponse where+ messageName _+ = Data.Text.pack+ "opentelemetry.proto.collector.trace.v1.ExportTraceServiceResponse"+ packedMessageDescriptor _+ = "\n\+ \\SUBExportTraceServiceResponse"+ packedFileDescriptor _ = packedFileDescriptor+ fieldsByTag = let in Data.Map.fromList []+ unknownFields+ = Lens.Family2.Unchecked.lens+ _ExportTraceServiceResponse'_unknownFields+ (\ x__ y__+ -> x__ {_ExportTraceServiceResponse'_unknownFields = y__})+ defMessage+ = ExportTraceServiceResponse'_constructor+ {_ExportTraceServiceResponse'_unknownFields = []}+ parseMessage+ = let+ loop ::+ ExportTraceServiceResponse+ -> Data.ProtoLens.Encoding.Bytes.Parser ExportTraceServiceResponse+ 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 {+ 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) "ExportTraceServiceResponse"+ buildMessage+ = \ _x+ -> 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__) ()+data TraceService = TraceService {}+instance Data.ProtoLens.Service.Types.Service TraceService where+ type ServiceName TraceService = "TraceService"+ type ServicePackage TraceService = "opentelemetry.proto.collector.trace.v1"+ type ServiceMethods TraceService = '["export"]+ packedServiceDescriptor _+ = "\n\+ \\fTraceService\DC2\145\SOH\n\+ \\ACKExport\DC2A.opentelemetry.proto.collector.trace.v1.ExportTraceServiceRequest\SUBB.opentelemetry.proto.collector.trace.v1.ExportTraceServiceResponse\"\NUL"+instance Data.ProtoLens.Service.Types.HasMethodImpl TraceService "export" where+ type MethodName TraceService "export" = "Export"+ type MethodInput TraceService "export" = ExportTraceServiceRequest+ type MethodOutput TraceService "export" = ExportTraceServiceResponse+ type MethodStreamingType TraceService "export" = 'Data.ProtoLens.Service.Types.NonStreaming+packedFileDescriptor :: Data.ByteString.ByteString+packedFileDescriptor+ = "\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\+ \\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\+ \\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\NUL2\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\NULB\n\+ \\t\n\+ \\STX\b\SOH\DC2\ETX\NAK\NULB\n\+ \\b\n\+ \\SOH\b\DC2\ETX\SYN\NUL2\n\+ \\t\n\+ \\STX\b\b\DC2\ETX\SYN\NUL2\n\+ \\b\n\+ \\SOH\b\DC2\ETX\ETB\NUL^\n\+ \\t\n\+ \\STX\b\v\DC2\ETX\ETB\NUL^\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\+ \ 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\+ \y\n\+ \\EOT\ACK\NUL\STX\NUL\DC2\ETX\US\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\+ \\f\n\+ \\ENQ\ACK\NUL\STX\NUL\STX\DC2\ETX\US\r&\n\+ \\f\n\+ \\ENQ\ACK\NUL\STX\NUL\ETX\DC2\ETX\US1K\n\+ \\n\+ \\n\+ \\STX\EOT\NUL\DC2\EOT\"\NUL)\SOH\n\+ \\n\+ \\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\+ \ 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\+ \\n\+ \\f\n\+ \\ENQ\EOT\NUL\STX\NUL\ACK\DC2\ETX(\v5\n\+ \\f\n\+ \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX(6D\n\+ \\f\n\+ \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX(GH\n\+ \\n\+ \\n\+ \\STX\EOT\SOH\DC2\EOT+\NUL,\SOH\n\+ \\n\+ \\n\+ \\ETX\EOT\SOH\SOH\DC2\ETX+\b\"b\ACKproto3"
+ src/Proto/Opentelemetry/Proto/Collector/Trace/V1/TraceService_Fields.hs view
@@ -0,0 +1,42 @@+{- 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_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.Trace.V1.Trace+resourceSpans ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "resourceSpans" a) =>+ Lens.Family2.LensLike' f s a+resourceSpans = Data.ProtoLens.Field.field @"resourceSpans"+vec'resourceSpans ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "vec'resourceSpans" a) =>+ Lens.Family2.LensLike' f s a+vec'resourceSpans = Data.ProtoLens.Field.field @"vec'resourceSpans"
+ src/Proto/Opentelemetry/Proto/Common/V1/Common.hs view
@@ -0,0 +1,1596 @@+{- 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#-}+{-# OPTIONS_GHC -Wno-duplicate-exports#-}+{-# OPTIONS_GHC -Wno-dodgy-exports#-}+module Proto.Opentelemetry.Proto.Common.V1.Common (+ AnyValue(), AnyValue'Value(..), _AnyValue'StringValue,+ _AnyValue'BoolValue, _AnyValue'IntValue, _AnyValue'DoubleValue,+ _AnyValue'ArrayValue, _AnyValue'KvlistValue, _AnyValue'BytesValue,+ ArrayValue(), InstrumentationLibrary(), KeyValue(), KeyValueList(),+ StringKeyValue()+ ) 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.Common.V1.Common_Fields.maybe'value' @:: Lens' AnyValue (Prelude.Maybe AnyValue'Value)@+ * 'Proto.Opentelemetry.Proto.Common.V1.Common_Fields.maybe'stringValue' @:: Lens' AnyValue (Prelude.Maybe Data.Text.Text)@+ * 'Proto.Opentelemetry.Proto.Common.V1.Common_Fields.stringValue' @:: Lens' AnyValue Data.Text.Text@+ * 'Proto.Opentelemetry.Proto.Common.V1.Common_Fields.maybe'boolValue' @:: Lens' AnyValue (Prelude.Maybe Prelude.Bool)@+ * 'Proto.Opentelemetry.Proto.Common.V1.Common_Fields.boolValue' @:: Lens' AnyValue Prelude.Bool@+ * 'Proto.Opentelemetry.Proto.Common.V1.Common_Fields.maybe'intValue' @:: Lens' AnyValue (Prelude.Maybe Data.Int.Int64)@+ * 'Proto.Opentelemetry.Proto.Common.V1.Common_Fields.intValue' @:: Lens' AnyValue Data.Int.Int64@+ * 'Proto.Opentelemetry.Proto.Common.V1.Common_Fields.maybe'doubleValue' @:: Lens' AnyValue (Prelude.Maybe Prelude.Double)@+ * 'Proto.Opentelemetry.Proto.Common.V1.Common_Fields.doubleValue' @:: Lens' AnyValue Prelude.Double@+ * 'Proto.Opentelemetry.Proto.Common.V1.Common_Fields.maybe'arrayValue' @:: Lens' AnyValue (Prelude.Maybe ArrayValue)@+ * 'Proto.Opentelemetry.Proto.Common.V1.Common_Fields.arrayValue' @:: Lens' AnyValue ArrayValue@+ * 'Proto.Opentelemetry.Proto.Common.V1.Common_Fields.maybe'kvlistValue' @:: Lens' AnyValue (Prelude.Maybe KeyValueList)@+ * 'Proto.Opentelemetry.Proto.Common.V1.Common_Fields.kvlistValue' @:: Lens' AnyValue KeyValueList@+ * 'Proto.Opentelemetry.Proto.Common.V1.Common_Fields.maybe'bytesValue' @:: Lens' AnyValue (Prelude.Maybe Data.ByteString.ByteString)@+ * 'Proto.Opentelemetry.Proto.Common.V1.Common_Fields.bytesValue' @:: Lens' AnyValue Data.ByteString.ByteString@ -}+data AnyValue+ = AnyValue'_constructor {_AnyValue'value :: !(Prelude.Maybe AnyValue'Value),+ _AnyValue'_unknownFields :: !Data.ProtoLens.FieldSet}+ deriving stock (Prelude.Eq, Prelude.Ord)+instance Prelude.Show AnyValue where+ showsPrec _ __x __s+ = Prelude.showChar+ '{'+ (Prelude.showString+ (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))+data AnyValue'Value+ = AnyValue'StringValue !Data.Text.Text |+ AnyValue'BoolValue !Prelude.Bool |+ AnyValue'IntValue !Data.Int.Int64 |+ AnyValue'DoubleValue !Prelude.Double |+ AnyValue'ArrayValue !ArrayValue |+ AnyValue'KvlistValue !KeyValueList |+ AnyValue'BytesValue !Data.ByteString.ByteString+ deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)+instance Data.ProtoLens.Field.HasField AnyValue "maybe'value" (Prelude.Maybe AnyValue'Value) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _AnyValue'value (\ x__ y__ -> x__ {_AnyValue'value = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField AnyValue "maybe'stringValue" (Prelude.Maybe Data.Text.Text) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _AnyValue'value (\ x__ y__ -> x__ {_AnyValue'value = y__}))+ (Lens.Family2.Unchecked.lens+ (\ x__+ -> case x__ of+ (Prelude.Just (AnyValue'StringValue x__val)) -> Prelude.Just x__val+ _otherwise -> Prelude.Nothing)+ (\ _ y__ -> Prelude.fmap AnyValue'StringValue y__))+instance Data.ProtoLens.Field.HasField AnyValue "stringValue" Data.Text.Text where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _AnyValue'value (\ x__ y__ -> x__ {_AnyValue'value = y__}))+ ((Prelude..)+ (Lens.Family2.Unchecked.lens+ (\ x__+ -> case x__ of+ (Prelude.Just (AnyValue'StringValue x__val)) -> Prelude.Just x__val+ _otherwise -> Prelude.Nothing)+ (\ _ y__ -> Prelude.fmap AnyValue'StringValue y__))+ (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault))+instance Data.ProtoLens.Field.HasField AnyValue "maybe'boolValue" (Prelude.Maybe Prelude.Bool) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _AnyValue'value (\ x__ y__ -> x__ {_AnyValue'value = y__}))+ (Lens.Family2.Unchecked.lens+ (\ x__+ -> case x__ of+ (Prelude.Just (AnyValue'BoolValue x__val)) -> Prelude.Just x__val+ _otherwise -> Prelude.Nothing)+ (\ _ y__ -> Prelude.fmap AnyValue'BoolValue y__))+instance Data.ProtoLens.Field.HasField AnyValue "boolValue" Prelude.Bool where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _AnyValue'value (\ x__ y__ -> x__ {_AnyValue'value = y__}))+ ((Prelude..)+ (Lens.Family2.Unchecked.lens+ (\ x__+ -> case x__ of+ (Prelude.Just (AnyValue'BoolValue x__val)) -> Prelude.Just x__val+ _otherwise -> Prelude.Nothing)+ (\ _ y__ -> Prelude.fmap AnyValue'BoolValue y__))+ (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault))+instance Data.ProtoLens.Field.HasField AnyValue "maybe'intValue" (Prelude.Maybe Data.Int.Int64) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _AnyValue'value (\ x__ y__ -> x__ {_AnyValue'value = y__}))+ (Lens.Family2.Unchecked.lens+ (\ x__+ -> case x__ of+ (Prelude.Just (AnyValue'IntValue x__val)) -> Prelude.Just x__val+ _otherwise -> Prelude.Nothing)+ (\ _ y__ -> Prelude.fmap AnyValue'IntValue y__))+instance Data.ProtoLens.Field.HasField AnyValue "intValue" Data.Int.Int64 where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _AnyValue'value (\ x__ y__ -> x__ {_AnyValue'value = y__}))+ ((Prelude..)+ (Lens.Family2.Unchecked.lens+ (\ x__+ -> case x__ of+ (Prelude.Just (AnyValue'IntValue x__val)) -> Prelude.Just x__val+ _otherwise -> Prelude.Nothing)+ (\ _ y__ -> Prelude.fmap AnyValue'IntValue y__))+ (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault))+instance Data.ProtoLens.Field.HasField AnyValue "maybe'doubleValue" (Prelude.Maybe Prelude.Double) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _AnyValue'value (\ x__ y__ -> x__ {_AnyValue'value = y__}))+ (Lens.Family2.Unchecked.lens+ (\ x__+ -> case x__ of+ (Prelude.Just (AnyValue'DoubleValue x__val)) -> Prelude.Just x__val+ _otherwise -> Prelude.Nothing)+ (\ _ y__ -> Prelude.fmap AnyValue'DoubleValue y__))+instance Data.ProtoLens.Field.HasField AnyValue "doubleValue" Prelude.Double where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _AnyValue'value (\ x__ y__ -> x__ {_AnyValue'value = y__}))+ ((Prelude..)+ (Lens.Family2.Unchecked.lens+ (\ x__+ -> case x__ of+ (Prelude.Just (AnyValue'DoubleValue x__val)) -> Prelude.Just x__val+ _otherwise -> Prelude.Nothing)+ (\ _ y__ -> Prelude.fmap AnyValue'DoubleValue y__))+ (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault))+instance Data.ProtoLens.Field.HasField AnyValue "maybe'arrayValue" (Prelude.Maybe ArrayValue) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _AnyValue'value (\ x__ y__ -> x__ {_AnyValue'value = y__}))+ (Lens.Family2.Unchecked.lens+ (\ x__+ -> case x__ of+ (Prelude.Just (AnyValue'ArrayValue x__val)) -> Prelude.Just x__val+ _otherwise -> Prelude.Nothing)+ (\ _ y__ -> Prelude.fmap AnyValue'ArrayValue y__))+instance Data.ProtoLens.Field.HasField AnyValue "arrayValue" ArrayValue where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _AnyValue'value (\ x__ y__ -> x__ {_AnyValue'value = y__}))+ ((Prelude..)+ (Lens.Family2.Unchecked.lens+ (\ x__+ -> case x__ of+ (Prelude.Just (AnyValue'ArrayValue x__val)) -> Prelude.Just x__val+ _otherwise -> Prelude.Nothing)+ (\ _ y__ -> Prelude.fmap AnyValue'ArrayValue y__))+ (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))+instance Data.ProtoLens.Field.HasField AnyValue "maybe'kvlistValue" (Prelude.Maybe KeyValueList) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _AnyValue'value (\ x__ y__ -> x__ {_AnyValue'value = y__}))+ (Lens.Family2.Unchecked.lens+ (\ x__+ -> case x__ of+ (Prelude.Just (AnyValue'KvlistValue x__val)) -> Prelude.Just x__val+ _otherwise -> Prelude.Nothing)+ (\ _ y__ -> Prelude.fmap AnyValue'KvlistValue y__))+instance Data.ProtoLens.Field.HasField AnyValue "kvlistValue" KeyValueList where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _AnyValue'value (\ x__ y__ -> x__ {_AnyValue'value = y__}))+ ((Prelude..)+ (Lens.Family2.Unchecked.lens+ (\ x__+ -> case x__ of+ (Prelude.Just (AnyValue'KvlistValue x__val)) -> Prelude.Just x__val+ _otherwise -> Prelude.Nothing)+ (\ _ y__ -> Prelude.fmap AnyValue'KvlistValue y__))+ (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))+instance Data.ProtoLens.Field.HasField AnyValue "maybe'bytesValue" (Prelude.Maybe Data.ByteString.ByteString) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _AnyValue'value (\ x__ y__ -> x__ {_AnyValue'value = y__}))+ (Lens.Family2.Unchecked.lens+ (\ x__+ -> case x__ of+ (Prelude.Just (AnyValue'BytesValue x__val)) -> Prelude.Just x__val+ _otherwise -> Prelude.Nothing)+ (\ _ y__ -> Prelude.fmap AnyValue'BytesValue y__))+instance Data.ProtoLens.Field.HasField AnyValue "bytesValue" Data.ByteString.ByteString where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _AnyValue'value (\ x__ y__ -> x__ {_AnyValue'value = y__}))+ ((Prelude..)+ (Lens.Family2.Unchecked.lens+ (\ x__+ -> case x__ of+ (Prelude.Just (AnyValue'BytesValue x__val)) -> Prelude.Just x__val+ _otherwise -> Prelude.Nothing)+ (\ _ y__ -> Prelude.fmap AnyValue'BytesValue y__))+ (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault))+instance Data.ProtoLens.Message AnyValue where+ messageName _+ = Data.Text.pack "opentelemetry.proto.common.v1.AnyValue"+ packedMessageDescriptor _+ = "\n\+ \\bAnyValue\DC2#\n\+ \\fstring_value\CAN\SOH \SOH(\tH\NULR\vstringValue\DC2\US\n\+ \\n\+ \bool_value\CAN\STX \SOH(\bH\NULR\tboolValue\DC2\GS\n\+ \\tint_value\CAN\ETX \SOH(\ETXH\NULR\bintValue\DC2#\n\+ \\fdouble_value\CAN\EOT \SOH(\SOHH\NULR\vdoubleValue\DC2L\n\+ \\varray_value\CAN\ENQ \SOH(\v2).opentelemetry.proto.common.v1.ArrayValueH\NULR\n\+ \arrayValue\DC2P\n\+ \\fkvlist_value\CAN\ACK \SOH(\v2+.opentelemetry.proto.common.v1.KeyValueListH\NULR\vkvlistValue\DC2!\n\+ \\vbytes_value\CAN\a \SOH(\fH\NULR\n\+ \bytesValueB\a\n\+ \\ENQvalue"+ packedFileDescriptor _ = packedFileDescriptor+ fieldsByTag+ = let+ stringValue__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "string_value"+ (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::+ Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)+ (Data.ProtoLens.OptionalField+ (Data.ProtoLens.Field.field @"maybe'stringValue")) ::+ Data.ProtoLens.FieldDescriptor AnyValue+ boolValue__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "bool_value"+ (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField ::+ Data.ProtoLens.FieldTypeDescriptor Prelude.Bool)+ (Data.ProtoLens.OptionalField+ (Data.ProtoLens.Field.field @"maybe'boolValue")) ::+ Data.ProtoLens.FieldDescriptor AnyValue+ intValue__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "int_value"+ (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::+ Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)+ (Data.ProtoLens.OptionalField+ (Data.ProtoLens.Field.field @"maybe'intValue")) ::+ Data.ProtoLens.FieldDescriptor AnyValue+ doubleValue__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "double_value"+ (Data.ProtoLens.ScalarField Data.ProtoLens.DoubleField ::+ Data.ProtoLens.FieldTypeDescriptor Prelude.Double)+ (Data.ProtoLens.OptionalField+ (Data.ProtoLens.Field.field @"maybe'doubleValue")) ::+ Data.ProtoLens.FieldDescriptor AnyValue+ arrayValue__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "array_value"+ (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::+ Data.ProtoLens.FieldTypeDescriptor ArrayValue)+ (Data.ProtoLens.OptionalField+ (Data.ProtoLens.Field.field @"maybe'arrayValue")) ::+ Data.ProtoLens.FieldDescriptor AnyValue+ kvlistValue__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "kvlist_value"+ (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::+ Data.ProtoLens.FieldTypeDescriptor KeyValueList)+ (Data.ProtoLens.OptionalField+ (Data.ProtoLens.Field.field @"maybe'kvlistValue")) ::+ Data.ProtoLens.FieldDescriptor AnyValue+ bytesValue__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "bytes_value"+ (Data.ProtoLens.ScalarField Data.ProtoLens.BytesField ::+ Data.ProtoLens.FieldTypeDescriptor Data.ByteString.ByteString)+ (Data.ProtoLens.OptionalField+ (Data.ProtoLens.Field.field @"maybe'bytesValue")) ::+ Data.ProtoLens.FieldDescriptor AnyValue+ in+ Data.Map.fromList+ [(Data.ProtoLens.Tag 1, stringValue__field_descriptor),+ (Data.ProtoLens.Tag 2, boolValue__field_descriptor),+ (Data.ProtoLens.Tag 3, intValue__field_descriptor),+ (Data.ProtoLens.Tag 4, doubleValue__field_descriptor),+ (Data.ProtoLens.Tag 5, arrayValue__field_descriptor),+ (Data.ProtoLens.Tag 6, kvlistValue__field_descriptor),+ (Data.ProtoLens.Tag 7, bytesValue__field_descriptor)]+ unknownFields+ = Lens.Family2.Unchecked.lens+ _AnyValue'_unknownFields+ (\ x__ y__ -> x__ {_AnyValue'_unknownFields = y__})+ defMessage+ = AnyValue'_constructor+ {_AnyValue'value = Prelude.Nothing, _AnyValue'_unknownFields = []}+ parseMessage+ = let+ loop :: AnyValue -> Data.ProtoLens.Encoding.Bytes.Parser AnyValue+ 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))+ "string_value"+ loop+ (Lens.Family2.set (Data.ProtoLens.Field.field @"stringValue") y x)+ 16+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (Prelude.fmap+ ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt)+ "bool_value"+ loop+ (Lens.Family2.set (Data.ProtoLens.Field.field @"boolValue") y x)+ 24+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (Prelude.fmap+ Prelude.fromIntegral+ Data.ProtoLens.Encoding.Bytes.getVarInt)+ "int_value"+ loop+ (Lens.Family2.set (Data.ProtoLens.Field.field @"intValue") y x)+ 33+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (Prelude.fmap+ Data.ProtoLens.Encoding.Bytes.wordToDouble+ Data.ProtoLens.Encoding.Bytes.getFixed64)+ "double_value"+ loop+ (Lens.Family2.set (Data.ProtoLens.Field.field @"doubleValue") 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)+ "array_value"+ loop+ (Lens.Family2.set (Data.ProtoLens.Field.field @"arrayValue") 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)+ "kvlist_value"+ loop+ (Lens.Family2.set (Data.ProtoLens.Field.field @"kvlistValue") y x)+ 58+ -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)+ (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.getBytes+ (Prelude.fromIntegral len))+ "bytes_value"+ loop+ (Lens.Family2.set (Data.ProtoLens.Field.field @"bytesValue") 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) "AnyValue"+ buildMessage+ = \ _x+ -> (Data.Monoid.<>)+ (case+ Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'value") _x+ of+ Prelude.Nothing -> Data.Monoid.mempty+ (Prelude.Just (AnyValue'StringValue 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 (AnyValue'BoolValue v))+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 16)+ ((Prelude..)+ Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0)+ v)+ (Prelude.Just (AnyValue'IntValue v))+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 24)+ ((Prelude..)+ Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral v)+ (Prelude.Just (AnyValue'DoubleValue v))+ -> (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 33)+ ((Prelude..)+ Data.ProtoLens.Encoding.Bytes.putFixed64+ Data.ProtoLens.Encoding.Bytes.doubleToWord v)+ (Prelude.Just (AnyValue'ArrayValue 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 (AnyValue'KvlistValue 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 (AnyValue'BytesValue v))+ -> (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))+ v))+ (Data.ProtoLens.Encoding.Wire.buildFieldSet+ (Lens.Family2.view Data.ProtoLens.unknownFields _x))+instance Control.DeepSeq.NFData AnyValue where+ rnf+ = \ x__+ -> Control.DeepSeq.deepseq+ (_AnyValue'_unknownFields x__)+ (Control.DeepSeq.deepseq (_AnyValue'value x__) ())+instance Control.DeepSeq.NFData AnyValue'Value where+ rnf (AnyValue'StringValue x__) = Control.DeepSeq.rnf x__+ rnf (AnyValue'BoolValue x__) = Control.DeepSeq.rnf x__+ rnf (AnyValue'IntValue x__) = Control.DeepSeq.rnf x__+ rnf (AnyValue'DoubleValue x__) = Control.DeepSeq.rnf x__+ rnf (AnyValue'ArrayValue x__) = Control.DeepSeq.rnf x__+ rnf (AnyValue'KvlistValue x__) = Control.DeepSeq.rnf x__+ rnf (AnyValue'BytesValue x__) = Control.DeepSeq.rnf x__+_AnyValue'StringValue ::+ Data.ProtoLens.Prism.Prism' AnyValue'Value Data.Text.Text+_AnyValue'StringValue+ = Data.ProtoLens.Prism.prism'+ AnyValue'StringValue+ (\ p__+ -> case p__ of+ (AnyValue'StringValue p__val) -> Prelude.Just p__val+ _otherwise -> Prelude.Nothing)+_AnyValue'BoolValue ::+ Data.ProtoLens.Prism.Prism' AnyValue'Value Prelude.Bool+_AnyValue'BoolValue+ = Data.ProtoLens.Prism.prism'+ AnyValue'BoolValue+ (\ p__+ -> case p__ of+ (AnyValue'BoolValue p__val) -> Prelude.Just p__val+ _otherwise -> Prelude.Nothing)+_AnyValue'IntValue ::+ Data.ProtoLens.Prism.Prism' AnyValue'Value Data.Int.Int64+_AnyValue'IntValue+ = Data.ProtoLens.Prism.prism'+ AnyValue'IntValue+ (\ p__+ -> case p__ of+ (AnyValue'IntValue p__val) -> Prelude.Just p__val+ _otherwise -> Prelude.Nothing)+_AnyValue'DoubleValue ::+ Data.ProtoLens.Prism.Prism' AnyValue'Value Prelude.Double+_AnyValue'DoubleValue+ = Data.ProtoLens.Prism.prism'+ AnyValue'DoubleValue+ (\ p__+ -> case p__ of+ (AnyValue'DoubleValue p__val) -> Prelude.Just p__val+ _otherwise -> Prelude.Nothing)+_AnyValue'ArrayValue ::+ Data.ProtoLens.Prism.Prism' AnyValue'Value ArrayValue+_AnyValue'ArrayValue+ = Data.ProtoLens.Prism.prism'+ AnyValue'ArrayValue+ (\ p__+ -> case p__ of+ (AnyValue'ArrayValue p__val) -> Prelude.Just p__val+ _otherwise -> Prelude.Nothing)+_AnyValue'KvlistValue ::+ Data.ProtoLens.Prism.Prism' AnyValue'Value KeyValueList+_AnyValue'KvlistValue+ = Data.ProtoLens.Prism.prism'+ AnyValue'KvlistValue+ (\ p__+ -> case p__ of+ (AnyValue'KvlistValue p__val) -> Prelude.Just p__val+ _otherwise -> Prelude.Nothing)+_AnyValue'BytesValue ::+ Data.ProtoLens.Prism.Prism' AnyValue'Value Data.ByteString.ByteString+_AnyValue'BytesValue+ = Data.ProtoLens.Prism.prism'+ AnyValue'BytesValue+ (\ p__+ -> case p__ of+ (AnyValue'BytesValue p__val) -> Prelude.Just p__val+ _otherwise -> Prelude.Nothing)+{- | Fields :+ + * 'Proto.Opentelemetry.Proto.Common.V1.Common_Fields.values' @:: Lens' ArrayValue [AnyValue]@+ * 'Proto.Opentelemetry.Proto.Common.V1.Common_Fields.vec'values' @:: Lens' ArrayValue (Data.Vector.Vector AnyValue)@ -}+data ArrayValue+ = ArrayValue'_constructor {_ArrayValue'values :: !(Data.Vector.Vector AnyValue),+ _ArrayValue'_unknownFields :: !Data.ProtoLens.FieldSet}+ deriving stock (Prelude.Eq, Prelude.Ord)+instance Prelude.Show ArrayValue where+ showsPrec _ __x __s+ = Prelude.showChar+ '{'+ (Prelude.showString+ (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))+instance Data.ProtoLens.Field.HasField ArrayValue "values" [AnyValue] where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ArrayValue'values (\ x__ y__ -> x__ {_ArrayValue'values = y__}))+ (Lens.Family2.Unchecked.lens+ Data.Vector.Generic.toList+ (\ _ y__ -> Data.Vector.Generic.fromList y__))+instance Data.ProtoLens.Field.HasField ArrayValue "vec'values" (Data.Vector.Vector AnyValue) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _ArrayValue'values (\ x__ y__ -> x__ {_ArrayValue'values = y__}))+ Prelude.id+instance Data.ProtoLens.Message ArrayValue where+ messageName _+ = Data.Text.pack "opentelemetry.proto.common.v1.ArrayValue"+ packedMessageDescriptor _+ = "\n\+ \\n\+ \ArrayValue\DC2?\n\+ \\ACKvalues\CAN\SOH \ETX(\v2'.opentelemetry.proto.common.v1.AnyValueR\ACKvalues"+ packedFileDescriptor _ = packedFileDescriptor+ fieldsByTag+ = let+ values__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "values"+ (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::+ Data.ProtoLens.FieldTypeDescriptor AnyValue)+ (Data.ProtoLens.RepeatedField+ Data.ProtoLens.Unpacked (Data.ProtoLens.Field.field @"values")) ::+ Data.ProtoLens.FieldDescriptor ArrayValue+ in+ Data.Map.fromList+ [(Data.ProtoLens.Tag 1, values__field_descriptor)]+ unknownFields+ = Lens.Family2.Unchecked.lens+ _ArrayValue'_unknownFields+ (\ x__ y__ -> x__ {_ArrayValue'_unknownFields = y__})+ defMessage+ = ArrayValue'_constructor+ {_ArrayValue'values = Data.Vector.Generic.empty,+ _ArrayValue'_unknownFields = []}+ parseMessage+ = let+ loop ::+ ArrayValue+ -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld AnyValue+ -> Data.ProtoLens.Encoding.Bytes.Parser ArrayValue+ loop x mutable'values+ = do end <- Data.ProtoLens.Encoding.Bytes.atEnd+ if end then+ do frozen'values <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.unsafeFreeze+ mutable'values)+ (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'values") frozen'values 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)+ "values"+ v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.append mutable'values 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'values+ in+ (Data.ProtoLens.Encoding.Bytes.<?>)+ (do mutable'values <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ Data.ProtoLens.Encoding.Growing.new+ loop Data.ProtoLens.defMessage mutable'values)+ "ArrayValue"+ 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'values") _x))+ (Data.ProtoLens.Encoding.Wire.buildFieldSet+ (Lens.Family2.view Data.ProtoLens.unknownFields _x))+instance Control.DeepSeq.NFData ArrayValue where+ rnf+ = \ x__+ -> Control.DeepSeq.deepseq+ (_ArrayValue'_unknownFields x__)+ (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}+ deriving stock (Prelude.Eq, Prelude.Ord)+instance Prelude.Show InstrumentationLibrary 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+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _InstrumentationLibrary'name+ (\ x__ y__ -> x__ {_InstrumentationLibrary'name = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField InstrumentationLibrary "version" Data.Text.Text where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _InstrumentationLibrary'version+ (\ x__ y__ -> x__ {_InstrumentationLibrary'version = y__}))+ Prelude.id+instance Data.ProtoLens.Message InstrumentationLibrary where+ messageName _+ = Data.Text.pack+ "opentelemetry.proto.common.v1.InstrumentationLibrary"+ packedMessageDescriptor _+ = "\n\+ \\SYNInstrumentationLibrary\DC2\DC2\n\+ \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC2\CAN\n\+ \\aversion\CAN\STX \SOH(\tR\aversion"+ 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 InstrumentationLibrary+ version__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "version"+ (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::+ Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)+ (Data.ProtoLens.PlainField+ Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"version")) ::+ Data.ProtoLens.FieldDescriptor InstrumentationLibrary+ in+ Data.Map.fromList+ [(Data.ProtoLens.Tag 1, name__field_descriptor),+ (Data.ProtoLens.Tag 2, version__field_descriptor)]+ unknownFields+ = Lens.Family2.Unchecked.lens+ _InstrumentationLibrary'_unknownFields+ (\ x__ y__ -> x__ {_InstrumentationLibrary'_unknownFields = y__})+ defMessage+ = InstrumentationLibrary'_constructor+ {_InstrumentationLibrary'name = Data.ProtoLens.fieldDefault,+ _InstrumentationLibrary'version = Data.ProtoLens.fieldDefault,+ _InstrumentationLibrary'_unknownFields = []}+ parseMessage+ = let+ loop ::+ InstrumentationLibrary+ -> Data.ProtoLens.Encoding.Bytes.Parser InstrumentationLibrary+ 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))+ "version"+ loop (Lens.Family2.set (Data.ProtoLens.Field.field @"version") 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) "InstrumentationLibrary"+ 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 @"version") _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 InstrumentationLibrary where+ rnf+ = \ x__+ -> Control.DeepSeq.deepseq+ (_InstrumentationLibrary'_unknownFields x__)+ (Control.DeepSeq.deepseq+ (_InstrumentationLibrary'name x__)+ (Control.DeepSeq.deepseq (_InstrumentationLibrary'version x__) ()))+{- | Fields :+ + * 'Proto.Opentelemetry.Proto.Common.V1.Common_Fields.key' @:: Lens' KeyValue Data.Text.Text@+ * 'Proto.Opentelemetry.Proto.Common.V1.Common_Fields.value' @:: Lens' KeyValue AnyValue@+ * 'Proto.Opentelemetry.Proto.Common.V1.Common_Fields.maybe'value' @:: Lens' KeyValue (Prelude.Maybe AnyValue)@ -}+data KeyValue+ = KeyValue'_constructor {_KeyValue'key :: !Data.Text.Text,+ _KeyValue'value :: !(Prelude.Maybe AnyValue),+ _KeyValue'_unknownFields :: !Data.ProtoLens.FieldSet}+ deriving stock (Prelude.Eq, Prelude.Ord)+instance Prelude.Show KeyValue where+ showsPrec _ __x __s+ = Prelude.showChar+ '{'+ (Prelude.showString+ (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))+instance Data.ProtoLens.Field.HasField KeyValue "key" Data.Text.Text where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _KeyValue'key (\ x__ y__ -> x__ {_KeyValue'key = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField KeyValue "value" AnyValue where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _KeyValue'value (\ x__ y__ -> x__ {_KeyValue'value = y__}))+ (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)+instance Data.ProtoLens.Field.HasField KeyValue "maybe'value" (Prelude.Maybe AnyValue) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _KeyValue'value (\ x__ y__ -> x__ {_KeyValue'value = y__}))+ Prelude.id+instance Data.ProtoLens.Message KeyValue where+ messageName _+ = Data.Text.pack "opentelemetry.proto.common.v1.KeyValue"+ packedMessageDescriptor _+ = "\n\+ \\bKeyValue\DC2\DLE\n\+ \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC2=\n\+ \\ENQvalue\CAN\STX \SOH(\v2'.opentelemetry.proto.common.v1.AnyValueR\ENQvalue"+ 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 KeyValue+ value__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "value"+ (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::+ Data.ProtoLens.FieldTypeDescriptor AnyValue)+ (Data.ProtoLens.OptionalField+ (Data.ProtoLens.Field.field @"maybe'value")) ::+ Data.ProtoLens.FieldDescriptor KeyValue+ in+ Data.Map.fromList+ [(Data.ProtoLens.Tag 1, key__field_descriptor),+ (Data.ProtoLens.Tag 2, value__field_descriptor)]+ unknownFields+ = Lens.Family2.Unchecked.lens+ _KeyValue'_unknownFields+ (\ x__ y__ -> x__ {_KeyValue'_unknownFields = y__})+ defMessage+ = KeyValue'_constructor+ {_KeyValue'key = Data.ProtoLens.fieldDefault,+ _KeyValue'value = Prelude.Nothing, _KeyValue'_unknownFields = []}+ parseMessage+ = let+ loop :: KeyValue -> Data.ProtoLens.Encoding.Bytes.Parser KeyValue+ 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 len <- Data.ProtoLens.Encoding.Bytes.getVarInt+ Data.ProtoLens.Encoding.Bytes.isolate+ (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)+ "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) "KeyValue"+ 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.<>)+ (case+ Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'value") _x+ of+ Prelude.Nothing -> Data.Monoid.mempty+ (Prelude.Just _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))+ (Data.ProtoLens.Encoding.Wire.buildFieldSet+ (Lens.Family2.view Data.ProtoLens.unknownFields _x)))+instance Control.DeepSeq.NFData KeyValue where+ rnf+ = \ x__+ -> Control.DeepSeq.deepseq+ (_KeyValue'_unknownFields x__)+ (Control.DeepSeq.deepseq+ (_KeyValue'key x__)+ (Control.DeepSeq.deepseq (_KeyValue'value x__) ()))+{- | Fields :+ + * 'Proto.Opentelemetry.Proto.Common.V1.Common_Fields.values' @:: Lens' KeyValueList [KeyValue]@+ * 'Proto.Opentelemetry.Proto.Common.V1.Common_Fields.vec'values' @:: Lens' KeyValueList (Data.Vector.Vector KeyValue)@ -}+data KeyValueList+ = KeyValueList'_constructor {_KeyValueList'values :: !(Data.Vector.Vector KeyValue),+ _KeyValueList'_unknownFields :: !Data.ProtoLens.FieldSet}+ deriving stock (Prelude.Eq, Prelude.Ord)+instance Prelude.Show KeyValueList where+ showsPrec _ __x __s+ = Prelude.showChar+ '{'+ (Prelude.showString+ (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))+instance Data.ProtoLens.Field.HasField KeyValueList "values" [KeyValue] where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _KeyValueList'values+ (\ x__ y__ -> x__ {_KeyValueList'values = y__}))+ (Lens.Family2.Unchecked.lens+ Data.Vector.Generic.toList+ (\ _ y__ -> Data.Vector.Generic.fromList y__))+instance Data.ProtoLens.Field.HasField KeyValueList "vec'values" (Data.Vector.Vector KeyValue) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _KeyValueList'values+ (\ x__ y__ -> x__ {_KeyValueList'values = y__}))+ Prelude.id+instance Data.ProtoLens.Message KeyValueList where+ messageName _+ = Data.Text.pack "opentelemetry.proto.common.v1.KeyValueList"+ packedMessageDescriptor _+ = "\n\+ \\fKeyValueList\DC2?\n\+ \\ACKvalues\CAN\SOH \ETX(\v2'.opentelemetry.proto.common.v1.KeyValueR\ACKvalues"+ packedFileDescriptor _ = packedFileDescriptor+ fieldsByTag+ = let+ values__field_descriptor+ = Data.ProtoLens.FieldDescriptor+ "values"+ (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::+ Data.ProtoLens.FieldTypeDescriptor KeyValue)+ (Data.ProtoLens.RepeatedField+ Data.ProtoLens.Unpacked (Data.ProtoLens.Field.field @"values")) ::+ Data.ProtoLens.FieldDescriptor KeyValueList+ in+ Data.Map.fromList+ [(Data.ProtoLens.Tag 1, values__field_descriptor)]+ unknownFields+ = Lens.Family2.Unchecked.lens+ _KeyValueList'_unknownFields+ (\ x__ y__ -> x__ {_KeyValueList'_unknownFields = y__})+ defMessage+ = KeyValueList'_constructor+ {_KeyValueList'values = Data.Vector.Generic.empty,+ _KeyValueList'_unknownFields = []}+ parseMessage+ = let+ loop ::+ KeyValueList+ -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld KeyValue+ -> Data.ProtoLens.Encoding.Bytes.Parser KeyValueList+ loop x mutable'values+ = do end <- Data.ProtoLens.Encoding.Bytes.atEnd+ if end then+ do frozen'values <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.unsafeFreeze+ mutable'values)+ (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'values") frozen'values 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)+ "values"+ v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ (Data.ProtoLens.Encoding.Growing.append mutable'values 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'values+ in+ (Data.ProtoLens.Encoding.Bytes.<?>)+ (do mutable'values <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO+ Data.ProtoLens.Encoding.Growing.new+ loop Data.ProtoLens.defMessage mutable'values)+ "KeyValueList"+ 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'values") _x))+ (Data.ProtoLens.Encoding.Wire.buildFieldSet+ (Lens.Family2.view Data.ProtoLens.unknownFields _x))+instance Control.DeepSeq.NFData KeyValueList where+ rnf+ = \ x__+ -> 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\+ \*opentelemetry/proto/common/v1/common.proto\DC2\GSopentelemetry.proto.common.v1\"\224\STX\n\+ \\bAnyValue\DC2#\n\+ \\fstring_value\CAN\SOH \SOH(\tH\NULR\vstringValue\DC2\US\n\+ \\n\+ \bool_value\CAN\STX \SOH(\bH\NULR\tboolValue\DC2\GS\n\+ \\tint_value\CAN\ETX \SOH(\ETXH\NULR\bintValue\DC2#\n\+ \\fdouble_value\CAN\EOT \SOH(\SOHH\NULR\vdoubleValue\DC2L\n\+ \\varray_value\CAN\ENQ \SOH(\v2).opentelemetry.proto.common.v1.ArrayValueH\NULR\n\+ \arrayValue\DC2P\n\+ \\fkvlist_value\CAN\ACK \SOH(\v2+.opentelemetry.proto.common.v1.KeyValueListH\NULR\vkvlistValue\DC2!\n\+ \\vbytes_value\CAN\a \SOH(\fH\NULR\n\+ \bytesValueB\a\n\+ \\ENQvalue\"M\n\+ \\n\+ \ArrayValue\DC2?\n\+ \\ACKvalues\CAN\SOH \ETX(\v2'.opentelemetry.proto.common.v1.AnyValueR\ACKvalues\"O\n\+ \\fKeyValueList\DC2?\n\+ \\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\+ \\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\+ \\ACK\DC2\EOT\SO\NULP\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\NUL9\n\+ \\t\n\+ \\STX\b\SOH\DC2\ETX\DC3\NUL9\n\+ \\b\n\+ \\SOH\b\DC2\ETX\DC4\NUL,\n\+ \\t\n\+ \\STX\b\b\DC2\ETX\DC4\NUL,\n\+ \\b\n\+ \\SOH\b\DC2\ETX\NAK\NULU\n\+ \\t\n\+ \\STX\b\v\DC2\ETX\NAK\NULU\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\+ \ 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\+ \\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\+ \ 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\+ \\v\n\+ \\EOT\EOT\NUL\STX\NUL\DC2\ETX\RS\EOT\FS\n\+ \\f\n\+ \\ENQ\EOT\NUL\STX\NUL\ENQ\DC2\ETX\RS\EOT\n\+ \\n\+ \\f\n\+ \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX\RS\v\ETB\n\+ \\f\n\+ \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX\RS\SUB\ESC\n\+ \\v\n\+ \\EOT\EOT\NUL\STX\SOH\DC2\ETX\US\EOT\CAN\n\+ \\f\n\+ \\ENQ\EOT\NUL\STX\SOH\ENQ\DC2\ETX\US\EOT\b\n\+ \\f\n\+ \\ENQ\EOT\NUL\STX\SOH\SOH\DC2\ETX\US\t\DC3\n\+ \\f\n\+ \\ENQ\EOT\NUL\STX\SOH\ETX\DC2\ETX\US\SYN\ETB\n\+ \\v\n\+ \\EOT\EOT\NUL\STX\STX\DC2\ETX \EOT\CAN\n\+ \\f\n\+ \\ENQ\EOT\NUL\STX\STX\ENQ\DC2\ETX \EOT\t\n\+ \\f\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\+ \\v\n\+ \\EOT\EOT\NUL\STX\ETX\DC2\ETX!\EOT\FS\n\+ \\f\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\+ \\f\n\+ \\ENQ\EOT\NUL\STX\ETX\ETX\DC2\ETX!\SUB\ESC\n\+ \\v\n\+ \\EOT\EOT\NUL\STX\EOT\DC2\ETX\"\EOT\US\n\+ \\f\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\+ \\f\n\+ \\ENQ\EOT\NUL\STX\EOT\ETX\DC2\ETX\"\GS\RS\n\+ \\v\n\+ \\EOT\EOT\NUL\STX\ENQ\DC2\ETX#\EOT\"\n\+ \\f\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\+ \\f\n\+ \\ENQ\EOT\NUL\STX\ENQ\ETX\DC2\ETX# !\n\+ \\v\n\+ \\EOT\EOT\NUL\STX\ACK\DC2\ETX$\EOT\SUB\n\+ \\f\n\+ \\ENQ\EOT\NUL\STX\ACK\ENQ\DC2\ETX$\EOT\t\n\+ \\f\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\+ \\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\+ \ since oneof in AnyValue does not allow repeated fields.\n\+ \\n\+ \\n\+ \\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\+ \\n\+ \\f\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\+ \\f\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\+ \\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\+ \ 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\+ \ are semantically equivalent.\n\+ \\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\+ \ contain 0 elements).\n\+ \\n\+ \\f\n\+ \\ENQ\EOT\STX\STX\NUL\EOT\DC2\ETX7\STX\n\+ \\n\+ \\f\n\+ \\ENQ\EOT\STX\STX\NUL\ACK\DC2\ETX7\v\DC3\n\+ \\f\n\+ \\ENQ\EOT\STX\STX\NUL\SOH\DC2\ETX7\DC4\SUB\n\+ \\f\n\+ \\ENQ\EOT\STX\STX\NUL\ETX\DC2\ETX7\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\+ \ attributes, etc.\n\+ \\n\+ \\n\+ \\n\+ \\ETX\EOT\ETX\SOH\DC2\ETX<\b\DLE\n\+ \\v\n\+ \\EOT\EOT\ETX\STX\NUL\DC2\ETX=\STX\DC1\n\+ \\f\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\+ \\f\n\+ \\ENQ\EOT\ETX\STX\NUL\ETX\DC2\ETX=\SI\DLE\n\+ \\v\n\+ \\EOT\EOT\ETX\STX\SOH\DC2\ETX>\STX\NAK\n\+ \\f\n\+ \\ENQ\EOT\ETX\STX\SOH\ACK\DC2\ETX>\STX\n\+ \\n\+ \\f\n\+ \\ENQ\EOT\ETX\STX\SOH\SOH\DC2\ETX>\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\+ \\n\+ \\n\+ \\n\+ \\ETX\EOT\EOT\SOH\DC2\ETXC\b\SYN\n\+ \\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\+ \\f\n\+ \\ENQ\EOT\EOT\STX\NUL\SOH\DC2\ETXF\t\f\n\+ \\f\n\+ \\ENQ\EOT\EOT\STX\NUL\ETX\DC2\ETXF\SI\DLE\n\+ \\v\n\+ \\EOT\EOT\EOT\STX\SOH\DC2\ETXG\STX\DC3\n\+ \\f\n\+ \\ENQ\EOT\EOT\STX\SOH\ENQ\DC2\ETXG\STX\b\n\+ \\f\n\+ \\ENQ\EOT\EOT\STX\SOH\SOH\DC2\ETXG\t\SO\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\+ \\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\+ \\n\+ \\f\n\+ \\ENQ\EOT\ENQ\STX\NUL\ENQ\DC2\ETXN\STX\b\n\+ \\f\n\+ \\ENQ\EOT\ENQ\STX\NUL\SOH\DC2\ETXN\t\r\n\+ \\f\n\+ \\ENQ\EOT\ENQ\STX\NUL\ETX\DC2\ETXN\DLE\DC1\n\+ \\v\n\+ \\EOT\EOT\ENQ\STX\SOH\DC2\ETXO\STX\NAK\n\+ \\f\n\+ \\ENQ\EOT\ENQ\STX\SOH\ENQ\DC2\ETXO\STX\b\n\+ \\f\n\+ \\ENQ\EOT\ENQ\STX\SOH\SOH\DC2\ETXO\t\DLE\n\+ \\f\n\+ \\ENQ\EOT\ENQ\STX\SOH\ETX\DC2\ETXO\DC3\DC4b\ACKproto3"
+ src/Proto/Opentelemetry/Proto/Common/V1/Common_Fields.hs view
@@ -0,0 +1,150 @@+{- 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#-}+{-# OPTIONS_GHC -Wno-duplicate-exports#-}+{-# OPTIONS_GHC -Wno-dodgy-exports#-}+module Proto.Opentelemetry.Proto.Common.V1.Common_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+arrayValue ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "arrayValue" a) =>+ Lens.Family2.LensLike' f s a+arrayValue = Data.ProtoLens.Field.field @"arrayValue"+boolValue ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "boolValue" a) =>+ Lens.Family2.LensLike' f s a+boolValue = Data.ProtoLens.Field.field @"boolValue"+bytesValue ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "bytesValue" a) =>+ Lens.Family2.LensLike' f s a+bytesValue = Data.ProtoLens.Field.field @"bytesValue"+doubleValue ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "doubleValue" a) =>+ Lens.Family2.LensLike' f s a+doubleValue = Data.ProtoLens.Field.field @"doubleValue"+intValue ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "intValue" a) =>+ Lens.Family2.LensLike' f s a+intValue = Data.ProtoLens.Field.field @"intValue"+key ::+ forall f s a.+ (Prelude.Functor f, Data.ProtoLens.Field.HasField s "key" a) =>+ Lens.Family2.LensLike' f s a+key = Data.ProtoLens.Field.field @"key"+kvlistValue ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "kvlistValue" a) =>+ Lens.Family2.LensLike' f s a+kvlistValue = Data.ProtoLens.Field.field @"kvlistValue"+maybe'arrayValue ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "maybe'arrayValue" a) =>+ Lens.Family2.LensLike' f s a+maybe'arrayValue = Data.ProtoLens.Field.field @"maybe'arrayValue"+maybe'boolValue ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "maybe'boolValue" a) =>+ Lens.Family2.LensLike' f s a+maybe'boolValue = Data.ProtoLens.Field.field @"maybe'boolValue"+maybe'bytesValue ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "maybe'bytesValue" a) =>+ Lens.Family2.LensLike' f s a+maybe'bytesValue = Data.ProtoLens.Field.field @"maybe'bytesValue"+maybe'doubleValue ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "maybe'doubleValue" a) =>+ Lens.Family2.LensLike' f s a+maybe'doubleValue = Data.ProtoLens.Field.field @"maybe'doubleValue"+maybe'intValue ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "maybe'intValue" a) =>+ Lens.Family2.LensLike' f s a+maybe'intValue = Data.ProtoLens.Field.field @"maybe'intValue"+maybe'kvlistValue ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "maybe'kvlistValue" a) =>+ Lens.Family2.LensLike' f s a+maybe'kvlistValue = Data.ProtoLens.Field.field @"maybe'kvlistValue"+maybe'stringValue ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "maybe'stringValue" a) =>+ Lens.Family2.LensLike' f s a+maybe'stringValue = Data.ProtoLens.Field.field @"maybe'stringValue"+maybe'value ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "maybe'value" a) =>+ Lens.Family2.LensLike' f s a+maybe'value = Data.ProtoLens.Field.field @"maybe'value"+name ::+ forall f s a.+ (Prelude.Functor f, Data.ProtoLens.Field.HasField s "name" a) =>+ Lens.Family2.LensLike' f s a+name = Data.ProtoLens.Field.field @"name"+stringValue ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "stringValue" a) =>+ Lens.Family2.LensLike' f s a+stringValue = Data.ProtoLens.Field.field @"stringValue"+value ::+ forall f s a.+ (Prelude.Functor f, Data.ProtoLens.Field.HasField s "value" a) =>+ Lens.Family2.LensLike' f s a+value = Data.ProtoLens.Field.field @"value"+values ::+ forall f s a.+ (Prelude.Functor f, Data.ProtoLens.Field.HasField s "values" a) =>+ Lens.Family2.LensLike' f s a+values = Data.ProtoLens.Field.field @"values"+vec'values ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "vec'values" a) =>+ Lens.Family2.LensLike' f s a+vec'values = Data.ProtoLens.Field.field @"vec'values"+version ::+ forall f s a.+ (Prelude.Functor f, Data.ProtoLens.Field.HasField s "version" a) =>+ Lens.Family2.LensLike' f s a+version = Data.ProtoLens.Field.field @"version"
+ src/Proto/Opentelemetry/Proto/Logs/V1/Logs.hs view
@@ -0,0 +1,2066 @@+{- 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"
+ src/Proto/Opentelemetry/Proto/Logs/V1/Logs_Fields.hs view
@@ -0,0 +1,168 @@+{- 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_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.Common.V1.Common+import qualified Proto.Opentelemetry.Proto.Resource.V1.Resource+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"+body ::+ forall f s a.+ (Prelude.Functor f, Data.ProtoLens.Field.HasField s "body" a) =>+ Lens.Family2.LensLike' f s a+body = Data.ProtoLens.Field.field @"body"+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"+flags ::+ forall f s a.+ (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 ::+ 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) =>+ Lens.Family2.LensLike' f s a+logs = Data.ProtoLens.Field.field @"logs"+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 ::+ forall f s a.+ (Prelude.Functor f, Data.ProtoLens.Field.HasField s "name" a) =>+ Lens.Family2.LensLike' f s a+name = Data.ProtoLens.Field.field @"name"+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"+resourceLogs ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "resourceLogs" a) =>+ Lens.Family2.LensLike' f s a+resourceLogs = Data.ProtoLens.Field.field @"resourceLogs"+schemaUrl ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "schemaUrl" a) =>+ Lens.Family2.LensLike' f s a+schemaUrl = Data.ProtoLens.Field.field @"schemaUrl"+severityNumber ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "severityNumber" a) =>+ Lens.Family2.LensLike' f s a+severityNumber = Data.ProtoLens.Field.field @"severityNumber"+severityText ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "severityText" a) =>+ Lens.Family2.LensLike' f s a+severityText = Data.ProtoLens.Field.field @"severityText"+spanId ::+ forall f s a.+ (Prelude.Functor f, Data.ProtoLens.Field.HasField s "spanId" a) =>+ Lens.Family2.LensLike' f s a+spanId = Data.ProtoLens.Field.field @"spanId"+timeUnixNano ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "timeUnixNano" a) =>+ Lens.Family2.LensLike' f s a+timeUnixNano = Data.ProtoLens.Field.field @"timeUnixNano"+traceId ::+ forall f s a.+ (Prelude.Functor f, Data.ProtoLens.Field.HasField s "traceId" a) =>+ Lens.Family2.LensLike' f s a+traceId = Data.ProtoLens.Field.field @"traceId"+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'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 ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "vec'logs" a) =>+ Lens.Family2.LensLike' f s a+vec'logs = Data.ProtoLens.Field.field @"vec'logs"+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"
+ src/Proto/Opentelemetry/Proto/Metrics/Experimental/MetricsConfigService.hs view
@@ -0,0 +1,1223 @@+{- 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 view
@@ -0,0 +1,135 @@+{- 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
@@ -0,0 +1,9355 @@+{- 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"
+ src/Proto/Opentelemetry/Proto/Metrics/V1/Metrics_Fields.hs view
@@ -0,0 +1,455 @@+{- 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_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.Common.V1.Common+import qualified Proto.Opentelemetry.Proto.Resource.V1.Resource+aggregationTemporality ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "aggregationTemporality" a) =>+ Lens.Family2.LensLike' f s a+aggregationTemporality+ = Data.ProtoLens.Field.field @"aggregationTemporality"+asDouble ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "asDouble" a) =>+ Lens.Family2.LensLike' f s a+asDouble = Data.ProtoLens.Field.field @"asDouble"+asInt ::+ forall f s a.+ (Prelude.Functor f, Data.ProtoLens.Field.HasField s "asInt" a) =>+ Lens.Family2.LensLike' f s a+asInt = Data.ProtoLens.Field.field @"asInt"+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"+bucketCounts ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "bucketCounts" a) =>+ Lens.Family2.LensLike' f s a+bucketCounts = Data.ProtoLens.Field.field @"bucketCounts"+count ::+ forall f s a.+ (Prelude.Functor f, Data.ProtoLens.Field.HasField s "count" a) =>+ Lens.Family2.LensLike' f s a+count = Data.ProtoLens.Field.field @"count"+dataPoints ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "dataPoints" a) =>+ Lens.Family2.LensLike' f s a+dataPoints = Data.ProtoLens.Field.field @"dataPoints"+description ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "description" a) =>+ Lens.Family2.LensLike' f s a+description = Data.ProtoLens.Field.field @"description"+exemplars ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "exemplars" a) =>+ Lens.Family2.LensLike' f s a+exemplars = Data.ProtoLens.Field.field @"exemplars"+explicitBounds ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "explicitBounds" a) =>+ Lens.Family2.LensLike' f s a+explicitBounds = Data.ProtoLens.Field.field @"explicitBounds"+exponentialHistogram ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "exponentialHistogram" a) =>+ Lens.Family2.LensLike' f s a+exponentialHistogram+ = Data.ProtoLens.Field.field @"exponentialHistogram"+filteredAttributes ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "filteredAttributes" a) =>+ 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) =>+ Lens.Family2.LensLike' f s a+flags = Data.ProtoLens.Field.field @"flags"+gauge ::+ forall f s a.+ (Prelude.Functor f, Data.ProtoLens.Field.HasField s "gauge" a) =>+ Lens.Family2.LensLike' f s a+gauge = Data.ProtoLens.Field.field @"gauge"+histogram ::+ forall f s a.+ (Prelude.Functor f,+ 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 ::+ forall f s a.+ (Prelude.Functor f, Data.ProtoLens.Field.HasField s "labels" a) =>+ Lens.Family2.LensLike' f s a+labels = Data.ProtoLens.Field.field @"labels"+maybe'asDouble ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "maybe'asDouble" a) =>+ Lens.Family2.LensLike' f s a+maybe'asDouble = Data.ProtoLens.Field.field @"maybe'asDouble"+maybe'asInt ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "maybe'asInt" a) =>+ Lens.Family2.LensLike' f s a+maybe'asInt = Data.ProtoLens.Field.field @"maybe'asInt"+maybe'data' ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "maybe'data'" a) =>+ Lens.Family2.LensLike' f s a+maybe'data' = Data.ProtoLens.Field.field @"maybe'data'"+maybe'exponentialHistogram ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "maybe'exponentialHistogram" a) =>+ Lens.Family2.LensLike' f s a+maybe'exponentialHistogram+ = Data.ProtoLens.Field.field @"maybe'exponentialHistogram"+maybe'gauge ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "maybe'gauge" a) =>+ Lens.Family2.LensLike' f s a+maybe'gauge = Data.ProtoLens.Field.field @"maybe'gauge"+maybe'histogram ::+ forall f s a.+ (Prelude.Functor f,+ 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 ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "maybe'intHistogram" a) =>+ Lens.Family2.LensLike' f s a+maybe'intHistogram+ = Data.ProtoLens.Field.field @"maybe'intHistogram"+maybe'intSum ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "maybe'intSum" a) =>+ Lens.Family2.LensLike' f s a+maybe'intSum = Data.ProtoLens.Field.field @"maybe'intSum"+maybe'negative ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "maybe'negative" a) =>+ Lens.Family2.LensLike' f s a+maybe'negative = Data.ProtoLens.Field.field @"maybe'negative"+maybe'positive ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "maybe'positive" a) =>+ Lens.Family2.LensLike' f s a+maybe'positive = Data.ProtoLens.Field.field @"maybe'positive"+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'sum ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "maybe'sum" a) =>+ Lens.Family2.LensLike' f s a+maybe'sum = Data.ProtoLens.Field.field @"maybe'sum"+maybe'summary ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "maybe'summary" a) =>+ Lens.Family2.LensLike' f s a+maybe'summary = Data.ProtoLens.Field.field @"maybe'summary"+maybe'value ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "maybe'value" a) =>+ Lens.Family2.LensLike' f s a+maybe'value = Data.ProtoLens.Field.field @"maybe'value"+metrics ::+ forall f s a.+ (Prelude.Functor f, Data.ProtoLens.Field.HasField s "metrics" a) =>+ Lens.Family2.LensLike' f s a+metrics = Data.ProtoLens.Field.field @"metrics"+name ::+ forall f s a.+ (Prelude.Functor f, Data.ProtoLens.Field.HasField s "name" a) =>+ Lens.Family2.LensLike' f s a+name = Data.ProtoLens.Field.field @"name"+negative ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "negative" a) =>+ Lens.Family2.LensLike' f s a+negative = Data.ProtoLens.Field.field @"negative"+offset ::+ forall f s a.+ (Prelude.Functor f, Data.ProtoLens.Field.HasField s "offset" a) =>+ Lens.Family2.LensLike' f s a+offset = Data.ProtoLens.Field.field @"offset"+positive ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "positive" a) =>+ Lens.Family2.LensLike' f s a+positive = Data.ProtoLens.Field.field @"positive"+quantile ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "quantile" a) =>+ Lens.Family2.LensLike' f s a+quantile = Data.ProtoLens.Field.field @"quantile"+quantileValues ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "quantileValues" a) =>+ Lens.Family2.LensLike' f s a+quantileValues = Data.ProtoLens.Field.field @"quantileValues"+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"+resourceMetrics ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "resourceMetrics" a) =>+ Lens.Family2.LensLike' f s a+resourceMetrics = Data.ProtoLens.Field.field @"resourceMetrics"+scale ::+ forall f s a.+ (Prelude.Functor f, Data.ProtoLens.Field.HasField s "scale" a) =>+ Lens.Family2.LensLike' f s a+scale = Data.ProtoLens.Field.field @"scale"+schemaUrl ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "schemaUrl" a) =>+ Lens.Family2.LensLike' f s a+schemaUrl = Data.ProtoLens.Field.field @"schemaUrl"+spanId ::+ forall f s a.+ (Prelude.Functor f, Data.ProtoLens.Field.HasField s "spanId" a) =>+ Lens.Family2.LensLike' f s a+spanId = Data.ProtoLens.Field.field @"spanId"+startTimeUnixNano ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "startTimeUnixNano" a) =>+ Lens.Family2.LensLike' f s a+startTimeUnixNano = Data.ProtoLens.Field.field @"startTimeUnixNano"+sum ::+ forall f s a.+ (Prelude.Functor f, Data.ProtoLens.Field.HasField s "sum" a) =>+ Lens.Family2.LensLike' f s a+sum = Data.ProtoLens.Field.field @"sum"+summary ::+ forall f s a.+ (Prelude.Functor f, Data.ProtoLens.Field.HasField s "summary" a) =>+ Lens.Family2.LensLike' f s a+summary = Data.ProtoLens.Field.field @"summary"+timeUnixNano ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "timeUnixNano" a) =>+ Lens.Family2.LensLike' f s a+timeUnixNano = Data.ProtoLens.Field.field @"timeUnixNano"+traceId ::+ forall f s a.+ (Prelude.Functor f, Data.ProtoLens.Field.HasField s "traceId" a) =>+ Lens.Family2.LensLike' f s a+traceId = Data.ProtoLens.Field.field @"traceId"+unit ::+ forall f s a.+ (Prelude.Functor f, Data.ProtoLens.Field.HasField s "unit" a) =>+ Lens.Family2.LensLike' f s a+unit = Data.ProtoLens.Field.field @"unit"+value ::+ forall f s a.+ (Prelude.Functor f, Data.ProtoLens.Field.HasField s "value" a) =>+ Lens.Family2.LensLike' f s a+value = Data.ProtoLens.Field.field @"value"+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'bucketCounts ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "vec'bucketCounts" a) =>+ Lens.Family2.LensLike' f s a+vec'bucketCounts = Data.ProtoLens.Field.field @"vec'bucketCounts"+vec'dataPoints ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "vec'dataPoints" a) =>+ Lens.Family2.LensLike' f s a+vec'dataPoints = Data.ProtoLens.Field.field @"vec'dataPoints"+vec'exemplars ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "vec'exemplars" a) =>+ Lens.Family2.LensLike' f s a+vec'exemplars = Data.ProtoLens.Field.field @"vec'exemplars"+vec'explicitBounds ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "vec'explicitBounds" a) =>+ Lens.Family2.LensLike' f s a+vec'explicitBounds+ = Data.ProtoLens.Field.field @"vec'explicitBounds"+vec'filteredAttributes ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "vec'filteredAttributes" a) =>+ 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,+ Data.ProtoLens.Field.HasField s "vec'metrics" a) =>+ Lens.Family2.LensLike' f s a+vec'metrics = Data.ProtoLens.Field.field @"vec'metrics"+vec'quantileValues ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "vec'quantileValues" a) =>+ Lens.Family2.LensLike' f s a+vec'quantileValues+ = Data.ProtoLens.Field.field @"vec'quantileValues"+vec'resourceMetrics ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "vec'resourceMetrics" a) =>+ Lens.Family2.LensLike' f s a+vec'resourceMetrics+ = Data.ProtoLens.Field.field @"vec'resourceMetrics"+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"
+ src/Proto/Opentelemetry/Proto/Resource/V1/Resource.hs view
@@ -0,0 +1,295 @@+{- 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#-}+{-# OPTIONS_GHC -Wno-duplicate-exports#-}+{-# OPTIONS_GHC -Wno-dodgy-exports#-}+module Proto.Opentelemetry.Proto.Resource.V1.Resource (+ Resource()+ ) 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+{- | Fields :+ + * 'Proto.Opentelemetry.Proto.Resource.V1.Resource_Fields.attributes' @:: Lens' Resource [Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue]@+ * 'Proto.Opentelemetry.Proto.Resource.V1.Resource_Fields.vec'attributes' @:: Lens' Resource (Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue)@+ * 'Proto.Opentelemetry.Proto.Resource.V1.Resource_Fields.droppedAttributesCount' @:: Lens' Resource Data.Word.Word32@ -}+data Resource+ = Resource'_constructor {_Resource'attributes :: !(Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue),+ _Resource'droppedAttributesCount :: !Data.Word.Word32,+ _Resource'_unknownFields :: !Data.ProtoLens.FieldSet}+ deriving stock (Prelude.Eq, Prelude.Ord)+instance Prelude.Show Resource where+ showsPrec _ __x __s+ = Prelude.showChar+ '{'+ (Prelude.showString+ (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))+instance Data.ProtoLens.Field.HasField Resource "attributes" [Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue] where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Resource'attributes+ (\ x__ y__ -> x__ {_Resource'attributes = y__}))+ (Lens.Family2.Unchecked.lens+ Data.Vector.Generic.toList+ (\ _ y__ -> Data.Vector.Generic.fromList y__))+instance Data.ProtoLens.Field.HasField Resource "vec'attributes" (Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue) where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Resource'attributes+ (\ x__ y__ -> x__ {_Resource'attributes = y__}))+ Prelude.id+instance Data.ProtoLens.Field.HasField Resource "droppedAttributesCount" Data.Word.Word32 where+ fieldOf _+ = (Prelude..)+ (Lens.Family2.Unchecked.lens+ _Resource'droppedAttributesCount+ (\ x__ y__ -> x__ {_Resource'droppedAttributesCount = y__}))+ Prelude.id+instance Data.ProtoLens.Message Resource where+ messageName _+ = Data.Text.pack "opentelemetry.proto.resource.v1.Resource"+ packedMessageDescriptor _+ = "\n\+ \\bResource\DC2G\n\+ \\n\+ \attributes\CAN\SOH \ETX(\v2'.opentelemetry.proto.common.v1.KeyValueR\n\+ \attributes\DC28\n\+ \\CANdropped_attributes_count\CAN\STX \SOH(\rR\SYNdroppedAttributesCount"+ 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 Resource+ 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 Resource+ in+ Data.Map.fromList+ [(Data.ProtoLens.Tag 1, attributes__field_descriptor),+ (Data.ProtoLens.Tag 2, droppedAttributesCount__field_descriptor)]+ unknownFields+ = Lens.Family2.Unchecked.lens+ _Resource'_unknownFields+ (\ x__ y__ -> x__ {_Resource'_unknownFields = y__})+ defMessage+ = Resource'_constructor+ {_Resource'attributes = Data.Vector.Generic.empty,+ _Resource'droppedAttributesCount = Data.ProtoLens.fieldDefault,+ _Resource'_unknownFields = []}+ parseMessage+ = let+ loop ::+ Resource+ -> 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 Resource+ 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.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+ 16+ -> 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)+ "Resource"+ 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 @"droppedAttributesCount") _x+ in+ if (Prelude.==) _v Data.ProtoLens.fieldDefault then+ Data.Monoid.mempty+ else+ (Data.Monoid.<>)+ (Data.ProtoLens.Encoding.Bytes.putVarInt 16)+ ((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 Resource where+ rnf+ = \ x__+ -> Control.DeepSeq.deepseq+ (_Resource'_unknownFields x__)+ (Control.DeepSeq.deepseq+ (_Resource'attributes x__)+ (Control.DeepSeq.deepseq+ (_Resource'droppedAttributesCount x__) ()))+packedFileDescriptor :: Data.ByteString.ByteString+packedFileDescriptor+ = "\n\+ \.opentelemetry/proto/resource/v1/resource.proto\DC2\USopentelemetry.proto.resource.v1\SUB*opentelemetry/proto/common/v1/common.proto\"\141\SOH\n\+ \\bResource\DC2G\n\+ \\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\+ \\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\+ \\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\NUL;\n\+ \\t\n\+ \\STX\b\SOH\DC2\ETX\NAK\NUL;\n\+ \\b\n\+ \\SOH\b\DC2\ETX\SYN\NUL.\n\+ \\t\n\+ \\STX\b\b\DC2\ETX\SYN\NUL.\n\+ \\b\n\+ \\SOH\b\DC2\ETX\ETB\NULW\n\+ \\t\n\+ \\STX\b\v\DC2\ETX\ETB\NULW\n\+ \#\n\+ \\STX\EOT\NUL\DC2\EOT\SUB\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\+ \\n\+ \\f\n\+ \\ENQ\EOT\NUL\STX\NUL\EOT\DC2\ETX\FS\STX\n\+ \\n\+ \\f\n\+ \\ENQ\EOT\NUL\STX\NUL\ACK\DC2\ETX\FS\v1\n\+ \\f\n\+ \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX\FS2<\n\+ \\f\n\+ \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX\FS?@\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\+ \ no attributes were dropped.\n\+ \\n\+ \\f\n\+ \\ENQ\EOT\NUL\STX\SOH\ENQ\DC2\ETX \STX\b\n\+ \\f\n\+ \\ENQ\EOT\NUL\STX\SOH\SOH\DC2\ETX \t!\n\+ \\f\n\+ \\ENQ\EOT\NUL\STX\SOH\ETX\DC2\ETX $%b\ACKproto3"
+ src/Proto/Opentelemetry/Proto/Resource/V1/Resource_Fields.hs view
@@ -0,0 +1,49 @@+{- 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#-}+{-# OPTIONS_GHC -Wno-duplicate-exports#-}+{-# OPTIONS_GHC -Wno-dodgy-exports#-}+module Proto.Opentelemetry.Proto.Resource.V1.Resource_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.Common.V1.Common+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"+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"+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"
+ src/Proto/Opentelemetry/Proto/Trace/V1/Trace.hs view
@@ -0,0 +1,3654 @@+{- 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"
+ src/Proto/Opentelemetry/Proto/Trace/V1/TraceConfig.hs view
@@ -0,0 +1,1201 @@+{- 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 view
@@ -0,0 +1,126 @@+{- 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
@@ -0,0 +1,231 @@+{- 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_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.Common.V1.Common+import qualified Proto.Opentelemetry.Proto.Resource.V1.Resource+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"+code ::+ forall f s a.+ (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,+ Data.ProtoLens.Field.HasField s "droppedAttributesCount" a) =>+ Lens.Family2.LensLike' f s a+droppedAttributesCount+ = Data.ProtoLens.Field.field @"droppedAttributesCount"+droppedEventsCount ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "droppedEventsCount" a) =>+ Lens.Family2.LensLike' f s a+droppedEventsCount+ = Data.ProtoLens.Field.field @"droppedEventsCount"+droppedLinksCount ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "droppedLinksCount" a) =>+ Lens.Family2.LensLike' f s a+droppedLinksCount = Data.ProtoLens.Field.field @"droppedLinksCount"+endTimeUnixNano ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "endTimeUnixNano" a) =>+ Lens.Family2.LensLike' f s a+endTimeUnixNano = Data.ProtoLens.Field.field @"endTimeUnixNano"+events ::+ forall f s a.+ (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) =>+ Lens.Family2.LensLike' f s a+kind = Data.ProtoLens.Field.field @"kind"+links ::+ forall f s a.+ (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'status ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "maybe'status" a) =>+ Lens.Family2.LensLike' f s a+maybe'status = Data.ProtoLens.Field.field @"maybe'status"+message ::+ forall f s a.+ (Prelude.Functor f, Data.ProtoLens.Field.HasField s "message" a) =>+ Lens.Family2.LensLike' f s a+message = Data.ProtoLens.Field.field @"message"+name ::+ forall f s a.+ (Prelude.Functor f, Data.ProtoLens.Field.HasField s "name" a) =>+ Lens.Family2.LensLike' f s a+name = Data.ProtoLens.Field.field @"name"+parentSpanId ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "parentSpanId" a) =>+ Lens.Family2.LensLike' f s a+parentSpanId = Data.ProtoLens.Field.field @"parentSpanId"+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"+resourceSpans ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "resourceSpans" a) =>+ Lens.Family2.LensLike' f s a+resourceSpans = Data.ProtoLens.Field.field @"resourceSpans"+schemaUrl ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "schemaUrl" a) =>+ Lens.Family2.LensLike' f s a+schemaUrl = Data.ProtoLens.Field.field @"schemaUrl"+spanId ::+ forall f s a.+ (Prelude.Functor f, Data.ProtoLens.Field.HasField s "spanId" a) =>+ Lens.Family2.LensLike' f s a+spanId = Data.ProtoLens.Field.field @"spanId"+spans ::+ forall f s a.+ (Prelude.Functor f, Data.ProtoLens.Field.HasField s "spans" a) =>+ Lens.Family2.LensLike' f s a+spans = Data.ProtoLens.Field.field @"spans"+startTimeUnixNano ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "startTimeUnixNano" a) =>+ Lens.Family2.LensLike' f s a+startTimeUnixNano = Data.ProtoLens.Field.field @"startTimeUnixNano"+status ::+ forall f s a.+ (Prelude.Functor f, Data.ProtoLens.Field.HasField s "status" a) =>+ Lens.Family2.LensLike' f s a+status = Data.ProtoLens.Field.field @"status"+timeUnixNano ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "timeUnixNano" a) =>+ Lens.Family2.LensLike' f s a+timeUnixNano = Data.ProtoLens.Field.field @"timeUnixNano"+traceId ::+ forall f s a.+ (Prelude.Functor f, Data.ProtoLens.Field.HasField s "traceId" a) =>+ Lens.Family2.LensLike' f s a+traceId = Data.ProtoLens.Field.field @"traceId"+traceState ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "traceState" a) =>+ Lens.Family2.LensLike' f s a+traceState = Data.ProtoLens.Field.field @"traceState"+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'events ::+ forall f s a.+ (Prelude.Functor f,+ 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,+ Data.ProtoLens.Field.HasField s "vec'links" a) =>+ Lens.Family2.LensLike' f s a+vec'links = Data.ProtoLens.Field.field @"vec'links"+vec'resourceSpans ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "vec'resourceSpans" a) =>+ Lens.Family2.LensLike' f s a+vec'resourceSpans = Data.ProtoLens.Field.field @"vec'resourceSpans"+vec'spans ::+ forall f s a.+ (Prelude.Functor f,+ Data.ProtoLens.Field.HasField s "vec'spans" a) =>+ Lens.Family2.LensLike' f s a+vec'spans = Data.ProtoLens.Field.field @"vec'spans"