Add minimum version for new plugins (#7810)

This commit is contained in:
Daniel Nelson 2020-07-09 11:29:12 -07:00 committed by GitHub
parent b6b1e7f4dd
commit 413398d1a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 34 additions and 13 deletions

View File

@ -7,6 +7,8 @@ status such as servers, upstreams, caches. This is similar to the live activity
monitoring of Nginx plus. For module configuration details please see its
[documentation](https://github.com/vozlt/nginx-module-sts#synopsis).
Telegraf minimum version: Telegraf 1.15.0
### Configuration
```toml

View File

@ -2,6 +2,7 @@
The `redfish` plugin gathers metrics and status information about CPU temperature, fanspeed, Powersupply, voltage, hostname and Location details(datacenter,placement,rack and room) of hardware servers for which redfish is enabled.
Telegraf minimum version: Telegraf 1.15.0
### Configuration

View File

@ -2,6 +2,8 @@
The `execd` plugin runs an external program as a daemon.
Telegraf minimum version: Telegraf 1.15.0
### Configuration:
```toml

View File

@ -4,6 +4,8 @@ This plugins writes to New Relic Insights using the [Metrics API][].
To use this plugin you must first obtain an [Insights API Key][].
Telegraf minimum version: Telegraf 1.15.0
### Configuration
```toml
[[outputs.newrelic]]

View File

@ -8,6 +8,8 @@ There are three cases where this processor will insert a configured default fiel
1. The field is not nil, but its value is an empty string.
1. The field is not nil, but its value is a string of one or more empty spaces.
Telegraf minimum version: Telegraf 1.15.0
### Configuration
```toml
## Set default fields on your metric(s) when they are nil or empty

View File

@ -7,6 +7,8 @@ metrics in influx line protocol to standard output (STDOUT).
Program output on standard error is mirrored to the telegraf log.
Telegraf minimum version: Telegraf 1.15.0
### Caveats
- Metrics with tracking will be considered "delivered" as soon as they are passed

View File

@ -22,7 +22,9 @@ stored in a new tag or field.
If you plan to apply multiple transformations to the same `tag`/`field`, bear in mind the processing order stated above.
## Configuration
Telegraf minimum version: Telegraf 1.15.0
### Configuration
```toml
[[processors.filepath]]
@ -56,9 +58,9 @@ If you plan to apply multiple transformations to the same `tag`/`field`, bear in
# tag = "path"
```
## Considerations
### Considerations
### Clean
#### Clean
Even though `clean` is provided a standalone function, it is also invoked when using the `rel` and `dirname` functions,
so there is no need to use it along with them.
@ -81,13 +83,13 @@ Is equivalent to:
tag = "path"
```
### ToSlash
#### ToSlash
The effects of this function are only noticeable on Windows platforms, because of the underlying golang implementation.
## Examples
### Examples
### Basename
#### Basename
```toml
[[processors.filepath]]
@ -100,7 +102,7 @@ The effects of this function are only noticeable on Windows platforms, because o
+ my_metric,path="ajob.log" duration_seconds=134 1587920425000000000
```
### Dirname
#### Dirname
```toml
[[processors.filepath]]
@ -114,7 +116,7 @@ The effects of this function are only noticeable on Windows platforms, because o
+ my_metric path="/var/log/batch/ajob.log",folder="/var/log/batch",duration_seconds=134 1587920425000000000
```
### Stem
#### Stem
```toml
[[processors.filepath]]
@ -127,7 +129,7 @@ The effects of this function are only noticeable on Windows platforms, because o
+ my_metric,path="ajob" duration_seconds=134 1587920425000000000
```
### Clean
#### Clean
```toml
[[processors.filepath]]
@ -140,7 +142,7 @@ The effects of this function are only noticeable on Windows platforms, because o
+ my_metric,path="/var/log/batch/ajob.log" duration_seconds=134 1587920425000000000
```
### Rel
#### Rel
```toml
[[processors.filepath]]
@ -154,7 +156,7 @@ The effects of this function are only noticeable on Windows platforms, because o
+ my_metric,path="batch/ajob.log" duration_seconds=134 1587920425000000000
```
### ToSlash
#### ToSlash
```toml
[[processors.filepath]]

View File

@ -2,6 +2,8 @@
The `ifname` plugin looks up network interface names using SNMP.
Telegraf minimum version: Telegraf 1.15.0
### Configuration:
```toml

View File

@ -4,6 +4,8 @@ Use the `port_name` processor to convert a tag containing a well-known port numb
Tag can contain a number ("80") or number and protocol separated by slash ("443/tcp"). If protocol is not provided it defaults to tcp but can be changed with the default_protocol setting.
Telegraf minimum version: Telegraf 1.15.0
### Configuration
```toml

View File

@ -3,6 +3,8 @@
The `reverse_dns` processor does a reverse-dns lookup on tags (or fields) with
IPs in them.
Telegraf minimum version: Telegraf 1.15.0
### Configuration:
```toml

View File

@ -13,6 +13,8 @@ files or sockets.
The Starlark [specification][] has details about the syntax and available
functions.
Telegraf minimum version: Telegraf 1.15.0
### Configuration
```toml