mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-24 05:04:05 -08:00
support for tracing client including tlsconfig with support for nextprotos
Signed-off-by: David Kydd <david.kydd@microsoft.com>
This commit is contained in:
parent
6b36a5592a
commit
3a9895a582
|
@ -73,7 +73,7 @@ func (m *Manager) ApplyConfig(cfg *config.Config) error {
|
|||
// set, we have to restart the manager to make sure that new TLS
|
||||
// certificates are picked up.
|
||||
var blankTLSConfig config_util.TLSConfig
|
||||
if reflect.DeepEqual(m.config, cfg.TracingConfig) && m.config.TLSConfig == blankTLSConfig {
|
||||
if reflect.DeepEqual(m.config, cfg.TracingConfig) && reflect.DeepEqual(m.config.TLSConfig, blankTLSConfig) {
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
|
@ -82,7 +82,8 @@ func TestReinstallingTracerProviderWithTLS(t *testing.T) {
|
|||
Endpoint: "localhost:1234",
|
||||
ClientType: config.TracingClientGRPC,
|
||||
TLSConfig: config_util.TLSConfig{
|
||||
CAFile: "testdata/ca.cer",
|
||||
CAFile: "testdata/ca.cer",
|
||||
NextProtos: []string{"h2"},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue