-
Notifications
You must be signed in to change notification settings - Fork 5k
Use optional values for docker memory metrics #41449
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
fearful-symmetry
merged 5 commits into
elastic:main
from
fearful-symmetry:docker_memory_rss_fixes
Nov 1, 2024
Merged
Changes from 4 commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
e09dc2d
use opt values for docker memory metrics
fearful-symmetry 2a078ae
fix vars, comments
fearful-symmetry fb6ed0a
add changelog
fearful-symmetry 4c97646
Merge remote-tracking branch 'upstream/main' into docker_memory_rss_f…
fearful-symmetry 002dabc
spelling
fearful-symmetry File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,83 +1,88 @@ | ||
| { | ||
| "@timestamp": "2017-10-12T08:05:34.853Z", | ||
| "container": { | ||
| "id": "23ce6f1b53181ea3db0611fe4de36f0ebf1c0a37cb8272e028cac06240dafbe0", | ||
| "id": "3ebfd3aebc686af21efccc552aabceb4303b70ef4bc2be7fffbb616000f824b4", | ||
| "image": { | ||
| "name": "docker.elastic.co/beats/elastic-agent:7.15.0-SNAPSHOT" | ||
| "name": "docker.elastic.co/elastic-agent/elastic-agent-complete:8.15.3" | ||
| }, | ||
| "name": "elastic-package-stack_elastic-agent_1", | ||
| "memory": { | ||
| "usage": 0.0012028823743718271 | ||
| }, | ||
| "name": "elastic-package-stack-elastic-agent-1", | ||
| "runtime": "docker" | ||
| }, | ||
| "docker": { | ||
| "container": { | ||
| "labels": { | ||
| "com_docker_compose_config-hash": "8e3d03827946685d53a2f171a126c397a3278da18ecd68a970cba9131160c52c", | ||
| "com_docker_compose_config-hash": "34d3699c997ecee19f466a3a5be2c73b86a5f4a89c362301412d9cc03e41d62d", | ||
| "com_docker_compose_container-number": "1", | ||
| "com_docker_compose_depends_on": "fleet-server:service_healthy:false", | ||
| "com_docker_compose_image": "sha256:37bd3034b35d10da7c806226eb2956b6c998745da9dc15ed3e920d214a59bcec", | ||
| "com_docker_compose_oneoff": "False", | ||
| "com_docker_compose_project": "elastic-package-stack", | ||
| "com_docker_compose_project_config_files": "/home/alexk/.elastic-package/profiles/default/stack/docker-compose.yml", | ||
| "com_docker_compose_project_working_dir": "/home/alexk/.elastic-package/profiles/default/stack", | ||
| "com_docker_compose_service": "elastic-agent", | ||
| "com_docker_compose_version": "1.28.6", | ||
| "description": "Agent manages other beats based on configuration provided.", | ||
| "io_k8s_description": "Agent manages other beats based on configuration provided.", | ||
| "com_docker_compose_version": "2.29.2", | ||
| "description": "Elastic Agent - single, unified way to add monitoring for logs, metrics, and other types of data to a host.", | ||
| "io_k8s_description": "Elastic Agent - single, unified way to add monitoring for logs, metrics, and other types of data to a host.", | ||
| "io_k8s_display-name": "Elastic-Agent image", | ||
| "license": "Elastic License", | ||
| "maintainer": "[email protected]", | ||
| "name": "elastic-agent", | ||
| "org_label-schema_build-date": "2021-07-28T09:55:40Z", | ||
| "org_label-schema_build-date": "2024-10-10T10:08:37Z", | ||
| "org_label-schema_license": "Elastic License", | ||
| "org_label-schema_name": "elastic-agent", | ||
| "org_label-schema_schema-version": "1.0", | ||
| "org_label-schema_url": "https://www.elastic.co/beats/elastic-agent", | ||
| "org_label-schema_vcs-ref": "16108a69f9f437c00cb6125c57bbc01c4eb805bb", | ||
| "org_label-schema_vcs-url": "github.com/elastic/beats/v7", | ||
| "org_label-schema_url": "https://www.elastic.co/elastic-agent", | ||
| "org_label-schema_vcs-ref": "61975895b1409449db21ddca0405e7b71bfc1c46", | ||
| "org_label-schema_vcs-url": "github.com/elastic/elastic-agent", | ||
| "org_label-schema_vendor": "Elastic", | ||
| "org_label-schema_version": "7.15.0-SNAPSHOT", | ||
| "org_opencontainers_image_created": "2021-07-28T09:55:40Z", | ||
| "org_label-schema_version": "8.15.3", | ||
| "org_opencontainers_image_created": "2024-10-10T10:08:37Z", | ||
| "org_opencontainers_image_licenses": "Elastic License", | ||
| "org_opencontainers_image_ref_name": "ubuntu", | ||
| "org_opencontainers_image_title": "Elastic-Agent", | ||
| "org_opencontainers_image_vendor": "Elastic", | ||
| "org_opencontainers_image_version": "20.04", | ||
| "release": "1", | ||
| "summary": "elastic-agent", | ||
| "url": "https://www.elastic.co/beats/elastic-agent", | ||
| "url": "https://www.elastic.co/elastic-agent", | ||
| "vendor": "Elastic", | ||
| "version": "7.15.0-SNAPSHOT" | ||
| "version": "8.15.3" | ||
| } | ||
| }, | ||
| "memory": { | ||
| "fail": { | ||
| "count": 0 | ||
| }, | ||
| "limit": 67514433536, | ||
| "rss": { | ||
| "pct": 0, | ||
| "total": 0 | ||
| }, | ||
| "limit": 33537363968, | ||
| "stats": { | ||
| "active_anon": 270336, | ||
| "active_file": 135168, | ||
| "anon": 246484992, | ||
| "anon_thp": 4194304, | ||
| "file": 325484544, | ||
| "active_anon": 10223616, | ||
| "active_file": 19795968, | ||
| "anon": 19140608, | ||
| "anon_thp": 0, | ||
| "file": 36466688, | ||
| "file_dirty": 0, | ||
| "file_mapped": 170582016, | ||
| "file_mapped": 585728, | ||
| "file_writeback": 0, | ||
| "inactive_anon": 250257408, | ||
| "inactive_file": 325619712, | ||
| "kernel_stack": 2703360, | ||
| "pgactivate": 62898, | ||
| "inactive_anon": 8921088, | ||
| "inactive_file": 16670720, | ||
| "kernel_stack": 212992, | ||
| "pgactivate": 4810, | ||
| "pgdeactivate": 0, | ||
| "pgfault": 2150971515, | ||
| "pglazyfree": 207999, | ||
| "pgfault": 703936010, | ||
| "pglazyfree": 0, | ||
| "pglazyfreed": 0, | ||
| "pgmajfault": 0, | ||
| "pgrefill": 0, | ||
| "pgscan": 0, | ||
| "pgsteal": 0, | ||
| "pgmajfault": 729, | ||
| "pgrefill": 170270, | ||
| "pgscan": 12002, | ||
| "pgsteal": 10536, | ||
| "shmem": 0, | ||
| "slab": 8112800, | ||
| "slab_reclaimable": 5753632, | ||
| "slab_unreclaimable": 2359168, | ||
| "sock": 200704, | ||
| "slab": 513312, | ||
| "slab_reclaimable": 194680, | ||
| "slab_unreclaimable": 318632, | ||
| "sock": 0, | ||
| "thp_collapse_alloc": 0, | ||
| "thp_fault_alloc": 0, | ||
| "unevictable": 0, | ||
|
|
@@ -87,8 +92,8 @@ | |
| }, | ||
| "usage": { | ||
| "max": 0, | ||
| "pct": 0.0039415723433138695, | ||
| "total": 266113024 | ||
| "pct": 0.0012028823743718271, | ||
| "total": 40341504 | ||
| } | ||
| } | ||
| }, | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.