Use OTel's semantic convention constants when we bump minimum OTel version #13287
Labels
next major: breaking change
this is a change that we should wait to bundle into the next major version
type: cleanup
An internal cleanup or hygiene concern.
In the async batch publish, we create a root span using the string instead of the constant, since it does not exist in the oldest deps.
https://github.com/googleapis/google-cloud-cpp/pull/13285/files#diff-3e8aefbb8885925f3b6c48b310f1fe9e031aa24315c084fa04cfc13ea5bd86f6R63-R66
Current:
Suggestion:
/*sc::kNetworkTransport=*/"network.transport"
/*sc::kHttpRequestMethod=*/"http.request.method"
/*sc::kUrlFull=*/"url.full"
/*sc::kServerAddress=*/"server.address"
/*sc::kServerPort=*/"server.port"
/*sc::kClientAddress=*/"client.address"
/*sc::kClientPort=*/"client.port"
The text was updated successfully, but these errors were encountered: