diff --git a/README.md b/README.md index 5ba53bb8..603f5537 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ The plugin supports the following configuration parameters (apart from the ones | caBundleFile | **[LINUX HTTPS ONLY]** Specifies the Certificate Authority certificate to use for validating HTTPS connections against the proxy. Useful when the proxy uses a self-signed certificate. **The certificate file must be in the PEM format**. If not specified, then the operating system's CA list is used. Only used when `validateProxyCerts` is `true`. | (none) | | caBundleDir | **[LINUX HTTPS ONLY]** Specifies a folder containing one or more Certificate Authority certificates ot use for validating HTTPS connections against the proxy. Useful when the proxy uses a self-signed certificate. **Only certificate files in the PEM format and \*.pem extension will be considered**. If not specified, then the operating system's CA list is used. Only used when `validateProxyCerts` is `true`. | (none) | | validateProxyCerts | **[HTTPS ONLY]** When using a HTTPS proxy, the proxy certificates are validated by default when establishing a HTTPS connection. To disable the proxy certificate validation, set `validateProxyCerts` to `false` (insecure) | true | -| sendMetrics | Set to true to send plugin troubleshoot metrics to the Metrics event type. Please see [this section](#troubleshooting-metrics) for more details | false | +| sendMetrics | Set to true to send plugin troubleshoot metrics to the Metrics event type. Please see [this section](#troubleshooting-metrics) for more details | true | #### Proxy support diff --git a/config/config.go b/config/config.go index 1e47885f..6f277587 100644 --- a/config/config.go +++ b/config/config.go @@ -88,7 +88,7 @@ func parseNRClientConfig(ctx unsafe.Pointer) (cfg NRClientConfig, err error) { cfg.TimeoutSeconds, err = optInt(ctx, "httpClientTimeout", 5) - cfg.SendMetrics, err = optBool(ctx, "sendMetrics", false) + cfg.SendMetrics, err = optBool(ctx, "sendMetrics", true) return }