Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions NOTICE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10941,11 +10941,11 @@ SOFTWARE

--------------------------------------------------------------------------------
Dependency : github.com/elastic/elastic-agent-libs
Version: v0.26.2
Version: v0.28.0
Licence type (autodetected): Apache-2.0
--------------------------------------------------------------------------------

Contents of probable licence file $GOMODCACHE/github.com/elastic/elastic-agent-libs@v0.26.2/LICENSE:
Contents of probable licence file $GOMODCACHE/github.com/elastic/elastic-agent-libs@v0.28.0/LICENSE:

Apache License
Version 2.0, January 2004
Expand Down Expand Up @@ -11152,11 +11152,11 @@ Contents of probable licence file $GOMODCACHE/github.com/elastic/elastic-agent-l

--------------------------------------------------------------------------------
Dependency : github.com/elastic/elastic-agent-system-metrics
Version: v0.13.4
Version: v0.13.5
Licence type (autodetected): Apache-2.0
--------------------------------------------------------------------------------

Contents of probable licence file $GOMODCACHE/github.com/elastic/elastic-agent-system-metrics@v0.13.4/LICENSE.txt:
Contents of probable licence file $GOMODCACHE/github.com/elastic/elastic-agent-system-metrics@v0.13.5/LICENSE.txt:

Apache License
Version 2.0, January 2004
Expand Down Expand Up @@ -30674,13 +30674,13 @@ Contents of probable licence file $GOMODCACHE/go.uber.org/mock@v0.5.0/LICENSE:

--------------------------------------------------------------------------------
Dependency : go.uber.org/zap
Version: v1.27.0
Version: v1.27.1
Licence type (autodetected): MIT
--------------------------------------------------------------------------------

Contents of probable licence file $GOMODCACHE/go.uber.org/zap@v1.27.0/LICENSE:
Contents of probable licence file $GOMODCACHE/go.uber.org/zap@v1.27.1/LICENSE:

Copyright (c) 2016-2017 Uber Technologies, Inc.
Copyright (c) 2016-2024 Uber Technologies, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# REQUIRED
# Kind can be one of:
# - breaking-change: a change to previously-documented behavior
# - deprecation: functionality that is being removed in a later release
# - bug-fix: fixes a problem in a previous version
# - enhancement: extends functionality but does not break or fix existing behavior
# - feature: new functionality
# - known-issue: problems that we are aware of in a given version
# - security: impacts on the security of a product or a user’s deployment.
# - upgrade: important information for someone upgrading from a prior version
# - other: does not fit into any of the other categories
kind: enhancement

# REQUIRED for all kinds
# Change summary; a 80ish characters long description of the change.
summary: Report memory pressure stall information (PSI) for cgroup v2

# REQUIRED for breaking-change, deprecation, known-issue
# Long description; in case the summary is not enough to describe the change
# this field accommodate a description without length limits.
description: "Add memory PSI metrics to system.process.cgroup, complementing existing CPU and IO pressure metrics for cgroupv2"

# REQUIRED for breaking-change, deprecation, known-issue
# impact:

# REQUIRED for breaking-change, deprecation, known-issue
# action:

# REQUIRED for all kinds
# Affected component; usually one of "elastic-agent", "fleet-server", "filebeat", "metricbeat", "auditbeat", "all", etc.
component: metricbeat

# AUTOMATED
# OPTIONAL to manually add other PR URLs
# PR URL: A link the PR that added the changeset.
# If not present is automatically filled by the tooling finding the PR where this changelog fragment has been added.
# NOTE: the tooling supports backports, so it's able to fill the original PR number instead of the backport PR number.
# Please provide it if you are adding a fragment for a different PR.
# pr: https://github.com/owner/repo/1234

