Simple app demonstrating how to consume Tibber GraphQL subscription endpoint using the Jetty Websocket Client.
play-json is used to deal with JSON.
- Create file
src/main/resources/token.secret
and write your personal Tibber as the only contents of the file - Start Prometheus. Use
prometheus.yaml
file that resides in the project rootprometheus --config.file=prometheus.yaml
- Start the demo app
./gradle run