hs-opentelemetry-otlp-0.1.0.0: OpenTelemetry protocol buffer modules generated for the OTLP protocol by the proto-lens package
Safe HaskellSafe-Inferred
LanguageHaskell2010

Proto.Opentelemetry.Proto.Logs.V1.Logs

Synopsis

Documentation

data LogRecord Source #

Fields :

  • timeUnixNano :: Lens' LogRecord Data.Word.Word64
  • observedTimeUnixNano :: Lens' LogRecord Data.Word.Word64
  • severityNumber :: Lens' LogRecord SeverityNumber
  • severityText :: Lens' LogRecord Data.Text.Text
  • body :: Lens' LogRecord Proto.Opentelemetry.Proto.Common.V1.Common.AnyValue
  • maybe'body :: Lens' LogRecord (Prelude.Maybe Proto.Opentelemetry.Proto.Common.V1.Common.AnyValue)
  • attributes :: Lens' LogRecord [Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue]
  • vec'attributes :: Lens' LogRecord (Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue)
  • droppedAttributesCount :: Lens' LogRecord Data.Word.Word32
  • flags :: Lens' LogRecord Data.Word.Word32
  • traceId :: Lens' LogRecord Data.ByteString.ByteString
  • spanId :: Lens' LogRecord Data.ByteString.ByteString

Instances

Instances details
Show LogRecord Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

NFData LogRecord Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

Methods

rnf :: LogRecord -> () #

Eq LogRecord Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

Ord LogRecord Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

Message LogRecord Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

HasField LogRecord "body" AnyValue Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

Methods

fieldOf :: Functor f => Proxy# "body" -> (AnyValue -> f AnyValue) -> LogRecord -> f LogRecord #

HasField LogRecord "droppedAttributesCount" Word32 Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

Methods

fieldOf :: Functor f => Proxy# "droppedAttributesCount" -> (Word32 -> f Word32) -> LogRecord -> f LogRecord #

HasField LogRecord "flags" Word32 Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

Methods

fieldOf :: Functor f => Proxy# "flags" -> (Word32 -> f Word32) -> LogRecord -> f LogRecord #

HasField LogRecord "observedTimeUnixNano" Word64 Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

Methods

fieldOf :: Functor f => Proxy# "observedTimeUnixNano" -> (Word64 -> f Word64) -> LogRecord -> f LogRecord #

HasField LogRecord "severityNumber" SeverityNumber Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

Methods

fieldOf :: Functor f => Proxy# "severityNumber" -> (SeverityNumber -> f SeverityNumber) -> LogRecord -> f LogRecord #

HasField LogRecord "severityText" Text Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

Methods

fieldOf :: Functor f => Proxy# "severityText" -> (Text -> f Text) -> LogRecord -> f LogRecord #

HasField LogRecord "spanId" ByteString Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

Methods

fieldOf :: Functor f => Proxy# "spanId" -> (ByteString -> f ByteString) -> LogRecord -> f LogRecord #

HasField LogRecord "timeUnixNano" Word64 Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

Methods

fieldOf :: Functor f => Proxy# "timeUnixNano" -> (Word64 -> f Word64) -> LogRecord -> f LogRecord #

HasField LogRecord "traceId" ByteString Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

Methods

fieldOf :: Functor f => Proxy# "traceId" -> (ByteString -> f ByteString) -> LogRecord -> f LogRecord #

HasField LogRecord "attributes" [KeyValue] Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

Methods

fieldOf :: Functor f => Proxy# "attributes" -> ([KeyValue] -> f [KeyValue]) -> LogRecord -> f LogRecord #

HasField LogRecord "maybe'body" (Maybe AnyValue) Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

Methods

fieldOf :: Functor f => Proxy# "maybe'body" -> (Maybe AnyValue -> f (Maybe AnyValue)) -> LogRecord -> f LogRecord #

HasField LogRecord "vec'attributes" (Vector KeyValue) Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

Methods

fieldOf :: Functor f => Proxy# "vec'attributes" -> (Vector KeyValue -> f (Vector KeyValue)) -> LogRecord -> f LogRecord #

HasField ScopeLogs "logRecords" [LogRecord] Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

Methods

