Skip to content

ohlen1/demo-tibber-to-prometheus

Repository files navigation

Tibber to Prometheus with Scala Demo

Simple app demonstrating how to consume Tibber GraphQL subscription endpoint using the Jetty Websocket Client.

play-json is used to deal with JSON.

Usage

  1. Create file src/main/resources/token.secret and write your personal Tibber as the only contents of the file
  2. Start Prometheus. Use prometheus.yaml file that resides in the project root
    prometheus --config.file=prometheus.yaml
    
  3. Start the demo app
    ./gradle run
    

References

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages