patternMinor
Measure service unavailability during upgrade
Viewed 0 times
duringunavailabilityservicemeasureupgrade
Problem
I am deploying a microservices - based application using an orchestrator (Rancher specifically).
During the service upgrade (when new images are being pulled and services re-discover one another), there is a small service outage.
What is the best / recommended way to measure the downtime?
I am performing e.g. a
but I want to time the duration of e.g.
During the service upgrade (when new images are being pulled and services re-discover one another), there is a small service outage.
What is the best / recommended way to measure the downtime?
I am performing e.g. a
watch -n1 'wget --spider http://some.endpoint.whoa'but I want to time the duration of e.g.
502 responses.Solution
What you suggest might be the simplest way to collect the data, but you will have to do quite a bit of work to extract the availability over certain periods.
I think it's fair to say that if you want availability, you need a monitoring system. This means having an extra service in your catalogue to continuously probe the availability of your microservices over time. Storing them in a time-series database would allow you to make queries to establish availability over various periods.
There are many tools which could do this for you. A good starting place would be the CNCF monitoring landscape
I think it's fair to say that if you want availability, you need a monitoring system. This means having an extra service in your catalogue to continuously probe the availability of your microservices over time. Storing them in a time-series database would allow you to make queries to establish availability over various periods.
There are many tools which could do this for you. A good starting place would be the CNCF monitoring landscape
Context
StackExchange DevOps Q#3247, answer score: 1
Revisions (0)
No revisions yet.