-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use optional values for docker memory metrics (#41449)
* use opt values for docker memory metrics * fix vars, comments * add changelog * spelling (cherry picked from commit 249d0dc)
- Loading branch information
1 parent
e9f9368
commit 579f166
Showing
5 changed files
with
135 additions
and
88 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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