-
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.
Browse files
Browse the repository at this point in the history
Remove redundant and undocumented `cloudfoundry.*.timestamp` fields. Add missing documentation about envelope fields. Update `data.json` files in metricbeat module. (cherry picked from commit 3527264)
- Loading branch information
Showing
7 changed files
with
84 additions
and
90 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
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
42 changes: 17 additions & 25 deletions
42
x-pack/metricbeat/module/cloudfoundry/container/_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,35 +1,27 @@ | ||
{ | ||
"@timestamp": "2020-02-27T18:09:35.583Z", | ||
"@timestamp": "2017-10-12T08:05:34.853Z", | ||
"cloudfoundry": { | ||
"app": { | ||
"id": "c0874969-2811-4d80-837a-301fd485a7bf" | ||
}, | ||
"container": { | ||
"instance_index": 0, | ||
"cpu.pct": 0.18815706013687805, | ||
"memory.bytes": 23320985, | ||
"memory.quota.bytes": 134217728, | ||
"disk.bytes": 186187776, | ||
"timestamp": "2020-02-27T18:09:35.583Z", | ||
"type": "container", | ||
"disk.quota.bytes": 2122136037 | ||
"cpu.pct": 0.45456369228159, | ||
"disk.bytes": 21970944, | ||
"disk.quota.bytes": 1073741824, | ||
"instance_index": 1, | ||
"memory.bytes": 14101162, | ||
"memory.quota.bytes": 67108864 | ||
}, | ||
"envelope": { | ||
"origin": "rep", | ||
"deployment": "cf", | ||
"ip": "10.144.0.13", | ||
"job": "diego-cell", | ||
"index": "3a0034ac-59ef-43e2-8b06-b14b32fe62f0" | ||
"deployment": "cf-6b7aee31c8d07637ad78", | ||
"index": "8895cf68-2e4f-4c50-9842-e73febd65c2d", | ||
"ip": "192.168.16.31", | ||
"job": "diego_cell", | ||
"origin": "rep" | ||
}, | ||
"app": { | ||
"id": "8cfc6857-3576-45a9-b1cd-890b28aa9c4a" | ||
} | ||
}, | ||
"event": { | ||
"dataset": "cloudfoundry.container", | ||
"module": "cloudfoundry" | ||
}, | ||
"metricset": { | ||
"name": "container" | ||
"type": "container" | ||
}, | ||
"service": { | ||
"type": "cloudfoundry" | ||
} | ||
} | ||
} |
30 changes: 11 additions & 19 deletions
30
x-pack/metricbeat/module/cloudfoundry/counter/_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,29 +1,21 @@ | ||
{ | ||
"@timestamp": "2020-02-24T18:49:02.674Z", | ||
"@timestamp": "2017-10-12T08:05:34.853Z", | ||
"cloudfoundry": { | ||
"counter": { | ||
"total": 0, | ||
"name": "promhttp_metric_handler_errors_total", | ||
"delta": 0, | ||
"timestamp": "2020-02-24T18:49:02.674Z", | ||
"type": "counter" | ||
"name": "sinks.dropped", | ||
"total": 89547093 | ||
}, | ||
"envelope": { | ||
"origin": "loggregator_forwarder_agent", | ||
"deployment": "cf", | ||
"ip": "10.144.0.13", | ||
"job": "diego-cell", | ||
"index": "1e58e943-a498-4339-9d5f-2885bf223db9" | ||
} | ||
}, | ||
"event": { | ||
"dataset": "cloudfoundry.counter", | ||
"module": "cloudfoundry" | ||
}, | ||
"metricset": { | ||
"name": "counter" | ||
"deployment": "cf-6b7aee31c8d07637ad78", | ||
"index": "9adedbd0-3af3-47af-9707-99016050b123", | ||
"ip": "192.168.16.54", | ||
"job": "doppler", | ||
"origin": "loggregator.doppler" | ||
}, | ||
"type": "counter" | ||
}, | ||
"service": { | ||
"type": "cloudfoundry" | ||
} | ||
} | ||
} |
34 changes: 13 additions & 21 deletions
34
x-pack/metricbeat/module/cloudfoundry/value/_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,29 +1,21 @@ | ||
{ | ||
"@timestamp": "2020-02-27T18:20:48.379Z", | ||
"@timestamp": "2017-10-12T08:05:34.853Z", | ||
"cloudfoundry": { | ||
"value": { | ||
"unit": "", | ||
"value": 5.125735912782789e-05, | ||
"timestamp": "2020-02-27T18:20:48.379Z", | ||
"type": "value", | ||
"name": "go_memstats_gc_cpu_fraction" | ||
}, | ||
"envelope": { | ||
"origin": "loggregator_forwarder_agent", | ||
"deployment": "cf", | ||
"ip": "10.144.0.11", | ||
"job": "scheduler", | ||
"index": "d6b7bb59-ac57-4ed5-a0a7-0b23e19d9f8f" | ||
"deployment": "cf-6b7aee31c8d07637ad78", | ||
"index": "439bb519-3e68-4d08-a973-8f013f364d61", | ||
"ip": "192.168.16.18", | ||
"job": "cloud_controller", | ||
"origin": "routing_api" | ||
}, | ||
"type": "value", | ||
"value": { | ||
"name": "memoryStats.lastGCPauseTimeNS", | ||
"unit": "count", | ||
"value": 77499 | ||
} | ||
}, | ||
"event": { | ||
"dataset": "cloudfoundry.value", | ||
"module": "cloudfoundry" | ||
}, | ||
"metricset": { | ||
"name": "value" | ||
}, | ||
"service": { | ||
"type": "cloudfoundry" | ||
} | ||
} | ||
} |