Telegraf link audit (#1382)

* Link audit for telegraf

* fixed broken links, fixed telegraf card display logic, updated telegraf btn styles

Co-authored-by: pierwill <pierwill@users.noreply.github.com>
Co-authored-by: Scott Anderson <scott@influxdata.com>
pull/1384/head
pierwill 2020-09-01 14:27:47 -07:00 committed by GitHub
parent 1110e51660
commit 9cf4904157
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 25 additions and 17 deletions

View File

@ -83,6 +83,11 @@
}
.plugin-card {
.github-link { @include gradient($telegraf-btn-gradient); }
&:hover .github-link { @include gradient($telegraf-btn-gradient); }
}
.algolia-autocomplete .algolia-docsearch-suggestion--highlight { color: $telegraf-article-link; }
}

View File

@ -25,7 +25,7 @@ $telegraf-article-table-header: $grad-SavannaHeat;
// Article Buttons
$telegraf-btn-gradient: $grad-red;
$telegraf-btn-gradient-hover: $grad-yellow-dark;
$telegraf-btn-gradient-hover: $grad-red-light;
// Article Tabs for tabbed content
$telegraf-article-tab-active-text: $g20-white;

View File

@ -25,7 +25,7 @@ $telegraf-article-table-header: $grad-Miyazakisky !default;
// Article Buttons
$telegraf-btn-gradient: $grad-red !default;
$telegraf-btn-gradient-hover: $grad-yellow-dark !default;
$telegraf-btn-gradient-hover: $grad-red-light !default;
// Article Tabs for tabbed content
$telegraf-article-tab-active-text: $g20-white !default;

View File

