-
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.
Cherry-pick #20641 to 7.x: Add host inventory metrics to azure comput…
…e_vm metricset (#20725) * Add host inventory metrics to azure compute_vm metricset (#20641) (cherry picked from commit 6bf61cb)
- Loading branch information
1 parent
878a241
commit bccee1f
Showing
3 changed files
with
156 additions
and
97 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
221 changes: 124 additions & 97 deletions
221
x-pack/metricbeat/module/azure/compute_vm/_meta/data.json
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,131 +1,158 @@ | ||
{ | ||
"@timestamp":"2020-08-05T10:36:00.000Z", | ||
"cloud":{ | ||
"provider":"azure", | ||
"region":"westeurope", | ||
"instance":{ | ||
"id":"/subscriptions/fd675b6f-b5e5-426e-ac45-d1f876d0ffa6/resourceGroups/obs-infrastructure/providers/Microsoft.Compute/virtualMachines/obstestmemleak", | ||
"name":"obstestmemleak" | ||
}, | ||
"machine":{ | ||
"type":"Standard_B2ms" | ||
} | ||
}, | ||
"event":{ | ||
"dataset":"azure.compute_vm", | ||
"module":"azure", | ||
"duration":5364973100 | ||
}, | ||
"metricset":{ | ||
"name":"compute_vm", | ||
"period":300000 | ||
}, | ||
"azure":{ | ||
"timegrain":"PT5M", | ||
"resource":{ | ||
"type":"Microsoft.Compute/virtualMachines", | ||
"group":"obs-infrastructure", | ||
"tags":{ | ||
"vmtest":"value1, value 2", | ||
"vmtest1":"value3" | ||
} | ||
}, | ||
"subscription_id":"fd675b6f-b5e5-426e-ac45-d1f876d0ffa6", | ||
"namespace":"Microsoft.Compute/virtualMachines", | ||
"compute_vm":{ | ||
"outbound_flows":{ | ||
"avg":291.2 | ||
"@timestamp": "2017-10-12T08:05:34.853Z", | ||
"azure": { | ||
"compute_vm": { | ||
"cpu_credits_consumed": { | ||
"avg": 0.01 | ||
}, | ||
"cpu_credits_remaining": { | ||
"avg": 288 | ||
}, | ||
"disk_read_bytes": { | ||
"total": 4019543.24 | ||
}, | ||
"outbound_flows_maximum_creation_rate":{ | ||
"avg":6 | ||
"disk_read_operations_per_sec": { | ||
"avg": 0.0605 | ||
}, | ||
"inbound_flows_maximum_creation_rate":{ | ||
"avg":6 | ||
"disk_write_bytes": { | ||
"total": 16739967.27 | ||
}, | ||
"os_per_disk_read_bytes_per_sec":{ | ||
"avg":341.35875 | ||
"disk_write_operations_per_sec": { | ||
"avg": 1.9525 | ||
}, | ||
"per_disk_read_bytes_per_sec":{ | ||
"avg":0 | ||
"inbound_flows": { | ||
"avg": 31 | ||
}, | ||
"os_disk_queue_depth":{ | ||
"avg":0 | ||
"inbound_flows_maximum_creation_rate": { | ||
"avg": 0.8 | ||
}, | ||
"os_per_disk_qd":{ | ||
"avg":0 | ||
"network_in": { | ||
"total": 1501534 | ||
}, | ||
"os_disk_read_bytes_per_sec":{ | ||
"avg":341.35875 | ||
"network_in_total": { | ||
"total": 1806936 | ||
}, | ||
"network_in":{ | ||
"total":3933481.0 | ||
"network_out": { | ||
"total": 1647640 | ||
}, | ||
"network_out":{ | ||
"total":7169752.0 | ||
"network_out_total": { | ||
"total": 3633130 | ||
}, | ||
"os_disk_write_operations_per_sec":{ | ||
"avg":4.994285714285715 | ||
"os_disk_queue_depth": { | ||
"avg": 0 | ||
}, | ||
"percentage_cpu":{ | ||
"avg":8.780625 | ||
"os_disk_read_bytes_per_sec": { | ||
"avg": 13398.475 | ||
}, | ||
"cpu_credits_remaining":{ | ||
"avg":864 | ||
"os_disk_read_operations_per_sec": { | ||
"avg": 0.121 | ||
}, | ||
"network_out_total":{ | ||
"total":9249694.0 | ||
"os_disk_write_bytes_per_sec": { | ||
"avg": 55799.886 | ||
}, | ||
"disk_read_operations_per_sec":{ | ||
"avg":0.022857142857142857 | ||
"os_disk_write_operations_per_sec": { | ||
"avg": 3.905 | ||
}, | ||
"disk_write_bytes":{ | ||
"total":1.759878456E7 | ||
"os_per_disk_qd": { | ||
"avg": 0 | ||
}, | ||
"os_disk_write_bytes_per_sec":{ | ||
"avg":73050.70375 | ||
"os_per_disk_read_bytes_per_sec": { | ||
"avg": 13398.475 | ||
}, | ||
"cpu_credits_consumed":{ | ||
"avg":0.175 | ||
"os_per_disk_read_operations_per_sec": { | ||
"avg": 0.121 | ||
}, | ||
"per_disk_qd":{ | ||
"avg":0 | ||
"os_per_disk_write_bytes_per_sec": { | ||
"avg": 55799.886 | ||
}, | ||
"disk_write_operations_per_sec":{ | ||
"avg":2.5221428571428572 | ||
"os_per_disk_write_operations_per_sec": { | ||
"avg": 3.905 | ||
}, | ||
"os_per_disk_write_operations_per_sec":{ | ||
"avg":4.994285714285715 | ||
"outbound_flows": { | ||
"avg": 31 | ||
}, | ||
"per_disk_write_operations_per_sec":{ | ||
"avg":0.049999999999999996 | ||
"outbound_flows_maximum_creation_rate": { | ||
"avg": 0.8 | ||
}, | ||
"inbound_flows":{ | ||
"avg":291.2 | ||
"per_disk_qd": { | ||
"avg": 0 | ||
}, | ||
"os_disk_read_operations_per_sec":{ | ||
"avg":0.045714285714285714 | ||
"per_disk_read_bytes_per_sec": { | ||
"avg": 0 | ||
}, | ||
"disk_read_bytes":{ | ||
"total":81926.52 | ||
"per_disk_read_operations_per_sec": { | ||
"avg": 0 | ||
}, | ||
"network_in_total":{ | ||
"total":4920267.0 | ||
"per_disk_write_bytes_per_sec": { | ||
"avg": 0 | ||
}, | ||
"per_disk_read_operations_per_sec":{ | ||
"avg":0 | ||
"per_disk_write_operations_per_sec": { | ||
"avg": 0 | ||
}, | ||
"per_disk_write_bytes_per_sec":{ | ||
"avg":277.56 | ||
"percentage_cpu": { | ||
"avg": 1.585 | ||
}, | ||
"os_per_disk_write_bytes_per_sec":{ | ||
"avg":73050.70375 | ||
"premium_os_disk_cache_read_hit": { | ||
"avg": 100 | ||
}, | ||
"premium_os_disk_cache_read_miss": { | ||
"avg": 0 | ||
} | ||
}, | ||
"namespace": "Microsoft.Compute/virtualMachines", | ||
"resource": { | ||
"group": "obs-test", | ||
"type": "Microsoft.Compute/virtualMachines" | ||
}, | ||
"subscription_id": "7657426d-c4c3-44ac-88a2-3b2cd59e6dba", | ||
"timegrain": "PT5M" | ||
}, | ||
"cloud": { | ||
"instance": { | ||
"id": "/subscriptions/7657426d-c4c3-44ac-88a2-3b2cd59e6dba/resourceGroups/obs-test/providers/Microsoft.Compute/virtualMachines/perfmon-test", | ||
"name": "perfmon-test" | ||
}, | ||
"machine": { | ||
"type": "Standard_B1ms" | ||
}, | ||
"provider": "azure", | ||
"region": "westeurope" | ||
}, | ||
"event": { | ||
"dataset": "azure.compute_vm", | ||
"duration": 115000, | ||
"module": "azure" | ||
}, | ||
"host": { | ||
"cpu": { | ||
"pct": 0.01585 | ||
}, | ||
"disk": { | ||
"read": { | ||
"bytes": 4019543.24 | ||
}, | ||
"os_per_disk_read_operations_per_sec":{ | ||
"avg":0.045714285714285714 | ||
"write": { | ||
"bytes": 16739967.27 | ||
} | ||
}, | ||
"id": "/subscriptions/7657426d-c4c3-44ac-88a2-3b2cd59e6dba/resourceGroups/obs-test/providers/Microsoft.Compute/virtualMachines/perfmon-test", | ||
"name": "perfmon-test", | ||
"network": { | ||
"in": { | ||
"bytes": 1806936, | ||
"packets": 1501534 | ||
}, | ||
"out": { | ||
"bytes": 3633130, | ||
"packets": 1647640 | ||
} | ||
} | ||
}, | ||
"service":{ | ||
"type":"azure" | ||
"metricset": { | ||
"name": "compute_vm", | ||
"period": 10000 | ||
}, | ||
"service": { | ||
"type": "azure" | ||
} | ||
} | ||
} |
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