Skip to content

Commit

Permalink
Add container metrics fields from ECS
Browse files Browse the repository at this point in the history
Signed-off-by: ChrsMark <chrismarkou92@gmail.com>
  • Loading branch information
ChrsMark committed Jun 6, 2023
1 parent d6d2952 commit 8a10c6f
Showing 1 changed file with 54 additions and 0 deletions.
54 changes: 54 additions & 0 deletions semantic_conventions/resource/container.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,57 @@ groups:
brief: >
Container image tag.
examples: ['0.1']
- id: cpu.usage
type: metric
metric_name: container.cpu.usage
brief: "Recent CPU utilization for the container."
note: >
CPU usage percentage normalized by the number of CPU cores.
The value range is [0.0,1.0].
instrument: gauge
unit: "1"
- id: memory.usage
type: metric
metric_name: container.memory.usage
brief: "Recent memory utilization for the container."
note: >
Memory usage percentage.
The value range is [0.0,1.0].
instrument: gauge
unit: "1"
- id: disk.read.bytes
type: metric
metric_name: container.disk.read.bytes
brief: "Disk read bytes for the container."
note: >
The total number of bytes read successfully (aggregated from all disks)
since the last metric collection.
instrument: gauge
unit: "By"
- id: disk.write.bytes
type: metric
metric_name: container.disk.write.bytes
brief: "Disk write bytes for the container."
note: >
The total number of bytes written successfully (aggregated from all disks)
since the last metric collection.
instrument: gauge
unit: "By"
- id: network.ingress.bytes
type: metric
metric_name: container.network.ingress.bytes
brief: "Network ingress bytes for the container."
note: >
The number of bytes sent out on all network interfaces
by the container since the last metric collection.
instrument: gauge
unit: "By"
- id: network.egress.bytes
type: metric
metric_name: container.network.egress.bytes
brief: "Network egress bytes for the container."
note: >
The number of bytes received on all network interfaces
by the container since the last metric collection.
instrument: gauge
unit: "By"

0 comments on commit 8a10c6f

Please sign in to comment.