diff --git a/etc/telegraf.conf b/etc/telegraf.conf index 8c91b82c2..9ccd51296 100644 --- a/etc/telegraf.conf +++ b/etc/telegraf.conf @@ -6411,8 +6411,11 @@ # # Reads metrics from RavenDB servers via the Monitoring Endpoints # [[inputs.ravendb]] -# ## Node URL and port that RavenDB is listening on -# url = "https://localhost:8080" +# ## Node URL and port that RavenDB is listening on. By default, +# ## attempts to connect securely over HTTPS, however, if the user +# ## is running a local unsecure development cluster users can use +# ## HTTP via a URL like "http://localhost:8080" +# url = "https://localhost:4433" # # ## RavenDB X509 client certificate setup # # tls_cert = "/etc/telegraf/raven.crt" diff --git a/etc/telegraf_windows.conf b/etc/telegraf_windows.conf index d8a9b2463..a69026f16 100644 --- a/etc/telegraf_windows.conf +++ b/etc/telegraf_windows.conf @@ -6278,8 +6278,11 @@ # # Reads metrics from RavenDB servers via the Monitoring Endpoints # [[inputs.ravendb]] -# ## Node URL and port that RavenDB is listening on -# url = "https://localhost:8080" +# ## Node URL and port that RavenDB is listening on. By default, +# ## attempts to connect securely over HTTPS, however, if the user +# ## is running a local unsecure development cluster users can use +# ## HTTP via a URL like "http://localhost:8080" +# url = "https://localhost:4433" # # ## RavenDB X509 client certificate setup # # tls_cert = "/etc/telegraf/raven.crt" diff --git a/plugins/inputs/ravendb/README.md b/plugins/inputs/ravendb/README.md index e527d167f..82911eab1 100644 --- a/plugins/inputs/ravendb/README.md +++ b/plugins/inputs/ravendb/README.md @@ -10,8 +10,11 @@ The following is an example config for RavenDB. **Note:** The client certificate ```toml [[inputs.ravendb]] - ## Node URL and port that RavenDB is listening on - url = "https://localhost:8080" + ## Node URL and port that RavenDB is listening on. By default, + ## attempts to connect securely over HTTPS, however, if the user + ## is running a local unsecure development cluster users can use + ## HTTP via a URL like "http://localhost:8080" + url = "https://localhost:4433" ## RavenDB X509 client certificate setup tls_cert = "/etc/telegraf/raven.crt" diff --git a/plugins/inputs/ravendb/ravendb.go b/plugins/inputs/ravendb/ravendb.go index efc1b9517..47f1e6f03 100644 --- a/plugins/inputs/ravendb/ravendb.go +++ b/plugins/inputs/ravendb/ravendb.go @@ -47,8 +47,11 @@ type RavenDB struct { } var sampleConfig = ` - ## Node URL and port that RavenDB is listening on - url = "https://localhost:8080" + ## Node URL and port that RavenDB is listening on. By default, + ## attempts to connect securely over HTTPS, however, if the user + ## is running a local unsecure development cluster users can use + ## HTTP via a URL like "http://localhost:8080" + url = "https://localhost:4433" ## RavenDB X509 client certificate setup # tls_cert = "/etc/telegraf/raven.crt"