This PR adds a new middleware for sending metrics as pubsub events. This new middleware should be asynchronous and not wait for pubsub to finish.
Acceptance:
Regular behavior should not be altered (navigate and perform some queries on staging to check everything goes well). No events should be generated since no request would add the headers now.
Run some curl/postman requests with the new headers and check new events are created in the staging project in google cloud (ping me if you don't have access).
Closes [ch58706] https://app.clubhouse.io/cartoteam/story/58706/add-pubsub-middleware-to-maps-api
This PR adds a new middleware for sending metrics as pubsub events. This new middleware should be asynchronous and not wait for pubsub to finish.
Acceptance: