Skip to content

Commit

Permalink
[FLINK-9147] [metrics] Include shaded Prometheus dependencies in jar …
Browse files Browse the repository at this point in the history
…The Prometheus metrics reporter does not include the shaded Prometheus dependencies in its jar. This commit changes this.

This closes apache#5828.
  • Loading branch information
tillrohrmann authored and zentol committed Apr 11, 2018
1 parent 0e0ba5d commit 1a5bb36
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions flink-metrics/flink-metrics-prometheus/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 1a5bb36

Please sign in to comment.