3 min read
If you have a tool that uses the python's click module for building a command line interface. Using mkdocs and mkdocs-click we can automatically generate documentation for it
14/06/2022
Read more...3 min read
Sometimes we need a way of telling using a HTTP endpoint the "readiness" of the service but the service does not provide any of this: For example, a MySQL replica that we need to get in and out of the pool depending on how "lagged" it is, or a worker node that we want to remove from that pool depending on it's CPU usage...
If we have a command that will tell us whether the service is ready to accept connections, we can use healthcheckd to create a HTTP endpoint to publish it.
27/10/2021
Read more...3 min read
Using the Datadog Python Library we can very easily inject metrics into Datadog. These metrics will fall into the "custom metrics" category. Let's check the python code needed to do so:
16/07/2021
Read more...