Sub topic 12
Defining success measures and telemetry
This chapter assumes you can already write a design intent statement and a rules section for a feature spec. It also assumes you know what a sprint and a milestone are. You do not need analytics experience.
Why a spec needs success measures
A design intent says what the player should experience. A success measure says how the team will tell whether that happened. Without one, "the dash feels responsive" turns into an opinion contest after launch.
Telemetry is the data a game sends back about what players do. Success measures decide which of that data matters. Telemetry is how you collect it. If you write the measure first, engineering knows exactly which events to build. If you skip it, the team either logs everything, which is expensive and noisy, or logs nothing and cannot answer the question later.
The concept graph for this chapter has two inputs. The design intent tells you what to measure. The mechanics and rules tell you which moments in the game can be observed.
From intent to a measurable claim
Take the dash intent from the template: "Give the player a short burst of movement to avoid attacks and cross gaps, so that movement feels responsive and skillful."
"Feels responsive" cannot be counted. Break it into claims that can be:
- Players use the dash regularly. A feature nobody uses has failed, however good it feels.
- Players use it for the stated purposes: dodging attacks and crossing gaps.
- Players do not hit the cooldown wall in frustration.
- Players improve at it over time, which is what "skillful" implies.
Each claim becomes a metric with a target. A metric is a number computed from events. A target is the value you expect if the intent is met.
| Claim | Metric | Target |
|---|---|---|
| Players use the dash | Dashes per player per 10 minutes of play | At least 6 |
| Dash is used to dodge | Share of dashes that start within 0.3 s before an enemy attack lands | At least 25% |
| Cooldown is not frustrating | Dash presses rejected by cooldown, as a share of all dash presses | Below 15% |
| Players get better | Damage taken during dashes in level 3 versus level 1 | Falls by at least 20% |
These numbers are placeholders. You choose them by comparing against similar features, playtests, or a prototype. State the source of each target in the spec. A target with no source is a guess, and reviewers should know that.
Leading and lagging measures
Some measures come quickly, such as playtest observations. Others take weeks, such as retention. Separate them in the spec.
- Leading measures are available during development: playtest completion rates, internal QA counts, prototype logs.
- Lagging measures need live players: usage after launch, retention, review sentiment.
A spec for a feature that will ship in two sprints should lean on leading measures, because the team cannot wait for lagging ones before deciding whether to keep building.
Choosing events
An event is a record that something happened, with a timestamp and a few details. Good events map to rules in the spec. The dash rules give you natural events:
dash_started: the player pressed Dash and a dash began.dash_rejected: the player pressed Dash and nothing happened, with a reason such ascooldown.dash_ended: the dash finished, with a reason such ascompleted,wall, ordamage.
Each end reason matches an edge case in the spec. This is deliberate. If the spec says "taking damage during a dash cancels the dash," then dash_ended with reason damage tells you how often that happens in real play.
# dash_events.yaml
events:
dash_started:
properties:
direction: [input, facing]
airborne: bool
level_id: string
dash_rejected:
properties:
reason: [cooldown, no_air_dash_left]
level_id: string
dash_ended:
properties:
reason: [completed, wall, damage]
duration_ms: int
level_id: stringKeep the event list small. Every event costs engineering time, storage, and review effort. A useful rule: each event must be tied to at least one metric in the table. If you cannot name the metric, drop the event.
Event design details that cause trouble
Naming and stability
Name events with a consistent pattern, such as noun_verb. Once data is flowing, renaming an event breaks dashboards and historical comparisons. Treat the names as part of the spec and change them through the same process as rules.
Context properties
An event without context is hard to use. Always include enough to slice the data: level or area, game version, and the player state that matters to the feature. Do not add properties "just in case." Each one needs a question it helps answer.
Denominators
Many metrics are ratios, and a ratio needs both parts logged. The cooldown metric above needs dash_rejected and also dash_started. A common mistake is logging only the interesting event, then discovering you cannot compute a rate.
Sampling and volume
An event that fires every frame will overwhelm the pipeline. Dash events fire a few times a minute, which is fine. For high-frequency things like position, specify sampling, such as one sample per second, and say so in the spec.
Privacy and consent
Telemetry about players is personal data in many regions. The spec should not decide the legal answer, but it should flag the question. Note whether the events contain any player identifier beyond an anonymous session ID, and point to the team's data policy. Add this to open questions if it is unresolved.
Putting it in the spec
Add a short section to the template, placed after Acceptance criteria. It should be brief and reference the event file the same way the template references the tuning file.
## Success measures
Intent claims and targets are listed below. Events are defined in dash_events.yaml.
| Metric | Target | Source of target | Type |
| --- | --- | --- | --- |
| Dashes per player per 10 min | At least 6 | Playtest 3 average | Leading |
| Dash presses rejected by cooldown | Below 15% | Prototype logs | Leading |
| Dash use in level 3 after launch | At least 70% of players | Comparable ability in previous title | Lagging |
## Review date
Check lagging measures 4 weeks after launch. Owner: Gameplay Design.The review date matters. A target nobody revisits is decoration.
Checking that telemetry works
Telemetry is a feature, so it needs acceptance criteria. Write them in the same Given/When/Then style.
Feature: Dash telemetry
Scenario: Rejected dash is logged with a reason
Given the player has dashed less than the cooldown time ago
When the player presses Dash
Then a dash_rejected event is sent with reason cooldown
Scenario: Damage-cancelled dash is logged
Given the player is dashing
When the player takes damage
Then a dash_ended event is sent with reason damageQA can verify these in a test build. Without this step, teams often discover months later that an event never fired.
How the pieces connect
Common errors
- Measuring what is easy instead of what the intent claims. Time spent in a menu is easy to log and rarely says whether a feature works.
- Setting targets after seeing the data. Write targets before launch, or you will fit them to whatever happened.
- Treating a number as proof. A low dash count may mean the feature is bad, or that the tutorial never taught it. Pair numbers with playtest observation.
- Logging only successes. Rejections, cancellations, and failures often explain the most.
- Forgetting tuning. When a metric misses, the first fix is often a tuning value, such as cooldown in
dash_tuning.yaml, not a rule change. Keeping them separate makes that adjustment cheap.
Exercise
A spec for an air dash states the intent "players use the air dash to recover from missed jumps." Name one metric with a target, and list the events needed to compute it, including the one needed as a denominator.
Show answer
A sample answer: "Share of falls into a pit that are saved by an air dash: at least 30%." The events are air_dash_started, with a property for whether the player was below the platform edge, and pit_fall_started. The denominator is pit_fall_started, because the share needs all falls, not only the saved ones. Any metric that ties directly to the intent and logs both parts of the ratio is acceptable. The spec should also say where the 30% comes from, such as a playtest or a comparable game.
Exercise
Why should each event in the event file be tied to at least one metric?
Show answer
Every event costs engineering time, storage, and review effort. An event with no metric does not help answer a question about the intent, so it adds cost without value. Tying events to metrics also shows engineering why each event exists.