### Cloning the Repository - Git Bash Source: https://github.com/hyperdxio/sample-java-app/blob/main/README.md Clones the HyperDX sample Java application repository from GitHub and navigates into its directory, preparing for further setup and execution. ```bash git clone https://github.com/hyperdxio/sample-java-app.git cd hyperdx-java-demo ``` -------------------------------- ### Building and Running the Project - Bash Source: https://github.com/hyperdxio/sample-java-app/blob/main/README.md Executes the build script, which handles compiling the Java application with Maven, downloading the OpenTelemetry Java agent, setting necessary environment variables, and finally launching the application with instrumentation enabled. ```bash ./build.sh ``` -------------------------------- ### Setting HyperDX API Key - Bash Source: https://github.com/hyperdxio/sample-java-app/blob/main/README.md Sets the API_KEY environment variable, which is crucial for the application to authenticate and send observability data to your HyperDX account. Replace the placeholder with your actual API key. ```bash export API_KEY="your-hyperdx-api-key" ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.