Instrumentation Naming & Event Contract Template
A fillable event contract template with naming conventions, required/optional payload documentation, versioning rules, privacy/compliance notes, test checklist, and a lightweight governance workflow. Saveable form fields help teams produce consistent, discoverable, and validated telemetry at the source.
Event Contract Template
Purpose
This template captures a clear, discoverable contract for a tracked event: its canonical name, payload schema, ownership, versioning, privacy considerations, test requirements, and rollout plan. Use it to avoid accidental telemetry artifacts, make events discoverable, and enable reliable downstream analysis.
Naming conventions (quick rules)
- Use lowercase, dot-separated namespaces: <domain>.<entity>.<action> (e.g., orders.checkout.completed).
- Prefer business semantics over implementation details.
- Avoid verbs that imply system internals (use completed/succeeded/failed rather than ack).
- Include version in the contract, not the name; use a separate version field for evolution.
How to use
Complete the fields below, attach or link a machine-readable schema (JSON Schema, Avro, Protobuf), and add tests. Save the contract and notify known consumers before rolling out changes.
Save a personal copy, bring it to your team, or tailor the questions and workflow to fit what you are hungry to improve.
Discussion
Comments and conversation will live here.