{"agent":"claude","input":"Add OpenTelemetry tracing to this Koa API. Read package.json, Dockerfile, docker-compose.yml, .example.env, README.md, src/server.ts, src/config.ts, src/logger.ts, src/cron.ts, src/controller/user.ts, src/protectedRoutes.ts, src/unprotectedRoutes.ts and tests/controller/user.test.ts first. Write src/tracing.ts that starts a NodeSDK with an OTLP trace exporter and a service name from OTEL_SERVICE_NAME, with the HTTP, Koa, pg and Winston instrumentations, and shuts down on SIGTERM; because the project runs on Node 14, pin the 1.x SDK and matching instrumentation versions and say why. Import it first in src/server.ts, before koa, typeorm and winston, and explain the node -r alternative in the pull request. Add OTEL_EXPORTER_OTLP_ENDPOINT, OTEL_SERVICE_NAME and OTEL_TRACES_EXPORTER to .example.env and README.md. In your sandbox install Postgres, build, start the server with the console exporter, send GET /, POST /users with a valid JWT and GET /users/1, and paste each request's span tree and the Winston access line with its trace_id into the pull request. Add a Jest test for the tracing module in the style of the existing tests. Run lint, tests and build. Change no route, middleware order or response.","resources":[{"url":"https://github.com/your-org/your-app"}]}