Hi group, good day, how are you?
I have a question about using community.general.opentelemetry to send data to APM.
I have set my ansible.cfg like this.
[defaults]
callbacks_enabled = community.general.opentelemetry
[callback_opentelemetry]
enable_from_environment = ANSIBLE_OPENTELEMETRY_ENABLED
And then environment variables like this.
OTEL_EXPORTER_OTLP_ENDPOINT=http://elk-server:8200
OTEL_EXPORTER_OTLP_HEADERS="authorization=Bearer xxxxxx"
OTEL_SERVICE_NAME=ansible
I have also installed the telemetry python packages
pip list | grep opentele
opentelemetry-api
1.13.0
opentelemetry-exporter-otlp 1.13.0
opentelemetry-exporter-otlp-proto-grpc 1.13.0
opentelemetry-exporter-otlp-proto-http 1.13.0
opentelemetry-instrumentation 0.34b0
opentelemetry-proto
1.13.0
opentelemetry-sdk
1.13.0
opentelemetry-semantic-conventions 0.34b0
But still getting this error, does anyone have some ideas?
Appreciate it
[WARNING]: Skipping
callback 'community.general.opentelemetry', unable to load due to: The
`opentelemetry-api`,
`opentelemetry-exporter-otlp` or `opentelemetry-sdk` must be installed to use
this plugin
--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/5c9d6031-c456-454b-8832-9e315b011981n%40googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "Ansible Project" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ansible-project/sB3WiogfqxU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAF8BbLaTBWay_OrwwA%2BPyB%3DoaObV7paJ80Q%3Db%3DXOftqNXd5UeQ%40mail.gmail.com.
Hi man, thanks for the time.Please see the information as requestedansible --version
ansible [core 2.13.2]
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAGy0mfKDkf-Qkjc_FxaJ4Fu6Hhi-UY2nqKOPjcKYuMug5WyHgA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/0c1f873f-742d-4c70-b361-10a5e4268102n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAF8BbLaSHLm2PujZKasrsdBUW5Ro0-CtofP%2BGOqCOp_x6PDnGw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAD8N0v_45yVccwBev1QZGrKs2EyYaAo%3Dh-MnxWcOhB8OG%2B7XDQ%40mail.gmail.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Ansible Project" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ansible-project/sB3WiogfqxU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/20221107222902.27e6d8ae%40rovaniemi.