VMware Modern Apps Community
corey_r
Community Manager
Community Manager
Jump to solution

Endpoint to see the status of the API is up & running

Hi Wavefront team,

We are using a lot your API (which is very nice).

But as every system it could fail. So do you have an endpoint to see if it's alive ? Something like a /status that answers 200 is ok, 500 is ko?

Thanks!

0 Kudos
1 Solution

Accepted Solutions
corey_r
Community Manager
Community Manager
Jump to solution

Hi Rémy-Christophe,

That's a great question! We don't have a designated "alive" endpoint, as, strictly speaking, the API should have the same availability as the service itself, and we're monitoring its performance closely. Having said that, the closest thing to the "alive" endpoint would be running a simple query (that won't introduce a lot of additional load) over a short period of time (10 minutes or less).

Here's a good example of such query that would work for all customers:

limit(1, ts(~agent.points.*.sent))

If the API is working, the query returns HTTP 200 and a few data points.

View solution in original post

0 Kudos
2 Replies
corey_r
Community Manager
Community Manager
Jump to solution

Hi Rémy-Christophe,

That's a great question! We don't have a designated "alive" endpoint, as, strictly speaking, the API should have the same availability as the service itself, and we're monitoring its performance closely. Having said that, the closest thing to the "alive" endpoint would be running a simple query (that won't introduce a lot of additional load) over a short period of time (10 minutes or less).

Here's a good example of such query that would work for all customers:

limit(1, ts(~agent.points.*.sent))

If the API is working, the query returns HTTP 200 and a few data points.

0 Kudos
corey_r
Community Manager
Community Manager
Jump to solution

Thanks, as always, for the quick answer.

0 Kudos