Skip to content

Application Health Monitoring

Dany Marcoux edited this page Apr 5, 2022 · 44 revisions

We collect metrics about the usage of OBS, such as logins of users, creation of packages and projects and alike.

An entry point to view those metrics is our Application Health Overview Dashboard on https://obs-measure.opensuse.org/.

You can login with your GitHub account and should get the Editor role.

Our AHM stack consists of:

RabbitMQ

Metrics are sent by our application to the openSUSE RabbitMQ running at https://rabbit.opensuse.org/.

Some of those metrics are:

Whenever possible, we extract instrumentation code to the src/api/app/instrumentations directory.

Telegraf

Telegraf fetches these metrics using the amqp_consumer input plugin and reports them to InfluxDB using the influxdb output plugin.

InfluxDB

InfluxDB stores the time series data we collect (data source InfluxDB-ahm).

Grafana

Grafana is used to create graphs to visualize the collected data.

Development Environment Setup

Instructions for setting up the development environment including application health monitoring can be found on Site-Reliability#development-environment

Clone this wiki locally