feat(observabilidade): adicionar dashboard de monitoramento do MongoDB#24
Merged
Conversation
- adiciona bv-mongodb-exporter (percona 0.44) ao docker-compose - adiciona bv-prometheus ao docker-compose com retencao de 15 dias - cria observabilidade/prometheus/prometheus.yaml com scrape do exporter - cria datasource Prometheus no Grafana (prometheus-bv) - cria dashboard mongodb-bv com paineis de status, conexoes, operacoes, memoria, rede, documentos, cursores e logs do container - extende Promtail para capturar e rotular logs do bv-mongodb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
bv-mongodb-exporter(percona/mongodb_exporter:0.44) to docker-compose — connects tobv-mongodband exposes metrics on:9216bv-prometheusto docker-compose — scrapes the exporter every 15s, retains 15 days of dataobservabilidade/prometheus/prometheus.yamlwith scrape configobservabilidade/grafana/provisioning/datasources/prometheus.yaml— auto-provisionsprometheus-bvdatasource on Grafana startupobservabilidade/grafana/dashboards/mongodb.json— dashboardmongodb-bvwith:bv-mongodbcontainer logsbv-mongodbcontainer logs (MongoDB JSON log format, severity mapped fromsfield)How to apply locally
docker compose up -d bv-mongodb-exporter bv-prometheus # Grafana will hot-reload the new datasource and dashboard within 30sDashboard available at:
http://localhost:3001/d/mongodb-bv🤖 Generated with Claude Code