Skip to content

Commit bea9729

Browse files
authored
Attribute standarization (#128)
* Add extension to the uploaded attachment * Standarize attributes
1 parent 2089388 commit bea9729

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Sources/Features/Attributes/DefaultAttributes.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ struct ProcessorInfo: AttributesSource {
4040
"cpu.idle": processor?.cpuTicks.idle,
4141
"cpu.nice": processor?.cpuTicks.nice,
4242
"cpu.user": processor?.cpuTicks.user,
43-
"cpu.system": processor?.cpuTicks.system,
43+
"cpu.sys": processor?.cpuTicks.system,
4444
"cpu.process.count": processor?.processorSetLoadInfo.task_count,
4545
"cpu.thread.count": processor?.processorSetLoadInfo.thread_count,
4646
"cpu.uptime": try? System.uptime(),
@@ -63,9 +63,9 @@ struct ProcessorInfo: AttributesSource {
6363
"system.memory.swap.used": systemSwapMemory?.used,
6464
"system.memory.swap.free": systemSwapMemory?.free,
6565
// vm
66-
"process.vm.rss.size": processVmMemory?.resident,
67-
"process.vm.rss.peak": processVmMemory?.residentPeak,
68-
"process.vm.vma.size": processVmMemory?.virtual
66+
"vm.rss.size": processVmMemory?.resident,
67+
"vm.rss.peak": processVmMemory?.residentPeak,
68+
"vm.vma.size": processVmMemory?.virtual
6969
]
7070
}
7171

0 commit comments

Comments
 (0)