Code Monkey home page Code Monkey logo

flink_exporter's People

Contributors

gom avatar matsumana avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

flink_exporter's Issues

update JobStatusMetrics

Must modify, After Flink version up.

// see https://github.com/apache/flink/blob/release-1.0.3/flink-runtime/src/main/java/org/apache/flink/runtime/jobgraph/JobStatus.java
// TODO Must modify, After Flink version up.
type JobStatusMetrics struct {
JobName string
Created int
Running int
Failing int
Failed int
Cancelling int
Canceled int
Finished int
Restarting int
}

Cannot collect Checkpoint metrics from Flink version 1.2 or later

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...)
  • Add latest.completed that summary of the latest completed checkpoint.
  • history are added more information.
    and so on...

At least, we should fix checkpoints count and latest history with Flink v1.2 or later.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.