Not sure about cheaper because the pricing is the same (per metric
requested).
But for sure it will be much faster. One request of GetMetricData can
retrieve the same amount of data as 500 requests of GetMetricStatistics.

On Tue, Apr 19, 2022 at 7:02 PM Stuart Clark <stuart.cl...@jahingo.com>
wrote:

> On 2022-04-19 16:14, Or Shachar wrote:
> > Hi,
> >
> > Our company recently hit this issue [1] - with `/metrics` endpoint
> > taking > 20s to load.
> > I started working on a solution and I saw that big contributions
> > should start with a short discussion here.
> > Pardon for starting the work in advance.
> >
> > I'd really appreciate a short review of the suggested solution.
> > https://github.com/prometheus/cloudwatch_exporter/pull/414
> >
> > Also - I wonder if we should migrate to
> > https://github.com/nerdswords/yet-another-cloudwatch-exporter even
> > though it's not under the official Prometheus organization.
> >
> > Thanks in advance!
> >
> > keywords:
> > - getMetricStatistics
> > - getMericData
> > - cloudwatch
> >
>
> So are you intending on trying to move to using the bulk multi-request
> API call where possible to reduce the number of calls & make things
> quicker/cheaper?
>
> --
> Stuart Clark
>


-- 
בברכה,
  אור שחר

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prometheus-developers+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-developers/CAKztEin4Upw-5v_Jj_vkwopxxXhD8bJB2cVZXw6-CnGk%2BwpKpA%40mail.gmail.com.

Reply via email to