inspectIT / inspectit-ocelot

inspectIT Ocelot - Java agent for collecting application performance, tracing and behavior data
http://www.inspectit.rocks/
Apache License 2.0
204 stars 69 forks source link

[Feature] - improve the behavior when agent commands fail (or are not available) due to missing configuration #1495

Closed heiko-holz closed 2 years ago

heiko-holz commented 2 years ago

Is your feature request related to a problem? Please describe. When the agent commands (https://inspectit.github.io/inspectit-ocelot/docs/configuration/agent-command-configuration) are not enabled, logs/config/support archive cannot be retrieved from the configuration server. Other features, such as the log preloading, also need other settings to be enabled (e.g., inspectit.log-preloading.enabled).

Currently, we only receive a timeout exception and a generic error message when a respective agent command fails.

Describe the solution you'd like A uniform behavior for features using the agent commands when they fail due to disabled agent commands (or further configs, such as the log preloading).

I can think of either: