datadog-checks-base 37.10.0__py2.py3-none-any.whl → 37.11.0__py2.py3-none-any.whl
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_checks/base/__about__.py +1 -1
- datadog_checks/base/checks/kubelet_base/base.py +3 -3
- datadog_checks/base/utils/agent/memory.py +2 -2
- {datadog_checks_base-37.10.0.dist-info → datadog_checks_base-37.11.0.dist-info}/METADATA +8 -8
- {datadog_checks_base-37.10.0.dist-info → datadog_checks_base-37.11.0.dist-info}/RECORD +6 -6
- {datadog_checks_base-37.10.0.dist-info → datadog_checks_base-37.11.0.dist-info}/WHEEL +0 -0
datadog_checks/base/__about__.py
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
# All rights reserved
|
|
3
3
|
# Licensed under a 3-clause BSD style license (see LICENSE)
|
|
4
4
|
import json
|
|
5
|
-
from datetime import datetime, timedelta
|
|
5
|
+
from datetime import datetime, timedelta, timezone
|
|
6
6
|
|
|
7
|
-
from ...utils.date import
|
|
7
|
+
from ...utils.date import parse_rfc3339
|
|
8
8
|
from .. import AgentCheck
|
|
9
9
|
|
|
10
10
|
try:
|
|
@@ -70,7 +70,7 @@ class KubeletBase(AgentCheck):
|
|
|
70
70
|
seconds = int(get_config("kubernetes_pod_expiration_duration"))
|
|
71
71
|
if seconds == 0: # Expiration disabled
|
|
72
72
|
return None
|
|
73
|
-
return datetime.
|
|
73
|
+
return datetime.now(timezone.utc) - timedelta(seconds=seconds)
|
|
74
74
|
except (ValueError, TypeError):
|
|
75
75
|
return None
|
|
76
76
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import gc
|
|
5
5
|
import linecache
|
|
6
6
|
import os
|
|
7
|
-
from datetime import datetime
|
|
7
|
+
from datetime import datetime, timezone
|
|
8
8
|
|
|
9
9
|
from binary import BinaryUnits, convert_units
|
|
10
10
|
|
|
@@ -44,7 +44,7 @@ def get_sign(n):
|
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
def get_timestamp_filename(prefix):
|
|
47
|
-
return '{}_{}'.format(prefix, datetime.
|
|
47
|
+
return '{}_{}'.format(prefix, datetime.now(timezone.utc).strftime('%Y-%m-%dT%H-%M-%S_%f'))
|
|
48
48
|
|
|
49
49
|
|
|
50
50
|
def parse_package_path(path):
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: datadog-checks-base
|
|
3
|
-
Version: 37.
|
|
3
|
+
Version: 37.11.0
|
|
4
4
|
Summary: The Datadog Check Toolkit
|
|
5
5
|
Project-URL: Source, https://github.com/DataDog/integrations-core
|
|
6
6
|
Author-email: Datadog <packages@datadoghq.com>
|
|
@@ -17,25 +17,25 @@ Requires-Dist: mmh3==5.1.0; extra == 'db'
|
|
|
17
17
|
Provides-Extra: deps
|
|
18
18
|
Requires-Dist: binary==1.0.1; extra == 'deps'
|
|
19
19
|
Requires-Dist: cachetools==5.5.2; extra == 'deps'
|
|
20
|
-
Requires-Dist: cryptography==44.0.
|
|
20
|
+
Requires-Dist: cryptography==44.0.3; extra == 'deps'
|
|
21
21
|
Requires-Dist: ddtrace==2.21.4; extra == 'deps'
|
|
22
|
-
Requires-Dist: jellyfish==1.
|
|
22
|
+
Requires-Dist: jellyfish==1.2.0; extra == 'deps'
|
|
23
23
|
Requires-Dist: lazy-loader==0.4; extra == 'deps'
|
|
24
24
|
Requires-Dist: prometheus-client==0.21.1; extra == 'deps'
|
|
25
25
|
Requires-Dist: protobuf==6.30.2; extra == 'deps'
|
|
26
|
-
Requires-Dist: pydantic==2.11.
|
|
26
|
+
Requires-Dist: pydantic==2.11.4; extra == 'deps'
|
|
27
27
|
Requires-Dist: python-dateutil==2.9.0.post0; extra == 'deps'
|
|
28
28
|
Requires-Dist: pywin32==310; (sys_platform == 'win32') and extra == 'deps'
|
|
29
29
|
Requires-Dist: pyyaml==6.0.2; extra == 'deps'
|
|
30
30
|
Requires-Dist: requests-toolbelt==1.0.0; extra == 'deps'
|
|
31
|
-
Requires-Dist: requests-unixsocket2==0.
|
|
31
|
+
Requires-Dist: requests-unixsocket2==1.0.0; extra == 'deps'
|
|
32
32
|
Requires-Dist: requests==2.32.3; extra == 'deps'
|
|
33
33
|
Requires-Dist: simplejson==3.20.1; extra == 'deps'
|
|
34
|
-
Requires-Dist: urllib3==2.
|
|
34
|
+
Requires-Dist: urllib3==2.4.0; extra == 'deps'
|
|
35
35
|
Requires-Dist: wrapt==1.17.2; extra == 'deps'
|
|
36
36
|
Provides-Extra: http
|
|
37
37
|
Requires-Dist: aws-requests-auth==0.4.3; extra == 'http'
|
|
38
|
-
Requires-Dist: botocore==1.
|
|
38
|
+
Requires-Dist: botocore==1.38.8; extra == 'http'
|
|
39
39
|
Requires-Dist: oauthlib==3.2.2; extra == 'http'
|
|
40
40
|
Requires-Dist: pyjwt==2.10.1; extra == 'http'
|
|
41
41
|
Requires-Dist: pyopenssl==25.0.0; extra == 'http'
|
|
@@ -44,7 +44,7 @@ Requires-Dist: requests-kerberos==0.15.0; extra == 'http'
|
|
|
44
44
|
Requires-Dist: requests-ntlm==1.3.0; extra == 'http'
|
|
45
45
|
Requires-Dist: requests-oauthlib==2.0.0; extra == 'http'
|
|
46
46
|
Provides-Extra: json
|
|
47
|
-
Requires-Dist: orjson==3.10.
|
|
47
|
+
Requires-Dist: orjson==3.10.18; extra == 'json'
|
|
48
48
|
Provides-Extra: kube
|
|
49
49
|
Requires-Dist: kubernetes==32.0.1; extra == 'kube'
|
|
50
50
|
Requires-Dist: requests-oauthlib==2.0.0; extra == 'kube'
|
|
@@ -3,7 +3,7 @@ datadog_checks/config.py,sha256=PrAXGdlLnoV2VMQff_noSaSJJ0wg4BAiGnw7jCQLSik,196
|
|
|
3
3
|
datadog_checks/errors.py,sha256=eFwmnrX-batIgbu-iJyseqAPNO_4rk1UuaKK89evLhg,155
|
|
4
4
|
datadog_checks/log.py,sha256=orvOgMKGNEsqSTLalCAQpWP-ouorpG1A7Gn-j2mRD80,301
|
|
5
5
|
datadog_checks/py.typed,sha256=la67KBlbjXN-_-DfGNcdOcjYumVpKG_Tkw-8n5dnGB4,8
|
|
6
|
-
datadog_checks/base/__about__.py,sha256=
|
|
6
|
+
datadog_checks/base/__about__.py,sha256=srxpABIhkeWLkQQZi7RYzUtUDdzgPlmcPkUUXBbeLjo,139
|
|
7
7
|
datadog_checks/base/__init__.py,sha256=yWegSLE-TZWIGSvAiJj9PSrUxzlOo_UVJLt2zORZ8Ek,363
|
|
8
8
|
datadog_checks/base/__init__.pyi,sha256=eH8XhrtvnD6uE6FWfEyCmKwOaaLJxNolS08D6IRHZuU,995
|
|
9
9
|
datadog_checks/base/agent.py,sha256=nX9x_BYYizRKGNYfXq5z7S0FZ9xcX_wd2tuxpGe3_8k,350
|
|
@@ -23,7 +23,7 @@ datadog_checks/base/checks/kube_leader/mixins.py,sha256=YRrLqclphm9P7KUq2JsFdX2h
|
|
|
23
23
|
datadog_checks/base/checks/kube_leader/record.py,sha256=aqM0VFsFWu2pA0O5ds-6v5WQOM7lgQMyGwom6Q6qCaU,3825
|
|
24
24
|
datadog_checks/base/checks/kubelet_base/__init__.py,sha256=1wYk1GS86jfv3-_Uy4zbJvuOAYPuy9y49FD0KIRVlQw,211
|
|
25
25
|
datadog_checks/base/checks/kubelet_base/__init__.pyi,sha256=C-xJZ8zucbG7yAwts7J-SBneesG-TPgL1bBrFm4L8vc,172
|
|
26
|
-
datadog_checks/base/checks/kubelet_base/base.py,sha256=
|
|
26
|
+
datadog_checks/base/checks/kubelet_base/base.py,sha256=akbNjduqdZhTDDYI6dgcrL6ER5PuYMOjVa6XkfFrVlM,6758
|
|
27
27
|
datadog_checks/base/checks/libs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
28
28
|
datadog_checks/base/checks/libs/prometheus.py,sha256=CPiXzSaqFxk818NtTALRJRGZ6np4nusKQsfUu3ISt90,4055
|
|
29
29
|
datadog_checks/base/checks/libs/thread_pool.py,sha256=mBIZ3GP-RS-WB14PyRS-4UEXlzVGMXnkv8k-LCC4urc,24570
|
|
@@ -128,7 +128,7 @@ datadog_checks/base/utils/tracking.py,sha256=FYIouqu3KB-JsxgxM1iX5Ipv_cWhs8zQOTN
|
|
|
128
128
|
datadog_checks/base/utils/agent/__init__.py,sha256=o3aWvy3PhykD_h7YT3s628O0W2YpHis0NlQsSV1PI04,115
|
|
129
129
|
datadog_checks/base/utils/agent/common.py,sha256=1XRsPJWdpmbxAKKBVHGBPUm4WHdviq0ovuggtpx7LWo,217
|
|
130
130
|
datadog_checks/base/utils/agent/debug.py,sha256=zeBbNLt3Y_Wxpf9OdAklldLy1gmL0U6bMDmOHSDGM3M,2274
|
|
131
|
-
datadog_checks/base/utils/agent/memory.py,sha256=
|
|
131
|
+
datadog_checks/base/utils/agent/memory.py,sha256=9vNaIZFIWbdT_a7L7xnnfxLzJGBSV55YNLDGTdTR7yU,10533
|
|
132
132
|
datadog_checks/base/utils/agent/packages.py,sha256=mpkkq01sizzz-0Mdbd_t_deMakHAX1oiZ1rSFGD-luE,531
|
|
133
133
|
datadog_checks/base/utils/agent/utils.py,sha256=FV_o6rccU5B0MrXyma-4yAqmKghklzTeOf1nhYcmY7o,1360
|
|
134
134
|
datadog_checks/base/utils/concurrency/__init__.py,sha256=ORssE5bXZuYua5UCLesGfPvcrQKcADHaDsXrUyfARF0,115
|
|
@@ -217,6 +217,6 @@ datadog_checks/utils/tracing.py,sha256=HQbQakKM-Lw75MDkItaYJYipS6YO24Z_ymDVxDsx5
|
|
|
217
217
|
datadog_checks/utils/prometheus/__init__.py,sha256=8WwXnM9g1sfS5267QYCJX_hd8MZl5kRgBgQ_SzdNdXs,161
|
|
218
218
|
datadog_checks/utils/prometheus/functions.py,sha256=4vWsTGLgujHwdYZo0tlAQkqDPHofqUJM3k9eItJqERQ,197
|
|
219
219
|
datadog_checks/utils/prometheus/metrics_pb2.py,sha256=xg3UdUHe4TjeR4s13LUKZ2U1WVSt6U6zjsVRG6lX6dc,173
|
|
220
|
-
datadog_checks_base-37.
|
|
221
|
-
datadog_checks_base-37.
|
|
222
|
-
datadog_checks_base-37.
|
|
220
|
+
datadog_checks_base-37.11.0.dist-info/METADATA,sha256=PPKFPfFsvt81_j-ZqaHDQNu_GAHqoaG8xGHggastBes,4245
|
|
221
|
+
datadog_checks_base-37.11.0.dist-info/WHEEL,sha256=tkmg4JIqwd9H8mL30xA7crRmoStyCtGp0VWshokd1Jc,105
|
|
222
|
+
datadog_checks_base-37.11.0.dist-info/RECORD,,
|
|
File without changes
|