Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH-214: [feat] Setup Observability For Microservices #356

Open
wants to merge 23 commits into
base: main
Choose a base branch
from

Conversation

wade3hamati
Copy link
Contributor

Description

This PR sets up observability for all microservices using Grafana, Prometheus, Loki, and Tempo. It includes monitoring, logging, and tracing configurations for the following services:

  • user-service
  • email-service
  • event-service
  • gateway
  • storage-service
  • orchestration-service
  • messaging-service

Changes Introduced

  • Prometheus: Added service discovery for all microservices to collect metrics.
  • Grafana: Configured dashboards for visualizing metrics and logs.
  • Loki: Set up centralized logging for all services.
  • Tempo: Enabled distributed tracing to track requests across services.

How to Test

  1. In /Microservices:
    docker compose up -d
  2. Verify Prometheus is scraping metrics:
    • Access Prometheus UI: http://<prometheus-host>:9090
    • Check targets and ensure all microservices are listed.
  3. Check Grafana dashboards:
    • Access Grafana: http://<grafana-host>:3000
    • Default credentials: admin/admin
    • Verify imported dashboards for logs, metrics, and traces.
  4. Validate logging via Loki:
    • Access Loki via Grafana logs.
    • Ensure logs from all services are visible.

@wade3hamati wade3hamati added backend Backend related, server side pull request labels Feb 24, 2025
@wade3hamati wade3hamati added this to the Iteration 11 milestone Feb 24, 2025
@wade3hamati wade3hamati self-assigned this Feb 24, 2025
@wade3hamati wade3hamati linked an issue Feb 24, 2025 that may be closed by this pull request
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Backend related, server side pull request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[TASK] Set Up Grafana and Prometheus for Monitoring
1 participant