Rails API application for testing TraceKit Ruby SDK with cross-service communication.
- Install dependencies:
bundle install- Copy environment variables:
cp .env.example .env- Configure your TraceKit API key in
.env
Start the server on port 5002:
bundle exec rails server -p 5002GET /- Service informationGET /health- Health checkGET /test- Code monitoring test (captures 3 snapshots)GET /error-test- Throws test exceptionGET /checkout- Checkout simulation with snapshotsGET /api/data- Data endpoint (called by other services)GET /api/call-go- Call Go test serviceGET /api/call-node- Call Node test serviceGET /api/call-python- Call Python test serviceGET /api/call-php- Call PHP test serviceGET /api/call-laravel- Call Laravel test serviceGET /api/call-java- Call Java test serviceGET /api/call-dotnet- Call .NET test serviceGET /api/call-all- Call all test services
- Distributed Tracing: Automatic HTTP request/response tracing
- Metrics: Request counts, active requests, duration histograms
- Code Monitoring: Snapshot capture with auto-registration
- Security Scanning: PII and credential detection
- Cross-Service Communication: Distributed tracing across services