ngx-export-healthcheck-1.6.2: Active health checks and monitoring of Nginx upstreams
Copyright(c) Alexey Radkov 2022-2023
LicenseBSD-style
Maintaineralexey.radkov@gmail.com
Stabilitystable
Portabilitynon-portable (requires Template Haskell)
Safe HaskellSafe-Inferred
LanguageHaskell2010

NgxExport.Healthcheck

Description

Active health checks and monitoring of Nginx upstreams.

Synopsis

Documentation

type ServiceKey = Text Source #

Custom service key.

type Upstream = Text Source #

Upstream name.

type PeerName = Text Source #

Peer name (actually, IP address of the peer).

type PeerHostName = Text Source #

Peer host name (normally, FQDN).

type Peer = (PeerName, PeerHostName) Source #

Peer identifier.

type Peers = [Peer] Source #

List of peers.

type FlatPeers = [PeerName] Source #

List of peers without host names.

type AnnotatedFlatPeers = [(UTCTime, PeerName)] Source #

List of peers without host names annotated by timestamps.

type MUpstream a = Map Upstream a Source #

Map over Upstream keys.

type MServiceKey a = Map ServiceKey (MUpstream a) Source #

Map over ServiceKey keys with values of an MUpstream type instance.