Are you familiar with monitoring as a code, and how eDreams ODIGEO applies it?

Lorena Bernardez
Feb 8 · 2 min read

For the last few months, the monitoring team has been developing a strategic change to include automation and versioning in all the infrastructure to help developers see their applications’ metrics. As a result, now we can manage our monitoring in the same way we manage the apps, the servers and any other components, using syntax in order to describe the monitoring tools, frameworks, what to monitor, when to alert about it and much more. This means that monitoring settings, processes and rules can now be versioned, shared and reused.

The ability to integrate each part of the monitoring infrastructure and to define the main GKPIs (these are the KPIs that are set as essential by default on the first deploy process of a new app) within the deploy process of an application is a game changer for the monitoring team. Now, when our developers deploy a new application, automatically they have their own brand new Prometheus and Victoria metrics up and running, ready to collect metrics. On top of that, we can also deploy the golden KPIs (errors and exceptions, Response Time, number of calls…) in our APM and generate the dynamic alerts based on the application trend in no time.

We could have stopped here, but instead, we’ve gone one step further and have integrated two new features: automatic dashboards with our GKPIs (dashboards as a code) and the alerting to the Slack team channels — and we haven’t forgotten to document all of it in a Confluence page where you will be able to find both, the procedures to follow in case of an incident, and a list of dependencies for each application.

Stay tuned because we have some more cool things coming up in this regard like weekly automatic reports, more autogenerated Confluence page content, integration with automatic InfluxDB/VictoriaMetics stack deployment… and much, much more.

And you? What would you expect from monitoring as a code?

Image for post
Image for post

eDreams ODIGEO Tech

Thoughts, ideas & insights from our IT, Data Science, Product, UX & Business experts

Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore

If you have a story to tell, knowledge to share, or a perspective to offer — welcome home. It’s easy and free to post your thinking on any topic. Write on Medium

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