[O11y][System] Rally benchmark system.cpu#9294
Merged
ali786XI merged 2 commits intoelastic:mainfrom Mar 25, 2024
Merged
Conversation
29 tasks
🚀 Benchmarks reportTo see the full report comment with |
harnish-crest-data
approved these changes
Mar 11, 2024
shmsr
approved these changes
Mar 13, 2024
… into system_benchmark_cpu
💚 Build Succeeded
History
cc @aliabbas-elastic |
|
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.



Proposed commit message
This PR adds benchmarking templates to the
cpudata stream ofsystemSample Response
sample_event.json
{ "@timestamp": "2024-03-07T07:19:43.507Z", "agent": { "ephemeral_id": "22ed892c-43bd-408a-9121-65e2f5b6a56e", "id": "de42127b-4db8-4471-824e-a7b14f478663", "name": "system-scale-123456", "type": "metricbeat", "version": "8.12.1" }, "benchmark_metadata": { "info": { "benchmark": "cpu-benchmark", "run_id": "7cc1977c-fa5a-4496-89d3-d40ee43080ed" } }, "data_stream": { "dataset": "system.cpu", "namespace": "ep", "type": "metrics" }, "ecs": { "version": "8.0.0" }, "elastic_agent": { "id": "de42127b-4db8-4471-824e-a7b14f478663", "snapshot": false, "version": "8.12.0" }, "event": { "agent_id_status": "auth_metadata_missing", "dataset": "system.cpu", "duration": 45213, "ingested": "2024-03-07T07:19:47Z", "module": "system" }, "host": { "architecture": "x86_64", "containerized": true, "cpu": { "pct": 0.354 }, "hostname": "docker-fleet-agent", "id": "829324aac17946dcace17006fa82a2d2", "ip": "192.168.254.7", "mac": "02-42-C0-A8-FE-07", "name": "docker-fleet-agent", "os": { "codename": "focal", "family": "debian", "kernel": "3.10.0-1160.105.1.el7.x86_64", "name": "Ubuntu", "platform": "ubuntu", "type": "linux", "version": "20.04.6 LTS (Focal Fossa)" } }, "metricset": { "name": "cpu", "period": 10000 }, "service": { "type": "system" }, "system": { "cpu": { "cores": 12, "idle": { "norm": { "pct": 0.422 }, "pct": 53.238, "ticks": 35 }, "iowait": { "norm": { "pct": 0.241 }, "pct": 20.661, "ticks": 45 }, "irq": { "norm": { "pct": 0.905 }, "pct": 70.645, "ticks": 55 }, "nice": { "norm": { "pct": 0.53 }, "pct": 40.63, "ticks": 47 }, "softirq": { "norm": { "pct": 0.571 }, "pct": 41.254, "ticks": 31 }, "steal": { "norm": { "pct": 0.54 }, "pct": 28.704, "ticks": 49 }, "system": { "norm": { "pct": 0.735 }, "pct": 53.688, "ticks": 59 }, "total": { "norm": { "pct": 0.033 }, "pct": 88.05, "ticks": 8 }, "user": { "norm": { "pct": 0.843 }, "pct": 28.298, "ticks": 50 } } } }Checklist
How to test this PR locally
Run this command from package root
elastic-package benchmark rally --benchmark cpu-benchmark -velastic-package benchmark stream --benchmark cpu-benchmark -vRelated issues
Screenshots