<dependency>
<groupId>dev.inspector</groupId>
<artifactId>springagent</artifactId>
<version>1.0.1</version>
</dependency>
mvn clean install
inspector.ingestion-key=81e6d4df93e1bfad8e9f3c062022e3a0d8a77dce
Using the IDE to start the application
This guide provides an overview of the necessary environment variables you need to set in your YAML configuration file to properly configure and use Inspector in your application.
To fully integrate Inspector, you need to set the following environment variables in your YAML file:
-
INSPECTOR_INGESTION_KEY - Your unique ingestion key for authenticating API requests.
- Example:
INSPECTOR_INGESTION_KEY="your_ingestion_key_here"
- Example:
-
INSPECTOR_ENABLE - Determines whether Inspector is enabled or disabled.
- Values:
true
orfalse
- Example:
INSPECTOR_ENABLE=true
- Values:
3 INSPECTOR_MAX_ITEMS - Defines the maximum number of items Inspector should handle per session.
- Example: INSPECTOR_MAX_ITEMS=1000
Here is a sample snippet from a YAML configuration file integrating these environment variables:
environment:
INSPECTOR_INGESTION_KEY: "your_ingestion_key_here"
INSPECTOR_ENABLE: true
INSPECTOR_MAX_ITEMS: 1000