Skip to content

Commit 51f8fea

Browse files
committed
log metric client
1 parent 0b8a196 commit 51f8fea

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

airbyte-metrics/metrics-lib/src/main/java/io/airbyte/metrics/lib/MetricClientFactory.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ public static synchronized void initialize(final MetricEmittingApp metricEmittin
5656
throw new RuntimeException("You cannot initialize configuration more than once.");
5757
}
5858

59+
LOGGER.info("metric client is:");
60+
LOGGER.info(configs.getMetricClient());
5961
if (configs.getMetricClient().equals(DATADOG_METRIC_CLIENT)) {
6062
if (configs.getDDAgentHost() == null || configs.getDDDogStatsDPort() == null) {
6163
throw new RuntimeException("DD_AGENT_HOST is null or DD_DOGSTATSD_PORT is null. Both are required to use the DataDog Metric Client");

0 commit comments

Comments
 (0)