File tree Expand file tree Collapse file tree 9 files changed +45
-0
lines changed Expand file tree Collapse file tree 9 files changed +45
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Unless explicitly stated otherwise all files in this repository are licensed
2
+ # under the Apache License Version 2.0.
3
+ # This product includes software developed at Datadog (https://www.datadoghq.com/).
4
+ # Copyright 2019 Datadog, Inc.
5
+
1
6
# Datadog trace sampling priority
2
7
class SamplingPriority (object ):
3
8
USER_REJECT = - 1
Original file line number Diff line number Diff line change
1
+ # Unless explicitly stated otherwise all files in this repository are licensed
2
+ # under the Apache License Version 2.0.
3
+ # This product includes software developed at Datadog (https://www.datadoghq.com/).
4
+ # Copyright 2019 Datadog, Inc.
5
+
1
6
import os
2
7
import sys
3
8
Original file line number Diff line number Diff line change
1
+ # Unless explicitly stated otherwise all files in this repository are licensed
2
+ # under the Apache License Version 2.0.
3
+ # This product includes software developed at Datadog (https://www.datadoghq.com/).
4
+ # Copyright 2019 Datadog, Inc.
5
+
1
6
import sys
2
7
3
8
from wrapt import wrap_function_wrapper as wrap
Original file line number Diff line number Diff line change
1
+ # Unless explicitly stated otherwise all files in this repository are licensed
2
+ # under the Apache License Version 2.0.
3
+ # This product includes software developed at Datadog (https://www.datadoghq.com/).
4
+ # Copyright 2019 Datadog, Inc.
5
+
1
6
from aws_xray_sdk .core import xray_recorder
2
7
3
8
from datadog_lambda .constants import (
Original file line number Diff line number Diff line change
1
+ # Unless explicitly stated otherwise all files in this repository are licensed
2
+ # under the Apache License Version 2.0.
3
+ # This product includes software developed at Datadog (https://www.datadoghq.com/).
4
+ # Copyright 2019 Datadog, Inc.
5
+
1
6
import traceback
2
7
from threading import Thread
3
8
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
+ # Unless explicitly stated otherwise all files in this repository are licensed
4
+ # under the Apache License Version 2.0.
5
+ # This product includes software developed at Datadog (https://www.datadoghq.com/).
6
+ # Copyright 2019 Datadog, Inc.
7
+
3
8
# Builds Datadogpy layers for lambda functions, using Docker
4
9
set -e
5
10
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
+ # Unless explicitly stated otherwise all files in this repository are licensed
4
+ # under the Apache License Version 2.0.
5
+ # This product includes software developed at Datadog (https://www.datadoghq.com/).
6
+ # Copyright 2019 Datadog, Inc.
7
+
3
8
# Lists most recent layers ARNs across regions to STDOUT
4
9
# Optionals args: [layer-name] [region]
5
10
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
+ # Unless explicitly stated otherwise all files in this repository are licensed
4
+ # under the Apache License Version 2.0.
5
+ # This product includes software developed at Datadog (https://www.datadoghq.com/).
6
+ # Copyright 2019 Datadog, Inc.
7
+
3
8
# Publish the datadog python lambda layer across regions, using the AWS CLI
4
9
# Usage: publish_layer.sh [region]
5
10
# Specifying the region arg will publish the layer for the single specified region
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
+ # Unless explicitly stated otherwise all files in this repository are licensed
4
+ # under the Apache License Version 2.0.
5
+ # This product includes software developed at Datadog (https://www.datadoghq.com/).
6
+ # Copyright 2019 Datadog, Inc.
7
+
3
8
# Run unit tests in Docker
4
9
set -e
5
10
You can’t perform that action at this time.
0 commit comments