Skip to content

Commit

Permalink
Fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
jerrytfleung committed Sep 18, 2024
1 parent 6211578 commit 3ab7882
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions collector/receiver/telemetryapireceiver/receiver.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ import (
"time"

"github.com/golang-collections/go-datastructures/queue"
"github.com/google/uuid"
"go.opentelemetry.io/collector/component"
"go.opentelemetry.io/collector/consumer"
"go.opentelemetry.io/collector/pdata/pcommon"
Expand Down Expand Up @@ -406,8 +405,6 @@ func newTelemetryAPIReceiver(
r.Attributes().PutInt(semconv.AttributeFaaSMaxMemory, int64(mb)*1024*1024)
}
}
// https://opentelemetry.io/docs/specs/otel/metrics/data-model/#single-writer
r.Attributes().PutStr(semconv.AttributeServiceInstanceID, uuid.New().String())

for env, resourceAttribute := range envResourceMap {
if val, ok := os.LookupEnv(env); ok {
Expand Down

0 comments on commit 3ab7882

Please sign in to comment.