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+
16# Datadog trace sampling priority
27class SamplingPriority (object ):
38 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+
16import os
27import sys
38
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+
16import sys
27
38from 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+
16from aws_xray_sdk .core import xray_recorder
27
38from 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+
16import traceback
27from threading import Thread
38
Original file line number Diff line number Diff line change 11#! /bin/sh
22
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+
38# Builds Datadogpy layers for lambda functions, using Docker
49set -e
510
Original file line number Diff line number Diff line change 11#! /bin/bash
22
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+
38# Lists most recent layers ARNs across regions to STDOUT
49# Optionals args: [layer-name] [region]
510
Original file line number Diff line number Diff line change 11#! /bin/bash
22
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+
38# Publish the datadog python lambda layer across regions, using the AWS CLI
49# Usage: publish_layer.sh [region]
510# Specifying the region arg will publish the layer for the single specified region
Original file line number Diff line number Diff line change 11#! /bin/sh
22
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+
38# Run unit tests in Docker
49set -e
510
You can’t perform that action at this time.
0 commit comments