APM Agent language and version:
python
elastic-apm==4.0.2
Original install method (e.g. download page, yum, deb, from source, etc.) and version:
docker-compose
Description of the problem including expected versus actual behavior. Please include screenshots (if relevant):
I have 3 components and 2 types of events.
ComponentA:
- publish event1
ComponentB:
- receive event1, process it (for ~200ms) and publish event2
ComponentC:
- receive event1 and process it
- receive event2 and process it
(mian) C:recv_event2 started before B:recv_event1 finished and published event2 (what is impossible)
B:recv_event1 and C:recv_event1 started immediately at the same time point as event1 (what is impossible because event1 first should be published/finished and then processed by others)
Thanks for reaching out. This does indeed look like a bug.
For me to look further into this, it would be very helpful to see the response from the backend.
If possible, please open your browsers Dev Tools and find the response for the XHR request containing /traces/ in the url eg:
Could you help us understand a bit more about your use case? What kind of transport mechanism do you use when you say that an event is "published"? Are you using some kind of event bus?
componentA publishes message like {'apm_id': 'xxx', 'data': 'event1'} to socket and log transaction to APM
componentB receive event1 from socket, process it for 200ms, log transaction to APM and publishes {'apm_id': 'xxx', 'data': 'event2'}to socket
componentC receive event1 from socket and log transaction to APM
componentC receive event2 from socket and log transaction to APM
I can write some very simplified python-code for this use-case and post it if necessary.
Because now these components are parts of our big application.
But it still does not clear for me, why I see correct logs in elasticsearch but wrong visualisation.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.