blacklabnz / blacklabnz.github.io

0 stars 0 forks source link

posts/websocket-prometheus/ #32

Open utterances-bot opened 2 years ago

utterances-bot commented 2 years ago

Consume Websocket stream and send to Prometheus in Python | blacklabnz | Data | DevOps

Recently I was tasked with consuming data from websocket, analyse it and then send data to Prometheus. The theory is pretty straight forward: getting data from websocket API in a stream and analyse and take the data points and send it to prometheus for visulization. In this blog you will have all the steps and code needed to reporduce this flow. With this in mind, I decided using python to achieve all these.

http://localhost:1313/posts/websocket-prometheus/