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

[C4GT Community]: Implement ELK Stack for Comprehensive Observability in AMRIT Platform #4

Open
5 tasks
drtechie opened this issue Aug 11, 2024 · 1 comment

Comments

@drtechie
Copy link
Member

drtechie commented Aug 11, 2024

Ticket Contents

Description

AMRIT (Accessible Medical Records via Integrated Technologies) is a digital health initiative by Piramal Swasthya, aimed at integrating healthcare services and providing accessible medical records. To ensure the platform's reliability and efficiency, we need to implement a robust observability solution using the ELK stack (Elasticsearch, Logstash, Kibana). This solution will capture logs and traces from our Spring Boot services, enabling real-time monitoring, alerting, and troubleshooting.

What You Will Learn:

As an intern, you will:

  • Gain hands-on experience with the ELK stack and observability practices.
  • Learn how to integrate logging and tracing in Spring Boot applications.
  • Develop skills in configuring and optimizing Elasticsearch for log storage and analysis.
  • Work with Kibana to create dashboards and visualizations for monitoring application health.
  • Collaborate with a team of experienced engineers and gain insights into the healthcare technology sector.

Desired Skills:

  • Basic knowledge of Java and Spring Boot.
  • Familiarity with logging frameworks.
  • Understanding of RESTful APIs and microservices architecture.
  • Enthusiasm for learning new technologies and frameworks.
  • Comfortable using Git/GitHub for version control.

Goals

  • Set up ELK Stack - configure Elasticsearch, Logstash, and Kibana on the development environment; integrate the ELK stack with existing Spring Boot services.
  • Logging Integration - implement logging in Spring Boot services; parse and ship logs to Elasticsearch.
  • Tracing Implementation - set up Elastic APM and enable tracing in Spring Boot services; visualize traces in Elastic Stack for end-to-end request tracking.
  • Midpoint Goals - create basic dashboards to monitor service logs and performance metrics; ensure logs are searchable and traces are correctly linked per project/environment.
  • Advanced Monitoring - enhance dashboards with custom visualizations for error rates, latency, and traffic; set up alerts for critical issues.

Expected Outcome

A fully functional observability solution for the AMRIT platform, allowing the operations team to monitor logs and traces in real time. The ELK stack should be well-integrated with AMRIT's API services, providing clear insights into the platform's performance, with a focus on ensuring system reliability and quick issue resolution.

Acceptance Criteria

  • Logs from all Spring Boot services are indexed in Elasticsearch and accessible via Kibana.
  • Traces are correctly captured and visualized in Elastic Stack, showing the flow of requests across services.
  • Logs and traces are segregated based on deployments.
  • Role-based access to ELK stack.
  • Good to have: Alerts are configured for critical log patterns and performance anomalies.

Implementation Details

The observability solution will be built using the ELK stack, with logging and tracing integrated into existing Spring Boot services. You will get access to a server with ELK services set up by our IT team.

Mockups/Wireframes

NA

Product Name

AMRIT

Organisation Name

Piramal Swasthya Management Research Institute

Domain

Healthcare

Tech Skills Needed

Debugging, DevOps, Java, RESTful APIs, Spring Boot, SQL

Mentor(s)

@drtechie

Complexity

High

Category

Backend, Deployment, Performance Improvement

How to apply

Please fill the form.

Bounty

This is a bounty ticket with a remuneration of INR 10,000.

@drtechie drtechie transferred this issue from PSMRI/AMRIT-Website Oct 8, 2024
@ivor11
Copy link

ivor11 commented Oct 24, 2024

Please assign this issue to me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants