numeroSette / SRE-TEST-7

SRE TEST

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hello!

Production (main.yml)

This is a SRE test, but it is also an example of a monitoring stack tools with an application running.

What you will find here: -A Golang Application: An application that has two endpoints, each endpoint has a strategy for generating a random number. -This application provides performance metrics for each endpoint, so you can compare the two strategies using the data provided

-An Event and Alert monitoring tool called Prometheus: This tool receives metrics and allow us to process and query this metrics, generating data to better understanding what happening with our application.

-A dashboard tool called Grafana: With Grafana we can representing in a visual way the data provided by Prometheus.

You also can check my journey here:

sre-test-1

Documentação do Projeto

Documentação do Resultado

Install

After you have installed docker-compose, we can get start:

docker-compose up -d

Prometheus

Prometheus (metrics database) http://localhost:9090

Benchmarking Chrome Benchmarking Chrome

Grafana

Grafana (visualize metrics) http://localhost:3000 (Login: admin - Password admin)

Benchmarking Chrome Benchmarking Chrome Benchmarking Chrome

Application

Benchmarking Chrome

Benchmarking Chrome

Benchmarking Chrome

Contributing

PRs accepted.

TODO: Less time in Github actions:

License

MIT © Guilherme Sette

About

SRE TEST

License:MIT License


Languages

Language:Go 75.8%Language:Shell 23.4%Language:Dockerfile 0.8%