This is a sample distributed application built with asp net core. The application consists of an API project and a Worker project which communicate with each other using RabbitMQ.
- dotnet 8.0
- Docker (for Docker Compose)
Use the docker-compose.yml
script or preconfigured run configurations to start the application.
- To run only backing services (
postgres
andrabbitmq
), usedocker-compose.yml
without any profile or use theOnly Backing Services
run configuration. - To run project services with backing services, use
flight-services
profile orFlight Project
run configuration. - To run also telemetry services, use
flight-services, telemetry
profiles orFlight Project With Telemetry
run configuration.
After launching the application, you can test it using:
requests.http
file to send a single request.script.js
to create some load. It's a k6 script. Run it with a commandk6 run .\script.js
.
Logs will be available at this address.
Metrics dashboards will be available at this address.
Traces will be available at this address.
Service graph will be available at this address.