[Public sandbox] JVM client for prometheus database
Intent: there is no client library for java/kotlin/groovy/scala/etc(JVM) for prometheus database. Although database has very simple REST interface I believe it's still worth to write easy-to-use and type-safe client
- Allows to construct client
- Instant vector queries (1 value for multiple metrics)
- Range vector queries (time series data for multiple metrics)
- Metrics are statically typed, user can supply it's own schema
Add following lines to your gradle build file:
repositories {
...
maven { url 'https://jitpack.io' }
}
dependencies {
implementation 'com.github.ruXlab:prometheus-jvm-client:-SNAPSHOT'
}
Check JitPack.io project's page for more information and example configurations for other build systems such as maven, sbt and other
-
Q: Tests? Where are tests?
A: Comming soon (c)
-
Q: Can I use java?
A: Sure, it's fully JVM compatible, thanks to kotlin
-
Q: How can I help?
A: There are a lot of things to do, please contact me