We are developing a multi-tenant application with a common Web API for all the tenants and tenant specific databases.
We are planning to use a single azure application insights using OpenTelemetery for instrumentation.
Questions
- How can we ensure that the tenant of is populated in all the metrics, logs and traces. We are determining the tenant Id in a custom middleware during the runtime.
Thanks -nen