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
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -137,7 +137,7 @@ The derived value is generated only from the first value of the metric and it is
137
137
See how it works in the example: [examples/4-RateDerivedMetric.cxx](examples/4-RateDerivedMetric.cxx).
138
138
139
139
### Global tags
140
-
Global tags are added to each metric sent using given monitoring instance. Two tags: `hostname` and `name` (process name) are set as global by default.
140
+
Global tags are added to each metric sent using given monitoring instance. `hostname` is set as global by default.
141
141
142
142
You can add your own global tag by calling `addGlobalTag(std::string_view key, std::string_view value)` or `addGlobalTag(tags::Key, tags::Value)`.
143
143
@@ -148,10 +148,10 @@ This feature provides basic performance status of the process. Note that is runs
148
148
```cpp
149
149
enableProcessMonitoring([interval in seconds]);
150
150
```
151
-
The following metrics are generated every interval:
152
-
+**cpuUsedPercentage** - percentage of a core usage over time interval
153
-
+**involuntaryContextSwitches** - involuntary context switches over time interval
154
-
+**memoryUsagePercentage** - ratio of the process's resident set size to the physical memory on the machine, expressed as a percentage (Linux only)
151
+
The `processPerformance` metric is generated every interval with following values:
152
+
+**cpu_used_pct** - percentage of a core usage over time interval
153
+
+**involuntary_context_switches** - involuntary context switches over time interval
154
+
+**memory_used_pct** - ratio of the process's resident set size to the physical memory on the machine, expressed as a percentage (Linux only)
0 commit comments