jaeger-endpoint configmap attribute
This commit is contained in:
parent
a7fb791132
commit
28280de175
7 changed files with 49 additions and 2 deletions
|
|
@ -33,6 +33,7 @@ const (
|
|||
|
||||
jaegerCollectorHost = "jaeger-collector-host"
|
||||
jaegerSamplerHost = "jaeger-sampler-host"
|
||||
jaegerEndpoint = "jaeger-endpoint"
|
||||
|
||||
datadogCollectorHost = "datadog-collector-host"
|
||||
|
||||
|
|
@ -174,6 +175,18 @@ var _ = framework.IngressNginxDescribe("Configure OpenTracing", func() {
|
|||
assert.NotContains(ginkgo.GinkgoT(), log, "Unexpected failure reloading the backend", "reloading nginx after a configmap change")
|
||||
})
|
||||
|
||||
ginkgo.It("should enable opentracing using jaeger with an HTTP endpoint", func() {
|
||||
config := map[string]string{}
|
||||
config[enableOpentracing] = "true"
|
||||
config[jaegerEndpoint] = "http://127.0.0.1:8080/api/traces"
|
||||
f.SetNginxConfigMapData(config)
|
||||
|
||||
framework.Sleep(10 * time.Second)
|
||||
log, err := f.NginxLogs()
|
||||
assert.Nil(ginkgo.GinkgoT(), err, "obtaining nginx logs")
|
||||
assert.NotContains(ginkgo.GinkgoT(), log, "Unexpected failure reloading the backend", "reloading nginx after a configmap change")
|
||||
})
|
||||
|
||||
ginkgo.It("should enable opentracing using datadog", func() {
|
||||
config := map[string]string{}
|
||||
config[enableOpentracing] = "true"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue