Commit c3ac423f authored by Johnny Lim's avatar Johnny Lim Committed by Madhura Bhave

Use Commons Logging for PrometheusPushGatewayManager

Closes gh-14910
parent fd20618f
...@@ -25,8 +25,8 @@ import java.util.concurrent.ScheduledFuture; ...@@ -25,8 +25,8 @@ import java.util.concurrent.ScheduledFuture;
import io.prometheus.client.CollectorRegistry; import io.prometheus.client.CollectorRegistry;
import io.prometheus.client.exporter.PushGateway; import io.prometheus.client.exporter.PushGateway;
import org.slf4j.Logger; import org.apache.commons.logging.Log;
import org.slf4j.LoggerFactory; import org.apache.commons.logging.LogFactory;
import org.springframework.scheduling.TaskScheduler; import org.springframework.scheduling.TaskScheduler;
import org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler; import org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler;
...@@ -44,8 +44,8 @@ import org.springframework.util.StringUtils; ...@@ -44,8 +44,8 @@ import org.springframework.util.StringUtils;
*/ */
public class PrometheusPushGatewayManager { public class PrometheusPushGatewayManager {
private static final Logger logger = LoggerFactory private static final Log logger = LogFactory
.getLogger(PrometheusPushGatewayManager.class); .getLog(PrometheusPushGatewayManager.class);
private final PushGateway pushGateway; private final PushGateway pushGateway;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment