Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] < tag search not work fine at aws acm , how can i config a static list file to tell yace which ca shoud be monitor?> #1216

Open
1 task done
hucongwei opened this issue Nov 11, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@hucongwei
Copy link

hucongwei commented Nov 11, 2023

Is there an existing issue for this?

  • I have searched the existing issues

YACE version

0.53.0

Config file

  • type: AWS/CertificateManager
    regions:
    • ap-northeast-1
      searchTags:
    • key: env
      value: test
    • key: project
      value: public
    • key: ismonitor
      value: ok
      dimensionNameRequirements:
  • CertificateArn
    customTags:
    - key: app
    value: acm
    period: 60
    length: 120
    metrics:
    • name: DaysToExpiry
      statistics: [Minimum]

Current Behavior

i use yace to monitor production core ca expire date.
i taged only one ca with the tag: ismonitor:ok , which i want to monitor , other ca not have this tag shoud not to be monitored.
but when i start yace all ca metrics have been monitored, how can i config a static ca list file to tell yace which ca shoud be monitored.

curl localhost:9119/metrics |grep certif
TYPE aws_certificatemanager_days_to_expiry_minimum gauge
aws_certificatemanager_days_to_expiry_minimum{account_id="415647771001",custom_tag_app="acm",dimension_CertificateArn="arn:aws:acm:ap-northeast-1:415647771001:certificate/f969b4b3-4636-4f65-83eb-1c2390431d90",name="global",region="ap-northeast-1"} NaN
....
aws_certificatemanager_days_to_expiry_minimum{account_id="415647771001",custom_tag_app="acm",dimension_CertificateArn="arn:aws:acm:ap-northeast-1:415647771001:certificate/fab71353-c92f-498f-b77e-2cb9f9dd0015",name="global",region="ap-northeast-1"} NaN
aws_certificatemanager_days_to_expiry_minimum{account_id="415647771001",custom_tag_app="acm",dimension_CertificateArn="arn:aws:acm:ap-northeast-1:415647771001:certificate/fca3d412-cf52-4eed-a336-1e6a82eaca70",name="global",region="ap-northeast-1"} NaN
HELP aws_certificatemanager_info Help is not implemented yet.
TYPE aws_certificatemanager_info gauge
aws_certificatemanager_info{name="arn:aws:acm:ap-northeast-1:415647771001:certificate/406bc002-0213-4d90-8bf0-5a0b58b13b01",tag_Name="aviagames.net",tag_env="test",tag_ismonitor="ok",tag_project="publice"} 0

Expected Behavior

just the ca with my defined tag shoud be monitored .

Steps To Reproduce

No response

Anything else?

issue like this : #1080

@hucongwei hucongwei added the bug Something isn't working label Nov 11, 2023
@hucongwei hucongwei changed the title [BUG] <title> tag search not work fine at aws acm , how can i config a static list file to tell yace which ca shoud be monitor? [BUG] < tag search not work fine at aws acm , how can i config a static list file to tell yace which ca shoud be monitor?> Nov 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant