EXAMPLE DATA - fictional company. Not a real client, not real usage.
Client: Fjordbyte Logistics (fictional) · Report date: 21 October 2026 · Prepared by: PEPAI
EXAMPLE DATA - fictional company. Not a real client, not real usage.
EXAMPLE DATA - fictional company. Not a real client, not real usage.
| Area | Estimated monthly cost now | Main driver | Possible reduction | Confidence |
|---|---|---|---|---|
| Custom metrics | USD 47.80 above allotment [tool] | customer_id tag on histogram checkout.latency |
to ~USD 1 [tool] | Medium |
| Log ingestion | USD 101.57 [tool] | DEBUG cache-hit lines (50.9% of bytes) | USD 71.70 [tool] | Medium |
| Log indexing (assumed index setup) | USD 8,799 [tool, 0.1.3; index setup assumed] | /health and order INFO lines in the index | ~USD 7,552 [tool, 0.1.3; index setup assumed] | Low |
| RUM sessions | not analysed | - | - | - |
Input assumptions [illustrative]: 12 hosts on the Pro plan (allotment 1,200 custom metrics, computed by the tool); the log sample represents one second of production traffic.
EXAMPLE DATA - fictional company. Not a real client, not real usage.
Command: dd-metric-bill count --plan pro --hosts 12 --prices dd-prices.json metrics.dogstatsd
| Metric | Type | Combinations | Billable | Driver |
|---|---|---|---|---|
| checkout.latency | histogram (x5) | 400 | 2,000 | customer_id: 400 values, flagged unbounded (threshold, UUID pattern) |
| http.request.count | count | 144 | 144 | host 12 × endpoint 4 × status 3 |
| queue.depth | gauge | 12 | 12 | host |
| Total | 2,156 | allotment 1,200, surplus 956 |
[tool] Estimated cost of surplus: USD 47.80 / month.
Finding M1: unbounded customer_id tag. One histogram tagged with a per-customer UUID produces 93% of billable metrics (2,000 of 2,156).
customer_id as a metric tag (keep it in traces or logs), or index only host,env,endpoint,status via Metrics without Limits.--allow-tags host,env,endpoint,status indexed drops to 216 (below the allotment, indexed cost USD 0); ingested stays 2,156, cost USD 0.956/month.customer_id.EXAMPLE DATA - fictional company. Not a real client, not real usage.
Command: log-bill scan --window 1s --prices log-prices.json app.log (6,000 lines, 391,841 bytes)
| Pattern (masked) | Share of bytes | Ingest USD/month [tool] |
|---|---|---|
<TS> DEBUG cache hit <VAR> took <VAR> |
50.9% | 51.65 |
<TS> INFO GET /health <NUM> from <IP> |
21.9% | 22.28 |
<TS> INFO order <NUM> created for user <NUM> email=<EMAIL> |
20.1% | 20.41 |
<TS> WARN retry upstream carrier-api attempt <NUM> token=<SECRET> |
5.9% | 5.99 |
<TS> ERROR payment provider timeout after <VAR> |
1.2% | 1.23 |
| Total (1,015.652 GB/month) | 100% | 101.57 |
Finding L1: DEBUG noise in production. Half the bytes are cache-hit debug lines.
GET /health 200 at 10%.drop DEBUG cache hit and sample 0.1 GET /health 200 save USD 71.70 / month in ingest (6,000 → 1,328 lines per sample)./health (0), keep 10% of order INFO lines (88.9). That is 378.9 of 6,000 lines (6.3%) = 982M events/month = USD 1,247/month.log-bill scan --window 1s --retention 7 --billing annual --index-rules <rules> app.log (log-bill 0.1.3 (crates.io), re-run 21 Oct 2026): 6,928.416M events / USD 8,799.09 with drop DEBUG; 982.109M events / USD 1,247.28 adding drop GET /health and sample 0.1 INFO order [tool, 0.1.3]. The index setup and ratios are PEPAI assumptions [illustrative]; a real check uses the client's own exclusion filters and retention.Finding L3: sensitive data in logs (masking note). log-bill masked e-mail addresses in order lines (email=<EMAIL>) and a token value in carrier retries (token=<SECRET>). The report shows only masked patterns, never raw values.
EXAMPLE DATA - fictional company. Not a real client, not real usage.
Not analysed. None of PEPAI's tools reads Datadog RUM data. (rum-meter counts HCP Terraform Resources Under Management and is unrelated.) No figures are given.
EXAMPLE DATA - fictional company. Not a real client, not real usage.