Re: [ansible-project] Question about community.general.opentelemetry callback

2022-11-08 Thread Daniel Barros
Hi Felix. You are completely right. I've tried with the community.general:5.7.0 and it didn't work out. After changing to version 6.0.0 it started to work perfectly. Thank you all for sharing your knowledge. Br, On Mon, Nov 7, 2022 at 6:29 PM 'Felix Fontein' via Ansible Project < ansible-projec

Re: [ansible-project] Question about community.general.opentelemetry callback

2022-11-07 Thread 'Felix Fontein' via Ansible Project
Hi, unfortunately you did not mention which version of community.general you are using. For opentelemetry-api 1.13.0 you need community.general 5.8.0, since that contains a bugfix which allows the opentelemetry callback to work with that version. (It removed some helper function that the plugin wa

Re: [ansible-project] Question about community.general.opentelemetry callback

2022-11-07 Thread Daniel Barros
Yes, it's strange. They are installed in that path pip list -v | grep opent opentelemetry-api 1.13.0 /home/daniel/py_venvs/ansible_2.13/lib/python3.9/site-packages pip opentelemetry-exporter-otlp1.13.0 /home/daniel/py_venvs/ansible_2.13/lib/python3.9/site-packag

Re: [ansible-project] Question about community.general.opentelemetry callback

2022-11-07 Thread Matt Martz
Maybe also take a look at `pip list -v` to see the paths of where those python libraries are installed. And make sure they are in /home/daniel/py_venvs/ansible_2.13/lib/python3.9/site-packages/ On Mon, Nov 7, 2022 at 11:52 AM Dick Visser wrote: > That seems right. > I don't know what it could b

Re: [ansible-project] Question about community.general.opentelemetry callback

2022-11-07 Thread Dick Visser
That seems right. I don't know what it could be then. On Mon, 7 Nov 2022 at 10:58, Daniel Barros wrote: > Hi man. > > This is the entire output > > ansible --version > ansible [core 2.13.2] > config file = None > configured module search path = > ['/home/daniel/.ansible/plugins/modules', > '

Re: [ansible-project] Question about community.general.opentelemetry callback

2022-11-07 Thread Daniel Barros
Hi man. This is the entire output ansible --version ansible [core 2.13.2] config file = None configured module search path = ['/home/daniel/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /home/daniel/py_venvs/ansible_2.13/lib/python3.9/si

Re: [ansible-project] Question about community.general.opentelemetry callback

2022-10-29 Thread Dick Visser
On Fri, 28 Oct 2022 at 17:23, Daniel Barros wrote: > Hi man, thanks for the time. > > Please see the information as requested > > ansible --version > ansible [core 2.13.2] > This is not the entire output. It should like this like this: ansible [core 2.11.7] config file = /Users/dick.visser/gi

Re: [ansible-project] Question about community.general.opentelemetry callback

2022-10-28 Thread Daniel Barros
Hi man, thanks for the time. Please see the information as requested ansible --version ansible [core 2.13.2] pip --version pip 22.3 from /home/daniel/py_venvs/ansible_2.13/lib/python3.9/site-packages/pip (python 3.9) python --version Python 3.9.13 On Fri, Oct 28, 2022 at 12:20 PM Dick Visser

Re: [ansible-project] Question about community.general.opentelemetry callback

2022-10-28 Thread Dick Visser
What does 'ansible --version' say? And 'pip --version' On Fri, 28 Oct 2022 at 16:58, Daniel Barros wrote: > 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]

[ansible-project] Question about community.general.opentelemetry callback

2022-10-28 Thread Daniel Barros
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_OPENT