fieldOf :: Functor f => Proxy# "logRecords" -> ([LogRecord] -> f [LogRecord]) -> ScopeLogs -> f ScopeLogs #

HasField ScopeLogs "vec'logRecords" (Vector LogRecord) Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

Methods

fieldOf :: Functor f => Proxy# "vec'logRecords" -> (Vector LogRecord -> f (Vector LogRecord)) -> ScopeLogs -> f ScopeLogs #

data LogRecordFlags Source #

Instances

Instances details
Bounded LogRecordFlags Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

Enum LogRecordFlags Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

Show LogRecordFlags Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

NFData LogRecordFlags Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

Methods

rnf :: LogRecordFlags -> () #

Eq LogRecordFlags Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

Ord LogRecordFlags Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

FieldDefault LogRecordFlags Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

MessageEnum LogRecordFlags Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

data LogRecordFlags Source #

Instances

Instances details
Bounded LogRecordFlags Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

Enum LogRecordFlags Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

Show LogRecordFlags Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

NFData LogRecordFlags Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

Methods

rnf :: LogRecordFlags -> () #

Eq LogRecordFlags Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

Ord LogRecordFlags Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

FieldDefault LogRecordFlags Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

MessageEnum LogRecordFlags Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

data LogsData Source #

Fields :

Instances

Instances details
Show LogsData Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

NFData LogsData Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

Methods

rnf :: LogsData -> () #

Eq LogsData Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

Ord LogsData Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

Message LogsData Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

HasField LogsData "resourceLogs" [ResourceLogs] Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

Methods

fieldOf :: Functor f => Proxy# "resourceLogs" -> ([ResourceLogs] -> f [ResourceLogs]) -> LogsData -> f LogsData #

HasField LogsData "vec'resourceLogs" (Vector ResourceLogs) Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

Methods

fieldOf :: Functor f => Proxy# "vec'resourceLogs" -> (Vector ResourceLogs -> f (Vector ResourceLogs)) -> LogsData -> f LogsData #

data ResourceLogs Source #

Fields :

  • resource :: Lens' ResourceLogs Proto.Opentelemetry.Proto.Resource.V1.Resource.Resource
  • maybe'resource :: Lens' ResourceLogs (Prelude.Maybe Proto.Opentelemetry.Proto.Resource.V1.Resource.Resource)
  • scopeLogs :: Lens' ResourceLogs [ScopeLogs]
  • vec'scopeLogs :: Lens' ResourceLogs (Data.Vector.Vector ScopeLogs)
  • schemaUrl :: Lens' ResourceLogs Data.Text.Text

Instances

Instances details
Show ResourceLogs Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

NFData ResourceLogs Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

Methods

rnf :: ResourceLogs -> () #

Eq ResourceLogs Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

Ord ResourceLogs Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

Message ResourceLogs Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

HasField ResourceLogs "resource" Resource Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

Methods

fieldOf :: Functor f => Proxy# "resource" -> (Resource -> f Resource) -> ResourceLogs -> f ResourceLogs #

HasField ResourceLogs "schemaUrl" Text Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

Methods

fieldOf :: Functor f => Proxy# "schemaUrl" -> (Text -> f Text) -> ResourceLogs -> f ResourceLogs #

HasField ExportLogsServiceRequest "resourceLogs" [ResourceLogs] Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Collector.Logs.V1.LogsService

HasField ExportLogsServiceRequest "vec'resourceLogs" (Vector ResourceLogs) Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Collector.Logs.V1.LogsService

Methods

fieldOf :: Functor f => Proxy# "vec'resourceLogs" -> (Vector ResourceLogs -> f (Vector ResourceLogs)) -> ExportLogsServiceRequest -> f ExportLogsServiceRequest #

HasField LogsData "resourceLogs" [ResourceLogs] Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

Methods

fieldOf :: Functor f => Proxy# "resourceLogs" -> ([ResourceLogs] -> f [ResourceLogs]) -> LogsData -> f LogsData #

HasField LogsData "vec'resourceLogs" (Vector ResourceLogs) Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

Methods

fieldOf :: Functor f => Proxy# "vec'resourceLogs" -> (Vector ResourceLogs -> f (Vector ResourceLogs)) -> LogsData -> f LogsData #

HasField ResourceLogs "maybe'resource" (Maybe Resource) Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

