Skip to content

Commit

Permalink
remove the http server and its dependencies as they clash with readin…
Browse files Browse the repository at this point in the history
…gs deps
  • Loading branch information
dorinp committed Sep 13, 2019
1 parent 20f2f8a commit a23ab18
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 317 deletions.
9 changes: 2 additions & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.etsy</groupId>
<artifactId>statsd-jvm-profiler</artifactId>
<version>2.1.2-SNAPSHOT</version>
<version>2.1.3-SNAPSHOT</version>
<packaging>jar</packaging>

<name>statsd-jvm-profiler</name>
Expand Down Expand Up @@ -57,12 +57,7 @@
<dependency>
<groupId>org.influxdb</groupId>
<artifactId>influxdb-java</artifactId>
<version>2.0</version>
</dependency>
<dependency>
<groupId>io.vertx</groupId>
<artifactId>vertx-core</artifactId>
<version>2.1.5</version>
<version>2.14</version>
</dependency>
<dependency>
<groupId>junit</groupId>
Expand Down
5 changes: 0 additions & 5 deletions src/main/java/com/etsy/statsd/profiler/Agent.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package com.etsy.statsd.profiler;

import com.etsy.statsd.profiler.reporter.Reporter;
import com.etsy.statsd.profiler.server.ProfilerServer;
import com.etsy.statsd.profiler.worker.ProfilerShutdownHookWorker;
import com.etsy.statsd.profiler.worker.ProfilerThreadFactory;
import com.etsy.statsd.profiler.worker.ProfilerWorkerThread;
Expand Down Expand Up @@ -74,10 +73,6 @@ private static void scheduleProfilers(Collection<Profiler> profilers, Arguments
ScheduledFuture future = scheduledExecutorService.scheduleAtFixedRate(worker, EXECUTOR_DELAY, profiler.getPeriod(), profiler.getTimeUnit());
runningProfilers.put(profiler.getClass().getSimpleName(), future);
}

if (arguments.httpServerEnabled) {
ProfilerServer.startServer(runningProfilers, activeProfilers, arguments.httpPort, isRunning, errors);
}
}

/**
Expand Down
48 changes: 0 additions & 48 deletions src/main/java/com/etsy/statsd/profiler/server/ProfilerServer.java

This file was deleted.

140 changes: 0 additions & 140 deletions src/main/java/com/etsy/statsd/profiler/server/RequestHandler.java

This file was deleted.

117 changes: 0 additions & 117 deletions src/test/java/com/etsy/statsd/profiler/server/ProfilerServerTest.java

This file was deleted.

0 comments on commit a23ab18

Please sign in to comment.