datadog-checks-base 37.26.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.
- datadog_checks/base/__about__.py +1 -1
- datadog_checks/base/checks/windows/perf_counters/counter.py +6 -2
- {datadog_checks_base-37.26.0.dist-info → datadog_checks_base-37.26.1.dist-info}/METADATA +1 -1
- {datadog_checks_base-37.26.0.dist-info → datadog_checks_base-37.26.1.dist-info}/RECORD +5 -5
- {datadog_checks_base-37.26.0.dist-info → datadog_checks_base-37.26.1.dist-info}/WHEEL +0 -0
datadog_checks/base/__about__.py
CHANGED
|
@@ -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
|
-
|
|
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
|
-
|
|
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.
|
|
@@ -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=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
|
|
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.26.
|
|
228
|
-
datadog_checks_base-37.26.
|
|
229
|
-
datadog_checks_base-37.26.
|
|
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,,
|
|
File without changes
|