Skip to content

Commit de2def3

Browse files
committed
feat: update attribute key from 'environment' to 'project.id'
1 parent 73adf79 commit de2def3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/telemetry/tracer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ func NewTracer(exporter trace.SpanExporter) func(context.Context) error {
2727
semconv.SchemaURL,
2828
semconv.ServiceNameKey.String("permify"),
2929
attribute.String("id", internal.Identifier),
30-
attribute.String("environment", internal.Identifier),
30+
attribute.String("project.id", internal.Identifier),
3131
attribute.String("version", internal.Version),
3232
attribute.String("host_name", hostName),
3333
attribute.String("os", runtime.GOOS),

0 commit comments

Comments
 (0)