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]: AWS/ES metrics not able to get pleasee help ,urgent! #593

Closed
raman0914 opened this issue Oct 18, 2023 · 5 comments
Closed

[bug]: AWS/ES metrics not able to get pleasee help ,urgent! #593

raman0914 opened this issue Oct 18, 2023 · 5 comments
Labels

Comments

@raman0914
Copy link

I'm not able to extract AWS/ES metrics from cloudwatch .

can anyone please provide me any demo on how he have done it.

I tried with

- aws_namespace: AWS/ES aws_metric_name: ClusterStatus.yellow aws_statistics: [ Average ] aws_dimensions: [ DomainName,ClientId ]

i tried below one in cli, i'm able to get metrics in cli but not in prometheus through exporter.

Screenshot 2023-10-18 at 11 18 44 PM

For other namespaces, it is working fine. but i'm not able to do it for AWS/ES. not sure what wrong i'm doing.

i really need help. i'm stuck in it. I have seen one discussions on this, but that also didn't work. Is there any example file something like Elastic search.yaml, that i can refer.

Please suggest....!!

@raman0914 raman0914 added the bug label Oct 18, 2023
@raman0914
Copy link
Author

 - aws_namespace: AWS/ES
aws_metric_name: ClusterStatus.yellow
aws_statistics: [ Average ]
aws_dimensions: [ DomainName,ClientId ]

This is what i tried in config.yml, yet it not worked

@raman0914
Copy link
Author

Also , i'm using v0.15.3 verison

@Lincon-Freitas
Copy link

Lincon-Freitas commented Oct 19, 2023

I'm having the same issue running on version 0.15.4

@raman0914
Copy link
Author

It worked for me bro,

try specifying only these with your aws configurations

- aws_namespace: AWS/ES
  aws_metric_name: ClusterStatus.yellow
  aws_statistics: [ Average ]
  aws_dimensions: [ DomainName,ClientId ]

don't use aws_dimesion_select.

and 1 more important , i tried rollout restart for my k8s where i deployed this as docker image. These two tricks worked for me.

@Lincon-Freitas
Copy link

Yeah it worked, thanks! I guess you can close the issue then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants