Skip to content

Commit c2e835d

Browse files
committed
Fix tests
1 parent 3aec1a2 commit c2e835d

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
@@ -507,6 +507,15 @@
507507
"DD_TRACE_LOG_DIRECTORY": [
508508
"A"
509509
],
510+
"DD_TRACE_MCPGO_ANALYTICS_ENABLED": [
511+
"A"
512+
],
513+
"DD_TRACE_MCP_ANALYTICS_ENABLED": [
514+
"A"
515+
],
516+
"DD_TRACE_MCP_GO_ANALYTICS_ENABLED": [
517+
"A"
518+
],
510519
"DD_TRACE_MEMCACHE_ANALYTICS_ENABLED": [
511520
"A"
512521
],
@@ -621,9 +630,6 @@
621630
"DD_TRACE_VAULT_ANALYTICS_ENABLED": [
622631
"A"
623632
],
624-
"DD_TRACE_V1_PAYLOAD_FORMAT_ENABLED": [
625-
"A"
626-
],
627633
"DD_TRACE_X_DATADOG_TAGS_MAX_LENGTH": [
628634
"A"
629635
],

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)