fix: align agentOTelEnv test config with widened otlpProtocol type

This commit is contained in:
Zhichao Li
2026-06-26 17:15:10 -07:00
parent 597760e9ba
commit 649467ab6d

View File

@@ -14,7 +14,7 @@ function makeConfig(overrides: Partial<OTelConfig> = {}): OTelConfig {
enabledVia: 'setting',
exporterType: 'otlp-http',
otlpEndpoint: 'http://localhost:4318',
otlpProtocol: 'http',
otlpProtocol: 'http/json',
captureContent: false,
maxAttributeSizeChars: 0,
dbSpanExporter: false,
@@ -24,6 +24,7 @@ function makeConfig(overrides: Partial<OTelConfig> = {}): OTelConfig {
serviceVersion: '1.0.0',
sessionId: 'test-session',
resourceAttributes: {},
headers: {},
...overrides,
};
}