Connect your Spring Boot application's logs and traces to Observe from scratch — one dependency and one config change.
Sign in to the Observe console and create a service under Service Management. Note the ingestion token assigned to you.
Add the OpenTelemetry dependency to pom.xml (you can also use Logback's HTTP appender to push logs directly):
<dependency>
<groupId>io.opentelemetry</groupId>
<artifactId>opentelemetry-api</artifactId>
<version>1.30.0</version>
</dependency>
Set the ingestion endpoint and token in application.yml:
observe:
endpoint: https://ob.example.com
token: <your-ingestion-token>
service-name: order-service
Start the app and trigger a few requests, then run a SQL-like query in the console:
SELECT * FROM logs WHERE service = 'order-service' ORDER BY ts DESC LIMIT 50
If you see fresh logs, you are connected.