qone.io_

infrastructure // code // systems

simple prometheus exporter in python

writing a simple prometheus exporter to collect metrics from a external system that needs monitoring. I will use the python official prometheus_client package …

prometheusexporterpython

Docker alpine smaller image footprint

Working with docker images to minimise the footprint i.e the size if a image. There is a few things that you can do to get smaller images. I will show some …

dockerpythonpython3alpinelinuxgolanggo

Fabric dynamic hosts tasks

Using fabric with dynamic hosts. In the fabric documentation most of it is using examples and is assuming that you you have a static set of hosts. That is no …

pythonfabricfabdynamichosts

why do we do need unit tests

You might be thinking well unit tests is kind of a obvious thing that you have when you are writhing code. If you do you are wrong. Not all developers want and …

testingunittest

python click bash zsh auto complete same files

Sharing the same auto completion for zsh and bash. In zsh there is somthing called bashcompinit that can be used to share the same completion for bash and zsh. …

pythonbashzsh

python protobuf over http

The point of this is a smal example on how you could use protobuf to send data over http. In this example i will be using Python and the packet falcon for the …

protobufpythonhttp