Package io.agenttel.extension
Class AgentTelConfigLoader
java.lang.Object
io.agenttel.extension.AgentTelConfigLoader
Loads AgentTel configuration from external sources for the javaagent extension.
Configuration is resolved from (in priority order):
- Config file:
-Dagenttel.config.file=agenttel.ymlorAGENTTEL_CONFIG_FILEenvironment variable - System properties:
-Dagenttel.topology.team=payments - Environment variables:
AGENTTEL_TOPOLOGY_TEAM=payments
The config file uses the same YAML format as the Spring Boot starter:
agenttel:
topology:
team: payments-platform
tier: critical
operations:
"POST /api/payments":
expected-latency-p50: "45ms"
retryable: true
-
Method Summary
Modifier and TypeMethodDescriptionstatic AgentTelConfigload()Loads configuration from config file, system properties, and environment variables.
-
Method Details
-
load
Loads configuration from config file, system properties, and environment variables.
-