autorest.typescript
autorest.typescript copied to clipboard
Support to customize tracing info for Modular
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.