this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

otel: set env attributes

+2
+2
cmd/bigsky/main.go
··· 160 160 tracesdk.WithResource(resource.NewWithAttributes( 161 161 semconv.SchemaURL, 162 162 semconv.ServiceNameKey.String("bgs"), 163 + attribute.String("env", os.Getenv("ENVIRONMENT")), // DataDog 164 + attribute.String("environment", os.Getenv("ENVIRONMENT")), // Others 163 165 attribute.Int64("ID", 1), 164 166 )), 165 167 )