openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #18036
Re: [ceilometer] meter data volume
> Not at all. It means the CPU time consumed is reset to 0, but
> that's not an issue in itself, the API should be capable to
> deal with that if you ask for the total usage.
Would that total usage be much more apparent if we started
metering the delta between CPU times on subsequent polling
periods as a gauge measure? (As opposed to treating it as
a cumulative measure)
> > /v1/resources/(resource)/meters/(meter)/volume/sum" just
> > return the sum value of all the cpu 'counter_volume', like '8
> > minutes' + '18 minutes'. Is it reduplicate ?
>
> Don't understand what you mean, but the CPU counter is a
> cumulative one, and asking for its sum is a non-sense. You want
> to ask for (max - min) to get the used value, something which
> is not in the API yet.
I don't think (max - min) would suffice to give an accurate
measure of the actual CPU time used, as the counter may have
reset multiple times in the course of the requested duration.
Cheers,
Eoghan
Follow ups
References