Skip to main content
Your “customer landscape” is sureops’s model of your environment: which services exist, who owns them, how they depend on each other, and where they run. It’s built from two sources: your .sureops/ contract (what you declare) and automatic telemetry discovery (what sureops observes).

Two paths to get started

Path 1: Generate a starter PR

From Settings → Organization → Knowledge Base → Generate starter contract, sureops composes a draft .sureops/services.yaml from whichever of these inputs are available, in priority order:
  1. A Backstage catalog — if you provide a catalog-info.yaml, sureops imports Component entities from it. Three ways to provide one: paste a URL to a hosted catalog-info.yaml, paste the raw YAML directly, or upload a file. See services.yaml reference for what’s required for a component to import cleanly.
  2. Telemetry signals — services already present in your landscape graph from prior telemetry/Kubernetes discovery.
  3. Auto-discovered GitHub repos — if neither of the above yields anything, sureops lists repositories your GitHub App installation can see and seeds one entry per repo.
  4. An empty starter — still valid; you fill in services.yaml by hand afterward.
There’s no LLM-authoring step and no CODEOWNERS read in this pipeline — the generator composes structured data from the sources above and renders it directly into YAML. It then opens a pull request against your knowledge base repository with the draft .sureops/services.yaml (plus a starter policy.yaml and runbooks/ scaffold). During the private beta, that starter policy.yaml turns on automatic fix PRs, revert PRs, and fix PRs with newly written code — see policy.yaml to change that. If .sureops/services.yaml is already on your knowledge base branch, or a starter PR is already open, sureops opens no new PR and imports nothing from Backstage — the confirmation links to the existing file or PR instead. If a starter PR is open, review and merge it — or, to import a Backstage catalog instead, close it and import again. If the file is already on your branch, edit it there. On a demo environment sureops merges this PR for you. On your own environment it opens as a draft: review it, correct anything wrong, mark it ready, and merge. sureops re-syncs on the next push that changes .sureops/ on your knowledge base branch. Good for: teams with many services that would take a while to document manually, or teams that want to see what sureops already knows before deciding what to fill in.

Path 2: Author .sureops/ yourself

Create the directory and files manually, following the schemas in this section: Start minimal — a services.yaml with name, git_repo, owner, runbook, and depends_on for your most critical services is enough to see a significant improvement in agent output. Only name and git_repo are actually required; the rest is strongly recommended. Good for: teams with a small number of critical services, or teams that already have service documentation in another form and can adapt it quickly.

How the landscape is built

Layer 0: Telemetry discovery

sureops observes service names from your OTel traces and metrics and from Kubernetes. This runs automatically on a schedule and provides a baseline — you don’t need to configure anything for this layer. Telemetry-discovered services appear in the landscape after the next discovery run (about hourly) and carry lower provenance. They’re useful for blast-radius analysis and dependency mapping, but agents are less confident about ownership and runbooks for undeclared services.

Layer 1: sureops-generated starter

When you request a starter PR, sureops composes telemetry discovery, any Backstage catalog you provided, and auto-discovered repos into a structured .sureops/services.yaml (see Path 1 above for the exact priority order). This is a scaffold — review and edit before merging. Once merged, the contract ingester reads it exactly like any other services.yaml: it becomes high-confidence, customer-locked data the moment it lands on your default branch, whether you hand-edited every line or merged it as-is.

Layer 2: Customer-authored .sureops/

Your merged .sureops/services.yaml and runbooks provide high-confidence, customer-locked data. These entries take precedence over telemetry and auto-discovery for any field you declare. The source ranking (highest wins), using the labels on the Coverage page: Manual > Customer contract > sureops contract > Telemetry > Kubernetes > GitHub / AWS. sureops contract is a tier for facts sureops provisioned on your behalf that you haven’t reviewed or edited — today it’s used for deploy-identity coordinates sureops seeds at environment provisioning, conceptually the same idea as this page’s Layer 1, though the services.yaml starter-PR flow above lands as Customer contract once merged, same as anything else in your contract.

Keeping the landscape in sync

After merging your contract

