I
I
Ilya2015-03-30 03:51:42
PHP
Ilya, 2015-03-30 03:51:42

How to monitor api?

Good time. There is a rest full api written in php. The question has arisen. How to monitor it? That is: availability check, number of calls to a certain method in api, etc.
Thanks in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Armenian Radio, 2015-03-30
@gbg

In each method, keep a detailed log of its work.
Implement a test method (echo) to check availability. Method to call from a service running on another hosting. Make sure that check entries appear regularly in the api logs.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question