fix: graphql default service name#3547
Conversation
BenchmarksBenchmark execution time: 2025-05-26 13:24:15 Comparing candidate commit 6c922a5 in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 21 metrics, 0 unstable metrics. |
| // Copyright 2016 Datadog, Inc. | ||
|
|
||
| package graphql // import "github.com/DataDog/dd-trace-go/contrib/graph-go/graphql/v2" | ||
| package graphql // import "github.com/DataDog/dd-trace-go/contrib/graphql-go/graphql/v2" |
There was a problem hiding this comment.
So we have a typo in the package name that we need to fix?
There was a problem hiding this comment.
I think it's only in the import URL from the comment.
kakkoyun
left a comment
There was a problem hiding this comment.
LGTM.
Nothing stands out.
Thanks for the fix.
| "github.com/stretchr/testify/require" | ||
|
|
||
| grahqltrace "github.com/DataDog/dd-trace-go/contrib/graph-gophers/graphql-go/v2" | ||
| graphqltrace "github.com/DataDog/dd-trace-go/contrib/graph-gophers/graphql-go/v2" |
There was a problem hiding this comment.
I think the same typo issue above.
There was a problem hiding this comment.
Oh, true.
The contrib URL is correct, it refers to github.com/graph-gophers/graphql-go.
What does this PR do?
Fix unintended change in default service name for
graph-gophers/graphql-goandgraphql-go/graphql(used to begraphql.serverin v1, notgraphql).Motivation
Reviewer's Checklist
golangci-lint runlocally.Unsure? Have a question? Request a review!