datadog_lambda 6.97.0__tar.gz → 6.98.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {datadog_lambda-6.97.0 → datadog_lambda-6.98.0}/PKG-INFO +3 -5
- {datadog_lambda-6.97.0 → datadog_lambda-6.98.0}/datadog_lambda/metric.py +2 -0
- datadog_lambda-6.98.0/datadog_lambda/version.py +1 -0
- {datadog_lambda-6.97.0 → datadog_lambda-6.98.0}/pyproject.toml +3 -8
- datadog_lambda-6.97.0/datadog_lambda/version.py +0 -1
- {datadog_lambda-6.97.0 → datadog_lambda-6.98.0}/LICENSE +0 -0
- {datadog_lambda-6.97.0 → datadog_lambda-6.98.0}/LICENSE-3rdparty.csv +0 -0
- {datadog_lambda-6.97.0 → datadog_lambda-6.98.0}/NOTICE +0 -0
- {datadog_lambda-6.97.0 → datadog_lambda-6.98.0}/README.md +0 -0
- {datadog_lambda-6.97.0 → datadog_lambda-6.98.0}/datadog_lambda/__init__.py +0 -0
- {datadog_lambda-6.97.0 → datadog_lambda-6.98.0}/datadog_lambda/api.py +0 -0
- {datadog_lambda-6.97.0 → datadog_lambda-6.98.0}/datadog_lambda/cold_start.py +0 -0
- {datadog_lambda-6.97.0 → datadog_lambda-6.98.0}/datadog_lambda/constants.py +0 -0
- {datadog_lambda-6.97.0 → datadog_lambda-6.98.0}/datadog_lambda/dogstatsd.py +0 -0
- {datadog_lambda-6.97.0 → datadog_lambda-6.98.0}/datadog_lambda/extension.py +0 -0
- {datadog_lambda-6.97.0 → datadog_lambda-6.98.0}/datadog_lambda/handler.py +0 -0
- {datadog_lambda-6.97.0 → datadog_lambda-6.98.0}/datadog_lambda/logger.py +0 -0
- {datadog_lambda-6.97.0 → datadog_lambda-6.98.0}/datadog_lambda/module_name.py +0 -0
- {datadog_lambda-6.97.0 → datadog_lambda-6.98.0}/datadog_lambda/patch.py +0 -0
- {datadog_lambda-6.97.0 → datadog_lambda-6.98.0}/datadog_lambda/stats_writer.py +0 -0
- {datadog_lambda-6.97.0 → datadog_lambda-6.98.0}/datadog_lambda/statsd_writer.py +0 -0
- {datadog_lambda-6.97.0 → datadog_lambda-6.98.0}/datadog_lambda/tag_object.py +0 -0
- {datadog_lambda-6.97.0 → datadog_lambda-6.98.0}/datadog_lambda/tags.py +0 -0
- {datadog_lambda-6.97.0 → datadog_lambda-6.98.0}/datadog_lambda/thread_stats_writer.py +0 -0
- {datadog_lambda-6.97.0 → datadog_lambda-6.98.0}/datadog_lambda/tracing.py +0 -0
- {datadog_lambda-6.97.0 → datadog_lambda-6.98.0}/datadog_lambda/trigger.py +0 -0
- {datadog_lambda-6.97.0 → datadog_lambda-6.98.0}/datadog_lambda/wrapper.py +0 -0
- {datadog_lambda-6.97.0 → datadog_lambda-6.98.0}/datadog_lambda/xray.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: datadog_lambda
|
|
3
|
-
Version: 6.
|
|
3
|
+
Version: 6.98.0
|
|
4
4
|
Summary: The Datadog AWS Lambda Library
|
|
5
5
|
Home-page: https://github.com/DataDog/datadog-lambda-python
|
|
6
6
|
License: Apache-2.0
|
|
@@ -16,16 +16,14 @@ Classifier: Programming Language :: Python :: 3.10
|
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.11
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.12
|
|
18
18
|
Provides-Extra: dev
|
|
19
|
-
Requires-Dist: boto3 (>=1.
|
|
19
|
+
Requires-Dist: boto3 (>=1.34.0,<2.0.0) ; extra == "dev"
|
|
20
20
|
Requires-Dist: datadog (>=0.41.0,<1.0.0)
|
|
21
|
-
Requires-Dist: ddtrace (>=2.
|
|
21
|
+
Requires-Dist: ddtrace (>=2.10.0)
|
|
22
22
|
Requires-Dist: flake8 (>=5.0.4,<6.0.0) ; extra == "dev"
|
|
23
23
|
Requires-Dist: pytest (>=8.0.0,<9.0.0) ; extra == "dev"
|
|
24
24
|
Requires-Dist: pytest-benchmark (>=4.0,<5.0) ; extra == "dev"
|
|
25
25
|
Requires-Dist: requests (>=2.22.0,<3.0.0) ; extra == "dev"
|
|
26
26
|
Requires-Dist: ujson (>=5.9.0)
|
|
27
|
-
Requires-Dist: urllib3 (<2.0.0) ; python_version < "3.11"
|
|
28
|
-
Requires-Dist: urllib3 (<2.1.0) ; python_version >= "3.11"
|
|
29
27
|
Requires-Dist: wrapt (>=1.11.2,<2.0.0)
|
|
30
28
|
Project-URL: Repository, https://github.com/DataDog/datadog-lambda-python
|
|
31
29
|
Description-Content-Type: text/markdown
|
|
@@ -65,6 +65,8 @@ def lambda_metric(metric_name, value, timestamp=None, tags=None, force_async=Fal
|
|
|
65
65
|
timestamp_ceiling = int(
|
|
66
66
|
(datetime.now() - timedelta(hours=4)).timestamp()
|
|
67
67
|
) # 4 hours ago
|
|
68
|
+
if isinstance(timestamp, datetime):
|
|
69
|
+
timestamp = int(timestamp.timestamp())
|
|
68
70
|
if timestamp_ceiling > timestamp:
|
|
69
71
|
logger.warning(
|
|
70
72
|
"Timestamp %s is older than 4 hours, not submitting metric %s",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "6.98.0"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "datadog_lambda"
|
|
3
|
-
version = "6.
|
|
3
|
+
version = "6.98.0"
|
|
4
4
|
description = "The Datadog AWS Lambda Library"
|
|
5
5
|
authors = ["Datadog, Inc. <dev@datadoghq.com>"]
|
|
6
6
|
license = "Apache-2.0"
|
|
@@ -27,19 +27,14 @@ classifiers = [
|
|
|
27
27
|
python = ">=3.8.0,<4"
|
|
28
28
|
datadog = ">=0.41.0,<1.0.0"
|
|
29
29
|
wrapt = "^1.11.2"
|
|
30
|
-
ddtrace = ">=2.
|
|
30
|
+
ddtrace = ">=2.10.0"
|
|
31
31
|
ujson = ">=5.9.0"
|
|
32
|
-
|
|
33
|
-
{version = "<2.0.0", python = "<3.11", optional = true},
|
|
34
|
-
{version = "<2.1.0", python = ">=3.11", optional = true},
|
|
35
|
-
]
|
|
36
|
-
boto3 = { version = "^1.28.0", optional = true }
|
|
32
|
+
boto3 = { version = "^1.34.0", optional = true }
|
|
37
33
|
requests = { version ="^2.22.0", optional = true }
|
|
38
34
|
pytest = { version= "^8.0.0", optional = true }
|
|
39
35
|
pytest-benchmark = { version = "^4.0", optional = true }
|
|
40
36
|
flake8 = { version = "^5.0.4", optional = true }
|
|
41
37
|
|
|
42
|
-
|
|
43
38
|
[tool.poetry.extras]
|
|
44
39
|
dev = [
|
|
45
40
|
"boto3",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "6.97.0"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|