Safe Haskell | None |
---|---|
Language | Haskell2010 |
- type IntervalSeconds = Int
- type SourceValue = Int64
- data DataSourceType
- data DataSource = DataSource {}
- gcSources :: IntervalSeconds -> [DataSource]
- data ConsolidationFunction
- data RoundRobinArchive = RoundRobinArchive {}
- data RoundRobinDatabase = RoundRobinDatabase {}
- defineDataSource :: DataSource -> String
- showMaybeValue :: Maybe SourceValue -> String
- defineRoundRobinArchive :: RoundRobinArchive -> String
- createRRDArgs :: RoundRobinDatabase -> [String]
- updateRRDArgs :: RoundRobinDatabase -> HashMap Text Value -> UTCTime -> Maybe [String]
- epoch :: UTCTime
- epochTime :: UTCTime -> Integer
- epochTimeFromUTCTime :: UTCTime -> String
- formatValue :: Value -> String
- showWord64 :: Word64 -> String
Documentation
type IntervalSeconds = Int Source
Intervals in seconds (e.g. heartbeats and step size)
type SourceValue = Int64 Source
Counters, gauges etc. in ekg
have this type
data DataSourceType Source
Types of data source in a round-robin database.
data DataSource Source
A data source in a round-robin database.
DataSource | |
|
:: IntervalSeconds | The heartbeat for these metrics, in seconds. |
-> [DataSource] |
Pre-defined data sources for tracking GHC's GC metrics. See registerGcMetrics
or GCStats
for more details.
Clients must run registerGcMetrics
to register these metrics once the RRD is created.
data ConsolidationFunction Source
Defines how multiple primary data points (PDPs) are turned into a
consolidated data point (CDP) for storage in a RoundRobinArchive
.
data RoundRobinArchive Source
A sequence of consolidated data points (CDPs).
RoundRobinArchive | |
|
data RoundRobinDatabase Source
A round-robin database (RRD), which is a file on disk that stores time series data from a number of sources.
RoundRobinDatabase | |
|
createRRDArgs :: RoundRobinDatabase -> [String] Source
updateRRDArgs :: RoundRobinDatabase -> HashMap Text Value -> UTCTime -> Maybe [String] Source
formatValue :: Value -> String Source
showWord64 :: Word64 -> String Source