datadog-checks-base 37.25.0__py2.py3-none-any.whl → 37.26.1__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.
@@ -1,4 +1,4 @@
1
1
  # (C) Datadog, Inc. 2018-present
2
2
  # All rights reserved
3
3
  # Licensed under a 3-clause BSD style license (see LICENSE)
4
- __version__ = "37.25.0"
4
+ __version__ = "37.26.1"
@@ -51,7 +51,9 @@ class PerfObject:
51
51
  f'Pattern #{i} of option `include` for performance object `{self.name}` must be a string'
52
52
  )
53
53
 
54
- self.include_pattern = re.compile('|'.join(include_patterns))
54
+ # Instance names are not case-sensitive, so instances should not have names that differ only in case.
55
+ # See: https://learn.microsoft.com/en-us/windows/win32/perfctrs/about-performance-counters
56
+ self.include_pattern = re.compile('|'.join(include_patterns), re.IGNORECASE)
55
57
 
56
58
  # List of regex patterns to filter multi-instance counters AFTER ALL data
57
59
  # is collected and retrieved from PDH layer
@@ -67,7 +69,9 @@ class PerfObject:
67
69
 
68
70
  final_exclude_patterns = [r'\b_Total\b']
69
71
  final_exclude_patterns.extend(exclude_patterns)
70
- self.exclude_pattern = re.compile('|'.join(final_exclude_patterns))
72
+ # Instance names are not case-sensitive, so instances should not have names that differ only in case.
73
+ # See: https://learn.microsoft.com/en-us/windows/win32/perfctrs/about-performance-counters
74
+ self.exclude_pattern = re.compile('|'.join(final_exclude_patterns), re.IGNORECASE)
71
75
 
72
76
  # List of wildcards or instance name directly to filter multi-instance counters by PDH layer itself.
73
77
  # Thus it is faster and and less resource intensive than regex-based include filtering.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: datadog-checks-base
3
- Version: 37.25.0
3
+ Version: 37.26.1
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>
@@ -31,7 +31,7 @@ Requires-Dist: requests-toolbelt==1.0.0; extra == 'deps'
31
31
  Requires-Dist: requests-unixsocket2==1.0.0; extra == 'deps'
32
32
  Requires-Dist: requests==2.32.5; extra == 'deps'
33
33
  Requires-Dist: simplejson==3.20.1; extra == 'deps'
34
- Requires-Dist: urllib3==2.6.0; extra == 'deps'
34
+ Requires-Dist: urllib3==2.6.2; extra == 'deps'
35
35
  Requires-Dist: wrapt==1.17.3; extra == 'deps'
36
36
  Provides-Extra: http
37
37
  Requires-Dist: aws-requests-auth==0.4.3; extra == 'http'
@@ -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=UL9aTHTUjTTK6RF8ScHz9-_o7OyqLGhMUqRtWEbB6DE,139
6
+ datadog_checks/base/__about__.py,sha256=I3N9oUsUKV4cxvZ3Gs7ZMRky78Z_nvOjpP7cjho4XXI,139
7
7
  datadog_checks/base/__init__.py,sha256=yWegSLE-TZWIGSvAiJj9PSrUxzlOo_UVJLt2zORZ8Ek,363
8
8
  datadog_checks/base/__init__.pyi,sha256=a4Y1JIcPJ8pz9tRkBAvjWdtvSQwZxbMZBuRmIiSs_4E,1031
9
9
  datadog_checks/base/agent.py,sha256=nX9x_BYYizRKGNYfXq5z7S0FZ9xcX_wd2tuxpGe3_8k,350
@@ -84,7 +84,7 @@ datadog_checks/base/checks/windows/perf_counters/__init__.py,sha256=xM7W2r2ht-Kx
84
84
  datadog_checks/base/checks/windows/perf_counters/base.py,sha256=cXbQVwb496B-kuHaAM3fE3X33LMUbKoYC4FSSJKJrbc,7934
85
85
  datadog_checks/base/checks/windows/perf_counters/connection.py,sha256=mG7TdSfSZkXFR6eU4Y-49K4ELJiqer6Cw4Y6FxeKEQY,3998
86
86
  datadog_checks/base/checks/windows/perf_counters/constants.py,sha256=_aqAbatcu9eQv9NqbVCaQ9c5S-HkkiUERV5oqC3Dl5k,587
87
- datadog_checks/base/checks/windows/perf_counters/counter.py,sha256=-qDXCf4Vsh2rd4-MLyG8H7czW6bd_SP8pypKGlwZSU8,33754
87
+ datadog_checks/base/checks/windows/perf_counters/counter.py,sha256=UTZ-C1a1FCq47pgVYhbF2nSBVUMsnZjSRzmeS8Wh32I,34218
88
88
  datadog_checks/base/checks/windows/perf_counters/transform.py,sha256=bZPxftDw0d1VFX49yiFIa-naGOYlKcMgpvueSRkgEz8,770
89
89
  datadog_checks/base/checks/windows/perf_counters/utils.py,sha256=ov-48JNvZQ6KPEZxz6X0IYcAl3bVAFnM15-vlGfqsY0,4359
90
90
  datadog_checks/base/checks/windows/perf_counters/utils_win32pdh_fix.py,sha256=nWTrAbB9VAD_DaaTrSBV2KDmBvipGFmI04-wDfnxUa8,7122
@@ -224,6 +224,6 @@ datadog_checks/utils/tracing.py,sha256=HQbQakKM-Lw75MDkItaYJYipS6YO24Z_ymDVxDsx5
224
224
  datadog_checks/utils/prometheus/__init__.py,sha256=8WwXnM9g1sfS5267QYCJX_hd8MZl5kRgBgQ_SzdNdXs,161
225
225
  datadog_checks/utils/prometheus/functions.py,sha256=4vWsTGLgujHwdYZo0tlAQkqDPHofqUJM3k9eItJqERQ,197
226
226
  datadog_checks/utils/prometheus/metrics_pb2.py,sha256=xg3UdUHe4TjeR4s13LUKZ2U1WVSt6U6zjsVRG6lX6dc,173
227
- datadog_checks_base-37.25.0.dist-info/METADATA,sha256=tUMpdeLQ-5voW-yMgWX14xArbGXFO3LiRSvImIGyF1Y,4245
228
- datadog_checks_base-37.25.0.dist-info/WHEEL,sha256=aha0VrrYvgDJ3Xxl3db_g_MDIW-ZexDdrc_m-Hk8YY4,105
229
- datadog_checks_base-37.25.0.dist-info/RECORD,,
227
+ datadog_checks_base-37.26.1.dist-info/METADATA,sha256=L9sUohTuOop_73TNlDFcWiYXVrM2Q3Ae8CRruSqbMMQ,4245
228
+ datadog_checks_base-37.26.1.dist-info/WHEEL,sha256=aha0VrrYvgDJ3Xxl3db_g_MDIW-ZexDdrc_m-Hk8YY4,105
229
+ datadog_checks_base-37.26.1.dist-info/RECORD,,