autorest.typescript icon indicating copy to clipboard operation
autorest.typescript copied to clipboard

Support to customize tracing info for Modular

Open MaryGao opened this issue 8 months ago • 0 comments

In HLC we could customize our tracing info in swagger readme. And it would generate specific tracing client and span for operation.

See below config example.

tracing-info:
  namespace: "Azure.Synapse.Artifacts"
  packagePrefix: "Microsoft.Synapse"

And tracing client is here and span for operation is here.

Currently we missed this feature in Modular.

See guideline for tracing https://azure.github.io/azure-sdk/general_azurecore.html#distributed-tracing-policy. Core policy: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-rest-pipeline/src/policies/tracingPolicy.ts#L47.

MaryGao avatar Jun 11 '24 06:06 MaryGao