OpenTelemetry in an multi-tenant ASP.NET Core app

41 Views Asked by At

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

0

There are 0 best solutions below