Skip to content

Commit

Permalink
change to Snowflake Inc.
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-jopel committed Dec 10, 2024
1 parent 0c0af54 commit c87e194
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 29 deletions.
4 changes: 2 additions & 2 deletions scripts/vendor_otlp_proto_common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,6 @@ find opentelemetry/exporter -type f -name "*.py" -exec $SED_CMD 's/opentelemetry

# Add a notice to the top of every file in compliance with Apache 2.0 to indicate that the file has been modified
# https://www.apache.org/licenses/LICENSE-2.0
find opentelemetry/exporter -type f -name "*.py" -exec $SED_CMD '14s|^|#\n# NOTICE:\n# This file has been modified from the original source code at\n#\n# https://github.com/open-telemetry/opentelemetry-python/tree/'"$REPO_BRANCH_OR_COMMIT"'\n#\n# by Snowflake Computing Inc.\n|' {} +
find opentelemetry/exporter -type f -name "*.py" -exec $SED_CMD '14s|^|#\n# This file has been modified from the original source code at\n#\n# https://github.com/open-telemetry/opentelemetry-python/tree/'"$REPO_BRANCH_OR_COMMIT"'\n#\n# by Snowflake Inc.\n|' {} +
# Insert our own license header at the top of every file
find opentelemetry/exporter -type f -name "*.py" -exec $SED_CMD '1s|^|#\n# Copyright (c) 2012-2024 Snowflake Computing Inc. All rights reserved.\n#\n|' {} +
find opentelemetry/exporter -type f -name "*.py" -exec $SED_CMD '1s|^|#\n# Copyright (c) 2012-2024 Snowflake Inc. All rights reserved.\n#\n|' {} +
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (c) 2012-2024 Snowflake Computing Inc. All rights reserved.
# Copyright (c) 2012-2024 Snowflake Inc. All rights reserved.
#
# Copyright The OpenTelemetry Authors
#
Expand All @@ -15,12 +15,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTICE:
# This file has been modified from the original source code at
#
# https://github.com/open-telemetry/opentelemetry-python/tree/v1.26.0
#
# by Snowflake Computing Inc.
# by Snowflake Inc.


from snowflake.telemetry._internal.opentelemetry.exporter.otlp.proto.common.version import __version__
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (c) 2012-2024 Snowflake Computing Inc. All rights reserved.
# Copyright (c) 2012-2024 Snowflake Inc. All rights reserved.
#
# Copyright The OpenTelemetry Authors
#
Expand All @@ -15,12 +15,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTICE:
# This file has been modified from the original source code at
#
# https://github.com/open-telemetry/opentelemetry-python/tree/v1.26.0
#
# by Snowflake Computing Inc.
# by Snowflake Inc.


import logging
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (c) 2012-2024 Snowflake Computing Inc. All rights reserved.
# Copyright (c) 2012-2024 Snowflake Inc. All rights reserved.
#
# Copyright The OpenTelemetry Authors
#
Expand All @@ -15,12 +15,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTICE:
# This file has been modified from the original source code at
#
# https://github.com/open-telemetry/opentelemetry-python/tree/v1.26.0
#
# by Snowflake Computing Inc.
# by Snowflake Inc.
from collections import defaultdict
from typing import Sequence, List

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (c) 2012-2024 Snowflake Computing Inc. All rights reserved.
# Copyright (c) 2012-2024 Snowflake Inc. All rights reserved.
#
# Copyright The OpenTelemetry Authors
#
Expand All @@ -15,12 +15,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTICE:
# This file has been modified from the original source code at
#
# https://github.com/open-telemetry/opentelemetry-python/tree/v1.26.0
#
# by Snowflake Computing Inc.
# by Snowflake Inc.
import logging

from opentelemetry.sdk.metrics.export import (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (c) 2012-2024 Snowflake Computing Inc. All rights reserved.
# Copyright (c) 2012-2024 Snowflake Inc. All rights reserved.
#
# Copyright The OpenTelemetry Authors
#
Expand All @@ -15,12 +15,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTICE:
# This file has been modified from the original source code at
#
# https://github.com/open-telemetry/opentelemetry-python/tree/v1.26.0
#
# by Snowflake Computing Inc.
# by Snowflake Inc.

import logging
from collections import defaultdict
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (c) 2012-2024 Snowflake Computing Inc. All rights reserved.
# Copyright (c) 2012-2024 Snowflake Inc. All rights reserved.
#
# Copyright The OpenTelemetry Authors
#
Expand All @@ -15,12 +15,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTICE:
# This file has been modified from the original source code at
#
# https://github.com/open-telemetry/opentelemetry-python/tree/v1.26.0
#
# by Snowflake Computing Inc.
# by Snowflake Inc.


from snowflake.telemetry._internal.opentelemetry.exporter.otlp.proto.common._internal._log_encoder import (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (c) 2012-2024 Snowflake Computing Inc. All rights reserved.
# Copyright (c) 2012-2024 Snowflake Inc. All rights reserved.
#
# Copyright The OpenTelemetry Authors
#
Expand All @@ -15,12 +15,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTICE:
# This file has been modified from the original source code at
#
# https://github.com/open-telemetry/opentelemetry-python/tree/v1.26.0
#
# by Snowflake Computing Inc.
# by Snowflake Inc.


from snowflake.telemetry._internal.opentelemetry.exporter.otlp.proto.common._internal.metrics_encoder import (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (c) 2012-2024 Snowflake Computing Inc. All rights reserved.
# Copyright (c) 2012-2024 Snowflake Inc. All rights reserved.
#
# Copyright The OpenTelemetry Authors
#
Expand All @@ -15,12 +15,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTICE:
# This file has been modified from the original source code at
#
# https://github.com/open-telemetry/opentelemetry-python/tree/v1.26.0
#
# by Snowflake Computing Inc.
# by Snowflake Inc.


from snowflake.telemetry._internal.opentelemetry.exporter.otlp.proto.common._internal.trace_encoder import (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (c) 2012-2024 Snowflake Computing Inc. All rights reserved.
# Copyright (c) 2012-2024 Snowflake Inc. All rights reserved.
#
# Copyright The OpenTelemetry Authors
#
Expand All @@ -15,11 +15,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTICE:
# This file has been modified from the original source code at
#
# https://github.com/open-telemetry/opentelemetry-python/tree/v1.26.0
#
# by Snowflake Computing Inc.
# by Snowflake Inc.

__version__ = "1.26.0"

0 comments on commit c87e194

Please sign in to comment.