mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-17 07:03:31 +00:00
Merge pull request #103216 from dashpole/etcd_client_tracing
Add distributed tracing to the etcd client
This commit is contained in:
@@ -411,6 +411,9 @@ func buildGenericConfig(
|
||||
if genericConfig.EgressSelector != nil {
|
||||
storageFactory.StorageConfig.Transport.EgressLookup = genericConfig.EgressSelector.Lookup
|
||||
}
|
||||
if utilfeature.DefaultFeatureGate.Enabled(genericfeatures.APIServerTracing) && genericConfig.TracerProvider != nil {
|
||||
storageFactory.StorageConfig.Transport.TracerProvider = genericConfig.TracerProvider
|
||||
}
|
||||
if lastErr = s.Etcd.ApplyWithStorageFactoryTo(storageFactory, genericConfig); lastErr != nil {
|
||||
return
|
||||
}
|
||||
|
Reference in New Issue
Block a user