Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: influxdata/telegraf
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: f1556db52ac37e370ec77f5fde26dba91924284f
Choose a base ref
..
head repository: influxdata/telegraf
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 363b1c725a79b42e95e1e4ea385da95792c0b3e5
Choose a head ref
Showing with 33 additions and 0 deletions.
  1. +33 −0 README.md
33 changes: 33 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -148,6 +148,18 @@ Below is how to configure `tagpass` and `tagdrop` parameters (added in 0.1.5)
path = [ "/opt", "/home" ]
```

Below is how to configure `pass` and `drop` parameters (added in 0.1.5)

```
# Drop all metrics for guest CPU usage
[cpu]
drop = [ "cpu_usage_guest" ]
# Only store inode related metrics for disks
[disk]
pass = [ "disk_inodes" ]
```

## Supported Plugins

**You can view usage instructions for each plugin by running**
@@ -207,6 +219,27 @@ Telegraf also supports specifying multiple output sinks to send data to,
configuring each output sink is different, but examples can be
found by running `telegraf -sample-config`.

Outputs also support the same configurable options as plugins (pass, drop, tagpass, tagdrop)

```
[[outputs.influxdb]]
urls = [ "http://localhost:8086" ]
database = "telegraf"
# Drop all measurements that start with "aerospike"
drop = ["aerospike"]
# Send to a different database
[[outputs.influxdb]]
urls = [ "http://localhost:8086" ]
database = "mydb"
precision = "s"
# Only store measurements where the tag "mytag" matches the value "B"
[outputs.influxdb.tagpass]
mytag = ["B"]
```

## Supported Outputs

* influxdb