Code Monkey home page Code Monkey logo

apache-knox-exporter's People

Stargazers

 avatar

Watchers

 avatar  avatar

apache-knox-exporter's Issues

Update dependencies

  • Update Prometheus simpleclient to 0.6.0

    • io.prometheus:simpleclient ........................... 0.4.0 -> 0.6.0
    • io.prometheus:simpleclient_hotspot ............. 0.4.0 -> 0.6.0
    • io.prometheus:simpleclient_servlet ................0.4.0 -> 0.6.0
  • Update knox-shell to latest Knox 1.2.0 release
    org.apache.knox:gateway-shell: ............................1.0.0 -> 1.2.0

  • Update snake snakeyaml to latest 1.23
    org.yaml:snakeyaml .............................................. 1.21 -> 1.23

Export JVM metrics of exporter

The exporter exposes currently only its memory settings.
Expose all JVM metrics, especially threads as the exporter relies on parallel executions towards Knox.

Dependency updates

Compile scope:

  • org.yaml:snakeyaml ................................................ 1.23 -> 1.31
  • io.prometheus:simpleclient .................................... 0.6.0 -> 0.10.0
  • io.prometheus:simpleclient_hotspot ...................... 0.6.0 -> 0.10.0
  • io.prometheus:simpleclient_servlet ........................ 0.6.0 -> 0.10.0
  • org.slf4j:slf4j-api .................................................... 1.7.25 -> 1.7.30
  • org.slf4j:slf4j-log4j12 ............................................. 1.7.25 -> 1.7.30
  • org.eclipse.jetty:jetty-servlet ................................. 8.1.22.v20160922 -> 9.4.36.v20210114

Test scope:

  • org.assertj:assertj-core ......................................... 3.12.0 -> 3.19.0
  • com.squareup.okhttp3:okhttp ............................... 3.12.1 -> 3.14.9
  • junit:junit ................................................................ 4.12 -> 4.13.1
  • de.m3y.prometheus.assertj:assertj-prometheus ... 0.2 -> 0.5

Execute checks in parallel

As especially hive queries tend to be very slow, try to speed up checks by running these in parallel.

Java Exception: Label cannot be null

Hi All,

So I'm trying to run the exporter jar file directly inside my Knox-gateway container, I'm running with this and getting a java
exception.

`$ java -jar knox-exporter-1.0.jar 127.0.0.1 9093 config.yml

Exception in thread "main" java.lang.IllegalArgumentException: Label cannot be null.
at io.prometheus.client.SimpleCollector.labels(SimpleCollector.java:68)
at de.m3y.prometheus.exporter.knox.KnoxCollector.configureActions(KnoxCollector.java:216)
at de.m3y.prometheus.exporter.knox.KnoxCollector.(KnoxCollector.java:80)
at de.m3y.prometheus.exporter.knox.WebServer.configure(WebServer.java:21)
at de.m3y.prometheus.exporter.knox.WebServer.main(WebServer.java:63)
`

ps: I'm fairly new to all this so I'm probably making a mistake somewhere

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.