Skip to content

Commit ef34338

Browse files
committed
Cleanup imports and dependencies
1 parent b871d60 commit ef34338

File tree

4 files changed

+5
-16
lines changed

4 files changed

+5
-16
lines changed

project.clj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,6 @@
1111
:sign-releases true}]]
1212

1313
:dependencies [[org.clojure/clojure "1.10.3" :scope "provided"]
14-
[io.prometheus/simpleclient "0.12.0"]
15-
[io.prometheus/simpleclient_common "0.12.0"]
16-
[io.prometheus/simpleclient_pushgateway "0.12.0"]
17-
[io.prometheus/simpleclient_hotspot "0.12.0" :scope "provided"]
1814
[io.prometheus/prometheus-metrics-core "1.4.1"]
1915
[io.prometheus/prometheus-metrics-exporter-pushgateway "1.4.1"]
2016
[io.prometheus/prometheus-metrics-exposition-textformats "1.4.1"]

src/iapetos/collector/fn.clj

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
(ns iapetos.collector.fn
2-
(:require [iapetos.collector :as collector]
3-
[iapetos.core :as prometheus]
4-
[iapetos.metric :as metric]
5-
[iapetos.collector.exceptions :as ex])
6-
(:import [io.prometheus.client CollectorRegistry]))
2+
(:require [iapetos.core :as prometheus]
3+
[iapetos.collector.exceptions :as ex]))
74

85
;; ## Instrumentation
96

src/iapetos/registry/collectors.clj

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
(ns iapetos.registry.collectors
2-
(:require [iapetos.metric :as metric]
3-
[iapetos.registry.utils :as utils]
2+
(:require [iapetos.registry.utils :as utils]
43
[iapetos.collector :as collector])
5-
(:import [io.prometheus.metrics.core.datapoints DistributionDataPoint]
6-
[io.prometheus.metrics.core.metrics MetricWithFixedMetadata$Builder StatefulMetric]
7-
[io.prometheus.metrics.model.registry Collector PrometheusRegistry]))
4+
(:import [io.prometheus.metrics.model.registry Collector PrometheusRegistry]))
85

96
;; ## Init
107

src/iapetos/standalone.clj

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
(ns iapetos.standalone
2-
(:require [iapetos.collector.ring :as ring]
3-
[clojure.java.io :as io])
2+
(:require [iapetos.collector.ring :as ring])
43
(:import [com.sun.net.httpserver
54
HttpHandler
65
HttpServer

0 commit comments

Comments
 (0)