command
module
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Jan 7, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Flink Monitoring
Flink exceptions alerting made simple (with go!).
Build
go install
go build -o flinkmonitoring
Usage
flinkmonitoring -config $CONFIG_PATH -job $JOBID <optional>
- Configure sender and receivers mail info in related config section.
- Specify flink endpoint
- Customize poll and run time as you prefer
Config
poll: 5 # seconds
for: 15 # seconds
mail:
sender: "sendermailaddress"
password: "senderpassword"
receivers:
- "receiver1"
- "receiver2
smtphost: "smtp.gmail.com"
smtpport: "587"
flink:
endpoint: http://localhost:8081
Run with Docker
docker build --tag flinkmonitoring .
docker run --network=host -v $PWD/config.yml:/app/config.yml flinkmonitoring -config config.yml
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.