-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
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
Any end-to-end tutorial for OpAMP in OTel Collector? #29098
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
There is no tutorial that I am aware of. You are doing the right things, the Collector is just not yet ready :-)
You should also see the connected Agent in the Server's UI when using just the opamp extension without the Supervisor. If you don't then this is a bug, please file it as a separate issue. Note that you should expect anything to happen in the Collector. The opamp extension is purely readonly at the moment.
This should work as far as I know. You may want to open a separate issue and describe what exactly is wrong. |
It looks like there are a few different things going on here, but we'll keep this issue open as a request for an end-to-end example of how to use the opamp extension. |
You're right. I should activate such an extension by adding it as part of the service:
pipelines:
traces:
receivers: [otlp]
exporters: [debug]
telemetry:
logs:
level: debug
extensions: [opamp] # <-- I missed this part But the effective configuration isn't what I configured in the Collector, so I will raise it in another issue as a bug. What I configured now is: receivers:
otlp:
protocols:
grpc:
exporters:
debug:
verbosity: detailed
extensions:
opamp:
server:
ws:
endpoint: wss://127.0.0.1:4320/v1/opamp
tls:
insecure_skip_verify: true
instance_uid: 01ARZ3NDEKTSV4RRFFQ69G5FAV
service:
pipelines:
traces:
receivers: [otlp]
exporters: [debug]
telemetry:
logs:
level: debug
extensions: [opamp] And what I saw in the Effective Configuration in http://127.0.0.1:4321/agent?instanceid=01ARZ3NDEKTSV4RRFFQ69G5FAV is: exporters:
otlp:
endpoint: localhost:1111
receivers:
otlp:
protocols:
grpc: {}
http: {}
service:
pipelines:
traces:
receivers: [otlp]
processors: []
exporters: [otlp] |
Raised a new issue for the "effective configuration": #29117 |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
This issue has been closed as inactive because it has been stale for 120 days with no activity. |
Hi have tried the same steps given by you @brightzheng100 , error opampextension@v0.98.0/logger.go:26 Connection failed (tls: first record does not look like a TLS handshake), will retry. {"kind": "extension", "name": "opamp", "client": "ws"}
OpAMP backend server settings.server: capabilities: reports_effective_config: true # true if unspecified accepts_packages: true # false if unspecified reports_own_metrics: # true if unspecified reports_own_logs: # true if unspecified accepts_other_connection_settings: true # false if unspecified accepts_restart_command: true # true if unspecified reports_health: true # true if unspecified storage: args: --config /root/OTEL98/opentelemetry-collector-contrib-main/cmd/otelcontribcol/config.yaml env: run_as: root please help me out to solve these issues |
Hi I am also facing the same issue @MSA0208 have you got any solution for it?? Please help me also to solve this issue. |
hi @priyeshsingh550 , No, Even am continuing my R&D on it, but got few suggestions from #34377 tried it, still the same issues. Let me know if something from the above works for you. |
Component(s)
extension/opamp
Is your feature request related to a problem? Please describe.
Even OpAMP in Otel is still in early days but it is really cool so I wanted to have a try by picking up some pieces of the info scattered into the Otel projects.
What I've tried is something like this:
git clone https://github.com/open-telemetry/opamp-go.git make build-example-server cd internal/examples/server ./bin/server
Then I can access the UI at: http://127.0.0.1:4321/
Open another console.
But there sounds no effect: everything looks okay but nothing happens, in both UI and Collector.
So, is there an end-to-end tutorial that I can read and follow through?
Describe the solution you'd like
An end-to-end tutorial about how OpAMP in Otel.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: