hertzbeat icon indicating copy to clipboard operation
hertzbeat copied to clipboard

[Question] <title>When adding monitoring, the minimum monitoring period is 30 seconds. Can this limit be adjusted according to demand

Open Johonnyr opened this issue 1 year ago • 9 comments

Question

For example, at present, we have a monitoring demand that needs to be monitored every 10 seconds, but the page has limited the collection frequency, can this limit be changed to their own Settings, the current can not find where to configure this option

Johonnyr avatar Jul 23 '24 01:07 Johonnyr

The collect Intervals and the refresh time is not a same config , i thought u may wanna change the collect Intervals? image image

Aias00 avatar Jul 23 '24 01:07 Aias00

1721699487(1) Yes. As shown in the figure

Johonnyr avatar Jul 23 '24 01:07 Johonnyr

looks like the newest version has changed that; or may be u can edit the default 30 value

Aias00 avatar Jul 23 '24 01:07 Aias00

Umm, I'm using the latest version of Docker: VERSION=1.6.0. I want to change the collect interval to 10 seconds, but I can't do that at now.

Johonnyr avatar Jul 23 '24 02:07 Johonnyr

@Johonnyr hi, i have submit a pr, which allows setting the interval from 10, and step is also 10.

Aias00 avatar Jul 23 '24 04:07 Aias00

@Johonnyr hi, i have submit a pr, which allows setting the interval from 10, and step is also 10.

Thanks so much.But personally, I'm a little confused, why not allow the user to set the collect seconds freely? Users can make trade-offs based on their own server resources and actual needs

Johonnyr avatar Jul 23 '24 05:07 Johonnyr

@Johonnyr hi, i have submit a pr, which allows setting the interval from 10, and step is also 10.

Thanks so much.But personally, I'm a little confused, why not allow the user to set the collect seconds freely? Users can make trade-offs based on their own server resources and actual needs

i don`t really know the original reason, i think it is just a design defect;

Aias00 avatar Jul 23 '24 05:07 Aias00

i made some changes , now the interval from min value 10, and step is 1.

Aias00 avatar Jul 23 '24 05:07 Aias00

i made some changes , now the interval from min value 10, and step is 1.

Nice one!

Johonnyr avatar Jul 23 '24 08:07 Johonnyr