nixos/graphite-service: make option descriptions end with '.'

Because that is how it is supposed to be.
This commit is contained in:
Bjørn Forsman 2014-06-09 11:26:22 +02:00
parent 0e400be1ec
commit 208d466c21

View File

@ -47,19 +47,19 @@ in {
web = {
enable = mkOption {
description = "Whether to enable graphite web frontend";
description = "Whether to enable graphite web frontend.";
default = false;
type = types.uniq types.bool;
};
host = mkOption {
description = "Graphite web frontend listen address";
description = "Graphite web frontend listen address.";
default = "127.0.0.1";
type = types.str;
};
port = mkOption {
description = "Graphite web frontend port";
description = "Graphite web frontend port.";
default = 8080;
type = types.int;
};
@ -67,7 +67,7 @@ in {
carbon = {
config = mkOption {
description = "Content of carbon configuration file";
description = "Content of carbon configuration file.";
default = ''
[cache]
# Listen on localhost by default for security reasons
@ -83,13 +83,13 @@ in {
};
enableCache = mkOption {
description = "Whether to enable carbon cache, the graphite storage daemon";
description = "Whether to enable carbon cache, the graphite storage daemon.";
default = false;
type = types.uniq types.bool;
};
storageAggregation = mkOption {
description = "Defines how to aggregate data to lower-precision retentions";
description = "Defines how to aggregate data to lower-precision retentions.";
default = null;
type = types.uniq (types.nullOr types.string);
example = ''
@ -101,7 +101,7 @@ in {
};
storageSchemas = mkOption {
description = "Defines retention rates for storing metrics";
description = "Defines retention rates for storing metrics.";
default = "";
type = types.uniq (types.nullOr types.string);
example = ''
@ -112,21 +112,24 @@ in {
};
blacklist = mkOption {
description = "Any metrics received which match one of the experssions will be dropped";
description = "Any metrics received which match one of the experssions will be dropped.";
default = null;
type = types.uniq (types.nullOr types.string);
example = "^some\.noisy\.metric\.prefix\..*";
};
whitelist = mkOption {
description = "Only metrics received which match one of the experssions will be persisted";
description = "Only metrics received which match one of the experssions will be persisted.";
default = null;
type = types.uniq (types.nullOr types.string);
example = ".*";
};
rewriteRules = mkOption {
description = "Regular expression patterns that can be used to rewrite metric names in a search and replace fashion";
description = ''
Regular expression patterns that can be used to rewrite metric names
in a search and replace fashion.
'';
default = null;
type = types.uniq (types.nullOr types.string);
example = ''
@ -137,7 +140,7 @@ in {
};
enableRelay = mkOption {
description = "Whether to enable carbon relay, the carbon replication and sharding service";
description = "Whether to enable carbon relay, the carbon replication and sharding service.";
default = false;
type = types.uniq types.bool;
};
@ -154,13 +157,13 @@ in {
};
enableAggregator = mkOption {
description = "Whether to enable carbon agregator, the carbon buffering service";
description = "Whether to enable carbon agregator, the carbon buffering service.";
default = false;
type = types.uniq types.bool;
};
aggregationRules = mkOption {
description = "Defines if and how received metrics will be agregated";
description = "Defines if and how received metrics will be agregated.";
default = null;
type = types.uniq (types.nullOr types.string);
example = ''