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.Resource.V1.Resource

Synopsis

Documentation

data Resource Source #

Fields :

  • attributes :: Lens' Resource [Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue]
  • vec'attributes :: Lens' Resource (Data.Vector.Vector Proto.Opentelemetry.Proto.Common.V1.Common.KeyValue)
  • droppedAttributesCount :: Lens' Resource Data.Word.Word32

Instances

Instances details
Show Resource Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Resource.V1.Resource

NFData Resource Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Resource.V1.Resource

Methods

rnf :: Resource -> () #

Eq Resource Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Resource.V1.Resource

Ord Resource Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Resource.V1.Resource

Message Resource Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Resource.V1.Resource

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 ResourceMetrics "resource" Resource Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Metrics.V1.Metrics

Methods

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

HasField Resource "droppedAttributesCount" Word32 Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Resource.V1.Resource

Methods

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

HasField ResourceSpans "resource" Resource Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Trace.V1.Trace

Methods

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

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 ResourceMetrics "maybe'resource" (Maybe Resource) Source # 
Instance details

Defined in Proto.Opentelemetry.Proto.Metrics.V1.Metrics

Methods

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

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

Defined in Proto.Opentelemetry.Proto.Resource.V1.Resource

Methods

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

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

Defined in Proto.Opentelemetry.Proto.Resource.V1.Resource

Methods

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

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

Defined in Proto.Opentelemetry.Proto.Trace.V1.Trace

Methods

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