Prometheus exporter for Apache Flink.
-
Overview
- flink_overview_taskmanagers
- flink_overview_slots_total
- flink_overview_slots_available
- flink_overview_jobs_running
- flink_overview_jobs_finished
- flink_overview_jobs_cancelled
- flink_overview_jobs_failed
-
Job status
- flink_job_status_running
-
Read/Write Bytes & Records
- flink_read_bytes
- flink_read_records
- flink_write_bytes
- flink_write_records
- flink_read_bytes_total
- flink_read_records_total
- flink_write_bytes_total
- flink_write_records_total
-
Checkpoint
- flink_checkpoint_count
- flink_checkpoint_duration
- flink_checkpoint_size
-
Exceptions
- flink_exception_count
Name | Description | Default | e.g. |
---|---|---|---|
port | exporter's port number | 9160 | |
log-level | Set Logging level | info | |
flink-job-manager-url | flink job manager url | http://host.domain.com:8081/ | |
yarn-resource-manager-url | flink job manager url | http://host.domain.com:8088/ws/v1/cluster/apps?applicationTypes=Apache%20Flink&states=RUNNING |
Specify either fink-job-manager-url
or yarn-resource-manager-url
. Can't specify both.
$ make install-depends
install below:
$ glide install
$ make build-with-docker
# for Mac
$ make build-mac
# for Linux
$ make build-linux
# for Mac
$ releases/darwin/amd64/flink_exporter <options>
# for Linux
$ releases/linux/amd64/flink_exporter <options>
$ make release-upload