
Choose Logs and Metrics Around a User JourneyDevOps · INSIGHTObservability is useful when it helps explain what happened to a user’s request. Collecting every available number can produce noise without improving diagnosis. Begin with one journey and identify the questions you would need to answer if it failed.
Map the journey
For a fictional article search service, the path includes receiving a query, contacting the search component, and returning results. Ask whether the request arrived, whether the dependency responded, and whether the visitor received a usable answer.
Give metrics and logs different jobs
A metric can show that failures increased during a period. A log can provide details about a particular event. Plan both around meaningful states rather than logging vague messages such as “done”.
Use a request identifier where appropriate so related events can be connected. Avoid recording passwords, access tokens, or unnecessary personal information. More detail is not automatically better when it creates a privacy or access problem.
Make alerts actionable
An alert should point to a condition someone can investigate and an owner who can respond. If no action follows from a signal, consider whether it belongs on a dashboard instead of waking someone.
Run a safe investigation
In a local environment, simulate a dependency timeout and use your signals to explain the failure. Record which question each metric or log answered and where you still lacked evidence.
Your portfolio report can include a journey map, a small signal catalogue, and a worked investigation. It should show how the information supports diagnosis rather than celebrate the number of dashboards created.
Created with AI assistance for JobJet. Illustrative exercises use fictional data; no employer outcomes are promised.