Skip to content
Web Development6 min read

Application Monitoring and Observability: Logs, Metrics, Traces and Useful Alerts

Application monitoring and observability: logs, metrics, traces, error tracking, SLIs and SLOs, alerting, incident workflows and privacy-conscious telemetry.

01

What does good application monitoring look like?

Good application monitoring tells you quickly when users are affected and gives you enough information to find out why. That means structured logs, metrics and traces, error tracking, a few service level indicators for the journeys that matter, alerts tied to those indicators, and an incident workflow, all designed so telemetry does not leak personal information. Uptime checks alone are not enough, and no tool guarantees uptime.

This guide is for engineering leads, product owners and founders running web applications, SaaS products and APIs. It covers logs, metrics, traces, alerts, error monitoring, SLIs and SLOs, incident workflows and privacy-conscious telemetry. For online stores, see ecommerce observability; for apps, mobile crash reporting; for AI features, LLM observability.

02

Key takeaways

  • Monitoring detects known problems; observability helps explain unknown ones. You need both.
  • Instrument once with open standards such as OpenTelemetry.
  • Use request and tenant IDs to connect logs, metrics and traces.
  • Define a few SLIs and SLOs for key journeys; alert on them.
  • Every alert must be actionable and owned.
  • Keep personal information out of telemetry; mask, restrict and set retention.
  • Review incidents and improve instrumentation afterwards.
03

Monitoring vs observability

Uptime monitoringApplication monitoringObservability
AnswersIs it reachable?Is it healthy against known measures?Why is it behaving this way?
DataExternal checksMetrics, error rates, thresholdsLogs, metrics and traces with context
CatchesFull outagesKnown failure modesUnexpected and partial failures
MissesSlow or broken journeysProblems nobody anticipatedLittle, if instrumented well
04

The three signals

Logs record events. Use structured logs (key-value or JSON) with timestamps, severity, request ID, tenant ID where relevant, and a clear message; avoid logging secrets and personal data. Metrics are numbers over time: request rates, error rates, latency percentiles, queue depth, resource use. Traces follow a request across services, showing where time is spent and where it failed. OpenTelemetry provides a vendor-neutral way to produce all three.

Add error tracking to capture exceptions with stack traces and context, grouped and assigned to owners, for both server and browser code.

05

SLIs, SLOs and alerting

Pick a few journeys that matter, such as sign-in, checkout, booking or report generation, and define indicators like 'share of checkout requests completing successfully within two seconds'. Set objectives for them over a period, as described in Google's SRE guidance. Alert when you are at risk of missing an objective, not on every internal blip.

  • Every alert has an owner and a runbook link.
  • Pages (urgent alerts) only for user-affecting problems that need action now.
  • Lower-priority issues go to tickets, not phones.
  • Review alert noise monthly and delete alerts nobody acts on.
  • Monitor background jobs, queues and scheduled tasks, which often fail silently.
06

Incident workflows

When an alert fires: acknowledge, assess user impact, communicate status, mitigate (roll back, switch off a feature flag, scale), investigate with traces and logs, resolve, then review. Keep an incident log and a status page or customer communication process. If an incident may involve personal information or a security compromise, follow your security incident plan; see cyber incident response planning.

07

Privacy-conscious telemetry

Telemetry is data, and it often contains personal information by accident.

  • Do not log request bodies, form fields, tokens or passwords.
  • Strip or hash identifiers in URLs and query strings.
  • Use internal IDs rather than emails or names in logs and traces.
  • Configure session replay and front-end monitoring to mask inputs and text.
  • Restrict access to logs and set retention to what operations and investigations need.
  • Know where your observability vendor stores data; if you are covered by the Privacy Act and telemetry includes personal information, APP 8 and APP 11 apply.
08

10 metrics to track after launch

Monitoring watches known signals, alerting tells a person when one needs attention, logging records events for investigation, and error tracking groups exceptions with stack traces so they can be fixed. These ten metrics cover most applications after launch. There are no universal thresholds: set targets from your users' expectations and a few weeks of normal data, and alert on symptoms users would notice rather than on every blip. See SLOs and error budgets.

