Skip to content

Commit

Permalink
Redirect former wiki links (influxdata#9183)
Browse files Browse the repository at this point in the history
* fix docs links

* redirect links

* redirect links

* redirect links

* redirect links
  • Loading branch information
sjwang90 authored May 7, 2021
1 parent 1482246 commit 3e9f191
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 18 deletions.
8 changes: 4 additions & 4 deletions docs/AGGREGATORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ This section is for developers who want to create a new aggregator plugin.
`github.com/influxdata/telegraf/plugins/aggregators/all/all.go` file.
- The `SampleConfig` function should return valid toml that describes how the
plugin can be configured. This is included in `telegraf config`. Please
consult the [SampleConfig][] page for the latest style guidelines.
consult the [Sample Config][] page for the latest style guidelines.
* The `Description` function should say in one line what this aggregator does.
* The Aggregator plugin will need to keep caches of metrics that have passed
through it. This should be done using the builtin `HashID()` function of
each metric.
* When the `Reset()` function is called, all caches should be cleared.
- Follow the recommended [CodeStyle][].
- Follow the recommended [Code Style][].

### Aggregator Plugin Example

Expand Down Expand Up @@ -128,5 +128,5 @@ func init() {
```

[telegraf.Aggregator]: https://godoc.org/github.com/influxdata/telegraf#Aggregator
[SampleConfig]: https://github.com/influxdata/telegraf/wiki/SampleConfig
[CodeStyle]: https://github.com/influxdata/telegraf/wiki/CodeStyle
[Sample Config]: https://github.com/influxdata/telegraf/blob/master/docs/developers/SAMPLE_CONFIG.md
[Code Style]: https://github.com/influxdata/telegraf/blob/master/docs/developers/CODE_STYLE.md
8 changes: 4 additions & 4 deletions docs/INPUTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ and submit new inputs.
`github.com/influxdata/telegraf/plugins/inputs/all/all.go` file.
- The `SampleConfig` function should return valid toml that describes how the
plugin can be configured. This is included in `telegraf config`. Please
consult the [SampleConfig][] page for the latest style
consult the [Sample Config][] page for the latest style
guidelines.
- The `Description` function should say in one line what this plugin does.
- Follow the recommended [CodeStyle][].
- Follow the recommended [Code Style][].

Let's say you've written a plugin that emits metrics about processes on the
current host.
Expand Down Expand Up @@ -143,8 +143,8 @@ Check the [amqp_consumer][] for an example implementation.
[amqp_consumer]: https://github.com/influxdata/telegraf/tree/master/plugins/inputs/amqp_consumer
[prom metric types]: https://prometheus.io/docs/concepts/metric_types/
[input data formats]: https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_INPUT.md
[SampleConfig]: https://github.com/influxdata/telegraf/wiki/SampleConfig
[CodeStyle]: https://github.com/influxdata/telegraf/wiki/CodeStyle
[Sample Config]: https://github.com/influxdata/telegraf/blob/master/docs/developers/SAMPLE_CONFIG.md
[Code Style]: https://github.com/influxdata/telegraf/blob/master/docs/developers/CODE_STYLE.md
[telegraf.Input]: https://godoc.org/github.com/influxdata/telegraf#Input
[telegraf.ServiceInput]: https://godoc.org/github.com/influxdata/telegraf#ServiceInput
[telegraf.Accumulator]: https://godoc.org/github.com/influxdata/telegraf#Accumulator
Expand Down
8 changes: 4 additions & 4 deletions docs/OUTPUTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ similar constructs.
`github.com/influxdata/telegraf/plugins/outputs/all/all.go` file.
- The `SampleConfig` function should return valid toml that describes how the
plugin can be configured. This is included in `telegraf config`. Please
consult the [SampleConfig][] page for the latest style guidelines.
consult the [Sample Config][] page for the latest style guidelines.
- The `Description` function should say in one line what this output does.
- Follow the recommended [CodeStyle][].
- Follow the recommended [Code Style][].

### Output Plugin Example

Expand Down Expand Up @@ -115,6 +115,6 @@ or investigate other reasons why the writes might be taking longer than expected

[file]: https://github.com/influxdata/telegraf/tree/master/plugins/inputs/file
[output data formats]: https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_OUTPUT.md
[SampleConfig]: https://github.com/influxdata/telegraf/wiki/SampleConfig
[CodeStyle]: https://github.com/influxdata/telegraf/wiki/CodeStyle
[Sample Config]: https://github.com/influxdata/telegraf/blob/master/docs/developers/SAMPLE_CONFIG.md
[Code Style]: https://github.com/influxdata/telegraf/blob/master/docs/developers/CODE_STYLE.md
[telegraf.Output]: https://godoc.org/github.com/influxdata/telegraf#Output
8 changes: 4 additions & 4 deletions docs/PROCESSORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ This section is for developers who want to create a new processor plugin.
config`.
- The `SampleConfig` function should return valid toml that describes how the
plugin can be configured. This is included in `telegraf config`. Please
consult the [SampleConfig][] page for the latest style guidelines.
consult the [Sample Config][] page for the latest style guidelines.
* The `Description` function should say in one line what this processor does.
- Follow the recommended [CodeStyle][].
- Follow the recommended [Code Style][].

### Processor Plugin Example

Expand Down Expand Up @@ -160,7 +160,7 @@ func init() {
}
```

[SampleConfig]: https://github.com/influxdata/telegraf/wiki/SampleConfig
[CodeStyle]: https://github.com/influxdata/telegraf/wiki/CodeStyle
[Sample Config]: https://github.com/influxdata/telegraf/blob/master/docs/developers/SAMPLE_CONFIG.md
[Code Style]: https://github.com/influxdata/telegraf/blob/master/docs/developers/CODE_STYLE.md
[telegraf.Processor]: https://godoc.org/github.com/influxdata/telegraf#Processor
[telegraf.StreamingProcessor]: https://godoc.org/github.com/influxdata/telegraf#StreamingProcessor
4 changes: 2 additions & 2 deletions docs/maintainers/PULL_REQUESTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ contributor to merge or rebase.

## Review

[Review the pull request](Review).
[Review the pull request](docs/developers/REVIEWS.md).

## Merge

Expand Down Expand Up @@ -53,7 +53,7 @@ message. If applicable mention the plugin in the message.
## After Merge

[Update the Changelog](Changelog).
[Update the Changelog](https://github.com/influxdata/telegraf/blob/master/docs/maintainers/CHANGELOG.md).

If required, backport the patch and the changelog update to the current
release branch. Usually this can be done by cherry picking the commits:
Expand Down

0 comments on commit 3e9f191

Please sign in to comment.