-
-
Notifications
You must be signed in to change notification settings - Fork 382
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Is there an existing issue for this?
- I have searched the existing issues
YACE version
0.62.1
Config file
apiVersion: v1alpha1
discovery:
exportedTagsOnMetrics:
AWS/KMS:
- Name
jobs:
- type: AWS/KMS
regions:
- us-east-1
period: 300
roles:
- roleArn: "arn:aws:iam::<account>:role/<cloudwatch role>"
metrics:
- name: SecondsUntilKeyMaterialExpiration
statistics:
- Minimum
- Maximum
- name: SuccessfulRequest
statistics:
- Sum
Current Behavior
The tag Name is not exported as label in the KMS metrics (e.,g., aws_kms_successful_request_sum).
Expected Behavior
The tag Name is exported as label tag_Name in the KMS metrics.
Note: the aws_kms_info metric exports all tags by default, so this doesn't seem to be a permissions issue when pulling tag information from the KMS resources.
Steps To Reproduce
- Create KMS Customer-managed key with some tags on (e.g., Name)
- Create IAM role to allow YACE to collect KMS metrics from CloudWatch
- Run YACE with config provided above
- Pull metrics from YACE and confirm it is missing
tag_Namelabel on KMS metrics, except foraws_kms_infometric
Anything else?
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working