Skip to content

Commit

Permalink
Address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
IbraheemA committed Nov 19, 2024
1 parent f5179f2 commit 0ad2755
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion exporter/datadogexporter/traces_exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ var operationAndResourceNameV2FeatureGate = featuregate.GlobalRegistry().MustReg
"exporter.datadogexporter.EnableOperationAndResourceNameV2",
featuregate.StageAlpha,
featuregate.WithRegisterDescription("When enabled, datadogexporter uses improved logic to compute operation name and resource name."),
featuregate.WithRegisterFromVersion("v0.105.0"),
featuregate.WithRegisterFromVersion("v0.115.0"),
)

type traceExporter struct {
Expand Down
3 changes: 2 additions & 1 deletion exporter/datadogexporter/traces_exporter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@ import (
"context"
"encoding/json"
"fmt"
"go.opentelemetry.io/collector/featuregate"
"io"
"net/http"
"net/http/httptest"
"os"
"testing"
"time"

"go.opentelemetry.io/collector/featuregate"

"github.com/DataDog/datadog-agent/comp/otelcol/otlp/testutil"
pb "github.com/DataDog/datadog-agent/pkg/proto/pbgo/trace"
tracelog "github.com/DataDog/datadog-agent/pkg/trace/log"
Expand Down

0 comments on commit 0ad2755

Please sign in to comment.