-
Notifications
You must be signed in to change notification settings - Fork 375
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Azure] [Container_instance] Add dimensions and metric_type metadata …
…for the container_instance data_stream (#7127) * add dimensions and metric_type metadata for the container_instance data_stream Signed-off-by: Tetiana Kravchenko <tetiana.kravchenko@elastic.co> * address review comments Signed-off-by: Tetiana Kravchenko <tetiana.kravchenko@elastic.co> * add agent.id field Signed-off-by: Tetiana Kravchenko <tetiana.kravchenko@elastic.co> * extend azure.container_instance field Signed-off-by: Tetiana Kravchenko <tetiana.kravchenko@elastic.co> --------- Signed-off-by: Tetiana Kravchenko <tetiana.kravchenko@elastic.co>
- Loading branch information
1 parent
2877d7e
commit 1ca98fb
Showing
8 changed files
with
192 additions
and
148 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,3 +15,6 @@ | |
external: ecs | ||
- name: host | ||
external: ecs | ||
- name: agent.id | ||
external: ecs | ||
dimension: true |
29 changes: 22 additions & 7 deletions
29
packages/azure_metrics/data_stream/container_instance/fields/fields.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,22 @@ | ||
- name: azure.container_instance.*.* | ||
type: object | ||
object_type: float | ||
object_type_mapping_type: "*" | ||
description: > | ||
container instance | ||
- name: azure.container_instance | ||
type: group | ||
fields: | ||
- name: cpu_usage.avg | ||
type: float | ||
metric_type: gauge | ||
description: CPU usage on all cores in millicores. | ||
- name: memory_usage.avg | ||
type: float | ||
metric_type: gauge | ||
unit: byte | ||
description: Total memory usage in byte. | ||
- name: network_bytes_received_per_second.avg | ||
type: float | ||
metric_type: gauge | ||
unit: byte | ||
description: The network bytes received per second. | ||
- name: network_bytes_transmitted_per_second.avg | ||
type: float | ||
metric_type: gauge | ||
unit: byte | ||
description: The network bytes transmitted per second. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.