How to check the SLA of a webservices

4/17/2019

We currently deployed our Spring Boot Application in GKE(Google Kubernetes Engine) and we are currently using cloud endpoint to secure our web services. We have 11 web service developed which will be consumed by external clients. Is there any way i check the SLO (times, performance) of a webservice in cloud endpoint or in stackdriver.

-- Sid
google-cloud-endpoints
google-cloud-platform
google-kubernetes-engine
kubernetes

3 Answers

4/26/2019

First you need to expose metrics from your applications. Spring Sleuth is a great choice if you're using Spring Boot.

Then you need to collect the metrics and visualize them. Google provides a tool for that called Stackdriver Trace. It can also do metric-based alerts. You can find a sample setup for your use case here.

There are other performance monitoring services such as Dynatrace or Datadog.

If you want a self-hosted solution, you can use Zipkin which is inspired by an internal Google system called Dapper.

-- Shnatsel
Source: StackOverflow

4/26/2019

Have you looked at Google cloud console UI? Its "Endpoints" tag should show all services your project is running.

-- Wayne Zhang
Source: StackOverflow

4/17/2019

You might want to check:

Jaeger is a opentracing standard and can help understand the values, and sleuth is a tool to integrate with spring, there are several options, you might want also to consider opencensus

-- gonzalesraul
Source: StackOverflow