chore: remove jaeger exporter due to official deprecation (#5361)

Signed-off-by: kevin <wanjunfeng@gmail.com>
This commit is contained in:
Kevin Wan
2025-12-25 23:03:14 +08:00
committed by GitHub
parent fcec494ea8
commit 4b4751e76c
9 changed files with 36 additions and 81 deletions

View File

@@ -23,10 +23,11 @@ import (
func TestOpenTracingInterceptor(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()

View File

@@ -32,10 +32,11 @@ func TestUnaryOpenTracingInterceptor_Disable(t *testing.T) {
func TestUnaryOpenTracingInterceptor_Enabled(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()