Skip to content

Commit

Permalink
Modify doc in app_insights metricset (#20185)
Browse files Browse the repository at this point in the history
  • Loading branch information
narph committed Jul 30, 2020
1 parent 77a8472 commit 3b4cdc2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d
- Add missing info about the rest of the azure metricsets in the documentation. {pull}19601[19601]
- Fix k8s scheduler compatibility issue. {pull}19699[19699]
- Fix SQL module mapping NULL values as string {pull}18955[18955] {issue}18898[18898
- Modify doc for app_insights metricset to contain example of config. {pull}20185[20185]

*Packetbeat*

Expand Down
12 changes: 5 additions & 7 deletions x-pack/metricbeat/module/azure/app_insights/_meta/docs.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,15 @@ This value is only valid when segment is specified.
`filter`:: (_string_) An expression used to filter the results.
This value should be a valid OData filter expression where the keys of each clause should be applicable dimensions for the metric you are retrieving.

Users can select the options to retrieve all metrics from a specific namespace using the following:
Example configuration:

["source","yaml"]
----
metrics:
- id: ["*"]
timespan: "Microsoft.Storage/storageAccounts"
metrics:
- id: ["requests/count", "requests/failed"]
segment: "request/name"
aggregation: ["sum"]
----



A default non configurable timegrain of 5 min is set so users are advised to configure an interval of 300s or a multiply of it.


0 comments on commit 3b4cdc2

Please sign in to comment.