Fix InsecureSkipVerify in Dynatrace Plugin (#8015)

This commit is contained in:
Thomas Schuetz 2020-08-21 17:31:30 +02:00 committed by GitHub
parent 7354a44240
commit bf0b376fc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 7 deletions

View File

@ -37,7 +37,7 @@ You will also need to configure an API token for secure access. Find out how to
## Requirements
This plugin requires Dynatrace version 1.202 or higher. You will either need a Dynatrace OneAgent (version 1.201 or higher) installed on the same host as Telegraf; or a Dynatrace environment with version 1.202 or higher
You will either need a Dynatrace OneAgent (version 1.201 or higher) installed on the same host as Telegraf; or a Dynatrace environment with version 1.202 or higher
## Limitations
Telegraf measurements which can't be converted to a float64 are skipped.

View File

@ -29,12 +29,11 @@ var (
// Dynatrace Configuration for the Dynatrace output plugin
type Dynatrace struct {
URL string `toml:"url"`
APIToken string `toml:"api_token"`
InsecureSkipVerify bool `toml:"insecure_skip_verify"`
Prefix string `toml:"prefix"`
Log telegraf.Logger `toml:"-"`
Timeout internal.Duration `toml:"timeout"`
URL string `toml:"url"`
APIToken string `toml:"api_token"`
Prefix string `toml:"prefix"`
Log telegraf.Logger `toml:"-"`
Timeout internal.Duration `toml:"timeout"`
tls.ClientConfig