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] exporter can't collect tagged MSK Connect (KafkaConnect) #1492

Open
1 task done
gaetanars opened this issue Aug 5, 2024 · 0 comments
Open
1 task done

[BUG] exporter can't collect tagged MSK Connect (KafkaConnect) #1492

gaetanars opened this issue Aug 5, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@gaetanars
Copy link

gaetanars commented Aug 5, 2024

Is there an existing issue for this?

  • I have searched the existing issues

YACE version

v0.61.2

Config file

apiVersion: v1alpha1
discovery:
  jobs:
    - type: AWS/KafkaConnect
      roles:
        - roleArn: "arn:aws:iam::xxxxxxxxxxxx:role/CloudWatchRead"
          externalId: "myExternalID"
      regions:
        - eu-west-3
      period: 300
      length: 300
      metrics:
        - name: BytesInPerSec
          statistics: [Average]
        - name: BytesOutPerSec
          statistics: [Average]
        - name: CpuUtilization
          statistics: [Average]
        - name: ErroredTaskCount
          statistics: [Maximum]
        - name: MemoryUtilization
          statistics: [Average]
        - name: RebalanceCompletedTotal
          statistics: [Maximum]
        - name: RebalanceTimeAvg
          statistics: [Average]
        - name: RebalanceTimeMax
          statistics: [Maximum]
        - name: RebalanceTimeSinceLast
          statistics: [Average]
        - name: RunningTaskCount
          statistics: [Maximum]
        - name: SinkRecordReadRate
          statistics: [Average]
        - name: SinkRecordSendRate
          statistics: [Average]
        - name: SourceRecordPollRate
          statistics: [Average]
        - name: SourceRecordWriteRate
          statistics: [Average]
        - name: TaskStartupAttemptsTotal
          statistics: [Maximum]
        - name: TaskStartupSuccessPercentage
          statistics: [Average]
        - name: WorkerCount
          statistics: [Maximum]

Current Behavior

Error log :

{"account":"xxxxxxxxxxxx","arn":"arn:aws:iam::xxxxxxxxxxxx:role/CloudWatchRead","caller":"discovery.go:40","err":"expected to discover resources but none were found","job_type":"AWS/KafkaConnect","level":"error","msg":"No tagged resources made it through filtering","region":"eu-west-3","ts":"2024-08-05T13:18:53.537750656Z","version":"v0.61.2"}

My MSK Connect already have some tags.
My IAM role work with another AWS resources (like EC2 or CloudFront)

Expected Behavior

I want to collect KafkaConnect metrics

Steps To Reproduce

No response

Anything else?

May be KafkaConnect can't be requested in the Resource Groups Tagging API from AWS ?

@gaetanars gaetanars added the bug Something isn't working label Aug 5, 2024
@gaetanars gaetanars changed the title [BUG] exporter can't collecte tagged MSK Connect (KafkaConnect) [BUG] exporter can't collect tagged MSK Connect (KafkaConnect) Aug 5, 2024
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