inspectit-ocelot
inspectit-ocelot copied to clipboard
[Feature] - improve the behavior when agent commands fail (or are not available) due to missing configuration
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:
- an appropriate error message when the agent commands are disabled (or more settings are configured in a way that we expect a specific agent command to fail) in the
DownloadDialoguethat is triggered when one of the download agent commands is started - disabling the buttons in the UI (i.e., logs, config, support archive) with a tooltip explaining what needs to be changed in the configuration to enable this feature