Skip to content

Unable to scrape the EKS cluster metrics using the EKS adot addon and prometheus receiver #1347

@Jobanpreet-CEQEMU

Description

@Jobanpreet-CEQEMU

I am trying to integrate my EKS cluster using the EKS addon named adot.

I have followed the official AWS documentation of adding the EKS addon in my cluster along the requirements specified in this document.

Note: I have enabled the EKS addon from the AWS console with eks pod identity roles

Image

I am able to a add the EKS addon in my cluster, after which the opentelemetry-operator-system namespace gets created in my cluster along with the following pods in it

Image

After enabling the eks addon i create the ServiceAccount, ClusterRoleBinding, ClusterRole using the following file:

service-account.yaml

when i deploy the ADOT collector using the following configuration its not scraping any data and also not forwarding any data to new relic(i am using the debug exporter to verify the data):

daemonset-aws.yaml

here is the logs of the adot daemonset collector:
first node daemon collector logs:

adot-deamon-collector-logs1.json

second node daemon collector logs:

adot-deamon-collector-logs2.json

here are logs of the pods running in opentelemetry-operator-system namespace created by enabling the eks addon:

operator-logs.json

why no data is being scraped by prometheus receiver?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions