Skip to content

Commit f9286e3

Browse files
committed
Fix tests
1 parent 17bce0d commit f9286e3

File tree

5 files changed

+19
-6
lines changed

5 files changed

+19
-6
lines changed

ddtrace/tracer/option_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ func TestAgentIntegration(t *testing.T) {
293293
defer clearIntegrationsForTests()
294294

295295
cfg.loadContribIntegrations(nil)
296-
assert.Equal(t, 54, len(cfg.integrations))
296+
assert.Equal(t, 55, len(cfg.integrations))
297297
for integrationName, v := range cfg.integrations {
298298
assert.False(t, v.Instrumented, "integrationName=%s", integrationName)
299299
}

instrumentation/packages.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -835,7 +835,7 @@ var packages = map[Package]PackageInfo{
835835
},
836836
PackageMark3LabsMcpGo: {
837837
TracedPackage: "github.com/mark3labs/mcp-go",
838-
EnvVarPrefix: "MCP",
838+
EnvVarPrefix: "MCPGO",
839839
naming: map[Component]componentNames{
840840
ComponentServer: {
841841
useDDServiceV0: true,

internal/env/supported_configurations.gen.go

Lines changed: 4 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/env/supported_configurations.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -510,6 +510,15 @@
510510
"DD_TRACE_LOG_DIRECTORY": [
511511
"A"
512512
],
513+
"DD_TRACE_MCPGO_ANALYTICS_ENABLED": [
514+
"A"
515+
],
516+
"DD_TRACE_MCP_ANALYTICS_ENABLED": [
517+
"A"
518+
],
519+
"DD_TRACE_MCP_GO_ANALYTICS_ENABLED": [
520+
"A"
521+
],
513522
"DD_TRACE_MEMCACHE_ANALYTICS_ENABLED": [
514523
"A"
515524
],
@@ -624,9 +633,6 @@
624633
"DD_TRACE_VAULT_ANALYTICS_ENABLED": [
625634
"A"
626635
],
627-
"DD_TRACE_V1_PAYLOAD_FORMAT_ENABLED": [
628-
"A"
629-
],
630636
"DD_TRACE_X_DATADOG_TAGS_MAX_LENGTH": [
631637
"A"
632638
],

internal/stacktrace/contribs_generated.go

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)