prometheus / cloudwatch_exporter

Metrics exporter for Amazon AWS CloudWatch
Apache License 2.0
894 stars 324 forks source link

[metrics]: AWS/PrivateLinkService can't get metric data #619

Open huoshuaibing opened 9 months ago

huoshuaibing commented 9 months ago

Context information

Exporter configuration ```yaml -aws_dimensions: - ServiceId aws_metrics_name: EndpointsCount aws_namespace: AWS/PrivateLinkServices aws_statistics: - Maximum ```
Exporter logs ```log ``` ### What do you expect to happen? ### What happened instead?
matthiasr commented 6 months ago

Could you please show us what aws cloudwatch list-metrics --namespace AWS/PrivateLinkServices is for you?

One thing I find suspicious is that the documentation lists the dimension as Service Id (with a space), but I cannot see what it's like in actual CloudWatch because I don't use PrivateLink.

huoshuaibing commented 6 months ago

@matthiasr Yes, the dimension is Service Id 截屏2024-03-07 11 09 23