Troubleshoot OpAmp Supervisor
Use the following sections to troubleshoot the issues that you might encounter with OpAmp Supervisor.
Troubleshoot remote configuration that is not applied
Check the server, OpAMP Supervisor, and Collector state to identify where a remote configuration deployment stopped.
Configure OpAMP Supervisor
Edit a supported OpAMP Supervisor setting and restart the Collector service.
OpAMP Supervisor configuration file is in the following platform-specific location:
| Platform | File path |
|---|---|
| Linux | /etc/otel/collector/supervisor/supervisor_config.yaml |
| Windows | C:\ProgramData\Splunk\OpenTelemetry Collector\supervisor\supervisor_config.yaml |
agent.executable, agent.config_files, and agent.args settings automatically. It ignores changes to these settings in supervisor_config.yaml.
To change a supported setting of OpAMP Supervisor:
Collector stops or repeatedly restarts after a remote update
Correct and redeploy a remote configuration that stops the Collector or causes repeated restarts.
The service can remain running while OpAMP Supervisor restarts the Collector process. One reload is expected when OpAMP Supervisor applies an update. Repeated restarts or a Collector that remains stopped indicate a problem with the new configuration.
- Before OpAMP Supervisor applies an update, it runs
otelcol validateagainst the combined local and remote configuration. If validation fails, OpAMP Supervisor doesn't apply the update. Validation can't detect problems that occur only after the Collector starts. - OpAMP Supervisor saves the last remote configuration that it receives. It might try to apply the same problematic configuration after the service restarts or after Supervisor mode is turned on again.
To resolve the issue:
Collector service stops after enabling OpAMP Supervisor
Collector configuration and provider URI requirements can prevent the service from starting under the OpAMP Supervisor.
If the Collector service stops after you enable OpAMP Supervisor, check the service logs for launcher or startup errors.
Common causes include the following conditions:
- No Collector configuration was provided through the
SPLUNK_CONFIGenvironment variable or a--configservice argument. - The top-level configuration uses an unsupported provider URI. Supervisor mode supports local file paths and
file:URIs. It doesn't supportenv:,http:, orhttps:sources.