diff --git a/datadog_lambda/constants.py b/datadog_lambda/constants.py index 90afec76..ba4aa5d4 100644 --- a/datadog_lambda/constants.py +++ b/datadog_lambda/constants.py @@ -1,3 +1,8 @@ +# Unless explicitly stated otherwise all files in this repository are licensed +# under the Apache License Version 2.0. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019 Datadog, Inc. + # Datadog trace sampling priority class SamplingPriority(object): USER_REJECT = -1 diff --git a/datadog_lambda/metric.py b/datadog_lambda/metric.py index cf808d26..50fb4b17 100644 --- a/datadog_lambda/metric.py +++ b/datadog_lambda/metric.py @@ -1,3 +1,8 @@ +# Unless explicitly stated otherwise all files in this repository are licensed +# under the Apache License Version 2.0. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019 Datadog, Inc. + import os import sys diff --git a/datadog_lambda/patch.py b/datadog_lambda/patch.py index 0cd62d17..2d0d707b 100644 --- a/datadog_lambda/patch.py +++ b/datadog_lambda/patch.py @@ -1,3 +1,8 @@ +# Unless explicitly stated otherwise all files in this repository are licensed +# under the Apache License Version 2.0. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019 Datadog, Inc. + import sys from wrapt import wrap_function_wrapper as wrap diff --git a/datadog_lambda/tracing.py b/datadog_lambda/tracing.py index a2af5ebd..f43fee75 100644 --- a/datadog_lambda/tracing.py +++ b/datadog_lambda/tracing.py @@ -1,3 +1,8 @@ +# Unless explicitly stated otherwise all files in this repository are licensed +# under the Apache License Version 2.0. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019 Datadog, Inc. + from aws_xray_sdk.core import xray_recorder from datadog_lambda.constants import ( diff --git a/datadog_lambda/wrapper.py b/datadog_lambda/wrapper.py index 5d134b3e..904a1ae5 100644 --- a/datadog_lambda/wrapper.py +++ b/datadog_lambda/wrapper.py @@ -1,3 +1,8 @@ +# Unless explicitly stated otherwise all files in this repository are licensed +# under the Apache License Version 2.0. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019 Datadog, Inc. + import traceback from threading import Thread diff --git a/scripts/build_layers.sh b/scripts/build_layers.sh index ca9db3a8..5e9e235a 100755 --- a/scripts/build_layers.sh +++ b/scripts/build_layers.sh @@ -1,5 +1,10 @@ #!/bin/sh +# Unless explicitly stated otherwise all files in this repository are licensed +# under the Apache License Version 2.0. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019 Datadog, Inc. + # Builds Datadogpy layers for lambda functions, using Docker set -e diff --git a/scripts/list_layers.sh b/scripts/list_layers.sh index 3739da0b..da2fda10 100755 --- a/scripts/list_layers.sh +++ b/scripts/list_layers.sh @@ -1,5 +1,10 @@ #!/bin/bash +# Unless explicitly stated otherwise all files in this repository are licensed +# under the Apache License Version 2.0. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019 Datadog, Inc. + # Lists most recent layers ARNs across regions to STDOUT # Optionals args: [layer-name] [region] diff --git a/scripts/publish_layers.sh b/scripts/publish_layers.sh index 9ac395d1..f00ccb02 100755 --- a/scripts/publish_layers.sh +++ b/scripts/publish_layers.sh @@ -1,5 +1,10 @@ #!/bin/bash +# Unless explicitly stated otherwise all files in this repository are licensed +# under the Apache License Version 2.0. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019 Datadog, Inc. + # Publish the datadog python lambda layer across regions, using the AWS CLI # Usage: publish_layer.sh [region] # Specifying the region arg will publish the layer for the single specified region diff --git a/scripts/run_tests.sh b/scripts/run_tests.sh index 1b39f93f..8f9460b8 100755 --- a/scripts/run_tests.sh +++ b/scripts/run_tests.sh @@ -1,5 +1,10 @@ #!/bin/sh +# Unless explicitly stated otherwise all files in this repository are licensed +# under the Apache License Version 2.0. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019 Datadog, Inc. + # Run unit tests in Docker set -e