Skip to content

Commit

Permalink
Make compute_vm light metricset and add update cloud instance id (ela…
Browse files Browse the repository at this point in the history
…stic#20889)

* mofidy doc

* rewrite

* fix

* temp

* tests

* work

* changelog

* fit tests

* update dashboards

(cherry picked from commit f8c2477)
  • Loading branch information
narph committed Sep 8, 2020
1 parent a6eafc8 commit 4c2db11
Show file tree
Hide file tree
Showing 51 changed files with 624 additions and 824 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -755,6 +755,7 @@ field. You can revert this change by configuring tags for the module and omittin
- Add state_daemonset metricset for Kubernetes Metricbeat module {pull}20649[20649]
- Add host inventory metrics to googlecloud compute metricset. {pull}20391[20391]
- Add host inventory metrics to azure compute_vm metricset. {pull}20641[20641]
- Migrate `compute_vm` metricset to a light one, map `cloud.instance.id` field. {pull}20889[20889]
- Request prometheus endpoints to be gzipped by default {pull}20766[20766]
- Add billing metricset into googlecloud module. {pull}20812[20812] {issue}20738[20738]
- Release all kubernetes `state` metricsets as GA {pull}20901[20901]
Expand Down
1 change: 1 addition & 0 deletions metricbeat/docs/modules/azure/compute_vm.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ This file is generated! See scripts/mage/docs_collector.go

include::../../../../x-pack/metricbeat/module/azure/compute_vm/_meta/docs.asciidoc[]

This is a default metricset. If the host module is unconfigured, this metricset is enabled by default.

==== Fields

Expand Down
1 change: 0 additions & 1 deletion x-pack/metricbeat/include/list.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@
"type": "list"
},
{
"fieldName": "cloud.instance.name",
"fieldName": "azure.resource.name",
"id": "1578578146383",
"indexPatternRefName": "control_4_index_pattern",
"label": "Resource Name",
Expand Down Expand Up @@ -483,7 +483,7 @@
"enabled": true,
"id": "2",
"params": {
"field": "cloud.instance.name",
"field": "azure.resource.name",
"missingBucket": false,
"missingBucketLabel": "Missing",
"order": "desc",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@
"index_pattern": "metricbeat-*",
"interval": "60m",
"isModelInvalid": false,
"pivot_id": "cloud.instance.name",
"pivot_id": "azure.resource.name",
"pivot_label": "Resource Name",
"pivot_rows": "30",
"pivot_type": "string",
Expand Down Expand Up @@ -510,7 +510,7 @@
"split_color_mode": "gradient",
"split_mode": "everything",
"stacked": "none",
"terms_field": "cloud.instance.name",
"terms_field": "azure.resource.name",
"terms_order_by": "61fb4192-32e4-11ea-b9f8-4d0b340ad993",
"type": "timeseries",
"value_template": "{{value}}"
Expand Down Expand Up @@ -613,7 +613,7 @@
"split_color_mode": "gradient",
"split_mode": "everything",
"stacked": "none",
"terms_field": "cloud.instance.name",
"terms_field": "azure.resource.name",
"terms_order_by": "61fb4192-32e4-11ea-b9f8-4d0b340ad993",
"type": "timeseries",
"value_template": "{{value}}"
Expand Down Expand Up @@ -765,7 +765,7 @@
"type": "list"
},
{
"fieldName": "cloud.instance.name",
"fieldName": "azure.resource.name",
"id": "1578578146383",
"indexPatternRefName": "control_2_index_pattern",
"label": "Resource Name",
Expand Down Expand Up @@ -1048,7 +1048,7 @@
"split_color_mode": "gradient",
"split_mode": "everything",
"stacked": "none",
"terms_field": "cloud.instance.name",
"terms_field": "azure.resource.name",
"terms_order_by": "61fb4192-32e4-11ea-b9f8-4d0b340ad993",
"type": "timeseries",
"value_template": "{{value}}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@
"separate_axis": 0,
"split_mode": "terms",
"stacked": "none",
"terms_field": "cloud.instance.name",
"terms_field": "azure.resource.name",
"type": "timeseries"
}
],
Expand Down Expand Up @@ -306,7 +306,7 @@
"separate_axis": 0,
"split_mode": "terms",
"stacked": "none",
"terms_field": "cloud.instance.name",
"terms_field": "azure.resource.name",
"type": "timeseries"
}
],
Expand Down Expand Up @@ -372,7 +372,7 @@
"type": "list"
},
{
"fieldName": "cloud.instance.name",
"fieldName": "azure.resource.name",
"id": "1584710535722",
"indexPatternRefName": "control_2_index_pattern",
"label": "Resource",
Expand Down Expand Up @@ -471,7 +471,7 @@
"separate_axis": 0,
"split_mode": "terms",
"stacked": "none",
"terms_field": "cloud.instance.name",
"terms_field": "azure.resource.name",
"type": "timeseries"
}
],
Expand Down Expand Up @@ -544,7 +544,7 @@
"separate_axis": 0,
"split_mode": "terms",
"stacked": "none",
"terms_field": "cloud.instance.name",
"terms_field": "azure.resource.name",
"type": "timeseries"
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@
"separate_axis": 0,
"split_mode": "terms",
"stacked": "none",
"terms_field": "cloud.instance.name",
"terms_field": "azure.resource.name",
"type": "timeseries"
}
],
Expand Down Expand Up @@ -301,7 +301,7 @@
"separate_axis": 0,
"split_mode": "terms",
"stacked": "none",
"terms_field": "cloud.instance.name",
"terms_field": "azure.resource.name",
"type": "timeseries"
}
],
Expand Down Expand Up @@ -367,7 +367,7 @@
"type": "list"
},
{
"fieldName": "cloud.instance.name",
"fieldName": "azure.resource.name",
"id": "1584710535722",
"indexPatternRefName": "control_2_index_pattern",
"label": "Resource",
Expand Down Expand Up @@ -461,7 +461,7 @@
"separate_axis": 0,
"split_mode": "terms",
"stacked": "none",
"terms_field": "cloud.instance.name",
"terms_field": "azure.resource.name",
"type": "timeseries"
}
],
Expand Down Expand Up @@ -529,7 +529,7 @@
"separate_axis": 0,
"split_mode": "terms",
"stacked": "none",
"terms_field": "cloud.instance.name",
"terms_field": "azure.resource.name",
"type": "timeseries"
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@
"separate_axis": 0,
"split_mode": "terms",
"stacked": "none",
"terms_field": "cloud.instance.name",
"terms_field": "azure.resource.name",
"type": "timeseries"
}
],
Expand Down Expand Up @@ -322,7 +322,7 @@
"separate_axis": 0,
"split_mode": "terms",
"stacked": "none",
"terms_field": "cloud.instance.name",
"terms_field": "azure.resource.name",
"type": "timeseries"
}
],
Expand Down Expand Up @@ -388,7 +388,7 @@
"type": "list"
},
{
"fieldName": "cloud.instance.name",
"fieldName": "azure.resource.name",
"id": "1584710535722",
"indexPatternRefName": "control_2_index_pattern",
"label": "Resource",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@
"type": "list"
},
{
"fieldName": "cloud.instance.name",
"fieldName": "azure.resource.name",
"id": "1584710535722",
"indexPatternRefName": "control_2_index_pattern",
"label": "Resource",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@
"index_pattern": "metricbeat-*",
"interval": "60m",
"isModelInvalid": false,
"pivot_id": "cloud.instance.name",
"pivot_id": "azure.resource.name",
"pivot_label": "Resource Name",
"pivot_rows": "30",
"pivot_type": "string",
Expand Down Expand Up @@ -550,7 +550,7 @@
"split_color_mode": "gradient",
"split_mode": "everything",
"stacked": "none",
"terms_field": "cloud.instance.name",
"terms_field": "azure.resource.name",
"terms_order_by": "61fb4192-32e4-11ea-b9f8-4d0b340ad993",
"type": "timeseries",
"value_template": "{{value}}"
Expand Down Expand Up @@ -653,7 +653,7 @@
"split_color_mode": "gradient",
"split_mode": "everything",
"stacked": "none",
"terms_field": "cloud.instance.name",
"terms_field": "azure.resource.name",
"terms_order_by": "61fb4192-32e4-11ea-b9f8-4d0b340ad993",
"type": "timeseries",
"value_template": "{{value}}"
Expand Down Expand Up @@ -756,7 +756,7 @@
"split_color_mode": "gradient",
"split_mode": "everything",
"stacked": "none",
"terms_field": "cloud.instance.name",
"terms_field": "azure.resource.name",
"terms_order_by": "61fb4192-32e4-11ea-b9f8-4d0b340ad993",
"type": "timeseries",
"value_template": "{{value}}"
Expand Down Expand Up @@ -908,7 +908,7 @@
"type": "list"
},
{
"fieldName": "cloud.instance.name",
"fieldName": "azure.resource.name",
"id": "1578578146383",
"indexPatternRefName": "control_2_index_pattern",
"label": "Resource Name",
Expand Down Expand Up @@ -1165,7 +1165,7 @@
"index_pattern": "metricbeat-*",
"interval": "60m",
"isModelInvalid": false,
"pivot_id": "cloud.instance.name",
"pivot_id": "azure.resource.name",
"pivot_label": "Resource Name",
"pivot_rows": "30",
"pivot_type": "string",
Expand Down Expand Up @@ -1195,7 +1195,7 @@
"split_color_mode": "gradient",
"split_mode": "everything",
"stacked": "none",
"terms_field": "cloud.instance.name",
"terms_field": "azure.resource.name",
"terms_order_by": "61fb4192-32e4-11ea-b9f8-4d0b340ad993",
"type": "timeseries",
"value_template": "{{value}}"
Expand Down Expand Up @@ -1272,7 +1272,7 @@
"index_pattern": "metricbeat-*",
"interval": "60m",
"isModelInvalid": false,
"pivot_id": "cloud.instance.name",
"pivot_id": "azure.resource.name",
"pivot_label": "Resource Name",
"pivot_rows": "30",
"pivot_type": "string",
Expand Down Expand Up @@ -1302,7 +1302,7 @@
"split_color_mode": "gradient",
"split_mode": "everything",
"stacked": "none",
"terms_field": "cloud.instance.name",
"terms_field": "azure.resource.name",
"terms_order_by": "61fb4192-32e4-11ea-b9f8-4d0b340ad993",
"type": "timeseries",
"value_template": "{{value}}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@
"index_pattern": "metricbeat-*",
"interval": "60m",
"isModelInvalid": false,
"pivot_id": "cloud.instance.name",
"pivot_id": "azure.resource.name",
"pivot_label": "Resource Name",
"pivot_rows": "30",
"pivot_type": "string",
Expand Down Expand Up @@ -510,7 +510,7 @@
"split_color_mode": "gradient",
"split_mode": "everything",
"stacked": "none",
"terms_field": "cloud.instance.name",
"terms_field": "azure.resource.name",
"terms_order_by": "61fb4192-32e4-11ea-b9f8-4d0b340ad993",
"type": "timeseries",
"value_template": "{{value}}"
Expand Down Expand Up @@ -613,7 +613,7 @@
"split_color_mode": "gradient",
"split_mode": "everything",
"stacked": "none",
"terms_field": "cloud.instance.name",
"terms_field": "azure.resource.name",
"terms_order_by": "61fb4192-32e4-11ea-b9f8-4d0b340ad993",
"type": "timeseries",
"value_template": "{{value}}"
Expand Down Expand Up @@ -716,7 +716,7 @@
"split_color_mode": "gradient",
"split_mode": "everything",
"stacked": "none",
"terms_field": "cloud.instance.name",
"terms_field": "azure.resource.name",
"terms_order_by": "61fb4192-32e4-11ea-b9f8-4d0b340ad993",
"type": "timeseries",
"value_template": "{{value}}"
Expand Down Expand Up @@ -868,7 +868,7 @@
"type": "list"
},
{
"fieldName": "cloud.instance.name",
"fieldName": "azure.resource.name",
"id": "1578578146383",
"indexPatternRefName": "control_2_index_pattern",
"label": "Resource Name",
Expand Down
Loading

0 comments on commit 4c2db11

Please sign in to comment.