Skip to content

Python

To send data to Tornimo, you need to install some graphite-compatibile library like for example graphyte. It can be installed using pip.

pip install graphyte

Example showing how to send some example metric using graphyte library.

import graphyte

graphyte.init(YOUR_TORNIMO_PUSH_URL, prefix=YOUR_TORNIMO_TOKEN + ".your.example.prefix")
graphyte.send("example.metric", 10)