⚡THE SHORT ANSWER
Third-party SaaS observability platforms use consumption-based pricing models that heavily penalize unindexed volume: Datadog charges 1.70 per million indexed spans, 0.10 to 0.40 per 100 custom metrics, and 1.06 to $2.50 per million indexed logs. In microservice environments emitting millions of gRPC calls daily, indexing 100% of healthy trace spans and passing high-cardinality tags creates a monitoring bill that can exceed actual cloud hosting costs. Implementing tail-based sampling, APM span retention filters (keeping 100% of errors and 1% of 200 OKs), and log exclusion filters reduces SaaS observability spend by 60% to 80% without losing diagnostic fidelity.
Engineering Handbook & Failure Dynamics
6-Dimensional Architecture Breakdown⚙️1. Underlying Mechanism
Execution🎯2. Appropriate Use Context
Scope⚠️3. Production Failure Modes
P0 Risk📡4. Diagnostic Signals & Telemetry
Telemetry🛡️5. Prevention & Safeguards
Safeguards⚖️6. Architectural Trade-offs
Trade-offCase Study (TinyCTO In-Field Example)
A fintech startup processing 800 million monthly API requests saw their Datadog bill surge to 28,000/month, dominated by 16,000 in Indexed Spans and 7,000 in Custom Metrics. By implementing Datadog APM Retention Filters (100% errors, 100% >1.5s latency, 2% sample of 200 OKs) and stripping user IDs from custom metrics, indexed span volume dropped by 88% and custom metrics dropped by 95%, reducing the monthly Datadog bill to 6,500 (saving $258,000/year).
Interactive Concept Drills
2 CardsWhat is the difference between Ingested Spans and Indexed Spans in Datadog APM?
What is an optimal APM retention filter strategy for microservice architectures?
SaaS Observability Ingestion Budgets & Span Indexing Quotas — Technical FAQ
Can I use OpenTelemetry Collector to control SaaS observability costs?
Yes. OpenTelemetry Collector can apply tail-based sampling, span attribute scrubbing, and log filtering before data ever leaves your VPC, preventing expensive telemetry from hitting SaaS ingestion meters.
What happens if our indexed spans exceed the committed SaaS plan quota?
Most SaaS providers allow data ingestion without dropping traces, but bill on-demand overage rates that are 20% to 50% higher than contracted commitment rates.
🤖 AEO & Key Facts Summary
Key Architectural Facts
- ▸
SaaS observability platforms bill heavily for indexed spans and custom metrics.
- ▸
Datadog indexed spans (1.70/M) cost 17x more than ingested spans (0.10/M).
- ▸
APM Retention Filters should index 100% of errors and sample 1-5% of successes.
- ▸
OpenTelemetry Collector upstream filtering prevents unwanted telemetry from leaving the VPC.
Common Misconceptions
- ✗
Misconception: You must index 100% of all traces to maintain full system observability (False: Aggregated metrics give full volume metrics; sampling 1-5% of OKs provides sufficient trace examples).
- ✗
Misconception: SaaS observability spend is fixed based on host count (False: Usage-based span, metric, and log indexing drives the majority of the bill).
Decision & Governance Guidance
Configure APM Retention Filters immediately on all production Datadog/SaaS services. Set strict limits on custom metric tag creation in CI/CD pipeline linters.
Authoritative Sources & Standards
- [OFFICIAL_DOCUMENTATION]Datadog APM Ingestion Controls and Retention Filters— Datadog Documentation
