I am using open telemetry for tracing,logging for my spring boot maven application.and i need tracing of api call and DB hit time 1.I need those traces in the application console itself(for my local testing) 2.Then i need to send those traces to collector running at remote linux host. 3.I want to export those traces to my own no-sql data source from the collector mentioned above.
Could you please help me on this.
I tried adding open-telemetry dependencies(opentelemetry-sdk,api) and I can see span created with some hash id...but i am not able to see DB hit tracing like how much time its taking to retrieve data from DB.And i added otel.exporter.otlp.traces.endpoint=[linux host details]
Please try the Spring Boot starter