sureops ingests the contract on every push that changes .sureops/ on your knowledge base branch, which typically completes within seconds of the push. But what “takes effect” means depends on what changed:
  • Brand-new services, runbooks, and policy changes take effect on that next ingest, same as you’d expect.
  • Edits to a service you already declared take effect on that next ingest too. Changed values such as owner, tags, description, default_branch, identifiers.k8s_namespace, image.*, deploy.* and health replace the old ones (the image repository is also kept as an additive alias), and a value you remove from the file is cleared. A changed owner, runbook, repository or dependency replaces the old link rather than sitting alongside it. Alias identifiers are the exception — see Conflict resolution below.
You can check ingest status on the Knowledge Base settings page — it shows a banner for the current state (indexing, active with a “last synced” time, or a failed-ingest message with the reason).

When your architecture changes

Adding, editing or renaming a service (a rename creates a new node under the new name) goes through cleanly:
  1. Update .sureops/services.yaml via a PR to your knowledge base repository
  2. sureops re-ingests on merge
  3. The landscape graph is updated; agents use the new data on the next incident
Retiring a service (removing its entry from services.yaml) does not delete its node from the landscape graph today: the node keeps its existing record and stops being touched by future ingests. Other services’ depends_on links to it are dropped on the next ingest.

When telemetry adds a new service

If a new service name appears in your telemetry and isn’t in your contract, it’s added to the landscape as a telemetry-discovered service. The Knowledge Base settings page’s Services list is scoped to contract-declared services only, so it won’t show up there — check Settings → Organization → Coverage instead. Coverage shows four completeness metrics across your whole service inventory (total services, repo-mapped, runbook-attached, deploy-info) plus a provenance breakdown, and drills down into exactly two gap lists: services missing a repo and services missing a runbook. It doesn’t flag missing owners, and it doesn’t enumerate every service with a per-service provenance badge — the provenance breakdown is an aggregate count, not a roster. To promote a telemetry-discovered service to a first-class entry, add it to services.yaml.

Conflict resolution

Once a service is in your contract, the contract entry is the whole record — not a set of overrides layered on top of telemetry. Merging services.yaml locks the service, and from that point on an observed-provenance write (telemetry, Kubernetes scan, etc.) is rejected outright, except for refreshing the “last seen” timestamp. Telemetry can no longer add a field it observes but you didn’t declare. Your own contract is different: every ingest applies your edits. When you change a service in services.yaml and the new version is ingested, changed attributes replace the old values and attributes you removed are cleared. The service’s owner, runbook, repository and dependency links are replaced too: the old link is removed, so a service has one owner and one runbook, not both the old and the new. Identifiers that act as aliases (identifiers.otel_service_name, identifiers.k8s_label_selector, identifiers.k8s_deployment_name, the image repository and owners.github_team) are additive: a new value is added but the old one is not removed. An old OpenTelemetry service name, Kubernetes label or deployment name still matches the service, and an old Kubernetes label or deployment name can be shown to agents instead of, or as well as, the new one. If you move one of these names to a different service, it can still match the old service. To remove an old value, ask sureops support. Fix PRs go to source.repo when it is set, otherwise to git_repo. Changing that value moves the repository link: new fix PRs are opened against the new repository, and fix PRs already open on the old one stay there. While source.repo is set, changing only git_repo does not move fix PRs. A service you corrected by hand from an incident is ranked Manual; the next ingest still applies the fields your services.yaml declares and resets it to Customer contract, keeping the correction details. Concretely: identifiers.k8s_namespace (see the identifiers block in the services.yaml reference) is the only way a namespace ever lands on a contract-declared service. Telemetry happily discovers a namespace for a service that isn’t in your contract yet — but once that service is declared, a namespace you don’t declare stays off the node, even though telemetry keeps observing it on every trace. Add identifiers.k8s_namespace to the service’s entry and the next ingest applies it.

Manual authoring today; no contract-proposal PRs yet

Today, the only thing that writes to your services.yaml and policy.yaml is the one-shot starter generator described above (sureops does open separate PRs under .sureops/postmortems/ and .sureops/runbooks/). Once your contract is merged, sureops does not open follow-up pull requests proposing changes as it observes new services or topology drift — all edits after the initial setup are yours, made directly against .sureops/services.yaml via your normal PR process. Every service your contract declares is locked as a whole, not just the individual fields you declared. Once it’s locked, auto-discovery can no longer add or change any of its fields (only its last-seen time still refreshes) — there’s no residual “fill in whatever you didn’t declare” behavior after that point. If you want a field present on a contract-declared service, it needs to be in the contract.