Exporter not picking up AWS/Kafka metrics
See original GitHub issueI am able to get metrics using the exporter tool for other AWS resources but when attempting to use for Kafka, no metrics are being retrieved:
`HELP tagging_api_requests_total API requests made to the Resource Groups Tagging API TYPE tagging_api_requests_total counter
HELP cloudwatch_exporter_scrape_duration_seconds Time this CloudWatch scrape took, in seconds.
TYPE cloudwatch_exporter_scrape_duration_seconds gauge cloudwatch_exporter_scrape_duration_seconds 0.0403737
HELP cloudwatch_exporter_scrape_error Non-zero if this scrape failed.
TYPE cloudwatch_exporter_scrape_error gauge
cloudwatch_exporter_scrape_error 0.0
HELP cloudwatch_requests_total API requests made to CloudWatch
TYPE cloudwatch_requests_total counter
cloudwatch_requests_total{action=“listMetrics”,namespace=“AWS/Kafka”,} 16.0`
There is not any examples of using Kafka in the repository, does anyone know if it has been successfully used for Kafka before?
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (1 by maintainers)
BTW guys, JFYI you have to specify both aws_dimensions to get the metrics back as @RmMsr described.
Hi @jim5252 ,
we experienced the same problem. After quite a while of experimenting we noticed that the naming is crucial. For example the dimensions must be identical to the AWS naming with case and whitespace.
Example: