Skip to content

Commit

Permalink
Use memory instead of mem as metric name prefix (#226)
Browse files Browse the repository at this point in the history
  • Loading branch information
awegrzyn authored Jan 8, 2021
1 parent 0686589 commit 703d143
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ endif()

# Define project
project(Monitoring
VERSION 3.5.0
VERSION 3.5.1
DESCRIPTION "O2 Monitoring library"
LANGUAGES CXX
)
Expand Down
2 changes: 1 addition & 1 deletion include/Monitoring/ProcessMonitor.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class ProcessMonitor
static constexpr const char* metricsNames[] = {"memoryUsagePercentage", "virtualMemorySize", "residentSetSize",
"cpuUsedPercentage", "involuntaryContextSwitches", "voluntaryContextSwitches", "cpuUsedAbsolute",
"averageResidentSetSize", "averageVirtualMemorySize", "averageCpuUsedPercentage",
"cpuTimeConsumedByProcess", "proportionalSetSize", "memPrivateClean", "memPrivateDirty"};
"cpuTimeConsumedByProcess", "proportionalSetSize", "memoryPrivateClean", "memoryPrivateDirty"};

static constexpr unsigned int VM_SIZE_INDEX = 18;
static constexpr unsigned int VM_RSS_INDEX = 22;
Expand Down

0 comments on commit 703d143

Please sign in to comment.