Skip to content

Commit

Permalink
doc: Update attributions for vendored "baggage"
Browse files Browse the repository at this point in the history
"internal/otel/baggage" package was initially vendored from
opentelemetry-go, and then later we made some updates to it.
According to our new attribution policy, adding some links to the
original files.

Ref getsentry/team-webplatform-meta#42, getsentry/team-ospo#120
  • Loading branch information
tonyo committed Mar 30, 2023
1 parent 8fdc323 commit 9a13bc5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 3 additions & 1 deletion internal/otel/baggage/baggage.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// # Copyright The OpenTelemetry Authors
// Adapted from https://github.com/open-telemetry/opentelemetry-go/blob/c21b6b6bb31a2f74edd06e262f1690f3f6ea3d5c/baggage/baggage.go
//
// Copyright The OpenTelemetry Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 2 additions & 0 deletions internal/otel/baggage/baggage_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Adapted from https://github.com/open-telemetry/opentelemetry-go/blob/c21b6b6bb31a2f74edd06e262f1690f3f6ea3d5c/baggage/baggage_test.go
//
// Copyright The OpenTelemetry Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
3 changes: 1 addition & 2 deletions internal/otel/baggage/internal/baggage/baggage.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// This file was vendored in unmodified from
// https://github.com/open-telemetry/opentelemetry-go/blob/c21b6b6bb31a2f74edd06e262f1690f3f6ea3d5c/internal/baggage/baggage.go
// Adapted from https://github.com/open-telemetry/opentelemetry-go/blob/c21b6b6bb31a2f74edd06e262f1690f3f6ea3d5c/internal/baggage/baggage.go
//
// Copyright The OpenTelemetry Authors
//
Expand Down

0 comments on commit 9a13bc5

Please sign in to comment.