Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated the Apache Flink documentation #579

Merged
Merged
Changes from 1 commit
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
6 changes: 3 additions & 3 deletions integrations/flink/documentation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ minimum_exporter_version: "1.15"
exporter_repo_url: https://flink.apache.org/features/2019/03/11/prometheus-monitoring.html
additional_prereq_info: |
{{app_name_short}} exposes Prometheus-format metrics when configured with
`metrics.reporter.prom.class: org.apache.flink.metrics.prometheus.PrometheusReporter`.
`metrics.reporter.prom.factory.class: org.apache.flink.metrics.prometheus.PrometheusReporterFactory`.
If you deployed Flink with the official [getting started manifests](https://nightlies.apache.org/flink/flink-docs-master/docs/deployment/resource-providers/standalone/kubernetes/){:class="external"},
add this new option to the ConfigMap:
<pre>
Expand All @@ -22,7 +22,7 @@ additional_prereq_info: |
data:
flink-conf.yaml: |+
...
+ metrics.reporter.prom.class: org.apache.flink.metrics.prometheus.PrometheusReporter
+ metrics.reporter.prom.factory.class: org.apache.flink.metrics.prometheus.PrometheusReporterFactory
</pre>
If you deployed Flink with the official [operator](https://nightlies.apache.org/flink/flink-kubernetes-operator-docs-main/docs/try-flink-kubernetes-operator/quick-start/){:class="external"},
add this new option to the FlinkDeployment's `spec.flinkConfiguration` field:
Expand All @@ -36,7 +36,7 @@ additional_prereq_info: |
flinkVersion: v1_15
EvanSimpson marked this conversation as resolved.
Show resolved Hide resolved
flinkConfiguration:
taskmanager.numberOfTaskSlots: "2"
+ metrics.reporter.prom.class: org.apache.flink.metrics.prometheus.PrometheusReporter
+ metrics.reporter.prom.factory.class: org.apache.flink.metrics.prometheus.PrometheusReporterFactory
</pre>
Alternatively, you can specify the Prometheus reporter as a default option within the [Flink operator
configuration](https://nightlies.apache.org/flink/flink-kubernetes-operator-docs-main/docs/operations/configuration/){:class="external"}.
Expand Down