Need to catch the requests coming to the server?

Hİ everyone, currently i am developing a plugin to integrate my matomo server with a Kafka queue. Therefore, i need to catch the requests that come to my the matomo server.
The solutions i tried are:
Registering some events which are: ‘Tracker.newHandler’, ‘Http.sendHttpRequest’, ‘Http.sendHttpRequest.end’
Unfortunetly, none of them worked for me…
Is there any other events that i can use or would you recommend some other solution.
Thank you in advance :slight_smile:

It is done, my bad.
Solution is:
You should register to the Tracker.newHandler event and configure your own handler