Covers an adoption decision across Dapr, a service mesh, the OpenTelemetry Collector and Backstage for a mid-sized .NET platform: starting from problems and constraints, sequencing by value and reversibility, what each costs to run, the platform features that already cover the need, ADRs, pilots and success metrics.
I would not adopt a list; I would solve the platform's actual problems in order of value per unit of operating cost and reversibility.
catalog-info.yaml files give most of the value.Every step gets an ADR, a pilot, success metrics and an exit plan.
"I would start by asking what problem each request is trying to solve, because at ten services and probably three or four teams our biggest risk is operating more infrastructure than we have people for. So I rank options by two things: value per unit of ongoing operating cost, and how easy they are to reverse.
The OpenTelemetry Collector comes first. The services already emit OpenTelemetry; putting an agent and a small gateway in front of Application Insights lets us tail-sample to cut ingestion cost, redact personal data centrally for our Privacy Act obligations, and keep vendor choice open. It is reversible: if it does not work, services point straight back at Azure Monitor. Next I would look at whether we have a real mesh problem. If security requires mTLS on every hop or we are doing frequent canaries, I would pilot the managed Istio add-on on one namespace, or Linkerd if we want simplicity, and measure latency and memory. If the need is only encryption and service identity, managed identity tokens and network policies may be enough, and no mesh is the right answer. Dapr I would only adopt if a Python or Go team joins, we must run outside Azure, or we need workflows; for an all-.NET Azure team the Azure SDKs plus Aspire are simpler. Backstage I would defer: a
dotnet newtemplate, catalog files in each repo and good docs get us most of the way until we are at thirty-plus services and several more teams. For example, at [company] we [introduced the collector first] and [cut telemetry cost by X%] before touching anything else.The mistake I see is adopting all four in a quarter because they are on the CNCF landscape, and then spending the next year upgrading them instead of shipping. Every addition should earn its place with an ADR, a pilot, a metric and an exit plan."
| Tool | Problem it solves | Operating cost | Reversibility | Verdict at 10 services |
|---|---|---|---|---|
| OpenTelemetry Collector | Telemetry cost, PII redaction, vendor lock-in, tail sampling | Low-medium (a DaemonSet + 2-3 gateway pods) | High | Adopt now |
| Service mesh | mTLS everywhere, canaries, gRPC balancing, edge metrics | Medium-high | Medium (sidecars and CRDs everywhere) | Adopt only for a named need; prefer managed |
| Dapr | Polyglot building blocks, portability, actors, workflow | Medium | Low (code depends on its API) | Hold unless the triggers appear |
| Backstage | Discoverability, ownership, golden paths at scale | High (people) | Medium | Defer; templates and catalog files first |
| Need | Without new tools |
|---|---|
| Service identity | Managed identity + Entra ID app roles |
| Network isolation | Kubernetes network policies, private endpoints |
| Resilience | AddStandardResilienceHandler in Aspire service defaults |
| Local multi-service dev | Aspire AppHost |
| New service consistency | dotnet new template + shared pipeline template |
On a [10]-service AKS platform, introducing a collector gateway with tail sampling cut Application Insights ingestion by [60%] in a month. A later [security assessment] required mTLS; a [three]-week pilot of the managed Istio add-on on one namespace showed [under 1 ms] p50 overhead, and it was rolled out. Dapr and Backstage stayed on the 'revisit' list in the ADR log.
Checks whether the candidate makes platform decisions from problems, cost and reversibility rather than trends, and can communicate them through ADRs and pilots.
Green flags
Red flags
problem? --no--> don't adopt
| yes
already solved by platform (AKS, Azure, Aspire, .NET)? --yes--> use that
| no
who will run it, and for how long? --nobody--> don't adopt / buy managed
| named owner
pilot on 1-2 services with success metrics + exit plan --> ADR --> roll out or back out
Two axes drive order: value per operating cost, and reversibility (a one-way door needs more evidence than a two-way door). The collector is a two-way door; Dapr, once in application code, is close to one-way.
| Tool | Day-2 work |
|---|---|
| Collector | Config changes, scaling gateways, alerting on drops, quarterly image updates |
| Mesh | Control and data plane upgrades, cert rotation, CRD policy, sidecar or ztunnel debugging |
| Dapr | Runtime and SDK upgrades in step, component configs and secrets, sidecar debugging |
| Backstage | Monthly framework upgrades, plugin maintenance, catalog quality, TypeScript skills |
A team of [eight] engineers cannot absorb all four without a dedicated platform function.
| Evidence | Change |
|---|---|
| Audit or customer contract requires mTLS on every hop | Bring the mesh forward |
| A Python or Go team joins, or an on-premises deployment target appears | Re-evaluate Dapr |
| Services pass ~30 or teams pass ~6, and owners are hard to find | Bring Backstage forward (consider managed) |
| Telemetry bill is small and one backend is enough | Collector can stay agent-only or be skipped |
The first, reversible step: the services keep vendor-neutral OTLP export, and only an environment variable decides whether they talk to the collector or directly to Azure Monitor. That is the exit plan in code.
// ServiceDefaults/Extensions.cs (excerpt): one switch, two paths
using Azure.Monitor.OpenTelemetry.AspNetCore;
using Microsoft.Extensions.Hosting;
using OpenTelemetry;
namespace Shop.ServiceDefaults;
public static class TelemetryExtensions
{
public static TBuilder AddTelemetryExport<TBuilder>(this TBuilder builder) where TBuilder : IHostApplicationBuilder
{
var otlpEndpoint = builder.Configuration["OTEL_EXPORTER_OTLP_ENDPOINT"];
if (!string.IsNullOrWhiteSpace(otlpEndpoint))
{
// Preferred: send OTLP to the collector, which samples, redacts and exports.
builder.Services.AddOpenTelemetry().UseOtlpExporter();
}
else if (!string.IsNullOrWhiteSpace(builder.Configuration["APPLICATIONINSIGHTS_CONNECTION_STRING"]))
{
// Fallback and exit plan: export directly to Azure Monitor, as before the collector.
builder.Services.AddOpenTelemetry().UseAzureMonitor();
}
return builder;
}
}
# ADR-014: Introduce the OpenTelemetry Collector before any other platform tool
Status: Accepted (2026-11)
Context: 10 .NET services on AKS; Application Insights ingestion is our second-largest Azure cost; PII found in spans.
Decision: Agent DaemonSet + 2-replica gateway (tail sampling, redaction). Services export OTLP only.
Rejected for now: Istio (no mTLS mandate yet), Dapr (all-.NET, Azure-only), Backstage (10 services, 3 teams).
Success: ingestion -40% in 60 days, 100% of error traces kept, zero PII in spans (CI test).
Exit plan: unset OTEL_EXPORTER_OTLP_ENDPOINT; services fall back to UseAzureMonitor().
Revisit when: mTLS required, a non-.NET team joins, or service count > 30.
The senior move is to treat each tool as a cost the platform must carry for years and to sequence by evidence. Observability infrastructure comes first because it is reversible and because every later decision needs data. Security and traffic tools come when a requirement makes them necessary, preferably as managed services. Code-level abstractions and portals come last, when scale or a polyglot estate makes them worth it.
| Option | When it fits | Cost | When not to |
|---|---|---|---|
| Adopt the collector now | Rising telemetry cost, PII risk, more than one backend likely | Low-medium, reversible | One tiny service with a small bill |
| Managed mesh on a mandate | Audit requires mTLS, many canaries, gRPC-heavy | Medium-high, sidecar or ztunnel ops | Identity and network policies already suffice |
| Dapr on a trigger | Polyglot, multi-environment, actors or workflow | Medium, code coupling | All-.NET on Azure |
| Backstage at scale | 30+ services, 6+ teams, ownership pain | High, people and skills | Ten services, three teams |
Measure each step: telemetry cost and retained error traces for the collector; latency, memory and incident diagnosis time for a mesh; code removed and broker features lost for Dapr; time to first deploy and template adoption for Backstage.
The OpenTelemetry Collector is a vendor-neutral process that sits between your services and your backends. Apps send OTLP to it; it runs pipelines per signal (traces, metrics, logs) made of receivers, processors and exporters.
azuremonitor), Prometheus, Grafana, or several at once.The point is decoupling: the .NET service only knows "send OTLP to the collector", so changing vendor, adding a second one or tightening sampling is configuration, not a redeploy of every service. The trade-off is one more component to scale, secure and monitor; with three services exporting straight to Azure Monitor you may not need it.
A service mesh moves service-to-service concerns out of code into the platform. A data plane of proxies intercepts every call, and a control plane configures them and issues certificates. You get automatic mTLS with workload identity, traffic management (retries, timeouts, weighted canaries, per-request gRPC balancing) and golden metrics per edge.
ztunnel for L4 mTLS and optional waypoint proxies for L7.The trade-off is operational: extra latency and memory per pod, a control plane to upgrade, and harder debugging. Under roughly ten services, the platform's built-in features are usually enough.
Dapr (Distributed Application Runtime) is a CNCF graduated project that runs a sidecar (daprd) next to each service. Your app calls the sidecar over local HTTP or gRPC, and the sidecar provides building blocks: service invocation, state, pub/sub, input/output bindings, secrets, actors and workflow. Which backing service is used, say Redis or Azure Service Bus for pub/sub, is chosen by a component YAML file, not by your code.
DaprClient, plus AddDapr() and [Topic] subscriptions in ASP.NET Core.It helps polyglot or multi-cloud teams and teams that want actors or workflow without building them. The trade-off: an extra network hop, simpler but narrower APIs than the native SDKs, and one more runtime to operate.
How to tell it (STAR)
**S:** Our ten-service platform had four teams' worth of tool proposals, Dapr, Istio, the OpenTelemetry Collector and Backstage, and no platform team to run them. **T:** I was asked to recommend what we should adopt and when. **A:** I mapped each tool to a real problem and an operating cost: telemetry cost and PII were real and urgent, mTLS was not yet required, and we were all .NET on Azure. I proposed the collector first with a pilot and ADR, a shared template instead of a portal, and written triggers for the mesh and Dapr. **R:** Telemetry cost fell [55%] in [two] months, PII in spans went to [zero], and when an [audit] later required mTLS we adopted the managed mesh in [three] weeks because the decision framework was already in place.
Last updated 23 Nov 2026.