marcelmay / apache-knox-exporter Goto Github PK
View Code? Open in Web Editor NEWA Prometheus blackbox exporter for Apache Knox
License: Apache License 2.0
A Prometheus blackbox exporter for Apache Knox
License: Apache License 2.0
Timeout is currently hard coded. Make it externally configurable.
Default to INFO, allow override to DEBUG etc.
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
Update Prometheus simpleclient to 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
Configuring the global JDBC DriverManager login timeout can prevent blocks when fetching a connection.
Happens with Hive sometimes :-(
Auto-reload config upon scrape request if config file modification time changed.
E.g. trustStorePassword
Expose config reloads as a counter, so that it is easier to correlate reloads and time series changes.
The exporter exposes currently only its memory settings.
Expose all JVM metrics, especially threads as the exporter relies on parallel executions towards Knox.
As especially hive queries tend to be very slow, try to speed up checks by running these in parallel.
It would be helpful to know the error cause (timeout, auth, http status).
Compile scope:
Test scope:
Knox can have multiple Hive and WebHDFS services.
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.