-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set default metricsets for redis module (#6742)
- Loading branch information
Showing
8 changed files
with
43 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
- module: redis | ||
metricsets: ["info", "keyspace"] | ||
enabled: true | ||
period: 10s | ||
|
||
# Redis hosts | ||
hosts: ["127.0.0.1:6379"] | ||
|
||
# Timeout after which time a metricset should return an error | ||
# Timeout is by default defined as period, as a fetch of a metricset | ||
# should never take longer then period, as otherwise calls can pile up. | ||
#timeout: 1s | ||
|
||
# Optional fields to be added to each event | ||
#fields: | ||
# datacenter: west | ||
|
||
# Network type to be used for redis connection. Default: tcp | ||
#network: tcp | ||
|
||
# Max number of concurrent connections. Default: 10 | ||
#maxconn: 10 | ||
|
||
# Filters can be used to reduce the number of fields sent. | ||
#processors: | ||
# - include_fields: | ||
# fields: ["beat", "metricset", "redis.info.stats"] | ||
|
||
# Redis AUTH password. Empty by default. | ||
#password: foobared |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,2 @@ | ||
- module: redis | ||
metricsets: ["info", "keyspace"] | ||
period: 10s | ||
|
||
# Redis hosts | ||
hosts: ["127.0.0.1:6379"] | ||
|
||
# Timeout after which time a metricset should return an error | ||
# Timeout is by default defined as period, as a fetch of a metricset | ||
# should never take longer then period, as otherwise calls can pile up. | ||
#timeout: 1s | ||
|
||
# Optional fields to be added to each event | ||
#fields: | ||
# datacenter: west | ||
|
||
# Network type to be used for redis connection. Default: tcp | ||
#network: tcp | ||
|
||
# Max number of concurrent connections. Default: 10 | ||
#maxconn: 10 | ||
|
||
# Filters can be used to reduce the number of fields sent. | ||
#processors: | ||
# - include_fields: | ||
# fields: ["beat", "metricset", "redis.info.stats"] | ||
|
||
# Redis AUTH password. Empty by default. | ||
#password: foobared |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,2 @@ | ||
- module: redis | ||
metricsets: ["info", "keyspace"] | ||
period: 10s | ||
|
||
# Redis hosts | ||
hosts: ["127.0.0.1:6379"] | ||
|
||
# Timeout after which time a metricset should return an error | ||
# Timeout is by default defined as period, as a fetch of a metricset | ||
# should never take longer then period, as otherwise calls can pile up. | ||
#timeout: 1s | ||
|
||
# Optional fields to be added to each event | ||
#fields: | ||
# datacenter: west | ||
|
||
# Network type to be used for redis connection. Default: tcp | ||
#network: tcp | ||
|
||
# Max number of concurrent connections. Default: 10 | ||
#maxconn: 10 | ||
|
||
# Filters can be used to reduce the number of fields sent. | ||
#processors: | ||
# - include_fields: | ||
# fields: ["beat", "metricset", "redis.info.stats"] | ||
|
||
# Redis AUTH password. Empty by default. | ||
#password: foobared |