Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data StatsConfig = StatsConfig {
- host :: HostName
- port :: Int
- tags :: [StatsTag]
- sampleRate :: SampleRate
- newtype StatsTag = StatsTag (Text, Text)
- newtype SampleRate = SampleRate Double
- statsConfigParser :: Parser StatsConfig
Re-exports
data StatsConfig #
StatsConfig | |
|
Instances
Show StatsConfig | |
Defined in Arbor.Network.StatsD.Options showsPrec :: Int -> StatsConfig -> ShowS # show :: StatsConfig -> String # showList :: [StatsConfig] -> ShowS # | |
Generic StatsConfig | |
Defined in Arbor.Network.StatsD.Options type Rep StatsConfig :: Type -> Type # from :: StatsConfig -> Rep StatsConfig x # to :: Rep StatsConfig x -> StatsConfig # | |
type Rep StatsConfig | |
Defined in Arbor.Network.StatsD.Options type Rep StatsConfig = D1 (MetaData "StatsConfig" "Arbor.Network.StatsD.Options" "arbor-datadog-0.1.0.1-3onc295b1cpI7Lv9T52osC" False) (C1 (MetaCons "StatsConfig" PrefixI True) ((S1 (MetaSel (Just "host") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 HostName) :*: S1 (MetaSel (Just "port") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)) :*: (S1 (MetaSel (Just "tags") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [StatsTag]) :*: S1 (MetaSel (Just "sampleRate") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 SampleRate)))) |
newtype SampleRate #