diff --git a/cmd/apmbench/bench_otlp.go b/cmd/apmbench/bench_otlp.go index a51540f..e2d1e9f 100644 --- a/cmd/apmbench/bench_otlp.go +++ b/cmd/apmbench/bench_otlp.go @@ -67,7 +67,7 @@ func commonConfigWithHTTPPath(httpPath string) common.Config { } } -func BenchmarkTelemetrygenOTLPLogs(b *testing.B, l *rate.Limiter) { +func BenchmarkOTLPLogs(b *testing.B, l *rate.Limiter) { config := logs.Config{ Config: commonConfigWithHTTPPath("/v1/logs"), NumLogs: b.N, @@ -78,7 +78,7 @@ func BenchmarkTelemetrygenOTLPLogs(b *testing.B, l *rate.Limiter) { } } -func BenchmarkTelemetrygenOTLPTraces(b *testing.B, l *rate.Limiter) { +func BenchmarkOTLPTraces(b *testing.B, l *rate.Limiter) { config := traces.Config{ Config: commonConfigWithHTTPPath("/v1/traces"), NumTraces: b.N, @@ -95,7 +95,7 @@ func BenchmarkTelemetrygenOTLPTraces(b *testing.B, l *rate.Limiter) { } } -func BenchmarkTelemetrygenOTLPMetrics(b *testing.B, l *rate.Limiter) { +func BenchmarkOTLPMetrics(b *testing.B, l *rate.Limiter) { config := metrics.Config{ Config: commonConfigWithHTTPPath("/v1/metrics"), NumMetrics: b.N, diff --git a/cmd/apmbench/main.go b/cmd/apmbench/main.go index 7adb8ea..19a0831 100644 --- a/cmd/apmbench/main.go +++ b/cmd/apmbench/main.go @@ -45,16 +45,15 @@ func main() { extraMetrics, resetStoreFunc, Benchmark1000Transactions, - BenchmarkOTLPTraces, BenchmarkAgentAll, BenchmarkAgentGo, BenchmarkAgentNodeJS, BenchmarkAgentPython, BenchmarkAgentRuby, Benchmark10000AggregationGroups, - BenchmarkTelemetrygenOTLPTraces, - BenchmarkTelemetrygenOTLPLogs, - BenchmarkTelemetrygenOTLPMetrics, + BenchmarkOTLPTraces, + BenchmarkOTLPLogs, + BenchmarkOTLPMetrics, ); err != nil { logger.Fatal("failed to run benchmarks", zap.Error(err)) }