Learning Generics by extending the prometheus python client
· ☕ 2 min read
Background Imagine you’re writing a library to extend the prometheus python client and you needed to add some dynamic labels specific to the environment. Ideally you would add most of your labels at the collector end and avoid writing extensions.

Designing a metrics system notes
· ☕ 2 min read
Requirements for metrics system Multidimensional data model which can be sliced and diced along different dimensions as defined by the service(example: instance, service, endpoint, method) Operational simplicity Scalable data collection and decentralized architecture, so that independent teams can setup independent monitoring servers A powerful query language that leverages the data model for alerting and graphing Client libraries Client libraries take care of all the nitty gritty details like thread-safety, bookkeeping and producing the Prometheus text exposition format in response to HTTP request.

Authentication - Session or Token?
· ☕ 2 min read · ✍️ Hashim Colombowala
This post will compare and contrast two most common authentication techniques breifly. Session Based Authentication In this scenario, the server will create a session for the user after the user logs in.

Signalling docker containers
· ☕ 2 min read
When deploying a containerized application to a container management system like AWS Fargate, you tend to run your application from a shell script. Suppose your script looks like this

Abstract classes using Metaclasses
· ☕ 3 min read
In python3 all classes are new style classes, thus it is reasonable to refer to an objects type and its class interchangably Type and Class 1 2 3 4 5 6 7 class Foo: pass >>> type(Foo) <class 'type'> Type is a metaclass of which classes are instances

The Go Spec(compiling)
· ☕ 1 min read
The Go compiler can compile the Go source go with different go specs. Fo example, if you have installed go 1.14, you can compile your source with Go spec 1.

The Zen of Python
· ☕ 1 min read
Words of wisdom from the python interactive shell. Always good to read it once in a while and appreciate the zen of python. Open the python interpretor and enter import this

· ☕ 2 min read
Hashim Colombowala Core experience Building and deploying containerized applications to AWS EKS/Fargate. Core knowledge of AWS services and infrastructure. Observability Systems: Logging (ELK), Metrics(Prometheus) and Tracing(OTEL).