docs: clean up links (#10135)

This commit is contained in:
Samantha Wang 2021-11-24 11:59:41 -08:00 committed by GitHub
parent 020b77b239
commit 84e7a6acbe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 7 deletions

View File

@ -1,6 +1,6 @@
# HTTP JSON Input Plugin # HTTP JSON Input Plugin
**DEPRECATED in Telegraf v1.6: Use [HTTP input plugin](../http) as replacement** ## DEPRECATED in Telegraf v1.6: Use [HTTP input plugin][] as replacement
The httpjson plugin collects data from HTTP URLs which respond with JSON. It flattens the JSON and finds all numeric values, treating them as floats. The httpjson plugin collects data from HTTP URLs which respond with JSON. It flattens the JSON and finds all numeric values, treating them as floats.
@ -134,3 +134,5 @@ If the service returns an array of objects, one metric is be created for each ob
`httpjson,server=http://localhost:9999/stats/,service=service01 a=0.5,b_d=0.1,b_e=5,response_time=0.003` `httpjson,server=http://localhost:9999/stats/,service=service01 a=0.5,b_d=0.1,b_e=5,response_time=0.003`
`httpjson,server=http://localhost:9999/stats/,service=service02 a=0.6,b_d=0.2,b_e=6,response_time=0.003` `httpjson,server=http://localhost:9999/stats/,service=service02 a=0.6,b_d=0.2,b_e=6,response_time=0.003`
[HTTP input plugin]: /plugins/inputs/http

View File

@ -1,8 +1,8 @@
# Jolokia Input Plugin # Jolokia Input Plugin
## Deprecated in version 1.5: Please use the [jolokia2](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/jolokia2) plugin ## Deprecated in version 1.5: Please use the [jolokia2][] plugin
### Configuration ## Configuration
```toml ```toml
# Read JMX metrics through Jolokia # Read JMX metrics through Jolokia
@ -61,14 +61,15 @@
attribute = "LoadedClassCount,UnloadedClassCount,TotalLoadedClassCount" attribute = "LoadedClassCount,UnloadedClassCount,TotalLoadedClassCount"
``` ```
#### Description ## Description
The Jolokia plugin collects JVM metrics exposed as MBean's attributes through The Jolokia plugin collects JVM metrics exposed as MBean's attributes through
jolokia REST endpoint. All metrics are collected for each server configured. jolokia REST endpoint. All metrics are collected for each server configured.
See [official Jolokia website](https://jolokia.org/) for more information.
See: <https://jolokia.org/>
## Measurements ## Measurements
Jolokia plugin produces one measure for each metric configured, Jolokia plugin produces one measure for each metric configured,
adding Server's `jolokia_name`, `jolokia_host` and `jolokia_port` as tags. adding Server's `jolokia_name`, `jolokia_host` and `jolokia_port` as tags.
[jolokia2]: /plugins/inputs/jolokia2

View File

@ -1,6 +1,6 @@
# Kafka Consumer Legacy Input Plugin # Kafka Consumer Legacy Input Plugin
## Deprecated in version 1.4. Please use [Kafka Consumer input plugin](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/kafka_consumer) ## Deprecated in version 1.4. Please use [Kafka Consumer input plugin][]
The [Kafka](http://kafka.apache.org/) consumer plugin polls a specified Kafka The [Kafka](http://kafka.apache.org/) consumer plugin polls a specified Kafka
topic and adds messages to InfluxDB. The plugin assumes messages follow the topic and adds messages to InfluxDB. The plugin assumes messages follow the
@ -43,3 +43,5 @@ from the same topic in parallel.
Running integration tests requires running Zookeeper & Kafka. See Makefile Running integration tests requires running Zookeeper & Kafka. See Makefile
for kafka container command. for kafka container command.
[Kafka Consumer input plugin]: /plugins/inputs/kafka_consumer