# AUTOMATED
# OPTIONAL to manually add other issue URLs
# Issue URL; optional; the GitHub issue related to this changeset (either closes or is part of).
# If not present is automatically filled by the tooling with the issue linked to the PR number.
# issue: https://github.com/owner/repo/1234
84 changes: 84 additions & 0 deletions docs/reference/metricbeat/exported-fields-system.md
Original file line number Diff line number Diff line change
Expand Up @@ -1811,6 +1811,90 @@ number of times the controller tripped a given usage level
format: bytes


## pressure [_pressure]

```{applies_to}
stack: ga 9.3.0
```

Pressure (resource contention) stats.

## some [_some]

```{applies_to}
stack: ga 9.3.0
```

Share of time in which at least some tasks are stalled on a given resource

**`system.process.cgroup.memory.pressure.some.10.pct`**
: Pressure over 10 seconds

type: float

format: percent


**`system.process.cgroup.memory.pressure.some.60.pct`**
: Pressure over 60 seconds

type: float

format: percent


**`system.process.cgroup.memory.pressure.some.300.pct`**
: Pressure over 300 seconds

type: float

format: percent


**`system.process.cgroup.memory.pressure.some.total`**
: total Some pressure time

type: long


## full [_full]

```{applies_to}
stack: ga 9.3.0
```

Share of time in which all non-idle tasks are stalled on a given resource simultaneously

**`system.process.cgroup.memory.pressure.full.10.pct`**
: Pressure over 10 seconds

type: float

format: percent


**`system.process.cgroup.memory.pressure.full.60.pct`**
: Pressure over 60 seconds

type: float

format: percent


**`system.process.cgroup.memory.pressure.full.300.pct`**
: Pressure over 300 seconds

type: float

format: percent


**`system.process.cgroup.memory.pressure.full.total`**
: total Full pressure time

type: long


## blkio [_blkio]

