Copyright | (c) Alexey Radkov 2022-2023 |
---|---|
License | BSD-style |
Maintainer | alexey.radkov@gmail.com |
Stability | stable |
Portability | non-portable (requires Template Haskell) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Active health checks and monitoring of Nginx upstreams.
Synopsis
- type ServiceKey = Text
- type Upstream = Text
- type PeerName = Text
- type PeerHostName = Text
- type Peer = (PeerName, PeerHostName)
- type Peers = [Peer]
- type FlatPeers = [PeerName]
- type AnnotatedFlatPeers = [(UTCTime, PeerName)]
- type MUpstream a = Map Upstream a
- type MServiceKey a = Map ServiceKey (MUpstream a)
Documentation
type ServiceKey = Text Source #
Custom service key.
type PeerHostName = Text Source #
Peer host name (normally, FQDN).
type Peer = (PeerName, PeerHostName) Source #
Peer identifier.
type AnnotatedFlatPeers = [(UTCTime, PeerName)] Source #
List of peers without host names annotated by timestamps.
type MServiceKey a = Map ServiceKey (MUpstream a) Source #
Map over ServiceKey
keys with values of an MUpstream
type instance.