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] Discover AWS resource without tag #1617

Open
1 task done
rsathishaws opened this issue Jan 8, 2025 · 0 comments
Open
1 task done

[BUG] Discover AWS resource without tag #1617

rsathishaws opened this issue Jan 8, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@rsathishaws
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

YACE version

v0.59.0

Config file

apiVersion: v1alpha1
discovery:
jobs:
- type: AWS/EC2
regions:
- eu-west-1
roles:
- roleArn: "arn:aws:iam::xxxxxxxxxx:role/xxxxxxxxxx-role"
- roleArn: "arn:aws:iam::xxxxxxxxxx:role/xxxxxxxxxx-role"

  period: 300
  length: 300
  metrics:
    - name: CPUUtilization
      statistics: [Average]
    - name: StatusCheckFailed
      statistics: [Sum]
    - name: StatusCheckFailed_Instance
      statistics: [Sum]
    - name: StatusCheckFailed_System
      statistics: [Sum]
- type: AWS/RDS
  regions:
    - eu-west-1
  roles:
    - roleArn: "arn:aws:iam::xxxxxxxxxx:role/xxxxxxxxxx-role"
    - roleArn: "arn:aws:iam::xxxxxxxxxx:role/xxxxxxxxxx-role"

  period: 300
  length: 300
  metrics:
    - name: CPUUtilization
      statistics: [Average]
    - name: DatabaseConnections
      statistics: [Maximum]
    - name: FreeableMemory
      statistics: [Average]
    - name: FreeStorageSpace
      statistics: [Average]
- type: AWS/ELB
  regions:
    - eu-west-1
  roles:
    - roleArn: "arn:aws:iam::xxxxxxxxxx:role/xxxxxxxxxx-role"
    - roleArn: "arn:aws:iam::xxxxxxxxxx:role/xxxxxxxxxx-role"

  period: 300
  length: 300
  metrics:
    - name: HTTPCode_Backend_5XX
      statistics: [Sum]
    - name: HTTPCode_ELB_5XX
      statistics: [Sum]
    - name: Latency
      statistics: [Average]
    - name: UnHealthyHostCount
      statistics: [Minimum]
- type: AWS/ApplicationELB
  regions:
    - eu-west-1
  roles:
    - roleArn: "arn:aws:iam::xxxxxxxxxx:role/xxxxxxxxxx-role"
    - roleArn: "arn:aws:iam::xxxxxxxxxx:role/xxxxxxxxxx-role"

  period: 300
  length: 300
  metrics:
    - name: UnHealthyHostCount
      statistics: [Minimum]
    - name: TargetResponseTime
      statistics: [Average]
    - name: HTTPCode_Target_5XX_Count
      statistics: [Sum]
- type: AWS/NetworkELB
  regions:
    - eu-west-1
  roles:
    - roleArn: "arn:aws:iam::xxxxxxxxxx:role/xxxxxxxxxx-role"
    - roleArn: "arn:aws:iam::xxxxxxxxxx:role/xxxxxxxxxx-role"

  period: 300
  length: 300
  metrics:
    - name: UnHealthyHostCount
      statistics: [Minimum]
    - name: HealthyHostCount
      statistics: [Minimum]

Current Behavior

We are using YACE to scrape AWS metrics, and we understand that YACE discovers resources based on tags. However, I am facing an issue where YACE continues to discover resource metrics even after the tags are removed from the AWS resource.

Expected Behavior

No response

Steps To Reproduce

No response

Anything else?

No response

@rsathishaws rsathishaws added the bug Something isn't working label Jan 8, 2025
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