Skip to content

Commit

Permalink
Merge pull request #122833 from helsinki-systems/feat/prometheus-metr…
Browse files Browse the repository at this point in the history
…ic-relabel

nixos/prometheus: Add support for metric relabeling
  • Loading branch information
Ma27 authored May 21, 2021
2 parents b642ac7 + 672e647 commit a2379c6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions nixos/modules/services/monitoring/prometheus/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,10 @@ let
List of relabel configurations.
'';

metric_relabel_configs = mkOpt (types.listOf promTypes.relabel_config) ''
List of metric relabel configurations.
'';

sample_limit = mkDefOpt types.int "0" ''
Per-scrape limit on number of scraped samples that will be accepted.
If more than this number of samples are present after metric relabelling
Expand Down

0 comments on commit a2379c6

Please sign in to comment.