Skip to content

Commit

Permalink
[AWS][cloudwatch_metrics] Use object metric type for the cloudwatch m…
Browse files Browse the repository at this point in the history
…etrics (#7327)

* Use object metric type for the cloudwatch metrics

Signed-off-by: Tetiana Kravchenko <tetiana.kravchenko@elastic.co>

* fix changelog link

---------

Signed-off-by: Tetiana Kravchenko <tetiana.kravchenko@elastic.co>
  • Loading branch information
tetianakravchenko committed Aug 10, 2023
1 parent d7f6c14 commit 2236361
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
5 changes: 5 additions & 0 deletions packages/aws/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "1.51.1"
changes:
- description: Use object metric type for the cloudwatch metrics
type: enhancement
link: https://github.com/elastic/integrations/pull/7327
- version: "1.51.0"
changes:
- description: Add standalone S3 option for vpcflow
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
Autogenerated ID representing the fingerprint of the aws.dimensions object
dimension: true
- name: 'aws.*.metrics.*.*'
type: double
type: object
object_type: double
object_type_mapping_type: "*"
metric_type: gauge
description: |
Metrics that returned from Cloudwatch API query.
2 changes: 1 addition & 1 deletion packages/aws/docs/cloudwatch.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ An example event for `cloudwatch` looks as following:
|---|---|---|---|
| @timestamp | Event timestamp. | date | |
| agent.id | Unique identifier of this agent (if one exists). Example: For Beats this would be beat.id. | keyword | |
| aws.\*.metrics.\*.\* | Metrics that returned from Cloudwatch API query. | double | gauge |
| aws.\*.metrics.\*.\* | Metrics that returned from Cloudwatch API query. | object | gauge |
| aws.cloudwatch.namespace | The namespace specified when query cloudwatch api. | keyword | |
| aws.dimensions.\* | Metric dimensions. | object | |
| aws.dimensions.fingerprint | Autogenerated ID representing the fingerprint of the aws.dimensions object | keyword | |
Expand Down
2 changes: 1 addition & 1 deletion packages/aws/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
format_version: 1.0.0
name: aws
title: AWS
version: 1.51.0
version: 1.51.1
license: basic
description: Collect logs and metrics from Amazon Web Services (AWS) with Elastic Agent.
type: integration
Expand Down

0 comments on commit 2236361

Please sign in to comment.