Start the Collector

After you configure the OpenTelemetry Collector, the Controller is ready to receive data. To start the collector, perform the following steps:
  1. Ensure that the downloaded collector binary has execution privileges.
  2. Run the following commands to start sending data to the common ingestion stream.
    Linux
    ./appdotelcol_* --config otel-config.yaml
    Windows
    1. Go to the following file and replace the existing configurations with your configuration.
      C:\Program Files\AppDynamics\AppDynamics Distribution of OpenTelemetry Collector\otel-config.yaml
    2. Run the following command to restart the Windows service:
      net stop appdotelcol
      net start appdotelcol
To validate that your configuration is working properly, review your OpenTelemetry Collector logs. The output from the console log should not have any errors.

You can also set up a logging exporter to monitor the Collector. See Logging Exporter for more information.

After deploying and configuring the OpenTelemetry Collector, you must Configure Resource Attributes.