Methods

fieldOf :: Functor f => Proxy# "maybe'resource" -> (Maybe Resource -> f (Maybe Resource)) -> ResourceLogs -> f ResourceLogs #

HasField ResourceLogs "scopeLogs" [ScopeLogs] Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

Methods

fieldOf :: Functor f => Proxy# "scopeLogs" -> ([ScopeLogs] -> f [ScopeLogs]) -> ResourceLogs -> f ResourceLogs #

HasField ResourceLogs "vec'scopeLogs" (Vector ScopeLogs) Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

Methods

fieldOf :: Functor f => Proxy# "vec'scopeLogs" -> (Vector ScopeLogs -> f (Vector ScopeLogs)) -> ResourceLogs -> f ResourceLogs #

data ScopeLogs Source #

Fields :

  • scope :: Lens' ScopeLogs Proto.Opentelemetry.Proto.Common.V1.Common.InstrumentationScope
  • maybe'scope :: Lens' ScopeLogs (Prelude.Maybe Proto.Opentelemetry.Proto.Common.V1.Common.InstrumentationScope)
  • logRecords :: Lens' ScopeLogs [LogRecord]
  • vec'logRecords :: Lens' ScopeLogs (Data.Vector.Vector LogRecord)
  • schemaUrl :: Lens' ScopeLogs Data.Text.Text

Instances

Instances details
Show ScopeLogs Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

NFData ScopeLogs Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

Methods

rnf :: ScopeLogs -> () #

Eq ScopeLogs Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

Ord ScopeLogs Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

Message ScopeLogs Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

HasField ScopeLogs "schemaUrl" Text Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

Methods

fieldOf :: Functor f => Proxy# "schemaUrl" -> (Text -> f Text) -> ScopeLogs -> f ScopeLogs #

HasField ScopeLogs "scope" InstrumentationScope Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

HasField ResourceLogs "scopeLogs" [ScopeLogs] Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

Methods

fieldOf :: Functor f => Proxy# "scopeLogs" -> ([ScopeLogs] -> f [ScopeLogs]) -> ResourceLogs -> f ResourceLogs #

HasField ResourceLogs "vec'scopeLogs" (Vector ScopeLogs) Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

Methods

fieldOf :: Functor f => Proxy# "vec'scopeLogs" -> (Vector ScopeLogs -> f (Vector ScopeLogs)) -> ResourceLogs -> f ResourceLogs #

HasField ScopeLogs "logRecords" [LogRecord] Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

Methods

fieldOf :: Functor f => Proxy# "logRecords" -> ([LogRecord] -> f [LogRecord]) -> ScopeLogs -> f ScopeLogs #

HasField ScopeLogs "maybe'scope" (Maybe InstrumentationScope) Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

HasField ScopeLogs "vec'logRecords" (Vector LogRecord) Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

Methods

fieldOf :: Functor f => Proxy# "vec'logRecords" -> (Vector LogRecord -> f (Vector LogRecord)) -> ScopeLogs -> f ScopeLogs #

data SeverityNumber Source #

Instances

Instances details
Bounded SeverityNumber Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

Enum SeverityNumber Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

Show SeverityNumber Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

NFData SeverityNumber Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

Methods

rnf :: SeverityNumber -> () #

Eq SeverityNumber Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

Ord SeverityNumber Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

FieldDefault SeverityNumber Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

MessageEnum SeverityNumber Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

HasField LogRecord "severityNumber" SeverityNumber Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

Methods

fieldOf :: Functor f => Proxy# "severityNumber" -> (SeverityNumber -> f SeverityNumber) -> LogRecord -> f LogRecord #

data SeverityNumber Source #

Instances

Instances details
Bounded SeverityNumber Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

Enum SeverityNumber Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

Show SeverityNumber Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

NFData SeverityNumber Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

Methods

rnf :: SeverityNumber -> () #

Eq SeverityNumber Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

Ord SeverityNumber Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

FieldDefault SeverityNumber Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

MessageEnum SeverityNumber Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

HasField LogRecord "severityNumber" SeverityNumber Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Logs.V1.Logs

Methods

fieldOf :: Functor f => Proxy# "severityNumber" -> (SeverityNumber -> f SeverityNumber) -> LogRecord -> f LogRecord #