[stork-users] ISC Stork Server /metrics refresh rate
Slawek Figiel
slawek at isc.org
Mon Oct 23 08:30:27 UTC 2023
Hello Victor
Thank you for your report. It seems it is a bug. The metric puller
interval should be displayed on the Configuration > Settings page, but
it is missing.
I noticed you had created the GitLab issue to address the problem. Thank
you!
You can set the interval value directly in the database as a workaround.
You need to edit the value column in the public.setting table for a row
with the name column equals metrics_collector_interval. E.g.,:
UPDATE setting SET value=5 WHERE name = 'metrics_collector_interval';
The value defines the interval in seconds. After this change, you need
to restart your Stork server.
Regards,
Slawek Figiel
On 20/10/2023 22:02, Victor Petrescu wrote:
> Hi everyone,
>
> Does anyone know what is the refresh rate for the statistics found under
> /metrics ?
>
> I’m asking this because I’ve integrated Stork Server with Prometheus and
> Grafana. The issue is that in Stork Server the DHCP Lease usage adjusts
> accordingly to the ISC KEA DHCP server, but when pulling the metrics the
> value is not the same, seems to be an old one.
>
> I’ve noticed that if I restart the isc-stork-server the metrics are
> up-to-date.
>
> Thank you !
>
>
More information about the Stork-users
mailing list