Skip to content

Developer-s-Foundry/ApiGateway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API Gateway

This service acts as an API Gateway using YARP (Yet Another Reverse Proxy) to route traffic to various microservices.

Features

  • Routing API requests to appropriate microservices
  • Distributed tracing with OpenTelemetry
  • Metrics collection with OpenTelemetry
  • Integration with Jaeger for visualizing traces

Configuration

OpenTelemetry

The application is configured to export telemetry data to Jaeger. The configuration is managed through:

  1. Environment variables:

  2. Application settings (appsettings.json):

    "OpenTelemetry": {
      "ServiceName": "ApiGateway",
      "EnableConsoleExporter": false,
      "OtlpExporter": {
        "Endpoint": "http://localhost:4317",
        "Protocol": "Grpc"
      }
    }

Running the Application

Docker Compose

cd ApiGatewayApp
docker-compose up

After starting, you can:

Production Deployment with Render.com

This application includes a render.yaml Blueprint file for easy deployment to Render.com.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •