The application belongs to the field of wisdom city space-
time information platform, and is a space-time service unified management and intelligent monitoring method based on APISIX gateway. Through Admin API, upstream mapping tables of city and district levels are established to realize decoupling of back-end address and external access address, support hot update and non-restart traffic switching during service adding, deleting, modifying and inquiring, construct a
finite state machine for service approval state, automatically trigger creation, update or deletion of gateway routing configuration through an event-driven mechanism, develop a quota plug-in embedded in the access stage of APISIX, use Nginx
shared memory to configure a composite key with service ID: application ID: plug-in context, call the incr method to atomically increment the
record request number, calculate the remaining quota, automatically reset when TTL expires, and return HTTP 429 when exceeding the limit, configure the http-logger plug-in to send structured logs to a log
server, calculate service dimension and application dimension indicators in real time through access records and
expose APIs, and configure three types of composite early warning rules for service availability, service performance and access compliance.