Skip to content

ruXlab/prometheus-jvm-client

Repository files navigation

Prometheus JVM Client

[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

Current state

  • 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

How to add it to my project?

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

FAQ

  • 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


originally published on github by ruX

About

[Public sandbox] JVM(java, kotlin, scala, etc..) client for prometheus database

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages