Enable OpAMP Supervisor

Run a Collector on a standalone host under the OpAMP Supervisor to use additional Fleet Management remote configuration capabilities.

With Collector version 0.159.0 or higher, you can run the Collector with OpAMP Supervisor to use Fleet Management remote configuration feature. OpAMP Supervisor is deactivated by default.
To enable OpAMP Supervisor:
  1. Follow the Collector installation or upgrade instructions for your platform and complete the steps to enable OpAMP Supervisor:
  2. Optional: Set the deployment environment in the Collector internal telemetry resource attributes.

    This setting associates OpAMP data with the same environment as your APM data. In the Collector configuration file, add deployment.environment.name under service::telemetry::resource::attributes.

    For example, if you use the default agent Collector configuration on Linux at /etc/otel/collector/agent_config.yaml, enable this by following the comments for deployment.environment.name as mentioned in the following configuration snippet:

    CODE
    service:
      telemetry:
        resource:
          attributes:
            - name: otelcol.service.mode
              value: agent
            # Optional: Add a deployment environment to the Collector's internal telemetry.
            # To use the deprecated attribute, change the key to "deployment.environment".
            - name: deployment.environment.name
              value: staging
  3. If you changed the Collector configuration in the previous step, restart the Collector service.
The Collector runs under the OpAMP Supervisor and can receive Fleet Management remote configuration updates.