MetricWhat it detectsAction it informs
1. Availability (synthetic checks on key journeys)The app or a journey is downPage the on-call person
2. Error rate by endpoint or screenNew bugs, bad releases, failing dependenciesRoll back or fix; check recent deploys
3. Latency (p95 and p99, not just averages)Slowness affecting a minority of usersFind slow queries, calls or code paths
4. Throughput (requests, jobs, orders per minute)Traffic spikes, or drops that signal a breakScale up, or investigate a sudden drop
5. Saturation (CPU, memory, connections, disk)Resources about to run outScale or fix leaks before failure
6. Queue depth and ageBackground work falling behindAdd workers or fix stuck jobs
7. Background job failuresEmails, syncs or reports silently failingRetry, fix, or notify affected users
8. External dependency errors and latencyA provider is failing or slowCircuit breaker, fallback, contact provider
9. Real-user web vitals or app start timeExperience on real devices and networksPrioritise front-end performance work
10. Business health signals (sign-ups, orders, logins)Problems that technical metrics missInvestigate when they fall unexpectedly
09

Choosing tools

Hosted observability platforms, open-source stacks and cloud-native tools all work. Consider instrumentation standards (prefer OpenTelemetry), cost at your data volume (ingestion and retention drive most cost), data location, access controls, and how well the tool links logs, metrics, traces and errors. Start small: error tracking, key metrics and tracing on your most important service usually deliver the most value first.

10

Hypothetical example: a booking platform

This example is hypothetical. A booking platform's uptime checks were green while some customers could not complete bookings. The team adds error tracking to the front end and API, OpenTelemetry traces across the booking service and payment integration, and an SLO for successful bookings. Traces show a payment provider timeout on one card type; a retry and timeout fix resolves it. Logs are changed to remove customer emails from URLs, and front-end session replay is configured to mask all inputs.

11

Common mistakes

  • Relying on uptime checks alone.
  • Logging everything, including personal data, then paying to store it.
  • Alerts on every metric, so none are trusted.
  • No request IDs, so logs from different services cannot be connected.
  • Ignoring background jobs and scheduled tasks.
  • Promising customers uptime the system cannot measure.
12

For delivery practices, see DevOps for growing businesses. For growth, see scaling SaaS applications. For cost control of telemetry, see cloud cost optimisation.

13

Sources

OpenTelemetry documentation; Google SRE book, service level objectives; OAIC, APP 11.

Tables, checklists and example are ours. No uptime or performance outcome is promised. Nothing here is ZSpace client data.

14

Conclusion

Monitoring tells you something is wrong; observability helps you understand why. Instrument with open standards, connect logs, metrics and traces, define SLOs for the journeys users care about, alert only on what needs action, and keep personal information out of telemetry. Then learn from every incident. To turn monitoring into reliability targets, see SLOs and error budgets.

To act on what monitoring finds, see autonomous IT operations.

Can you see what your users experience?

ZSpace Labs is an India-based, remote-first technology studio working with Australian and international businesses on well-instrumented web applications and mobile apps. If it would help to review what your application should measure, we are happy to talk it through.

Start a Project
FAQ

Common questions.

Monitoring checks known conditions, such as whether a site is up or CPU is high, and alerts when they cross thresholds. Observability is the ability to understand why something is happening from the data the system emits, usually logs, metrics and traces, including problems you did not anticipate. You need both: monitoring tells you something is wrong; observability helps you find out why.

No. A site can be up while checkout fails, pages are slow, a background job has stopped or one customer's data is not syncing. Uptime checks are a useful baseline; add error tracking, performance metrics for key journeys, job and queue monitoring, and traces to diagnose problems.

Alert on symptoms users feel, such as a rise in failed checkouts, error rates above a threshold, or slow key requests, rather than every internal metric. Every alert should be actionable and go to someone who can act. Too many alerts teach people to ignore them.

Service level indicators measure user experience, such as the share of requests that succeed within a time limit. Service level objectives are targets for those indicators over a period. They help teams decide when reliability work should take priority. They are internal targets, not promises to customers, unless you choose to publish a service level agreement.

It often does by accident: emails in URLs, form contents in logs, user IDs in traces, or session recordings that capture typing. Design telemetry to avoid personal information, mask what you cannot avoid, restrict access and set retention. If your business is covered by the Privacy Act, telemetry is subject to the same protection and overseas-disclosure rules as other data.

OpenTelemetry is an open-source, vendor-neutral standard and set of tools for generating and collecting logs, metrics and traces. Instrumenting with it lets you change monitoring vendors without rewriting instrumentation, and it is supported by most observability platforms.

Get in touch

Have a project in mind?

Whether you're building a new digital product, improving an existing website, or looking to automate part of your business — let's talk.