We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cmd/opampsupervisor
I am using the OpenTelemetry Collector Contrib cmd/opampsupervisor to run the Supervisor and the OTel Collector. https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/cmd/opampsupervisor
To add additional configurations to the OTel Collector, I set the following in extraconfig.yaml:
receivers: otlp: protocols: grpc: endpoint: 0.0.0.0:4317 exporters: debug: otlp: endpoint: localhost:4317 tls: insecure: true processors: batch: service: pipelines: traces: receivers: [otlp] exporters: [debug, otlp] metrics: receivers: [otlp] processors: [batch] exporters: [otlp] telemetry: logs: ...
With this configuration, I send the following config via OpAMP from the OpAMP Backend:
processors: batch: attributes: actions: - key: hoge value: piyo action: insert service: pipelines: traces: processors: - attributes
This works perfectly.
Next, I update the extraconfig.yaml to include the batch processor in the trace pipeline beforehand:
receivers: otlp: protocols: grpc: endpoint: 0.0.0.0:4317 exporters: debug: otlp: endpoint: localhost:4317 tls: insecure: true processors: batch: service: pipelines: traces: receivers: [otlp] processors: [batch] # <==================== add exporters: [debug, otlp] metrics: receivers: [otlp] processors: [batch] exporters: [otlp] telemetry: logs: ...
However, when I send the same config from the OpAMP Backend, the config (effective.yaml) is not updated. Is this behavior as intended?
Experimenting with the supervisor https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/cmd/opampsupervisor#experimenting-with-the-supervisor
In both cases, the config is updated.
In the following case, the config is not updated, and the OTel Collector is not restarted.
v0.113.0
No response
The text was updated successfully, but these errors were encountered:
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself.
Sorry, something went wrong.
No branches or pull requests
Component(s)
cmd/opampsupervisor
What happened?
Description
I am using the OpenTelemetry Collector Contrib cmd/opampsupervisor to run the Supervisor and the OTel Collector.
https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/cmd/opampsupervisor
To add additional configurations to the OTel Collector, I set the following in extraconfig.yaml:
With this configuration, I send the following config via OpAMP from the OpAMP Backend:
This works perfectly.
Next, I update the extraconfig.yaml to include the batch processor in the trace pipeline beforehand:
However, when I send the same config from the OpAMP Backend, the config (effective.yaml) is not updated.
Is this behavior as intended?
Steps to Reproduce
Experimenting with the supervisor
https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/cmd/opampsupervisor#experimenting-with-the-supervisor
Expected Result
In both cases, the config is updated.
Actual Result
In the following case, the config is not updated, and the OTel Collector is not restarted.
Collector version
v0.113.0
Environment information
Environment
OpenTelemetry Collector configuration
No response
Log output
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: