question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't specify region for a metric

See original GitHub issue

Would be nice if it was possible, as I am trying to get at AWS/Billing metrics from a region different from us-east-1

I can easily run 2 cloudwatch_exporters, but wouldn’t it be nice to be able to just do:

region: us-west-2
metrics:
  # ELB Metrics
- aws_namespace: AWS/ELB
  aws_metric_name: HealthyHostCount
  aws_dimensions: [LoadBalancerName]
  aws_statistics: [Average,Maximum]

  [...]

   # Billing is strange, only exists in us-east-1
 - aws_namespace: AWS/Billing
   region: us-east-1
   range_seconds: 21600
   aws_metric_name: EstimatedCharges
   aws_dimensions: [ServiceName,Currency]
   aws_dimension_select:
     Currency: [USD]

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:3
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

6reactions
nanard52commented, Jul 13, 2017

I found another exporter that works with multiple region and AWS Billing : https://github.com/Technofy/cloudwatch_exporter

5reactions
brian-brazilcommented, Jun 21, 2017

It’s expected that you’d run the cloudwatch exporter in the region in question, as it’d be unreliable to do otherwise. Supporting multiple sets of metrics/regions in a single exporter would put this on the path to being like the blackbox/snmp exporters which I don’t think is a justified complication.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Metric data goes to wrong region in AWS SDK for C++ ...
However, if I run the cw_put_metric_data example, metrics go to us-east-1 instead of us-west-2. EDIT: Aws::CloudWatch::CloudWatchClient is ...
Read more >
Why isn't the unified CloudWatch agent pushing my metrics or ...
I have configured the unified CloudWatch agent on my Amazon Elastic Compute Cloud (Amazon EC2) instance to post metrics and logs to Amazon ......
Read more >
Can metric filter stats between different AWS regions be ...
I have created a Cloudwatch Metric Filter for response latency We have regions in us-west-2 and us-east-2 and I have put separate Metric...
Read more >
Frequently asked questions about Azure Monitor metric alerts
Check if the autoMitigate property is set to false . Can't find the metric to alert on: Virtual machines guest metrics. To alert...
Read more >
[GA4] Analytics dimensions and metrics - Google Support
(not set) is a placeholder name that Google Analytics uses when it hasn't received information for a dimension. The following sections describe how...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found