Block IO metrics.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,32 @@ Here is an example document generated by this metricset:
"workingset_refault_file": 0,
"workingset_restore_anon": 0,
"workingset_restore_file": 0
},
"pressure": {
"full": {
"10": {
"pct": 0
},
"300": {
"pct": 0
},
"60": {
"pct": 0
},
"total": 0
},
"some": {
"10": {
"pct": 0
},
"300": {
"pct": 0
},
"60": {
"pct": 0
},
"total": 0
}
}
},
"path": "/user.slice/user-1000.slice/session-426.scope"
Expand Down
6 changes: 3 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ require (
go.elastic.co/go-licence-detector v0.7.0
go.etcd.io/bbolt v1.4.0
go.uber.org/multierr v1.11.0 // indirect
go.uber.org/zap v1.27.0
go.uber.org/zap v1.27.1
golang.org/x/crypto v0.45.0
golang.org/x/mod v0.29.0
golang.org/x/net v0.47.0
Expand Down Expand Up @@ -172,8 +172,8 @@ require (
github.com/elastic/bayeux v1.0.5
github.com/elastic/ebpfevents v0.8.0
github.com/elastic/elastic-agent-autodiscover v0.10.0
github.com/elastic/elastic-agent-libs v0.26.2
github.com/elastic/elastic-agent-system-metrics v0.13.4
github.com/elastic/elastic-agent-libs v0.28.0
github.com/elastic/elastic-agent-system-metrics v0.13.5
github.com/elastic/go-elasticsearch/v8 v8.19.0
github.com/elastic/go-freelru v0.16.0
github.com/elastic/go-quark v0.3.0
Expand Down
12 changes: 6 additions & 6 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -374,10 +374,10 @@ github.com/elastic/elastic-agent-autodiscover v0.10.0 h1:WJ4zl9uSfk1kHmn2B/0byQB
github.com/elastic/elastic-agent-autodiscover v0.10.0/go.mod h1:Nf3zh9FcJ9nTTswTwDTUAqXmvQllOrNliM6xmORSxwE=
github.com/elastic/elastic-agent-client/v7 v7.15.0 h1:nDB7v8TBoNuD6IIzC3z7Q0y+7bMgXoT2DsHfolO2CHE=
github.com/elastic/elastic-agent-client/v7 v7.15.0/go.mod h1:6h+f9QdIr3GO2ODC0Y8+aEXRwzbA5W4eV4dd/67z7nI=
github.com/elastic/elastic-agent-libs v0.26.2 h1:zwytPWmTWSJG80oa9/5FJ6zue47ysI23eMo15LfeWy0=
github.com/elastic/elastic-agent-libs v0.26.2/go.mod h1:fc2noLqosmQorIGbatJfVeh4CL77yiP8ot16/5umeoM=
github.com/elastic/elastic-agent-system-metrics v0.13.4 h1:gX8VdlQyakPcPKFpD7uHv2QLRDyguuKfZgu0LE27V7c=
github.com/elastic/elastic-agent-system-metrics v0.13.4/go.mod h1:lB8veYWYBlA9eF6TahmPN87G1IEgWlbep7QSqLSW90U=
github.com/elastic/elastic-agent-libs v0.28.0 h1:UDL9aSxgjqC9TrHAEHgI8gtuhRYPM/1gSfh7ztHWWLw=
github.com/elastic/elastic-agent-libs v0.28.0/go.mod h1:0xUg7alsNE/WhY9DZRIdTYW75nqSHC1octIAg//j/PQ=
github.com/elastic/elastic-agent-system-metrics v0.13.5 h1:VPTkk3C0ixsgqhAS2S++0/BKe+X6tYn+GzHbBLVuiO4=
github.com/elastic/elastic-agent-system-metrics v0.13.5/go.mod h1:JNfnZrC0viAjlJRUzQKKuMpDlXgjXBn4WdWEXQF7jcA=
github.com/elastic/elastic-transport-go/v8 v8.7.0 h1:OgTneVuXP2uip4BA658Xi6Hfw+PeIOod2rY3GVMGoVE=
github.com/elastic/elastic-transport-go/v8 v8.7.0/go.mod h1:YLHer5cj0csTzNFXoNQ8qhtGY1GTvSqPnKWKaqQE3Hk=
github.com/elastic/fsevents v0.0.0-20181029231046-e1d381a4d270 h1:cWPqxlPtir4RoQVCpGSRXmLqjEHpJKbR60rxh1nQZY4=
Expand Down Expand Up @@ -1238,8 +1238,8 @@ go.uber.org/multierr v1.11.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN8
go.uber.org/ratelimit v0.3.1 h1:K4qVE+byfv/B3tC+4nYWP7v/6SimcO7HzHekoMNBma0=
go.uber.org/ratelimit v0.3.1/go.mod h1:6euWsTB6U/Nb3X++xEUXA8ciPJvr19Q/0h1+oDcJhRk=
go.uber.org/zap v1.24.0/go.mod h1:2kMP+WWQ8aoFoedH3T2sq6iJ2yDWpHbP0f6MQbS9Gkg=
go.uber.org/zap v1.27.0 h1:aJMhYGrd5QSmlpLMr2MftRKl7t8J8PTZPA732ud/XR8=
go.uber.org/zap v1.27.0/go.mod h1:GB2qFLM7cTU87MWRP2mPIjqfIDnGu+VIO4V/SdhGo2E=
go.uber.org/zap v1.27.1 h1:08RqriUEv8+ArZRYSTXy1LeBScaMpVSTBhCeaZYfMYc=
go.uber.org/zap v1.27.1/go.mod h1:GB2qFLM7cTU87MWRP2mPIjqfIDnGu+VIO4V/SdhGo2E=
go.yaml.in/yaml/v2 v2.4.3 h1:6gvOSjQoTB3vt1l+CU+tSyi/HOjfOjRLJ4YwYZGwRO0=
go.yaml.in/yaml/v2 v2.4.3/go.mod h1:zSxWcmIDjOzPXpjlTTbAsKokqkDNAVtZO0WOMiT90s8=
go.yaml.in/yaml/v3 v3.0.4 h1:tfq32ie2Jv2UxXFdLJdh3jXuOzWiL1fo0bu/FbuKpbc=
Expand Down
Loading
Loading