You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 2, 2025. It is now read-only.
To avoid dropping the ``_Total`` instance, you must configure the receiver to collect it individually on its own metric.
316
+
317
+
For example:
318
+
319
+
.. code-block:: yaml
320
+
321
+
windowsperfcounters:
322
+
metrics:
323
+
processor.time.total:
324
+
description: Total CPU active and idle time
325
+
unit: "%"
326
+
gauge:
327
+
collection_interval: 30s
328
+
perfcounters:
329
+
- object: "Processor"
330
+
instances:
331
+
- "_Total"
332
+
counters:
333
+
- name: "% Processor Time"
334
+
metric: processor.time.total
335
+
336
+
.. warning::
337
+
338
+
When using an ``instance`` value of ``"*"``, if the counter uses a value other than ``_Total``, make sure to avoid double counting when aggregating metrics after the receiver scrapes them.
0 commit comments