@ -10,7 +10,7 @@ menu:
This example walks through using the Telegraf HTTP input plugin to collect live metrics on Citi Bike stations in New York City. Live station data is available in JSON format from [NYC OpenData](https://data.cityofnewyork.us/NYC-BigApps/Citi-Bike-Live-Station-Feed-JSON-/p94q-8hxh).
For the following example to work, configure [`influxdb` output plugin](telegraf/v1.13/plugins/plugin-list/#influxdb). This plugin is what allows Telegraf to write the metrics to your InfluxDB.
For the following example to work, configure [`influxdb` output plugin](/telegraf/v1.13/plugins/plugin-list/#influxdb). This plugin is what allows Telegraf to write the metrics to your InfluxDB.
## Configure the HTTP Input plugin in your Telegraf configuration file

View File

@ -80,7 +80,7 @@ Telegraf now uses the [Go TLS library](https://golang.org/pkg/crypto/tls/).
#### Inputs
- [Arista LANZ Consumer](`lanz`) - Contributed by [@timhughes](https://github.com/timhughes)
- [Arista LANZ Consumer](https://github.com/influxdata/telegraf/blob/release-1.14/plugins/inputs/lanz) (`lanz`) - Contributed by [@timhughes](https://github.com/timhughes)
- [ClickHouse](https://github.com/influxdata/telegraf/blob/release-1.14/plugins/inputs/clickhouse/README.md)(`clickhouse`) - Contributed by [@kshvakov](https://github.com/kshvakov)
- [Execd](https://github.com/influxdata/telegraf/blob/release-1.14/plugins/inputs/execd/README.md)(`execd`) - Contributed by [@jgraichen](https://github.com/jgraichen)
- [Event Hub Consumer](https://github.com/influxdata/telegraf/blob/master/plugins/inputs/eventhub_consumer/README.md)(`eventhub_consumer`) - Contributed by [@R290](https://github.com/R290)
@ -92,13 +92,13 @@ Telegraf now uses the [Go TLS library](https://golang.org/pkg/crypto/tls/).
#### Processors
- [Dedup](`dedup`) - Contributed by [@igomura](https://github.com/igomura)
- [S2 Geo](`s2geo`) - Contributed by [@alespour](https://github.com/alespour)
- [Template](`template`) - Contributed by [@RobMalvern](https://github.com/RobMalvern)
- [Dedup](https://github.com/influxdata/telegraf/blob/release-1.14/plugins/processors/dedup) (`dedup`) - Contributed by [@igomura](https://github.com/igomura)
- [S2 Geo](https://github.com/influxdata/telegraf/blob/release-1.14/plugins/processors/s2geo) (`s2geo`) - Contributed by [@alespour](https://github.com/alespour)
- [Template](https://github.com/influxdata/telegraf/blob/release-1.14/plugins/processors/template) (`template`) - Contributed by [@RobMalvern](https://github.com/RobMalvern)
#### Outputs
- [Warp10](`warp10`) - Contributed by [@aurrelhebert](https://github.com/aurrelhebert)
- [Warp10](https://github.com/influxdata/telegraf/blob/release-1.14/plugins/outputs/warp10) (`warp10`) - Contributed by [@aurrelhebert](https://github.com/aurrelhebert)
### Features

View File

@ -93,7 +93,7 @@ The timezone We'll set this to the Unix TZ value where our bike data takes place
## Start Telegraf and verify data appears
[Start the Telegraf service](/telegraf/v1.14/introduction/getting-started/#start-the-telegraf-service).
[Start the Telegraf service](/telegraf/v1.14/introduction/getting-started/#start-telegraf-service).
To test that the data is being sent to InfluxDB, run the following (replacing `telegraf.conf` with the path to your configuration file):

View File

@ -208,7 +208,7 @@ Telegraf now uses the [Go TLS library](https://golang.org/pkg/crypto/tls/).
#### Inputs
- [Arista LANZ Consumer](`lanz`) - Contributed by [@timhughes](https://github.com/timhughes)
- [Arista LANZ Consumer](https://github.com/influxdata/telegraf/blob/release-1.14/plugins/inputs/lanz/README.md) - Contributed by [@timhughes](https://github.com/timhughes)
- [ClickHouse](https://github.com/influxdata/telegraf/blob/release-1.14/plugins/inputs/clickhouse/README.md)(`clickhouse`) - Contributed by [@kshvakov](https://github.com/kshvakov)
- [Execd](https://github.com/influxdata/telegraf/blob/release-1.14/plugins/inputs/execd/README.md)(`execd`) - Contributed by [@jgraichen](https://github.com/jgraichen)
- [Event Hub Consumer](https://github.com/influxdata/telegraf/blob/master/plugins/inputs/eventhub_consumer/README.md)(`eventhub_consumer`) - Contributed by [@R290](https://github.com/R290)
@ -220,13 +220,13 @@ Telegraf now uses the [Go TLS library](https://golang.org/pkg/crypto/tls/).
#### Processors
- [Dedup](`dedup`) - Contributed by [@igomura](https://github.com/igomura)
- [S2 Geo](`s2geo`) - Contributed by [@alespour](https://github.com/alespour)
- [Template](`template`) - Contributed by [@RobMalvern](https://github.com/RobMalvern)
- [Dedup](https://github.com/influxdata/telegraf/blob/master/plugins/processors/dedup/README.md)(`dedup`) - Contributed by [@igomura](https://github.com/igomura)
- [S2 Geo](https://github.com/influxdata/telegraf/blob/master/plugins/processors/s2geo/README.md)(`s2geo`) - Contributed by [@alespour](https://github.com/alespour)
- [Template](https://github.com/influxdata/telegraf/blob/master/plugins/processors/template/README.md) (`template`) - Contributed by [@RobMalvern](https://github.com/RobMalvern)
#### Outputs
- [Warp10](`warp10`) - Contributed by [@aurrelhebert](https://github.com/aurrelhebert)
- [Warp10](https://github.com/influxdata/telegraf/blob/master/plugins/outputs/warp10/README.md)(`warp10`) - Contributed by [@aurrelhebert](https://github.com/aurrelhebert)
### Features

View File

@ -93,7 +93,7 @@ The timezone We'll set this to the Unix TZ value where our bike data takes place
## Start Telegraf and verify data appears
[Start the Telegraf service](/telegraf/v1.15/introduction/getting-started/#start-the-telegraf-service).
[Start the Telegraf service](/telegraf/v1.15/introduction/getting-started/#start-telegraf-service).
To test that the data is being sent to InfluxDB, run the following (replacing `telegraf.conf` with the path to your configuration file):

View File

@ -5,8 +5,11 @@
{{ range (index .Site.Data.telegraf_plugins $type ) }}
{{ $pluginTags := delimit .tags " " }}
{{ $minorVer := replaceRE `\.[^.]*$` "" .introduced }}
<!-- Only include plugins available for the current viewed version -->
{{ if ge $currentTelegrafVersion $minorVer}}
<!-- Compare semantic version of plugin to Telegraf version -->
{{ $supported := cond (le (index (split $minorVer ".") 0) (index (split $currentTelegrafVersion ".") 0)) (le (index (split $minorVer ".") 1) (index (split $currentTelegrafVersion ".") 1)) false }}
<!-- Only include plugins supported by the currently viewed Telegraf version -->
{{ if $supported }}
<div class="plugin-card visible{{ if eq $minorVer $currentTelegrafVersion }} new{{ end }}" id="{{ .id }}" data-tags="{{ $type }} {{ lower $pluginTags }} {{ if eq $minorVer $currentTelegrafVersion }}new{{ end }} {{ if .deprecated }}deprecated{{ end }} ">
<div class="info">
<h3 id="{{ .id }}">{{ .name }}</h3>