Skip to content

Commit b3991d4

Browse files
authored
Register storage_account as second name for storage metricset (#28447)
* add storage * changelog * add fields
1 parent 5c92897 commit b3991d4

5 files changed

Lines changed: 20 additions & 1 deletion

File tree

CHANGELOG.next.asciidoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -898,6 +898,7 @@ for a few releases. Please use other tools provided by Elastic to fetch data fro
898898
- Move openmetrics module to oss. {pull}26561[26561]
899899
- Add `gke` metricset collection to `gcp` module {pull}26824[26824]
900900
- Added a new beta `enterprisesearch` module for Elastic Enterprise Search {pull}27549[27549]
901+
- Register additional name for `storage` metricset in the azure module. {pull}28447[28447]
901902

902903
*Packetbeat*
903904

metricbeat/docs/fields.asciidoc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6203,6 +6203,16 @@ monitor
62036203
storage account
62046204

62056205

6206+
type: object
6207+
6208+
--
6209+
6210+
*`azure.storage_account.*.*`*::
6211+
+
6212+
--
6213+
storage account
6214+
6215+
62066216
type: object
62076217

62086218
--

x-pack/metricbeat/module/azure/fields.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

x-pack/metricbeat/module/azure/storage/_meta/fields.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,10 @@
55
object_type_mapping_type: "*"
66
description: >
77
storage account
8+
- name: storage_account.*.*
9+
release: ga
10+
type: object
11+
object_type: float
12+
object_type_mapping_type: "*"
13+
description: >
14+
storage account

x-pack/metricbeat/module/azure/storage/storage.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ var (
2424
// MetricSet has been created then Fetch will begin to be called periodically.
2525
func init() {
2626
mb.Registry.MustAddMetricSet("azure", "storage", New)
27+
mb.Registry.MustAddMetricSet("azure", "storage_account", New)
2728
}
2829

2930
// MetricSet holds any configuration or state information. It must implement

0 commit comments

Comments
 (0)