18
OBSERVABLE MICROSERVICES Maria Gomez @mariascandella

Observable Microservices

Embed Size (px)

Citation preview

Page 1: Observable Microservices

OBSERVABLE MICROSERVICESMaria Gomez @mariascandella

Page 2: Observable Microservices

PRODUCTION

http://blog.takipi.com/5-ways-to-not-f-up-your-microservices-in-production/

Page 3: Observable Microservices

How do they discover each other?

How do we track what they are up to?

How do we know if they are healthy?

Page 4: Observable Microservices

How do they discover each other?

Page 5: Observable Microservices

SERVICE DISCOVERY

PaymentsPayments

Payments

Service Registry

Customer ServiceCustomer

ServiceCustomer

Service

Register

Look up

Bind

Page 6: Observable Microservices

SERVICE DISCOVERY

Service Registry

DNS

Static file

Page 7: Observable Microservices

How do we track what they are up to?

Page 8: Observable Microservices

LOG AGGREGATION

PaymentsPayments

Payments Recommendations

Customer ServiceCustomer

ServiceCustomer

Service

Page 9: Observable Microservices

LOG AGGREGATION

Page 10: Observable Microservices

CORRELATION IDS

Service A

Service B

Service C

Service D

Initial Request Correlation Id:

1234 Correlatio

n Id:

1234

Correlation Id:

1234

Page 11: Observable Microservices

How do we know if they are healthy?

Page 12: Observable Microservices

HEALTH CHECK ENDPOINTS

Page 13: Observable Microservices

MONITORING

PaymentsPayments

Payments Recommendations

Customer ServiceCustomer

ServiceCustomer

Service

Page 14: Observable Microservices

MONITORING

statsd/graphite

Page 15: Observable Microservices

MONITORING

Page 16: Observable Microservices

MONITORING

Page 17: Observable Microservices

SEMANTIC MONITORING

Confirmation