Skip to content

manvac/metrics

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

INDIGO-DataCloud SQA monitoring

This repository contains the configuration scripts needed to deploy the metric monitoring system for INDIGO-DataCloud project.

Description and tools

The metric collector uses MetricsGrimoire, generating dashboards, using VizGrimoire, for each repository under indigo-dc GitHub organization.

It is Docker-based (both DB and consumer). The metric collector container uses a custom Docker image with all the tools needed for the metric gathering and displaying.

DB considerations

The MetricsDB container uses the official MariaDB image and it is recommended to use a Docker volume for storing the DB data. The current (production) deployment at CERN OpenStack infra uses a (cinder) volume that is mapped to the Docker volume being used by the Metrics DB container.

The initial DB configuration is customized via SQL scripts that the Docker image triggers at boot time.

Deployment

Just run the run_container.sh script to deploy both the MetricsDB and the collector containers.

Generating repository dashboards

Tackled by deploy_dashboards.py script, it needs credentials (passed through positional arguments) in order to get access to the MetricsDB and to push dashboard files to GitHub. Usually it will be ok with:

	deploy_dashboards.py $MYSQL_USER $MYSQL_PASSWORD $MYSQL_HOST $GITHUB_TOKEN

Once deploy_dashboards.py has been triggered in the collector, the dashboards will be accesible via:

	https://indigo-dc.github.io/<repository-name>

which uses GitHub Pages for creating the websites.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TeX 92.9%
  • Python 6.8%
  • Shell 0.3%