Giter Club home page Giter Club logo

observabilitygrafanaprometheus's Introduction

ObservabilityGrafanaPrometheus

Projeto de implementação de logs no springboot

teste do projeto

1-rodar o banco de dados (subir o banco de dados) docker-compose up

2- Criar e rodar o jar em ambiente de prod criar projeto: mvn clean package subir o jar pelo cmd : java -jar -Dspring.profiles.active=prod target/forum.jar

3-doc actuator https://docs.spring.io/spring-boot/docs/2.2.x/reference/html/production-ready-features.html https://docs.spring.io/spring-boot/docs/current/actuator-api/htmlsingle/#overview

hikariicp:metrica de conexão com o banco de dados

4-Apos adicionar o proxy metrics: http://localhost:9000/metrics direcionado pelo proxy removendo o actuator prometheus: http://localhost:9090

O arquivo client testa a api em tempo real das api, em um alaço infinito

5-4 Golden signal for observabilitys (livro SRE do google) latencia trafego saturação erros

metodos USE: Utilization,Saturation, ERRORS

Metodo RED: Rate, Errors, Durations

6-Grafana senha padrao:admin usar 123456 6.1-Configurar data source: configuration>datasource Selecionar promeheus colocar a porta e nome na url: http://prometheus-forum-api:9090 Testar e validar config 6.2-Criar pasta para armazenar os dashboards

observabilitygrafanaprometheus's People

Contributors

hugobertolassi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.