| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Cardano.BM.Data.Counter
Contents
Documentation
Constructors
| Counter | |
Fields
| |
Instances
| Eq Counter Source # | |
| Show Counter Source # | |
| Generic Counter Source # | |
| ToJSON Counter Source # | |
| FromJSON Counter Source # | |
| type Rep Counter Source # | |
Defined in Cardano.BM.Data.Counter type Rep Counter = D1 ('MetaData "Counter" "Cardano.BM.Data.Counter" "iohk-monitoring-0.1.10.1-FejldG1eMwLCAvgHH71lQt" 'False) (C1 ('MetaCons "Counter" 'PrefixI 'True) (S1 ('MetaSel ('Just "cType") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 CounterType) :*: (S1 ('MetaSel ('Just "cName") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "cValue") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Measurable)))) | |
data CounterType Source #
Instances
data CounterState Source #
Constructors
| CounterState | |
Fields
| |
Instances
Constructors
| UnknownPlatform | |
| Linux | |
| Darwin | |
| Windows |
Instances
| Enum Platform Source # | |
Defined in Cardano.BM.Data.Counter | |
| Eq Platform Source # | |
| Ord Platform Source # | |
Defined in Cardano.BM.Data.Counter | |
| Show Platform Source # | |
newtype PlatformCode Source #
Constructors
| PlatformCode | |
Instances
| Show PlatformCode Source # | |
Defined in Cardano.BM.Data.Counter Methods showsPrec :: Int -> PlatformCode -> ShowS # show :: PlatformCode -> String # showList :: [PlatformCode] -> ShowS # | |
nameCounter :: Counter -> Text Source #
Orphan instances
| ToJSON Microsecond Source # | |
Methods toJSON :: Microsecond -> Value Source # toEncoding :: Microsecond -> Encoding Source # toJSONList :: [Microsecond] -> Value Source # toEncodingList :: [Microsecond] -> Encoding Source # | |