-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Restore sample configurations broken during initial migration (#…
- Loading branch information
Showing
17 changed files
with
299 additions
and
105 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,16 @@ | ||
# Calculates a derivative for every field. | ||
[[aggregators.derivative]] | ||
## Specific Derivative Aggregator Arguments: | ||
|
||
## Configure a custom derivation variable. Timestamp is used if none is given. | ||
# variable = "" | ||
|
||
## Suffix to add to the field name for the derivative name. | ||
## The period in which to flush the aggregator. | ||
period = "30s" | ||
## | ||
## Suffix to append for the resulting derivative field. | ||
# suffix = "_rate" | ||
|
||
## Roll-Over last measurement to first measurement of next period | ||
## | ||
## Field to use for the quotient when computing the derivative. | ||
## When using a field as the derivation parameter the name of that field will | ||
## be used for the resulting derivative, e.g. *fieldname_by_parameter*. | ||
## By default the timestamps of the metrics are used and the suffix is omitted. | ||
# variable = "" | ||
## | ||
## Maximum number of roll-overs in case only one measurement is found during a period. | ||
# max_roll_over = 10 | ||
|
||
## General Aggregator Arguments: | ||
|
||
## calculate derivative every 30 seconds | ||
period = "30s" |
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 |
---|---|---|
|
@@ -32,11 +32,6 @@ querying table metrics with a wildcard for the keyspace or table name. | |
```toml @sample.conf | ||
# Read Cassandra metrics through Jolokia | ||
[[inputs.cassandra]] | ||
## DEPRECATED: The cassandra plugin has been deprecated. Please use the | ||
## jolokia2 plugin instead. | ||
## | ||
## see https://github.com/influxdata/telegraf/tree/master/plugins/inputs/jolokia2 | ||
|
||
context = "/jolokia/read" | ||
## List of cassandra servers exposing jolokia read service | ||
servers = ["myuser:[email protected]:8778","10.10.10.2:8778",":8778"] | ||
|
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,10 +1,5 @@ | ||
# Read Cassandra metrics through Jolokia | ||
[[inputs.cassandra]] | ||
## DEPRECATED: The cassandra plugin has been deprecated. Please use the | ||
## jolokia2 plugin instead. | ||
## | ||
## see https://github.com/influxdata/telegraf/tree/master/plugins/inputs/jolokia2 | ||
|
||
context = "/jolokia/read" | ||
## List of cassandra servers exposing jolokia read service | ||
servers = ["myuser:[email protected]:8778","10.10.10.2:8778",":8778"] | ||
|
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
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
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 |
---|---|---|
|
@@ -19,10 +19,10 @@ Compatibility information is available from the govmomi project | |
|
||
## Configuration | ||
|
||
```toml | ||
# Read metrics from one or many vCenters | ||
```toml @sample.conf | ||
-# Read metrics from one or many vCenters | ||
[[inputs.vsphere]] | ||
## List of vCenter URLs to be monitored. These three lines must be uncommented | ||
## List of vCenter URLs to be monitored. These three lines must be uncommented | ||
## and edited for the plugin to work. | ||
vcenters = [ "https://vcenter.local/sdk" ] | ||
username = "[email protected]" | ||
|
@@ -144,7 +144,7 @@ Compatibility information is available from the govmomi project | |
# datastore_metric_exclude = [] ## Nothing excluded by default | ||
# datastore_instances = false ## false by default | ||
|
||
## Datastores | ||
## Datastores | ||
# datastore_include = [ "/*/datastore/**"] # Inventory path to datastores to collect (by default all are collected) | ||
# datastore_exclude = [] # Inventory paths to exclude | ||
# datastore_metric_include = [] ## if omitted or empty, all metrics are collected | ||
|
@@ -188,12 +188,6 @@ Compatibility information is available from the govmomi project | |
## preserve the full precision when averaging takes place. | ||
# use_int_samples = true | ||
|
||
## The number of vSphere 5 minute metric collection cycles to look back for non-realtime metrics. In | ||
## some versions (6.7, 7.0 and possible more), certain metrics, such as cluster metrics, may be reported | ||
## with a significant delay (>30min). If this happens, try increasing this number. Please note that increasing | ||
## it too much may cause performance issues. | ||
# metric_lookback = 3 | ||
|
||
## Custom attributes from vCenter can be very useful for queries in order to slice the | ||
## metrics along different dimension and for forming ad-hoc relationships. They are disabled | ||
## by default, since they can add a considerable amount of tags to the resulting metrics. To | ||
|
@@ -205,19 +199,29 @@ Compatibility information is available from the govmomi project | |
# custom_attribute_include = [] | ||
# custom_attribute_exclude = ["*"] | ||
|
||
## The number of vSphere 5 minute metric collection cycles to look back for non-realtime metrics. In | ||
## some versions (6.7, 7.0 and possible more), certain metrics, such as cluster metrics, may be reported | ||
## with a significant delay (>30min). If this happens, try increasing this number. Please note that increasing | ||
## it too much may cause performance issues. | ||
# metric_lookback = 3 | ||
|
||
## Optional SSL Config | ||
# ssl_ca = "/path/to/cafile" | ||
# ssl_cert = "/path/to/certfile" | ||
# ssl_key = "/path/to/keyfile" | ||
## Use SSL but skip chain & host verification | ||
# insecure_skip_verify = false | ||
|
||
## The Historical Interval value must match EXACTLY the interval in the daily | ||
# "Interval Duration" found on the VCenter server under Configure > General > Statistics > Statistic intervals | ||
# historical_interval = "5m" | ||
``` | ||
|
||
NOTE: To disable collection of a specific resource type, simply exclude all | ||
metrics using the XX_metric_exclude. For example, to disable collection of VMs, | ||
add this: | ||
|
||
```toml @sample.conf | ||
```toml | ||
vm_metric_exclude = [ "*" ] | ||
``` | ||
|
||
|
Oops, something went wrong.