Skip to content

add support for traceparent header #26080

@cataggar

Description

@cataggar

Similar to #18756, I would like a way to correlate the requests produced by az cli, but using the standard traceparent header.

Currently, I must use az rest like so:

az rest --method put --uri /subscriptions/{subscription}/resourceGroups/cataggar-centralus/providers/Microsoft.AVS/privateClouds/cataggar-20230407a?api-version=2022-05-01 --body '@2023-04\2023-04-07 cloud.json' --headers 'Content-Type=application/json' 'traceparent=00-3bc4b9b39bfc44aa929383a7a8bf07d7-6e28470a1864f270-00'

I would like to be able to pass it into any az command, such as:

az  vmware private-cloud create -l centralus -g cataggar-centralus -n cataggar-20230407a --sku av36 --cluster-size 3 --network-block 192.168.48.0/22 --traceparent 00-3bc4b9b39bfc44aa929383a7a8bf07d7-6e28470a1864f270-00

Metadata

Metadata

Assignees

Labels

Auto-AssignAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamCoreCLI core infrastructureOKR CandidateThis label is used to track how many GitHub issues we have resolved for OKR purpose.feature-request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions