1. Home
  2. Blog
  3. Custom Software

Custom Software

What Is Software Monitoring? Observability, Alerting and Error Budget Guide

What is software monitoring? Metrics, logs and traces, the four golden signals, error budgets, alert design and a six-step setup, with worked examples.

Contents 14 sections
  1. What Is Software Monitoring and How Does It Differ from Observability?
  2. What Are Metrics, Logs and Traces?
  3. What Are the Four Golden Signals?
  4. How Is an Error Budget Calculated?
  5. How Do You Design a Good Alert?
  6. What Is Alert Fatigue and How Do You Prevent It?
  7. What Are Incident Management, MTTD and MTTR?
  8. How Do You Design a Monitoring Dashboard?
  9. What Is Synthetic Monitoring and Why Do You Need It?
  10. How Much Does Monitoring Cost?
  11. How Do You Set Up Software Monitoring?
  12. What Are Common Monitoring Mistakes?
  13. Custom Software and Monitoring in Production with İnovabil
  14. Frequently Asked Questions

The order screen slows down at nine in the morning, dealers phone in to say "the system won't open," and the team learns about the problem from the customer. Software monitoring is the setup that measures the health of a system in production continuously, notices a problem before users do, and helps you find its cause quickly. Shipping software is half of the job; being able to see the software that is running is the other half.

In this guide we cover the difference from observability, the metrics-logs-traces trio, the four golden signals, the error budget, alert design, incident management, dashboards, synthetic monitoring, cost and a six-step setup. The example system is a dealer portal; all numbers are representative.

Key takeawayMonitoring is not about collecting a lot of data; it is about choosing a few measurements that answer the right question fast. Write the target (SLO) first, choose measurements to match it, and tie alerts only to situations where someone must act right now. Every alert needs an owner and a response step.

What Is Software Monitoring and How Does It Differ from Observability?

Monitoring means asking questions you already know to ask, continuously: "Has the error rate gone up, is the disk filling, does the order screen open?" Observability is the ability to work out the cause of a problem you did not anticipate from the data the system emits: "Why are orders slow for only one dealer?"

They are sequential rather than rival. Monitoring tells you a problem exists; observability helps you find why. A good setup first watches the critical flows, then adds diagnostic detail (logs and traces). We covered maintenance commitments in our maintenance agreement (SLA) guide; monitoring is the measurement layer that shows whether those commitments are being kept.

Recommended reading: Our custom software service

What Are Metrics, Logs and Traces?

Observability has three kinds of data; each answers a different question and none replaces the others.

Data typeWhat is it?Which question does it answer?Example (dealer portal)
MetricA numeric measure over timeHow much, how often, when did it start?Orders per minute, error rate, p95 latency
LogA timestamped event recordWhat exactly happened?"Stock query for order #1042 timed out"
TraceOne request's journey across servicesWhere was the time spent?Breakdown of an order request's duration

Metrics are cheap and form the basis of alerts; logs are detailed but bulky; traces show the bottleneck where several services are chained. Trace example: an order request that takes 1,200 ms.

Step (span)DurationShare of total
Gateway20 ms1.7%
Authentication40 ms3.3%
Order service180 ms15.0%
Stock query820 ms68.3%
Price calculation90 ms7.5%
Database write50 ms4.2%
Total1,200 ms100.0%

20 + 40 + 180 + 820 + 90 + 50 = 1,200 ms. The slowness is in the stock query, not the order service. Carry a correlation ID in logs that follows a request end to end, and keep personal data out of logs; for KVKK (Turkey's personal data protection law) obligations, consult your legal advisor. We explained how calls between services are split in our microservices architecture guide.

What Are the Four Golden Signals?

The four measurements to look at first for any system are latency, traffic, errors and saturation. If these four are set up well, most problems become visible.

SignalWhat it measuresDealer portal example
LatencyTime to answer a requestOrder submit p95 < 800 ms
TrafficAmount of demand on the systemRequests and orders per minute
ErrorsShare of failed requests5xx rate: 720 ÷ 30,000 in 5 minutes = 2.4%
SaturationHow full a resource isConnection pool: 85 of 100 in use = 85%

Do not trust the average for latency. If 90 of 100 requests take 200 ms and 10 take 3,000 ms, the average is (90 × 200 + 10 × 3,000) ÷ 100 = 480 ms, which looks reasonable; yet the p50 is 200 ms and the p95 is 3,000 ms: one user in ten waits three seconds. Percentiles (p95, p99) show the slow tail. Read the error rate as a share of total requests, not as a raw count.

How Is an Error Budget Calculated?

An error budget is the total failure your service level objective (SLO) allows: 100% − SLO. With a 99.9% target the system may be broken for one thousandth of the month; that allowance is the budget, and it gets spent.

SLO (monthly)Error budgetAllowed downtime in a 30-day month
99%1%432 min (7 h 12 min)
99.5%0.5%216 min (3 h 36 min)
99.9%0.1%43.2 min
99.95%0.05%21.6 min
99.99%0.01%4.32 min

30 days = 43,200 minutes; 0.1% of that is 43.2 minutes. You can also count requests: with 3,000,000 requests a month, a 99.9% target allows at most 3,000 failed requests. Example month: the portal had two outages, of 15 and 12 minutes.

Error budget example: SLO 99.9 percent, monthly budget 43.2 minutes, 27 minutes spent, 16.2 minutes left, budget ends on day 16
Error budget: spent, remaining and burn rate.
  • Spent: 15 + 12 = 27 min; 27 ÷ 43.2 = 62.5% (15 min is 34.7%, 12 min is 27.8%).
  • Remaining: 43.2 − 27 = 16.2 min (37.5%).
  • Burn rate (on day 10): linear spending would be 10 ÷ 30 × 43.2 = 14.4 min; actual spend was 27 min, and 27 ÷ 14.4 ≈ 1.9 times too fast. It burns 2.7 min a day; the budget runs out in 43.2 ÷ 2.7 = 16 days.

An example rule: if more than 50% of the budget is spent, risky releases stop and the team returns to permanent fixes. For release frequency see our CI/CD guide, and for capacity share see our technical debt article.

How Do You Design a Good Alert?

A good alert tells someone they must act now. An alert has four parts: condition, duration, owner and response step.

AlertCondition and durationTypeOwner
High error rate5xx rate > 2%, lasting 5 minPage (calls the on-call person)Portal team
Slow ordersp95 > 800 ms, lasting 10 minNotificationPortal team
Connection pool> 85%, lasting 15 minTicket (business hours)Infrastructure
Disk usage> 80%TicketInfrastructure

The duration condition filters out one-off spikes: a one-minute jump to 3% does not ring. The type split protects the night: only an urgent, user-facing situation becomes a page. Disk example: if 400 GB of a 500 GB disk is full and it grows 10 GB a day, the time left is (500 − 400) ÷ 10 = 10 days; a ticket is enough. Link every alert to a runbook.

Burn-rate alerts protect the budget. At a burn rate of 1 the budget ends exactly at month end. Budget share spent in a window = burn rate × window ÷ month length. A 30-day month is 720 hours.

Burn rateWindowBudget spentType
14.4×1 hour14.4 × 1 ÷ 720 = 2%Page
6×6 hours6 × 6 ÷ 720 = 5%Page
1×3 days (72 h)1 × 72 ÷ 720 = 10%Ticket

The thresholds are representative. At 14.4× the budget is gone in 720 ÷ 14.4 = 50 hours.

What Is Alert Fatigue and How Do You Prevent It?

Alert fatigue is when too many needless alerts desensitize the team and a real alert is missed. Two measures steer the improvement: precision (how many alerts that fired really needed action) and sensitivity (how many real incidents an alert caught).

Measure (monthly)BeforeAfter
Alerts fired12024
Needing action1816
Precision18 ÷ 120 = 15%16 ÷ 24 = 66.7%
Real incidents / caught10 / 910 / 10
Sensitivity90%100%
Time on needless alerts (10 min each)102 × 10 = 1,020 min = 17 h8 × 10 = 80 min ≈ 1.3 h

Three moves worked: a duration condition, grouping alerts, and a burn-rate alert; the slow leak that had been missed was caught too. Gain: 940 min ≈ 15.7 h; at ₺300 an hour that is ₺4,700 a month. Each month, fix or delete the alerts that required no action.

What Are Incident Management, MTTD and MTTR?

Incident management has five steps: detect, classify, respond, restore and review. Two measures steer the process: MTTD (mean time to detect) and MTTR (mean time to restore, from the start of the incident until the service is back).

4 incidents in the last three monthsDetection (min)Restoration (min)
Before4, 12, 2, 6 → MTTD = 24 ÷ 4 = 6 min30, 90, 18, 42 → MTTR = 180 ÷ 4 = 45 min
After2, 3, 1, 2 → MTTD = 8 ÷ 4 = 2 min20, 50, 14, 36 → MTTR = 120 ÷ 4 = 30 min

MTTR fell by 15 min; over four incidents that is 60 min saved. Assuming a loss of ₺35,000 an hour, that is ₺35,000 over three months. After every incident, hold a blameless review: why detection was late, which alert was missing, who will do what. For data-loss targets see the RPO and RTO concepts in our data backup guide.

How Do You Design a Monitoring Dashboard?

A dashboard does not replace alerts; it is where you look when an alert rings. A three-layer structure works.

LayerFor whom?Content
SummaryManagement, on-callSLO status, remaining error budget, the four golden signals (at most 6-8 panels)
ServiceDevelopment teamLatency and errors per endpoint, dependent systems
DiagnosisWhoever is respondingResource measures, log search, trace samples

Show the target line on the chart (such as 800 ms); color should carry meaning together with a threshold, not alone. Add release markers (which version shipped when) to the graph; many problems start in the same minute as a release.

What Is Synthetic Monitoring and Why Do You Need It?

Synthetic monitoring means testing a critical flow from outside at regular intervals like a fake user, even when no real user shows up: login, catalog, order submit. Measures based on real traffic are blind when traffic is low: if the night brings 6 requests an hour, there is one request every 10 minutes and an outage can go unnoticed for hours.

Example setup: 3 locations, 3 scenarios, one check a minute: 3 × 3 = 9 checks per minute × 43,200 min = 388,800 checks a month. Require 2 consecutive failures as the condition; detection delay is about 2 minutes. Use a separate test dealer account so the checks create no real data. For flows tied to external systems, watch the delivery measures in our webhook guide; for a security reading of unusual error rates, see our API security article.

How Much Does Monitoring Cost?

As data grows, so do storage and processing costs; three items are decisive.

ItemCalculationResult
Log volume3,000,000 requests × 5 lines × 0.5 KB = 7,500,000 KB7.5 GB/month
Trace volume (all)3,000,000 × 8 spans × 0.5 KB = 12,000,000 KB12 GB/month
Trace volume (10% sampling)12 GB × 10%1.2 GB/month (−90%)
Metric series, no dealer label40 endpoints × 5 status classes200 series
Metric series, dealer label500 dealers × 200100,000 series (500×)

A separate label per dealer (high cardinality) multiplies the series count by 500; if you need per-dealer analysis, do it in logs and traces, not metrics. In traces keep all failed requests and sample the successful ones; for retention periods of records containing personal data, consult your legal advisor.

Payback (representative): setup 20 person-days × ₺9,000 = ₺180,000; monthly running cost ₺8,000. Benefit: MTTR gain of 60 min ÷ 3 months = 20 min a month × ₺35,000/h ≈ ₺11,667, plus the alert-noise gain of ₺4,700 = ₺16,367. Monthly net ₺16,367 − ₺8,000 = ₺8,367; payback ₺180,000 ÷ ₺8,367 ≈ 21.5 months. If the hourly loss were ₺10,000, the benefit would be ₺3,333 + ₺4,700 = ₺8,033, barely covering the running cost (₺8,000). The value of the investment depends on what an outage costs you; for the hosting choice see our cloud vs on-premise guide.

How Do You Set Up Software Monitoring?

Follow six steps that start at the critical flow and widen.

Six steps of setting up software monitoring: key flows, SLO and target, data collection, alerts, dashboard and on-call, review
The six steps of setting up software monitoring.
  1. Key flows: Pick the 3-5 flows that matter most to users and the business (login, order, payment, invoice).
  2. SLO and target: For each flow write the measure (latency, errors) and the target; compute the error budget.
  3. Data collection: Collect metrics, structured logs and traces; add the correlation ID; keep personal data out.
  4. Alerts: Write condition, duration, type, owner and runbook for each alert; add synthetic checks.
  5. Dashboard and on-call: Build the three-layer dashboard; set the on-call rota and escalation chain.
  6. Review: Each month review alert precision, budget status and MTTR; delete needless alerts.

Discuss measurement points during requirements; for their place in the process see our software development life cycle guide.

What Are Common Monitoring Mistakes?

  • Alerting on everything: An alert that needs no action buries the real one.
  • Ownerless alerts: An alert with no named owner belongs to nobody.
  • Not monitoring the monitoring: If the alerting system itself goes down, nobody knows; add an independent "am I alive" check.
We recommend reading: What is custom software? Layers, types, advantages and a needs test
We recommend reading: What Is Test Automation?
We recommend reading: What Is Multi-Tenant Architecture? Data Isolation, Cost and Design Guide
We recommend reading: How to Do Incident Management and Post-Mortems: SEV Levels, On-Call, MTTR and Blameless Review Guide
We recommend reading: Disaster Recovery and Business Continuity Planning: BIA, RTO, Tiers and Drills Explained
We recommend reading: How to Manage Cloud Costs (FinOps): Tagging, Right-Sizing, Commitments and Savings Guide
We recommend reading: What Is a Message Queue and Asynchronous Processing? Producers, Consumers, Retries and Capacity Guide
We recommend reading: How to Improve Database Indexing and Query Performance: An Index, N+1 and Slow Query Guide
We recommend reading: How to Design an Audit Log: Event Schema, Immutability, Retention and Payback Guide
We recommend reading: What Is Batch Processing and Scheduled Jobs? Batch Windows, Restarts, Locks and the Critical Path
We recommend reading: How to Design Mobile Push Notifications: Types, Permission, Frequency Caps and Measurement Guide
We recommend reading: How to Ensure Transactional Email Deliverability: Authentication, Warm-Up, Bounces and Monitoring Guide
We recommend reading: What Is Caching? Layers, TTL, Invalidation, Cache Stampede and Payback Guide
We recommend reading: How to Prevent Double Selling with Concurrency Control: Locking, Optimistic Versioning and Reservations
We recommend reading: What Are Feature Flags and Gradual Rollout? Percentage Buckets, Stop Criteria and Flag Debt Guide
We recommend reading: What Is Event-Driven Architecture? Event Types, Outbox, Replay and Payback Guide
We recommend reading: How to Set Up Centralized Log Management: Structured Logs, Retention and Cost Guide
We recommend reading: How to Run Integration Operations: Error Queues, Reprocessing and Monitoring Dashboards
We recommend reading: How to Ensure Data Pipeline Reliability and Data Observability: Freshness, Volume, Tests and Payback Guide
We recommend reading: How to Measure and Improve Mobile App Performance and Crash Rate: Indicators, Crash Analysis and Performance Budget Guide
We recommend reading: How to Do Bug Tracking and Triage in Software: Bug Records, Severity vs Priority and Backlog Guide

Custom Software and Monitoring in Production with İnovabil

At İnovabil, our focus is building company-specific software from scratch: custom software, ERP, CRM, e-commerce, web, mobile and integration. Our process page records the steps of analysis, design, development, testing, release, maintenance and support; we suggest putting in writing during requirements how the system will be monitored after release and which flows count as critical.

We built CRM, purchasing and mobile for Avcılar İnşaat; a purchasing system for İZBAN; logistics and shipment planning plus wholesale order management for Karyak; and warehouse management plus a complaint and support management system for Sleepy. Send a short summary of the critical flows of your current or planned system; let us write down the monitoring requirements together.

Recommended reading: Our software development process: step by step from analysis to release
Recommended reading: Our integration services and ERP software

Frequently Asked Questions

What is software monitoring and what is it for?

It is the setup that continuously measures the health of software in production and alerts the right person when something goes wrong. It lets you notice problems before users do, find causes quickly and shorten downtime.

What is the difference between monitoring and observability?

Monitoring asks questions you already know and tells you a problem exists. Observability is being able to find the cause of an unanticipated problem from metrics, logs and traces. In practice the two are built together.

How is an error budget calculated?

100% − SLO. At a 99.9% target the budget is 0.1%; in a 30-day month that means 43,200 × 0.001 = 43.2 minutes of downtime, or 3,000 failed requests out of 3,000,000. Divide the downtime spent by the budget to get the remaining share and the burn rate.

How do you prevent alert fatigue?

Tie alerts only to situations that need action now, add a duration to each condition, group alerts with the same cause and measure precision every month. Fix or delete alerts that need no action; give every alert an owner and a runbook.

What do MTTD and MTTR measure?

MTTD is the mean time from the start of a problem until it is noticed; MTTR is the mean time from the start of the problem until the service is back. Record both after every incident and aim to lower them over time.

Let's talk about your project

Tell us briefly about the software you have in mind; we'll listen and prepare a tailored roadmap and proposal.

Get a quote