Skip to content

Commit 3b4cdc2

Browse files
authored
Modify doc in app_insights metricset (#20185)
1 parent 77a8472 commit 3b4cdc2

2 files changed

Lines changed: 6 additions & 7 deletions

File tree

CHANGELOG.next.asciidoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,7 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d
300300
- Add missing info about the rest of the azure metricsets in the documentation. {pull}19601[19601]
301301
- Fix k8s scheduler compatibility issue. {pull}19699[19699]
302302
- Fix SQL module mapping NULL values as string {pull}18955[18955] {issue}18898[18898
303+
- Modify doc for app_insights metricset to contain example of config. {pull}20185[20185]
303304

304305
*Packetbeat*
305306

x-pack/metricbeat/module/azure/app_insights/_meta/docs.asciidoc

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,17 +45,15 @@ This value is only valid when segment is specified.
4545
`filter`:: (_string_) An expression used to filter the results.
4646
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.
4747

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

5050
["source","yaml"]
5151
----
52-
metrics:
53-
- id: ["*"]
54-
timespan: "Microsoft.Storage/storageAccounts"
52+
metrics:
53+
- id: ["requests/count", "requests/failed"]
54+
segment: "request/name"
55+
aggregation: ["sum"]
5556
----
5657

5758

5859

59-
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.
60-
61-

0 commit comments

Comments
 (0)