tezvyn:

Centralized logging across microservices

Source: interviewintermediate

WHAT IT TESTS: aggregating and correlating logs. OUTLINE: ship structured logs from every service into a central searchable store, then propagate a correlation ID through all hops to trace one request. RED FLAG: grepping per-host files with no shared ID.

WHAT IT TESTS: building a logging pipeline plus cross-service correlation. ANSWER OUTLINE: each service emits structured JSON logs; an agent forwards them into a central searchable store and dashboard. To trace one user request across services, generate a correlation or trace ID at the edge and propagate it via headers through every downstream call, stamping it on every log line so you can filter the whole request's journey. Add log levels, retention, and access control. RED FLAG: unstructured logs on individual hosts with no shared ID.

Read the original → interview

Get five bites like this every day.

Tezvyn delivers a daily feed of 60-second tech bites with quizzes to lock in what you learn.

Centralized logging across microservices · Tezvyn