-
Notifications
You must be signed in to change notification settings - Fork 324
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]: Not getting all metrics for multiple resources with tags #575
Labels
Comments
That's concerning 😬 and difficult to debug without access to your environment. What happens when you look for these resources using The core of fetching the resources is here. Could you add more debug logging there to figure out where it's going wrong? |
Or is this a problem with metrics being available only after a long delay? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We are trying to fetch metrics with tags (using aws_tag_select) for multiple resources.
However we are getting metrics only for 2 or 3 resources but not for all. Also we are getting aws_resource_info only for few resources at a time but not for all resources.
here is our config file:
region: ap-south-1
#delay_seconds: 10
#period_seconds: 600
metrics:
aws_namespace: AWS/SQS
use_get_metric_data: false
aws_metric_name: ApproximateNumberOfMessagesNotVisible
aws_dimensions: [QueueName]
aws_tag_select:
tag_selections:
Monitoring: ["enabled"]
resource_type_selection: "sqs:queue"
resource_id_dimension: QueueName
aws_statistics: [Average]
aws_namespace: AWS/ELB
use_get_metric_data: false
aws_metric_name: RequestCount
aws_dimensions: [AvailabilityZone, LoadBalancerName]
aws_tag_select:
tag_selections:
Monitoring: ["enabled"]
resource_type_selection: "elasticloadbalancing:loadbalancer"
resource_id_dimension: LoadBalancerName
aws_statistics: [Sum]
aws_namespace: AWS/RDS
use_get_metric_data: false
aws_metric_name: CPUUtilization
aws_dimensions: [DBInstanceIdentifier]
aws_tag_select:
tag_selections:
Monitoring: ["enabled"]
resource_type_selection: "rds:db"
resource_id_dimension: DBInstanceIdentifier
aws_statistics: [Sum]
aws_dimensions:
aws_metric_name: CPUUtilization
aws_namespace: AWS/EC2
aws_statistics:
aws_tag_select:
tag_selections:
Monitoring: ["enabled"]
resource_type_selection: "ec2:instance"
resource_id_dimension: InstanceId
aws_namespace: AWS/ApplicationELB
use_get_metric_data: false
aws_metric_name: RequestCount
aws_dimensions: [AvailabilityZone, LoadBalancer]
aws_tag_select:
tag_selections:
Monitoring: ["enabled"]
resource_type_selection: "elasticloadbalancing:loadbalancer"
resource_id_dimension: LoadBalancer
The text was updated successfully, but these errors were encountered: