Graphite
services.graphite.carbon.aggregationRules
Defines if and how received metrics will be aggregated.
Type: null or string
Default
null
Example
'' <env>.applications.<app>.all.requests (60) = sum <env>.applications.<app>.*.requests <env>.applications.<app>.all.latency (60) = avg <env>.applications.<app>.*.latency''
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/graphite.nix
services.graphite.carbon.blacklist
Any metrics received which match one of the expressions will be dropped.
Type: null or string
Default
null
Example
"^some\\.noisy\\.metric\\.prefix\\..*"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/graphite.nix
services.graphite.carbon.config
Content of carbon configuration file.
Type: string
Default
'' [cache] # Listen on localhost by default for security reasons UDP_RECEIVER_INTERFACE = 127.0.0.1 PICKLE_RECEIVER_INTERFACE = 127.0.0.1 LINE_RECEIVER_INTERFACE = 127.0.0.1 CACHE_QUERY_INTERFACE = 127.0.0.1 # Do not log every update LOG_UPDATES = False LOG_CACHE_HITS = False''
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/graphite.nix
services.graphite.carbon.enableAggregator
Whether to enable carbon aggregator, the carbon buffering service.
Type: boolean
Default
false
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/graphite.nix
services.graphite.carbon.enableCache
Whether to enable carbon cache, the graphite storage daemon.
Type: boolean
Default
false
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/graphite.nix
services.graphite.carbon.enableRelay
Whether to enable carbon relay, the carbon replication and sharding service.
Type: boolean
Default
false
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/graphite.nix
services.graphite.carbon.relayRules
Relay rules are used to send certain metrics to a certain backend.
Type: null or string
Default
null
Example
'' [example] pattern = ^mydata\.foo\..+ servers = 10.1.2.3, 10.1.2.4:2004, myserver.mydomain.com''
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/graphite.nix
services.graphite.carbon.rewriteRules
Regular expression patterns that can be used to rewrite metric names in a search and replace fashion.
Type: null or string
Default
null
Example
'' [post] _sum$ = _avg$ =''
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/graphite.nix
services.graphite.carbon.storageAggregation
Defines how to aggregate data to lower-precision retentions.
Type: null or string
Default
null
Example
'' [all_min] pattern = \.min$ xFilesFactor = 0.1 aggregationMethod = min''
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/graphite.nix
services.graphite.carbon.storageSchemas
Defines retention rates for storing metrics.
Type: null or string
Default
""
Example
'' [apache_busyWorkers] pattern = ^servers\.www.*\.workers\.busyWorkers$ retentions = 15s:7d,1m:21d,15m:5y''
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/graphite.nix
services.graphite.carbon.whitelist
Only metrics received which match one of the expressions will be persisted.
Type: null or string
Default
null
Example
".*"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/graphite.nix
services.graphite.dataDir
Data directory for graphite.
Type: path
Default
"/var/db/graphite"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/graphite.nix
services.graphite.seyren.enable
Whether to enable seyren service.
Type: boolean
Default
false
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/graphite.nix
services.graphite.seyren.extraConfig
Extra seyren configuration. See https://github.com/scobal/seyren#config
Type: attribute set of string
Default
{ }
Example
{GRAPHITE_USERNAME = "user";GRAPHITE_PASSWORD = "pass";}
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/graphite.nix
services.graphite.seyren.graphiteUrl
Host where graphite service runs.
Type: string
Default
"http://${config.services.graphite.web.listenAddress}:${toString config.services.graphite.web.port}"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/graphite.nix
services.graphite.seyren.mongoUrl
Mongodb connection string.
Type: string
Default
"mongodb://${config.services.mongodb.bind_ip}:27017/seyren"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/graphite.nix
services.graphite.seyren.port
Seyren listening port.
Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)
Default
8081
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/graphite.nix
services.graphite.seyren.seyrenUrl
Host where seyren is accessible.
Type: string
Default
"http://localhost:${toString config.services.graphite.seyren.port}/"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/graphite.nix
services.graphite.web.enable
Whether to enable graphite web frontend.
Type: boolean
Default
false
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/graphite.nix
services.graphite.web.extraConfig
Graphite webapp settings. See: https://graphite.readthedocs.io/en/latest/config-local-settings.html
Type: string
Default
""
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/graphite.nix
services.graphite.web.listenAddress
Graphite web frontend listen address.
Type: string
Default
"127.0.0.1"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/graphite.nix
services.graphite.web.port
Graphite web frontend port.
Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)
Default
8080
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/graphite.nix