Usage metrics charts
Usage metrics charts
Photo by Luke Chesser on Unsplash

Pendo is a tool used by many companies to collect analytics on user activity across their product. While Pendo is primarily a source of data for marketing and product management it has ample usage data that can be critical for engineering and operations. Pendo, however, is a disparate tool for metric collection and reporting than what is typically used by the development and operations; therefore it's of critical importance to integrate the available analytics data into common dev-ops tooling (e.g. Prometheus).

Simple approach to metrics collection within Kubernetes

Many modern application stacks are built on top of Kubernetes and utilize Prometheus for metrics collection and Grafana for…


Image for post
Image for post
Photo by Joseph Barrientos on Unsplash

Kubernetes is everywhere, permeating the Tech world.

While Kubernetes has helped to simplify the orchestration of containers and cloud native applications, no enterprise has just one cluster. We know data is key for business, especially in this critical time, and many top companies are embracing data driven decision making. An enterprise may want to evaluate utilization, capacity, health, geo-based activity, showback/chargeback across their hybrid cloud footprint. So how do you gather the data you need, not just what is happening now or today, but in the last month/quarter?

Data Collection

There are really two strategies you could employ for data collection across…


Image for post
Image for post
https://www.pxfuel.com/en/free-photo-xtolj

The global financial landscape has changed dramatically in the last few weeks. Many companies are being tested and may not weather this storm. In order to create an operating cash buffer in this time of uncertainty significant steps may need to be taken. If we are learning anything from this crisis its that we are all inter-dependent, companies and people. People are the life blood of any great company, so before you look to reduce staff, make sure you are properly managing your information technology spend.

Time after time a crisis like this shines a light on what is good…


Image for post
Image for post
Photo by Jp Valery on Unsplash

Cloud computing is projected to increase from $67B in 2015 to $162B in 2020, but along with the journey to move workloads to the cloud there are pitfalls along the way. Sixty percent of companies using or evaluating cloud computing services are concerned with the risk of runaway costs . Yet other companies are hesitant due to cloud vendor locking and are looking for ways to avoid them.

A great start is selecting OpenShift Container Platform to run your workload in a cloud agnostic deployment. OpenShift allows for a hybrid cloud deployment footprint which lowers your risk of vendor lock-in…


Image for post
Image for post
https://www.flickr.com/photos/kogakure/2225768345/

As you iterate and grow your application you will inevitably need to add or alter your database. In the Django ecosystem you are familiar with migrations as part of the application life cycle. As you move into the production landscape you will have to confront the operational impacts of migrations as new versions of your application with associated database changes are rolled out.


Image for post
Image for post
Photo by anna on Unsplash

So you’ve been building a production application that uses a PostgreSQL database. During your development phase you have likely been using a local database on your computer or using a Docker instance or perhaps port-forwarding the database from your minishift or development OpenShift cluster. However, as you move into production deployment you aren’t deploying a PostgreSQL pod anymore but using a remote database, like Amazon Remote Database Service (RDS) for PostgreSQL. In a production environment best practices are that you have limited network access to the database to be only from within your virtual private cloud (VPC). …


Image for post
Image for post
Photo by rawpixel on Unsplash

Are you prepared? You’ve got a critical fix for your Python application to deploy to production, but PyPi is down. Isolating risks related to your dependencies is critical when it comes to maximizing stability and availability in production. If you could take a simple step to minimize your risk of a dependency outage and it came with the added bonus of a performance boost to your builds wouldn’t you take it?


Image for post
Image for post
Photo by Samuel Zeller on Unsplash

The need for multi-tenant applications is not new, but with the rising popularity of Software-as-a-Service (SaaS) offerings , you are building something wrong if you don’t consider this a core requirement. Multi-tenancy in software architecture is where a single instance of an application serves multiple customers (each customer is called a tenant). A customer could be a whole corporation, or a division of a business, or Todd the developer.


Image for post
Image for post
Photo by Chris Liverani on Unsplash

With the popularity of Python as a language on the rise and Kubernetes surge to prominence as the leading cloud native platform, you may soon find yourself at the intersection of both. Developing production grade applications on Kubernetes means including monitoring and metrics gathering with Prometheus. Prometheus is the monitoring and alerting component of Kubernetes highly leveraged by operations.

Python delivers a great library to integrate with Prometheus, prometheus_client. The prometheus_client library provides the basic metrics components like counters, gauges, summary, etc. and stores this data in the collection registry. …


Image for post
Image for post
Photo by Chris Liverani on Unsplash

A great feature coming out of the new Operator Framework for Kubernetes is Operator Metering, which technology previewed with OpenShift 3.11. Operator Metering brings a YAML and SQL style access to data being collected by Prometheus. Prometheus is best known for its use in the metrics, monitoring, and alerting context of container operations management. Data gathered from a perspective of operations is usually focused on a current window of time; the last hour, the last 24 hours, and/or the last 7 days. However, this rich data can be used for a variety of other cases that may look back over…

Chris Hambridge

Software Engineer at Red Hat. Passionate about devOps and cloud native technologies.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store