To use the examples:
- Clone or download the entire repo, as they rely on local code instead of Maven Central
- Add environment variables (or system properties)
- From the spring-agent, spring-sdk, or spring-agent-only directory run
../../gradlew bootRun
curl
the endpoint to get a response and see data in Honeycomb.
This example uses the agent along with the SDK for enriching the auto-instrumented data.
curl localhost:5000
This example uses the Honeycomb SDK for manual instrumentation.
curl localhost:5001
This example uses ONLY the agent running alongside the app
curl localhost:5002