diff --git a/presto-prometheus/src/main/java/com/facebook/presto/plugin/prometheus/PrometheusConnectorConfig.java b/presto-prometheus/src/main/java/com/facebook/presto/plugin/prometheus/PrometheusConnectorConfig.java index dda73ed5fe81c..b400ce7f786c2 100644 --- a/presto-prometheus/src/main/java/com/facebook/presto/plugin/prometheus/PrometheusConnectorConfig.java +++ b/presto-prometheus/src/main/java/com/facebook/presto/plugin/prometheus/PrometheusConnectorConfig.java @@ -39,7 +39,7 @@ public class PrometheusConnectorConfig private boolean tlsEnabled; private String trustStorePath; private String truststorePassword; - private boolean verifyHostName; + private boolean verifyHostName = true; @NotNull public URI getPrometheusURI()