Support Questions
Find answers, ask questions, and share your expertise

how to get a widget for Capacity queue utilization every 30 sec

how to get a widget for Capacity queue utilization every 30 sec

Guru

Hello Everyone,

In ambari widgets we get data for every 1 minute if we extract for a 1 hr but if we go for one day or more then this time interval keep on increasing.

But my requirement is to get a widget for Capacity queue utilization every 30 sec. So can you please help me to get it done.

Thanks in advance.

3 REPLIES 3

Re: how to get a widget for Capacity queue utilization every 30 sec

Mentor

Re: how to get a widget for Capacity queue utilization every 30 sec

Guru

@Artem Ervits Sorry if I could not explain my question. Actually I don't have any issue by creating widgets, but when I export into csv for 1 hr then it would be on 1 min interval but as I go for one day or week or year then this interval increase to 1 hr. So my requirement is to have 30 sec interval only for 1 month or one year also.

I tried to follow below URL but could not get clear idea .

https://cwiki.apache.org/confluence/display/AMBARI/Configuration

Re: how to get a widget for Capacity queue utilization every 30 sec

Mentor

@Saurabh Kumar I understand what you're asking, this should clarify your dilemma, that behavior is by design. This is taken from https://github.com/apache/ambari/blob/trunk/ambari-server/docs/api/v1/index.md

It is important to understand that requesting large amounts of temporal data may result in severe performance degradation. Always request the minimal amount of information necessary. If large amounts of data are required, consider splitting the request up into multiple smaller requests.