prometheus/cloudwatch_exporter

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

raman0914 opened this issue · 5 comments

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....!!

 - 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

Also , i'm using v0.15.3 verison

I'm having the same issue running on version 0.15.4

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.

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