Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -894,6 +894,7 @@ for a few releases. Please use other tools provided by Elastic to fetch data fro
- Move openmetrics module to oss. {pull}26561[26561]
- Add `gke` metricset collection to `gcp` module {pull}26824[26824]
- Added a new beta `enterprisesearch` module for Elastic Enterprise Search {pull}27549[27549]
- Register additional name for `storage` metricset in the azure module. {pull}28447[28447]
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to document this or show some deprecation warning in the old name?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no deprecation, I don't plan to change the name, just want to remove the pipeline in the future

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So are both metricsets going to stay forever in beats?


*Packetbeat*

Expand Down
10 changes: 10 additions & 0 deletions metricbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -6203,6 +6203,16 @@ monitor
storage account


type: object

--

*`azure.storage_account.*.*`*::
+
--
storage account


type: object

--
Expand Down
2 changes: 1 addition & 1 deletion x-pack/metricbeat/module/azure/fields.go

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

7 changes: 7 additions & 0 deletions x-pack/metricbeat/module/azure/storage/_meta/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,10 @@
object_type_mapping_type: "*"
description: >
storage account
- name: storage_account.*.*
release: ga
type: object
object_type: float
object_type_mapping_type: "*"
description: >
storage account
1 change: 1 addition & 0 deletions x-pack/metricbeat/module/azure/storage/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ var (
// MetricSet has been created then Fetch will begin to be called periodically.
func init() {
mb.Registry.MustAddMetricSet("azure", "storage", New)
mb.Registry.MustAddMetricSet("azure", "storage_account", New)
Comment thread
jsoriano marked this conversation as resolved.
}

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