Skip to content

Latest commit

 

History

History
 
 

examples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Examples

Example Apps

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.

spring-agent

This example uses the agent along with the SDK for enriching the auto-instrumented data.

curl localhost:5000

spring-sdk

This example uses the Honeycomb SDK for manual instrumentation.

curl localhost:5001

spring-agent-only

This example uses ONLY the agent running alongside the app

curl localhost:5002