CURSO PROMETHEUS E GRAFANA: Observability in a real world

Overview

Curso de monitoração com o Prometheus

Esse curso ensina como usar o Prometheus como uma ferramenta integrada de monitoração, entender seus conceitos, usar grande parte de seu ecossistema, e ainda usar o Grafana para gerar dashboards.

Vamos cobrir um grande número de tópicos, todos eles com exemplos práticos. Vamos falar sobre a instalação tanto em servidores físicos quando em Kubernetes. Falar sobre como fazer consultas que tragam informações relevantes, como gerenciar alertas, até mesmo como prever o futuro.

Quero mostrar como usar os exporters e também gerar os seus próprios. Por fim vamos ver alguns aspectos avançados e ainda entender alguns conceitos sobre a monitoração e alertas.

Sumário

Introdução

  1. Introdução
  2. Apresentação do Instrutor
  3. Arquitetura do Prometheus
  4. Conceitos do Alertmanager

Instalando o ambiente

  1. Instalando o Prometheus no Linux
  2. Instalando o Alertmanager no Linux
  3. Instalando o Grafana no Linux
  4. Criando os primeiros alertas
  5. Configurações avançadas do Prometheus
  6. Criando todo ambiente no Docker

Prometheus Conceitos

  1. Modelo de dados
  2. Tipos de Métricas
  3. Jobs e Instances

Querying Prometheus

  1. Básico
  2. Operators
  3. Funções
  4. Recording Rules
  5. API HTTP

Exporters

  1. Introdução aos Exporters
  2. node_exporter
  3. mtail_exporter
  4. pushgateway
  5. blackbox_exporter
  6. cadvisor
  7. Criando o seu Exporter

Alerting

  1. Criando seu primeiro alerta
  2. Alertas prevendo o futuro usando predict_linear
  3. Integrando com Email
  4. Integrando com o Slack
  5. Silenciando alertas

Integrando com o Kubernetes

  1. Instalando o Prometheus no Kubernetes
  2. Instalando o Grafana no Kubernetes
  3. Alertas no Kubernetes
  4. Service Discovery

Aspectos Avançados

  1. Federation
  2. Management API

Conclusão

  1. Modelos de monitoração
  2. Alertando sobre os sintomas (Alert on the user experience)
  3. Conclusão
Owner
Rafael Cirolini
Rafael Cirolini
This is an API developed in python with the FastApi framework and putting into practice the recommendations of the book Clean Architecture in Python by Leonardo Giordani,

This is an API developed in python with the FastApi framework and putting into practice the recommendations of the book Clean Architecture in Python by Leonardo Giordani,

0 Sep 24, 2022
Starlette middleware for Prerender

Prerender Python Starlette Starlette middleware for Prerender Documentation: https://BeeMyDesk.github.io/prerender-python-starlette/ Source Code: http

BeeMyDesk 14 May 02, 2021
A FastAPI Middleware of joerick/pyinstrument to check your service performance.

fastapi_profiler A FastAPI Middleware of joerick/pyinstrument to check your service performance. 📣 Info A FastAPI Middleware of pyinstrument to check

LeoSun 107 Jan 05, 2023
Simple notes app backend using Python's FastAPI framework.

my-notes-app Simple notes app backend using Python's FastAPI framework. Route "/": User login (GET): return 200, list of all of their notes; User sign

José Gabriel Mourão Bezerra 2 Sep 17, 2022
Simple FastAPI Example : Blog API using FastAPI : Beginner Friendly

fastapi_blog FastAPI : Simple Blog API with CRUD operation Steps to run the project: git clone https://github.com/mrAvi07/fastapi_blog.git cd fastapi-

Avinash Alanjkar 1 Oct 08, 2022
Feature rich robust FastAPI template.

Flexible and Lightweight general-purpose template for FastAPI. Usage ⚠️ Git, Python and Poetry must be installed and accessible ⚠️ Poetry version must

Pavel Kirilin 588 Jan 04, 2023
API for Submarino store

submarino-api API for the submarino e-commerce documentation read the documentation in: https://submarino-api.herokuapp.com/docs or in https://submari

Miguel 1 Oct 14, 2021
FastAPI framework plugins

Plugins for FastAPI framework, high performance, easy to learn, fast to code, ready for production fastapi-plugins FastAPI framework plugins Cache Mem

RES 239 Dec 28, 2022
OpenAPI for Todolist RESTful API

swagger-client OpenAPI for Todolist RESTful API This Python package is automatically generated by the Swagger Codegen project: API version: 1 Package

Iko Afianando 1 Dec 19, 2021
A rate limiter for Starlette and FastAPI

SlowApi A rate limiting library for Starlette and FastAPI adapted from flask-limiter. Note: this is alpha quality code still, the API may change, and

Laurent Savaete 562 Jan 01, 2023
Slack webhooks API served by FastAPI

Slackers Slack webhooks API served by FastAPI What is Slackers Slackers is a FastAPI implementation to handle Slack interactions and events. It serves

Niels van Huijstee 68 Jan 05, 2023
🍃 A comprehensive monitoring and alerting solution for the status of your Chia farmer and harvesters.

chia-monitor A monitoring tool to collect all important metrics from your Chia farming node and connected harvesters. It can send you push notificatio

Philipp Normann 153 Oct 21, 2022
This project shows how to serve an ONNX-optimized image classification model as a web service with FastAPI, Docker, and Kubernetes.

Deploying ML models with FastAPI, Docker, and Kubernetes By: Sayak Paul and Chansung Park This project shows how to serve an ONNX-optimized image clas

Sayak Paul 104 Dec 23, 2022
A FastAPI WebSocket application that makes use of ncellapp package by @hemantapkh

ncellFastAPI author: @awebisam Used FastAPI to create WS application. Ncellapp module by @hemantapkh NOTE: Not following best practices and, needs ref

Aashish Bhandari 7 Oct 01, 2021
A basic JSON-RPC implementation for your Flask-powered sites

Flask JSON-RPC A basic JSON-RPC implementation for your Flask-powered sites. Some reasons you might want to use: Simple, powerful, flexible and python

Cenobit Technologies 273 Dec 01, 2022
Farlimit - FastAPI rate limit with python

FastAPIRateLimit Contributing is F&E (free&easy) Y Usage pip install farlimit N

omid 27 Oct 06, 2022
Simple web app example serving a PyTorch model using streamlit and FastAPI

streamlit-fastapi-model-serving Simple example of usage of streamlit and FastAPI for ML model serving described on this blogpost and PyConES 2020 vide

Davide Fiocco 291 Jan 06, 2023
A FastAPI Framework for things like Database, Redis, Logging, JWT Authentication and Rate Limits

A FastAPI Framework for things like Database, Redis, Logging, JWT Authentication and Rate Limits Install You can install this Library with: pip instal

Tert0 33 Nov 28, 2022
Fastapi-ml-template - Fastapi ml template with python

FastAPI ML Template Run Web API Local $ sh run.sh # poetry run uvicorn app.mai

Yuki Okuda 29 Nov 20, 2022
Flask-Bcrypt is a Flask extension that provides bcrypt hashing utilities for your application.

Flask-Bcrypt Flask-Bcrypt is a Flask extension that provides bcrypt hashing utilities for your application. Due to the recent increased prevelance of

Max Countryman 310 Dec 14, 2022