અવલોકનીયતા એ સિસ્ટમના બાહ્ય આઉટપુટ્સ દ્વારા તેની આંતરિક સ્થિતિ સમજવાની ક્ષમતા છે — લોગ્સ, મેટ્રિક્સ, અને ટ્રેસીસ દ્વારા. તે સિસ્ટમ્સ (ખાસ કરીને વિતરિત સિસ્ટમ્સ) ચલાવવા, ડીબગ કરવા અને જાળવણી માટે આવશ્યક છે, જ્યાં તમે જે કંઈ જોઈ શકતા નથી તેનું વ્યવસ્થાપન કરી શકતા નથી..
અવલોકનીયતાના ત્રણ સ્તંભો
LOGS → timestamped records of events (what happened) → detailed, for debugging specific issues
METRICS → numerical measurements over time (CPU, latency, request rate, error rate) →
aggregate health/performance; dashboards; alerting
TRACES → follow a request's path through the system (across services) → understand flows,
find bottlenecks/failures in DISTRIBUTED systems (which service was slow?)
→ together: understand WHAT happened, the OVERALL state, and the PATH of requests.
