mirror of
https://github.com/zeromicro/go-zero.git
synced 2026-05-07 06:59:59 +08:00
chore: remove jaeger exporter due to official deprecation (#5361)
Signed-off-by: kevin <wanjunfeng@gmail.com>
This commit is contained in:
@@ -21,10 +21,11 @@ import (
|
||||
|
||||
func TestOtelHandler(t *testing.T) {
|
||||
ztrace.StartAgent(ztrace.Config{
|
||||
Name: "go-zero-test",
|
||||
Endpoint: "http://localhost:14268/api/traces",
|
||||
Batcher: "jaeger",
|
||||
Sampler: 1.0,
|
||||
Name: "go-zero-test",
|
||||
Endpoint: "http://localhost:14268",
|
||||
OtlpHttpPath: "/v1/traces",
|
||||
Batcher: "otlphttp",
|
||||
Sampler: 1.0,
|
||||
})
|
||||
defer ztrace.StopAgent()
|
||||
|
||||
@@ -84,10 +85,11 @@ func TestTraceHandler(t *testing.T) {
|
||||
|
||||
func TestDontTracingSpan(t *testing.T) {
|
||||
ztrace.StartAgent(ztrace.Config{
|
||||
Name: "go-zero-test",
|
||||
Endpoint: "http://localhost:14268/api/traces",
|
||||
Batcher: "jaeger",
|
||||
Sampler: 1.0,
|
||||
Name: "go-zero-test",
|
||||
Endpoint: "http://localhost:14268",
|
||||
OtlpHttpPath: "/v1/traces",
|
||||
Batcher: "otlphttp",
|
||||
Sampler: 1.0,
|
||||
})
|
||||
defer ztrace.StopAgent()
|
||||
|
||||
@@ -129,10 +131,11 @@ func TestDontTracingSpan(t *testing.T) {
|
||||
|
||||
func TestTraceResponseWriter(t *testing.T) {
|
||||
ztrace.StartAgent(ztrace.Config{
|
||||
Name: "go-zero-test",
|
||||
Endpoint: "http://localhost:14268/api/traces",
|
||||
Batcher: "jaeger",
|
||||
Sampler: 1.0,
|
||||
Name: "go-zero-test",
|
||||
Endpoint: "http://localhost:14268",
|
||||
OtlpHttpPath: "/v1/traces",
|
||||
Batcher: "otlphttp",
|
||||
Sampler: 1.0,
|
||||
})
|
||||
defer ztrace.StopAgent()
|
||||
|
||||
|
||||
@@ -21,10 +21,11 @@ import (
|
||||
|
||||
func TestDoRequest(t *testing.T) {
|
||||
ztrace.StartAgent(ztrace.Config{
|
||||
Name: "go-zero-test",
|
||||
Endpoint: "http://localhost:14268/api/traces",
|
||||
Batcher: "jaeger",
|
||||
Sampler: 1.0,
|
||||
Name: "go-zero-test",
|
||||
Endpoint: "http://localhost:14268",
|
||||
OtlpHttpPath: "/v1/traces",
|
||||
Batcher: "otlphttp",
|
||||
Sampler: 1.0,
|
||||
})
|
||||
defer ztrace.StopAgent()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user