matsumana / flink_exporter Goto Github PK
View Code? Open in Web Editor NEWApache Flink exporter for Prometheus
License: MIT License
Apache Flink exporter for Prometheus
License: MIT License
Must modify, After Flink version up.
flink_exporter/collector/job.go
Lines 41 to 53 in 9266340
why do you remove job status metrics,only remain running metrics
Hi,
I tried flink_exporter with Flink v1.4.1.
But following errors are occured.
ERRO[2018-02-26T16:47:13+09:00] js.Get 'count' = invalid value type
flink_exporter tries to get count
field from /jobs/<job id>/checkpoints
,
but Flink v1.4.1 exposes only counts
...
In Flink version 1.2 or later, checkpoint statistics are changed.
https://issues.apache.org/jira/browse/FLINK-4410
count
is changed to counts
and expose more detail (ex. in_progress, failed...)latest.completed
that summary of the latest completed checkpoint.history
are added more information.At least, we should fix checkpoints count and latest history with Flink v1.2 or later.
e.g.
curl "http://host.domain.com:8088/ws/v1/cluster/apps?applicationTypes=Apache%20Flink&states=RUNNING" | jq .
must export completed job's metrics as 0
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.