opentelemetry-extra-0.8.0
Safe HaskellNone
LanguageHaskell2010

OpenTelemetry.Common

Synopsis

Documentation

newtype SpanName Source #

Constructors

SpanName Text 

Instances

Instances details
Generic SpanName Source # 
Instance details

Defined in OpenTelemetry.Common

Associated Types

type Rep SpanName 
Instance details

Defined in OpenTelemetry.Common

type Rep SpanName = D1 ('MetaData "SpanName" "OpenTelemetry.Common" "opentelemetry-extra-0.8.0-AGi73Bxdu9T5WweVmRDCAC" 'True) (C1 ('MetaCons "SpanName" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

Methods

from :: SpanName -> Rep SpanName x #

to :: Rep SpanName x -> SpanName #

Show SpanName Source # 
Instance details

Defined in OpenTelemetry.Common

Eq SpanName Source # 
Instance details

Defined in OpenTelemetry.Common

type Rep SpanName Source # 
Instance details

Defined in OpenTelemetry.Common

type Rep SpanName = D1 ('MetaData "SpanName" "OpenTelemetry.Common" "opentelemetry-extra-0.8.0-AGi73Bxdu9T5WweVmRDCAC" 'True) (C1 ('MetaCons "SpanName" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

newtype TagName Source #

Constructors

TagName Text 

Instances

Instances details
IsString TagName Source # 
Instance details

Defined in OpenTelemetry.Common

Methods

fromString :: String -> TagName #

Generic TagName Source # 
Instance details

Defined in OpenTelemetry.Common

Associated Types

type Rep TagName 
Instance details

Defined in OpenTelemetry.Common

type Rep TagName = D1 ('MetaData "TagName" "OpenTelemetry.Common" "opentelemetry-extra-0.8.0-AGi73Bxdu9T5WweVmRDCAC" 'True) (C1 ('MetaCons "TagName" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

Methods

from :: TagName -> Rep TagName x #

to :: Rep TagName x -> TagName #

Show TagName Source # 
Instance details

Defined in OpenTelemetry.Common

Eq TagName Source # 
Instance details

Defined in OpenTelemetry.Common

Methods

(==) :: TagName -> TagName -> Bool #

(/=) :: TagName -> TagName -> Bool #

Hashable TagName Source # 
Instance details

Defined in OpenTelemetry.Common

Methods

hashWithSalt :: Int -> TagName -> Int #

hash :: TagName -> Int #

type Rep TagName Source # 
Instance details

Defined in OpenTelemetry.Common

type Rep TagName = D1 ('MetaData "TagName" "OpenTelemetry.Common" "opentelemetry-extra-0.8.0-AGi73Bxdu9T5WweVmRDCAC" 'True) (C1 ('MetaCons "TagName" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

newtype TagVal Source #

Constructors

TagVal Text 

Instances

Instances details
Generic TagVal Source # 
Instance details

Defined in OpenTelemetry.Common

Associated Types

type Rep TagVal 
Instance details

Defined in OpenTelemetry.Common

type Rep TagVal = D1 ('MetaData "TagVal" "OpenTelemetry.Common" "opentelemetry-extra-0.8.0-AGi73Bxdu9T5WweVmRDCAC" 'True) (C1 ('MetaCons "TagVal" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

Methods

from :: TagVal -> Rep TagVal x #

to :: Rep TagVal x -> TagVal #

Show TagVal Source # 
Instance details

Defined in OpenTelemetry.Common

Eq TagVal Source # 
Instance details

Defined in OpenTelemetry.Common

Methods

(==) :: TagVal -> TagVal -> Bool #

(/=) :: TagVal -> TagVal -> Bool #

ToTagValue TagVal Source # 
Instance details

Defined in OpenTelemetry.Common

type Rep TagVal Source # 
Instance details

Defined in OpenTelemetry.Common

type Rep TagVal = D1 ('MetaData "TagVal" "OpenTelemetry.Common" "opentelemetry-extra-0.8.0-AGi73Bxdu9T5WweVmRDCAC" 'True) (C1 ('MetaCons "TagVal" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

newtype EventName Source #

Constructors

EventName Text 

Instances

Instances details
Generic EventName Source # 
Instance details

Defined in OpenTelemetry.Common

Associated Types

type Rep EventName 
Instance details

Defined in OpenTelemetry.Common

type Rep EventName = D1 ('MetaData "EventName" "OpenTelemetry.Common" "opentelemetry-extra-0.8.0-AGi73Bxdu9T5WweVmRDCAC" 'True) (C1 ('MetaCons "EventName" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))
Show EventName Source # 
Instance details

Defined in OpenTelemetry.Common

Eq EventName Source # 
Instance details

Defined in OpenTelemetry.Common

type Rep EventName Source # 
Instance details

Defined in OpenTelemetry.Common

type Rep EventName = D1 ('MetaData "EventName" "OpenTelemetry.Common" "opentelemetry-extra-0.8.0-AGi73Bxdu9T5WweVmRDCAC" 'True) (C1 ('MetaCons "EventName" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

newtype EventVal Source #

Constructors

EventVal Text 

Instances

Instances details
Generic EventVal Source # 
Instance details

Defined in OpenTelemetry.Common

Associated Types

type Rep EventVal 
Instance details

Defined in OpenTelemetry.Common

type Rep EventVal = D1 ('MetaData "EventVal" "OpenTelemetry.Common" "opentelemetry-extra-0.8.0-AGi73Bxdu9T5WweVmRDCAC" 'True) (C1 ('MetaCons "EventVal" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

Methods

from :: EventVal -> Rep EventVal x #

to :: Rep EventVal x -> EventVal #

Show EventVal Source # 
Instance details

Defined in OpenTelemetry.Common

Eq EventVal Source # 
Instance details

Defined in OpenTelemetry.Common

type Rep EventVal Source # 
Instance details

Defined in OpenTelemetry.Common

type Rep EventVal = D1 ('MetaData "EventVal" "OpenTelemetry.Common" "opentelemetry-extra-0.8.0-AGi73Bxdu9T5WweVmRDCAC" 'True) (C1 ('MetaCons "EventVal" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

data TagValue Source #

Instances

Instances details
Show TagValue Source # 
Instance details

Defined in OpenTelemetry.Common

Eq TagValue Source # 
Instance details

Defined in OpenTelemetry.Common

class ToTagValue a where Source #

Methods

toTagValue :: a -> TagValue Source #

Instances

Instances details
ToTagValue TagVal Source # 
Instance details

Defined in OpenTelemetry.Common

ToTagValue Text Source # 
Instance details

Defined in OpenTelemetry.Common

ToTagValue String Source # 
Instance details

Defined in OpenTelemetry.Common

ToTagValue Bool Source # 
Instance details

Defined in OpenTelemetry.Common

ToTagValue Int Source # 
Instance details

Defined in OpenTelemetry.Common

data InstrumentType Source #

Reflects the constructors of Instrument

Instances

Instances details
Enum InstrumentType Source # 
Instance details

Defined in OpenTelemetry.Common

Generic InstrumentType Source # 
Instance details

Defined in OpenTelemetry.Common

Associated Types

type Rep InstrumentType 
Instance details

Defined in OpenTelemetry.Common

type Rep InstrumentType = D1 ('MetaData "InstrumentType" "OpenTelemetry.Common" "opentelemetry-extra-0.8.0-AGi73Bxdu9T5WweVmRDCAC" 'False) ((C1 ('MetaCons "CounterType" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "UpDownCounterType" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ValueRecorderType" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "SumObserverType" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "UpDownSumObserverType" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ValueObserverType" 'PrefixI 'False) (U1 :: Type -> Type))))
Show InstrumentType Source # 
Instance details

Defined in OpenTelemetry.Common

Eq InstrumentType Source # 
Instance details

Defined in OpenTelemetry.Common

Hashable InstrumentType Source # 
Instance details

Defined in OpenTelemetry.Common

type Rep InstrumentType Source # 
Instance details

Defined in OpenTelemetry.Common

type Rep InstrumentType = D1 ('MetaData "InstrumentType" "OpenTelemetry.Common" "opentelemetry-extra-0.8.0-AGi73Bxdu9T5WweVmRDCAC" 'False) ((C1 ('MetaCons "CounterType" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "UpDownCounterType" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ValueRecorderType" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "SumObserverType" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "UpDownSumObserverType" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ValueObserverType" 'PrefixI 'False) (U1 :: Type -> Type))))

data CaptureInstrument Source #

Instances

Instances details
Generic CaptureInstrument Source # 
Instance details

Defined in OpenTelemetry.Common

Associated Types

type Rep CaptureInstrument 
Instance details

Defined in OpenTelemetry.Common

type Rep CaptureInstrument = D1 ('MetaData "CaptureInstrument" "OpenTelemetry.Common" "opentelemetry-extra-0.8.0-AGi73Bxdu9T5WweVmRDCAC" 'False) (C1 ('MetaCons "CaptureInstrument" 'PrefixI 'True) (S1 ('MetaSel ('Just "instrumentType") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 InstrumentType) :*: S1 ('MetaSel ('Just "instrumentName") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ByteString)))
Show CaptureInstrument Source # 
Instance details

Defined in OpenTelemetry.Common

Eq CaptureInstrument Source # 
Instance details

Defined in OpenTelemetry.Common

Hashable CaptureInstrument Source # 
Instance details

Defined in OpenTelemetry.Common

type Rep CaptureInstrument Source # 
Instance details

Defined in OpenTelemetry.Common

type Rep CaptureInstrument = D1 ('MetaData "CaptureInstrument" "OpenTelemetry.Common" "opentelemetry-extra-0.8.0-AGi73Bxdu9T5WweVmRDCAC" 'False) (C1 ('MetaCons "CaptureInstrument" 'PrefixI 'True) (S1 ('MetaSel ('Just "instrumentType") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 InstrumentType) :*: S1 ('MetaSel ('Just "instrumentName") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ByteString)))

data MetricDatapoint a Source #

Constructors

MetricDatapoint 

Fields

Instances

Instances details
Functor MetricDatapoint Source # 
Instance details

Defined in OpenTelemetry.Common

Methods

fmap :: (a -> b) -> MetricDatapoint a -> MetricDatapoint b #

(<$) :: a -> MetricDatapoint b -> MetricDatapoint a #

Show a => Show (MetricDatapoint a) Source # 
Instance details

Defined in OpenTelemetry.Common

Eq a => Eq (MetricDatapoint a) Source # 
Instance details

Defined in OpenTelemetry.Common

data SpanEvent Source #

Instances

Instances details
Show SpanEvent Source # 
Instance details

Defined in OpenTelemetry.Common

Eq SpanEvent Source # 
Instance details

Defined in OpenTelemetry.Common

data SpanStatus Source #

Constructors

OK 

Instances

Instances details
Show SpanStatus Source # 
Instance details

Defined in OpenTelemetry.Common

Eq SpanStatus Source # 
Instance details

Defined in OpenTelemetry.Common

data Event Source #

Constructors

Event Text Timestamp 

Instances

Instances details
Show Event Source # 
Instance details

Defined in OpenTelemetry.Common

Methods

showsPrec :: Int -> Event -> ShowS #

show :: Event -> String #

showList :: [Event] -> ShowS #

Eq Event Source # 
Instance details

Defined in OpenTelemetry.Common

Methods

(==) :: Event -> Event -> Bool #

(/=) :: Event -> Event -> Bool #

data SpanProcessor Source #

Constructors

SpanProcessor 

Fields

data Exporter thing Source #

Constructors

Exporter 

Fields