You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ch...@apache.org on 2018/04/12 07:35:10 UTC

[2/5] flink git commit: [FLINK-9147] [metrics] Include shaded Prometheus dependencies in jar The Prometheus metrics reporter does not include the shaded Prometheus dependencies in its jar. This commit changes this.

[FLINK-9147] [metrics] Include shaded Prometheus dependencies in jar  The Prometheus metrics reporter does not include the shaded Prometheus dependencies in its jar. This commit changes this.

This closes #5828.


Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/1a5bb36d
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/1a5bb36d
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/1a5bb36d

Branch: refs/heads/master
Commit: 1a5bb36d12ca7acb395315b429f085981a595c0b
Parents: 0e0ba5d
Author: Till Rohrmann <tr...@apache.org>
Authored: Sun Apr 8 08:40:42 2018 +0200
Committer: zentol <ch...@apache.org>
Committed: Wed Apr 11 12:16:27 2018 +0200

----------------------------------------------------------------------
 flink-metrics/flink-metrics-prometheus/pom.xml | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/1a5bb36d/flink-metrics/flink-metrics-prometheus/pom.xml
----------------------------------------------------------------------
diff --git a/flink-metrics/flink-metrics-prometheus/pom.xml b/flink-metrics/flink-metrics-prometheus/pom.xml
index ddaeae0..22944ba 100644
--- a/flink-metrics/flink-metrics-prometheus/pom.xml
+++ b/flink-metrics/flink-metrics-prometheus/pom.xml
@@ -111,6 +111,11 @@ under the License.
 							<goal>shade</goal>
 						</goals>
 						<configuration>
+							<artifactSet>
+								<includes>
+									<include>io.prometheus:*</include>
+								</includes>
+							</artifactSet>
 							<relocations combine.children="append">
 								<relocation>
 									<pattern>io.prometheus.client</pattern>