Skip to content

Commit

Permalink
Merge pull request #17 from ImMin5/master
Browse files Browse the repository at this point in the history
Modify ec2 instance metric file
  • Loading branch information
ImMin5 authored May 3, 2024
2 parents a31f1ef + d67bbe3 commit 05cdad0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
9 changes: 6 additions & 3 deletions src/plugin/metrics/EC2/Instance/instance_count.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,12 @@ query_options:
name: Instance State
search_key: data.compute.instance_state
default: true
- key: data.compute.instance_state
name: Instance State
search_key: data.compute.instance_state
- key: data.os.os_type
name: OS Type
search_key: data.os.os_type
- key: data.compute.az
name: Availability Zone
search_key: data.compute.az
fields:
value:
operator: count
Expand Down
9 changes: 6 additions & 3 deletions src/plugin/metrics/EC2/Instance/vcpu_count.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,12 @@ query_options:
- key: instance_type
name: Instance Type
search_key: instance_type
- key: data.compute.instance_state
name: Instance State
search_key: data.compute.instance_state
- key: data.os.os_type
name: OS Type
search_key: data.os.os_type
- key: data.compute.az
name: Availability Zone
search_key: data.compute.az
fields:
value:
key: data.hardware.core
Expand Down

0 comments on commit 05cdad0

Please sign in to comment.