Skip to content

Commit

Permalink
ddtrace/tracer: add uptrace/bun to telemetry's supported contribs (#2810
Browse files Browse the repository at this point in the history
)
  • Loading branch information
darccio committed Aug 7, 2024
1 parent e72cc36 commit 002b6ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions ddtrace/tracer/option.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ var contribIntegrations = map[string]struct {
"github.com/valyala/fasthttp": {"FastHTTP", false},
"github.com/zenazn/goji": {"Goji", false},
"log/slog": {"log/slog", false},
"github.com/uptrace/bun": {"Bun", false},
}

var (
Expand Down
2 changes: 1 addition & 1 deletion ddtrace/tracer/option_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ func TestAgentIntegration(t *testing.T) {
defer clearIntegrationsForTests()

cfg.loadContribIntegrations(nil)
assert.Equal(t, 56, len(cfg.integrations))
assert.Equal(t, 57, len(cfg.integrations))
for integrationName, v := range cfg.integrations {
assert.False(t, v.Instrumented, "integrationName=%s", integrationName)
}
Expand Down

0 comments on commit 002b6ff

Please sign in to comment.