Skip to content

cardano.monitoring

cardano.monitoring.enable

Whether to enable monitoring services Prometheus and Grafana .

Type: boolean

Default: false

Example: true

Declared by: - https://github.com/mlabs-haskell/cardano.nix/tree/main/modules/monitoring.nix

cardano.monitoring.exporters.enable

Enable Prometheus exporters for running services.

Type: boolean

Default: false

Declared by: - https://github.com/mlabs-haskell/cardano.nix/tree/main/modules/monitoring.nix

cardano.monitoring.exporters.openFirewall

Open firewall ports for prometheus exporters.

Type: boolean

Default: false

Declared by: - https://github.com/mlabs-haskell/cardano.nix/tree/main/modules/monitoring.nix

cardano.monitoring.exporters.ports

List of ports where prometheus exporters are exposed. This can be used to open ports in the firewall.

Type: list of 16 bit unsigned integer; between 0 and 65535 (both inclusive)

Default:

[
  12798
  9186
  3000
  8080
  1337
  9100
  9113
  9187
]

Declared by: - https://github.com/mlabs-haskell/cardano.nix/tree/main/modules/monitoring.nix

cardano.monitoring.targets

List of hosts to to scrape prometheus metrics from.

Type: list of Concatenated string

Default:

1
2
3
[
  "localhost"
]

Declared by: - https://github.com/mlabs-haskell/cardano.nix/tree/main/modules/monitoring.nix