Skip to content

Commit

Permalink
[AWS] Add missing metrics in Transit Gateway module (#32617)
Browse files Browse the repository at this point in the history
* Add missing metrics

A visualization uses the `BytesDropCountNoRoute` and `BytesDropCountBlackhole` 
metrics, but the CloudWatch input does not collect them.
  • Loading branch information
zmoog authored Aug 8, 2022
1 parent 7a469fd commit dde2208
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ https://github.com/elastic/beats/compare/v8.2.0\...main[Check the HEAD diff]
- Check for nil metadata in GCP. {pull}32281[32281]
- update kubernetes controllermanager metricset to not collect deprecated metrics and fix dashboard {pull}32037[32037]
- Fix to ARN parsing for Cloudwatch resource names with leading slashes {pull}32358[32358]
- Add missing metrics in AWS Transit Gateway module {pull}32617[32617]

*Packetbeat*

Expand Down
18 changes: 18 additions & 0 deletions metricbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -4799,6 +4799,24 @@ type: long

--

*`aws.transitgateway.metrics.BytesDropCountNoRoute.sum`*::
+
--
The number of bytes dropped because they did not match a route.

type: long

--

*`aws.transitgateway.metrics.BytesDropCountBlackhole.sum`*::
+
--
The number of bytes dropped because they matched a blackhole route.

type: long

--

[float]
=== usage

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

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions x-pack/metricbeat/module/aws/transitgateway/_meta/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,9 @@
- name: PacketDropCountNoRoute.sum
type: long
description: The number of packets dropped because they did not match a route.
- name: BytesDropCountNoRoute.sum
type: long
description: The number of bytes dropped because they did not match a route.
- name: BytesDropCountBlackhole.sum
type: long
description: The number of bytes dropped because they matched a blackhole route.
2 changes: 2 additions & 0 deletions x-pack/metricbeat/module/aws/transitgateway/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ input:
- PacketsOut
- PacketDropCountBlackhole
- PacketDropCountNoRoute
- BytesDropCountNoRoute
- BytesDropCountBlackhole

0 comments on commit dde2208

Please sign in to comment.