apinf / platform

Apinf - Open source API management platform with multi proxy and protocol support

Home Page:https://apinf.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unnecessary cron jobs started when Monitoring is set on

matleppa opened this issue · comments

General

After an API is connected to a Proxy, it is possible to set on Monitoring, which indicates, if API is responding to a GET method.

When the Monitoring is started, also a cron job for recurring sending of GET request is started.

Problem

Within starting cron job for Monitoring, also cron jobs related to collection of traffic data from Proxy via ElasticSearch are started.

In case ElasticSearch connection is not working properly, it leads UI freezing. In any case it is unnecessary functionality.

It seems, that autorun in apinf_packages\dashboard\client\analytic\body\body.js is triggered, when url is changed. Thus causing the requests to be sent to ElasticSearch.