We’re connecting meteor frontends to a different meteor backend using the
DDP_DEFAULT_CONNECTION_URL environment variable.
We’d like to be able to identify each frontend when a meteor method/publication is called on the backend, as well as from which path the call happened, so that we can track activity from each of those frontends separately.
A simple way to do this would be to add a header to each DDP call so that we can get it from the
httpHeaders on the meteor connection. But I can’t seem to find out where/how/if I can change that?
Is it possible to change the
ClientStream once it has been created at this line (see
options.headers), to give it more headers? (it does not appear to work to simply edit it)
Does someone have an other idea?