ਆਬਜ਼ਰਵੇਬਿਲਟੀ ਬਾਹਰੀ ਆਉਟਪੁਟ ਤੋਂ ਸਿਸਟਮ ਦੀ ਅੰਦਰੂਨੀ ਸਥਿਤੀ ਨੂੰ ਸਮਝਣ ਦੀ ਯੋਗਤਾ ਹੈ — ਲੌਗਸ, ਮੈਟ੍ਰਿਕਸ, ਅਤੇ ਟਰੇਸਿਜ਼ ਦੇ ਮਾਧਿਅਮ ਰਾਹੀਂ। ਇਹ ਸਿਸਟਮ (ਖਾਸ ਕਰਕੇ ਡਿਸਟ੍ਰੀਬਿਊਟਡ ਸਿਸਟਮ) ਨੂੰ ਚਲਾਉਣ, ਡੀਬੱਗ ਕਰਨ, ਅਤੇ ਬਣਾਈ ਰੱਖਣ ਲਈ ਜ਼ਰੂਰੀ ਹੈ, ਜਿੱਥੇ ਤੁਸੀਂ ਉਹ ਬੰਦੋਬਸਤ ਨਹੀਂ ਕਰ ਸਕਦੇ ਜੋ ਤੁਸੀਂ ਨਹੀਂ ਦੇਖ ਸਕਦੇ।
ਆਬਜ਼ਰਵੇਬਿਲਟੀ ਦੇ ਤਿੰਨ ਸਤੰਭ
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.
