Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM gradle:9.2.0-jdk21 as builder
COPY . .
RUN gradle shadowJar

FROM flink:2.1.1-java21
FROM flink:2.2.0-java21
RUN echo "metrics.reporters: prom" >> "$FLINK_HOME/conf/config.yaml"; \
echo "metrics.reporter.prom.factory.class: org.apache.flink.metrics.prometheus.PrometheusReporterFactory" >> "$FLINK_HOME/conf/config.yaml"
COPY --from=builder /home/gradle/build/libs/*.jar $FLINK_HOME/usrlib/
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[![Actions Status](https://github.com/mbode/flink-prometheus-example/workflows/Gradle/badge.svg)](https://github.com/mbode/flink-prometheus-example/actions)
[![codecov](https://codecov.io/gh/mbode/flink-prometheus-example/branch/master/graph/badge.svg)](https://codecov.io/gh/mbode/flink-prometheus-example)
[![Flink v2.1.1](https://img.shields.io/badge/flink-v2.1.1-blue.svg)](https://github.com/apache/flink/releases/tag/release-2.1.1)
[![Flink v2.2.0](https://img.shields.io/badge/flink-v2.2.0-blue.svg)](https://github.com/apache/flink/releases/tag/release-2.2.0)
[![Prometheus v3.6.0](https://img.shields.io/badge/prometheus-v3.6.0-blue.svg)](https://github.com/prometheus/prometheus/releases/tag/v3.6.0)

This repository contains the live demo to my talk _Monitoring Flink with Prometheus_, which I have given at:
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ java {

repositories { mavenCentral() }

val flinkVersion = "2.1.1"
val flinkVersion = "2.2.0"

dependencies {
compileOnly("org.apache.flink:flink-streaming-java:$flinkVersion")
Expand Down
Loading