e11y 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.rspec +4 -0
- data/.rubocop.yml +69 -0
- data/CHANGELOG.md +26 -0
- data/CODE_OF_CONDUCT.md +64 -0
- data/LICENSE.txt +21 -0
- data/README.md +179 -0
- data/Rakefile +37 -0
- data/benchmarks/run_all.rb +33 -0
- data/config/README.md +83 -0
- data/config/loki-local-config.yaml +35 -0
- data/config/prometheus.yml +15 -0
- data/docker-compose.yml +78 -0
- data/docs/00-ICP-AND-TIMELINE.md +483 -0
- data/docs/01-SCALE-REQUIREMENTS.md +858 -0
- data/docs/ADR-001-architecture.md +2617 -0
- data/docs/ADR-002-metrics-yabeda.md +1395 -0
- data/docs/ADR-003-slo-observability.md +3337 -0
- data/docs/ADR-004-adapter-architecture.md +2385 -0
- data/docs/ADR-005-tracing-context.md +1372 -0
- data/docs/ADR-006-security-compliance.md +4143 -0
- data/docs/ADR-007-opentelemetry-integration.md +1385 -0
- data/docs/ADR-008-rails-integration.md +1911 -0
- data/docs/ADR-009-cost-optimization.md +2993 -0
- data/docs/ADR-010-developer-experience.md +2166 -0
- data/docs/ADR-011-testing-strategy.md +1836 -0
- data/docs/ADR-012-event-evolution.md +958 -0
- data/docs/ADR-013-reliability-error-handling.md +2750 -0
- data/docs/ADR-014-event-driven-slo.md +1533 -0
- data/docs/ADR-015-middleware-order.md +1061 -0
- data/docs/ADR-016-self-monitoring-slo.md +1234 -0
- data/docs/API-REFERENCE-L28.md +914 -0
- data/docs/COMPREHENSIVE-CONFIGURATION.md +2366 -0
- data/docs/IMPLEMENTATION_NOTES.md +2804 -0
- data/docs/IMPLEMENTATION_PLAN.md +1971 -0
- data/docs/IMPLEMENTATION_PLAN_ARCHITECTURE.md +586 -0
- data/docs/PLAN.md +148 -0
- data/docs/QUICK-START.md +934 -0
- data/docs/README.md +296 -0
- data/docs/design/00-memory-optimization.md +593 -0
- data/docs/guides/MIGRATION-L27-L28.md +692 -0
- data/docs/guides/PERFORMANCE-BENCHMARKS.md +434 -0
- data/docs/guides/README.md +44 -0
- data/docs/prd/01-overview-vision.md +440 -0
- data/docs/use_cases/README.md +119 -0
- data/docs/use_cases/UC-001-request-scoped-debug-buffering.md +813 -0
- data/docs/use_cases/UC-002-business-event-tracking.md +1953 -0
- data/docs/use_cases/UC-003-pattern-based-metrics.md +1627 -0
- data/docs/use_cases/UC-004-zero-config-slo-tracking.md +728 -0
- data/docs/use_cases/UC-005-sentry-integration.md +759 -0
- data/docs/use_cases/UC-006-trace-context-management.md +905 -0
- data/docs/use_cases/UC-007-pii-filtering.md +2648 -0
- data/docs/use_cases/UC-008-opentelemetry-integration.md +1153 -0
- data/docs/use_cases/UC-009-multi-service-tracing.md +1043 -0
- data/docs/use_cases/UC-010-background-job-tracking.md +1018 -0
- data/docs/use_cases/UC-011-rate-limiting.md +1906 -0
- data/docs/use_cases/UC-012-audit-trail.md +2301 -0
- data/docs/use_cases/UC-013-high-cardinality-protection.md +2127 -0
- data/docs/use_cases/UC-014-adaptive-sampling.md +1940 -0
- data/docs/use_cases/UC-015-cost-optimization.md +735 -0
- data/docs/use_cases/UC-016-rails-logger-migration.md +785 -0
- data/docs/use_cases/UC-017-local-development.md +867 -0
- data/docs/use_cases/UC-018-testing-events.md +1081 -0
- data/docs/use_cases/UC-019-tiered-storage-migration.md +562 -0
- data/docs/use_cases/UC-020-event-versioning.md +708 -0
- data/docs/use_cases/UC-021-error-handling-retry-dlq.md +956 -0
- data/docs/use_cases/UC-022-event-registry.md +648 -0
- data/docs/use_cases/backlog.md +226 -0
- data/e11y.gemspec +76 -0
- data/lib/e11y/adapters/adaptive_batcher.rb +207 -0
- data/lib/e11y/adapters/audit_encrypted.rb +239 -0
- data/lib/e11y/adapters/base.rb +580 -0
- data/lib/e11y/adapters/file.rb +224 -0
- data/lib/e11y/adapters/in_memory.rb +216 -0
- data/lib/e11y/adapters/loki.rb +333 -0
- data/lib/e11y/adapters/otel_logs.rb +203 -0
- data/lib/e11y/adapters/registry.rb +141 -0
- data/lib/e11y/adapters/sentry.rb +230 -0
- data/lib/e11y/adapters/stdout.rb +108 -0
- data/lib/e11y/adapters/yabeda.rb +370 -0
- data/lib/e11y/buffers/adaptive_buffer.rb +339 -0
- data/lib/e11y/buffers/base_buffer.rb +40 -0
- data/lib/e11y/buffers/request_scoped_buffer.rb +246 -0
- data/lib/e11y/buffers/ring_buffer.rb +267 -0
- data/lib/e11y/buffers.rb +14 -0
- data/lib/e11y/console.rb +122 -0
- data/lib/e11y/current.rb +48 -0
- data/lib/e11y/event/base.rb +894 -0
- data/lib/e11y/event/value_sampling_config.rb +84 -0
- data/lib/e11y/events/base_audit_event.rb +43 -0
- data/lib/e11y/events/base_payment_event.rb +33 -0
- data/lib/e11y/events/rails/cache/delete.rb +21 -0
- data/lib/e11y/events/rails/cache/read.rb +23 -0
- data/lib/e11y/events/rails/cache/write.rb +22 -0
- data/lib/e11y/events/rails/database/query.rb +45 -0
- data/lib/e11y/events/rails/http/redirect.rb +21 -0
- data/lib/e11y/events/rails/http/request.rb +26 -0
- data/lib/e11y/events/rails/http/send_file.rb +21 -0
- data/lib/e11y/events/rails/http/start_processing.rb +26 -0
- data/lib/e11y/events/rails/job/completed.rb +22 -0
- data/lib/e11y/events/rails/job/enqueued.rb +22 -0
- data/lib/e11y/events/rails/job/failed.rb +22 -0
- data/lib/e11y/events/rails/job/scheduled.rb +23 -0
- data/lib/e11y/events/rails/job/started.rb +22 -0
- data/lib/e11y/events/rails/log.rb +56 -0
- data/lib/e11y/events/rails/view/render.rb +23 -0
- data/lib/e11y/events.rb +18 -0
- data/lib/e11y/instruments/active_job.rb +201 -0
- data/lib/e11y/instruments/rails_instrumentation.rb +141 -0
- data/lib/e11y/instruments/sidekiq.rb +175 -0
- data/lib/e11y/logger/bridge.rb +205 -0
- data/lib/e11y/metrics/cardinality_protection.rb +172 -0
- data/lib/e11y/metrics/cardinality_tracker.rb +134 -0
- data/lib/e11y/metrics/registry.rb +234 -0
- data/lib/e11y/metrics/relabeling.rb +226 -0
- data/lib/e11y/metrics.rb +102 -0
- data/lib/e11y/middleware/audit_signing.rb +174 -0
- data/lib/e11y/middleware/base.rb +140 -0
- data/lib/e11y/middleware/event_slo.rb +167 -0
- data/lib/e11y/middleware/pii_filter.rb +266 -0
- data/lib/e11y/middleware/pii_filtering.rb +280 -0
- data/lib/e11y/middleware/rate_limiting.rb +214 -0
- data/lib/e11y/middleware/request.rb +163 -0
- data/lib/e11y/middleware/routing.rb +157 -0
- data/lib/e11y/middleware/sampling.rb +254 -0
- data/lib/e11y/middleware/slo.rb +168 -0
- data/lib/e11y/middleware/trace_context.rb +131 -0
- data/lib/e11y/middleware/validation.rb +118 -0
- data/lib/e11y/middleware/versioning.rb +132 -0
- data/lib/e11y/middleware.rb +12 -0
- data/lib/e11y/pii/patterns.rb +90 -0
- data/lib/e11y/pii.rb +13 -0
- data/lib/e11y/pipeline/builder.rb +155 -0
- data/lib/e11y/pipeline/zone_validator.rb +110 -0
- data/lib/e11y/pipeline.rb +12 -0
- data/lib/e11y/presets/audit_event.rb +65 -0
- data/lib/e11y/presets/debug_event.rb +34 -0
- data/lib/e11y/presets/high_value_event.rb +51 -0
- data/lib/e11y/presets.rb +19 -0
- data/lib/e11y/railtie.rb +138 -0
- data/lib/e11y/reliability/circuit_breaker.rb +216 -0
- data/lib/e11y/reliability/dlq/file_storage.rb +277 -0
- data/lib/e11y/reliability/dlq/filter.rb +117 -0
- data/lib/e11y/reliability/retry_handler.rb +207 -0
- data/lib/e11y/reliability/retry_rate_limiter.rb +117 -0
- data/lib/e11y/sampling/error_spike_detector.rb +225 -0
- data/lib/e11y/sampling/load_monitor.rb +161 -0
- data/lib/e11y/sampling/stratified_tracker.rb +92 -0
- data/lib/e11y/sampling/value_extractor.rb +82 -0
- data/lib/e11y/self_monitoring/buffer_monitor.rb +79 -0
- data/lib/e11y/self_monitoring/performance_monitor.rb +97 -0
- data/lib/e11y/self_monitoring/reliability_monitor.rb +146 -0
- data/lib/e11y/slo/event_driven.rb +150 -0
- data/lib/e11y/slo/tracker.rb +119 -0
- data/lib/e11y/version.rb +9 -0
- data/lib/e11y.rb +283 -0
- metadata +452 -0
data/docs/README.md
ADDED
|
@@ -0,0 +1,296 @@
|
|
|
1
|
+
# E11y - Complete Documentation
|
|
2
|
+
|
|
3
|
+
> **E11y** = **e**asy t**e**lemetry (11 букв между 'e' и 'y', как i18n, l10n)
|
|
4
|
+
|
|
5
|
+
Production-ready Ruby gem для структурированных бизнес-событий с request-scoped buffering, pattern-based метриками и zero-config SLO tracking.
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## 🚀 Quick Links
|
|
10
|
+
|
|
11
|
+
- **[Quick Start Guide](./QUICK-START.md)** - 5-minute setup
|
|
12
|
+
- **[SLO Implementation Guide](./SLO-IMPLEMENTATION-GUIDE.md)** ⭐ Quick navigation for SLO setup
|
|
13
|
+
- **[Configuration Reference](./COMPREHENSIVE-CONFIGURATION.md)** - All config options
|
|
14
|
+
- **[ADR Coverage Check](./ADR-COVERAGE-CHECK.md)** - Architecture decisions
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
## 🎯 **NEW: IMPLEMENTATION PLAN (2026-01-17)** ⭐
|
|
19
|
+
|
|
20
|
+
**Complete implementation plan ready for execution!**
|
|
21
|
+
|
|
22
|
+
- 📄 **[IMPLEMENTATION_PLAN.md](./IMPLEMENTATION_PLAN.md)** - Main plan
|
|
23
|
+
- 6 phases, 19 components, 220+ tasks with DoD
|
|
24
|
+
- Parallelization strategy, integration contracts
|
|
25
|
+
|
|
26
|
+
- 📄 **[IMPLEMENTATION_PLAN_ARCHITECTURE.md](./IMPLEMENTATION_PLAN_ARCHITECTURE.md)** - Architecture decisions
|
|
27
|
+
- Critical questions & answers (Q1-Q4)
|
|
28
|
+
- Unidirectional ASN flow, overridable event classes, Phase 0
|
|
29
|
+
|
|
30
|
+
**Key Metrics:**
|
|
31
|
+
- **Timeline:** 23-27 weeks (includes Week -1 gem setup)
|
|
32
|
+
- **Team Size:** 4-6 developers (peak: 6)
|
|
33
|
+
- **Quality:** 100% ADR/UC coverage, professional Rails gem
|
|
34
|
+
- **Status:** ✅ Ready for execution
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
38
|
+
## 📚 Documentation Structure
|
|
39
|
+
|
|
40
|
+
### 1. Getting Started
|
|
41
|
+
- **[00. ICP & Timeline](./00-ICP-AND-TIMELINE.md)** - Project overview, target users, roadmap
|
|
42
|
+
- **[01. Scale Requirements](./01-SCALE-REQUIREMENTS.md)** - Performance targets, capacity planning
|
|
43
|
+
- **[Quick Start](./quick-start.md)** - 5-minute setup guide
|
|
44
|
+
- **[Installation](./installation.md)** - Detailed installation steps
|
|
45
|
+
|
|
46
|
+
### 2. Product Requirements (PRD)
|
|
47
|
+
- **[PRD-01: Overview & Vision](./prd/01-overview-vision.md)** - Problem, solution, value proposition
|
|
48
|
+
- **[PRD-02: Functional Requirements](./prd/02-functional-requirements.md)** - What the gem does
|
|
49
|
+
- **[PRD-03: User Stories](./prd/03-user-stories.md)** - By persona
|
|
50
|
+
- **[PRD-04: Success Metrics](./prd/04-success-metrics.md)** - How we measure success
|
|
51
|
+
- **[PRD-05: Competitive Analysis](./prd/05-competitive-analysis.md)** - vs OTel, Sentry, Yabeda
|
|
52
|
+
|
|
53
|
+
### 3. Technical Requirements (TRD)
|
|
54
|
+
- **[TRD-01: System Architecture](./trd/01-system-architecture.md)** - High-level design (C4 diagrams)
|
|
55
|
+
- **[TRD-02: API Design](./trd/02-api-design.md)** - Event DSL, configuration DSL
|
|
56
|
+
- **[TRD-03: Data Models](./trd/03-data-models.md)** - Event structure, schemas
|
|
57
|
+
- **[TRD-04: Performance Requirements](./trd/04-performance-requirements.md)** - Latency, throughput, memory
|
|
58
|
+
- **[TRD-05: Security Requirements](./trd/05-security-requirements.md)** - PII filtering, rate limiting, audit
|
|
59
|
+
- **[TRD-06: Integration Requirements](./trd/06-integration-requirements.md)** - OTel, Yabeda, Rails, Sidekiq
|
|
60
|
+
|
|
61
|
+
### 4. Detailed Design
|
|
62
|
+
- **[Design-01: Event Layer](./design/01-event-layer.md)** - Event DSL, validation, registry
|
|
63
|
+
- **[Design-02: Processing Layer](./design/02-processing-layer.md)** - Filtering, PII, rate limiting
|
|
64
|
+
- **[Design-03: Buffer Layer](./design/03-buffer-layer.md)** - Ring buffer, request-scoped buffering
|
|
65
|
+
- **[Design-04: Metrics Layer](./design/04-metrics-layer.md)** - Pattern-based metrics, Yabeda integration
|
|
66
|
+
- **[Design-05: Adapter Layer](./design/05-adapter-layer.md)** - Pluggable backends (Loki, ELK, Sentry)
|
|
67
|
+
- **[Design-06: Transport Layer](./design/06-transport-layer.md)** - Async workers, retry, circuit breaker
|
|
68
|
+
- **[Design-07: OpenTelemetry Integration](./design/07-opentelemetry-integration.md)** - OTel Collector, traces
|
|
69
|
+
- **[Design-08: SLO Tracking](./design/08-slo-tracking.md)** - Auto-instrumentation, error budgets
|
|
70
|
+
|
|
71
|
+
### 5. Use Cases
|
|
72
|
+
- **[Use Cases Index](./use_cases/README.md)** - All use cases by category
|
|
73
|
+
- **[UC-001: Request-Scoped Debug Buffering](./use_cases/UC-001-request-scoped-debug-buffering.md)** ⭐ Killer feature
|
|
74
|
+
- **[UC-002: Business Event Tracking](./use_cases/UC-002-business-event-tracking.md)** ⭐ Core feature
|
|
75
|
+
- **[UC-003: Pattern-Based Metrics](./use_cases/UC-003-pattern-based-metrics.md)**
|
|
76
|
+
- **[UC-004: Zero-Config SLO Tracking](./use_cases/UC-004-zero-config-slo-tracking.md)** ⭐ Killer feature
|
|
77
|
+
- **[UC-005: PII Filtering](./use_cases/UC-005-pii-filtering.md)**
|
|
78
|
+
- **[UC-006-016: Additional Use Cases](./use_cases/README.md)**
|
|
79
|
+
|
|
80
|
+
### 6. Configuration
|
|
81
|
+
- **[Configuration Reference](./configuration/README.md)** - All options explained
|
|
82
|
+
- **[Configuration Examples](./configuration/examples.md)** - Small/Medium/Large teams
|
|
83
|
+
- **[Configuration Best Practices](./configuration/best-practices.md)** - Production recommendations
|
|
84
|
+
|
|
85
|
+
### 7. API Reference
|
|
86
|
+
- **[API Overview](./api/README.md)**
|
|
87
|
+
- **[Event API](./api/event-api.md)** - E11y::Event class, attributes, validation
|
|
88
|
+
- **[Configuration API](./api/configuration-api.md)** - E11y.configure DSL
|
|
89
|
+
- **[Tracking API](./api/tracking-api.md)** - .track() method, blocks
|
|
90
|
+
- **[Metrics API](./api/metrics-api.md)** - Pattern-based metrics DSL
|
|
91
|
+
|
|
92
|
+
### 8. Guides
|
|
93
|
+
- **[Migration from Rails.logger](./guides/migration-from-rails-logger.md)**
|
|
94
|
+
- **[Migration from Yabeda](./guides/migration-from-yabeda.md)**
|
|
95
|
+
- **[Integration with OpenTelemetry](./guides/opentelemetry-integration.md)**
|
|
96
|
+
- **[Testing Guide](./guides/testing.md)** - Unit, integration, load tests
|
|
97
|
+
- **[Debugging Guide](./guides/debugging.md)** - Troubleshooting
|
|
98
|
+
- **[Performance Tuning](./guides/performance-tuning.md)** - Optimization tips
|
|
99
|
+
|
|
100
|
+
### 9. Architecture Decision Records (ADRs)
|
|
101
|
+
|
|
102
|
+
**Complete ADRs:**
|
|
103
|
+
- **[ADR-001: Architecture](./ADR-001-architecture.md)** - Core architecture, components, processing pipeline
|
|
104
|
+
- **[ADR-002: Metrics & Yabeda](./ADR-002-metrics-yabeda.md)** - Pattern-based metrics, cardinality protection
|
|
105
|
+
- **[ADR-003: SLO & Observability](./ADR-003-slo-observability.md)** - HTTP/Job SLO, per-endpoint config, burn rate alerts
|
|
106
|
+
- **[ADR-004: Adapter Architecture](./ADR-004-adapter-architecture.md)** - Pluggable backends, retry, circuit breaker
|
|
107
|
+
- **[ADR-005: Tracing & Context](./ADR-005-tracing-context.md)** - W3C Trace Context, propagation
|
|
108
|
+
- **[ADR-006: Security & Compliance](./ADR-006-security-compliance.md)** - PII filtering, rate limiting, audit trail
|
|
109
|
+
- **[ADR-007: OpenTelemetry Integration](./ADR-007-opentelemetry-integration.md)** - OTLP, semantic conventions
|
|
110
|
+
- **[ADR-008: Rails Integration](./ADR-008-rails-integration.md)** - Railtie, Rack, Sidekiq, ActiveJob
|
|
111
|
+
- **[ADR-009: Cost Optimization](./ADR-009-cost-optimization.md)** - Sampling, compression, smart routing
|
|
112
|
+
- **[ADR-010: Developer Experience](./ADR-010-developer-experience.md)** - Console, Web UI, debug tools
|
|
113
|
+
- **[ADR-011: Testing Strategy](./ADR-011-testing-strategy.md)** - RSpec matchers, test adapters
|
|
114
|
+
- **[ADR-012: Event Evolution](./ADR-012-event-evolution.md)** - Versioning, schema changes, DLQ replay
|
|
115
|
+
- **[ADR-013: Reliability & Error Handling](./ADR-013-reliability-error-handling.md)** - Retry, DLQ, circuit breaker
|
|
116
|
+
- **[ADR-014: Event-Driven SLO](./ADR-014-event-driven-slo.md)** - Custom SLO for business logic
|
|
117
|
+
- **[ADR-015: Middleware Order](./ADR-015-middleware-order.md)** - Processing pipeline execution order
|
|
118
|
+
|
|
119
|
+
**Integration & Analysis:**
|
|
120
|
+
- **[ADR-003-014 Integration](./ADR-003-014-INTEGRATION.md)** - How HTTP SLO and Event SLO work together
|
|
121
|
+
- **[ADR Coverage Check](./ADR-COVERAGE-CHECK.md)** - ADR completeness matrix
|
|
122
|
+
|
|
123
|
+
### 10. Implementation Plan
|
|
124
|
+
- **[Phase 1: MVP Core](./implementation/phase-1-mvp.md)** - Weeks 1-8
|
|
125
|
+
- **[Phase 2: Yabeda Integration](./implementation/phase-2-yabeda.md)** - Weeks 9-12
|
|
126
|
+
- **[Phase 3: SLO Tracking](./implementation/phase-3-slo.md)** - Weeks 13-16
|
|
127
|
+
- **[Phase 4: OpenTelemetry](./implementation/phase-4-otel.md)** - Weeks 17-20
|
|
128
|
+
- **[Phase 5: Production Hardening](./implementation/phase-5-hardening.md)** - Weeks 21-24
|
|
129
|
+
|
|
130
|
+
### 11. Research & Analysis
|
|
131
|
+
- **[Research Findings 2025](./research/e11y-research-findings-2025.md)** - 40+ sources analyzed
|
|
132
|
+
- **[Cardinality Protection](./research/cardinality-protection.md)** - Critical issue deep-dive
|
|
133
|
+
- **[Rails PII Filtering Compatibility](./research/rails-pii-filtering.md)** - Design decision
|
|
134
|
+
|
|
135
|
+
### 12. Operations
|
|
136
|
+
- **[Deployment Guide](./operations/deployment.md)** - Production deployment
|
|
137
|
+
- **[Monitoring Guide](./operations/monitoring.md)** - Self-monitoring
|
|
138
|
+
- **[Alerting Guide](./operations/alerting.md)** - Prometheus alerts
|
|
139
|
+
- **[Runbooks](./operations/runbooks/)** - Common operational tasks
|
|
140
|
+
|
|
141
|
+
---
|
|
142
|
+
|
|
143
|
+
## 🎯 Documentation by Persona
|
|
144
|
+
|
|
145
|
+
### Ruby/Rails Developers
|
|
146
|
+
**Start here:**
|
|
147
|
+
1. [Quick Start](./quick-start.md) - Get running in 5 minutes
|
|
148
|
+
2. [UC-002: Business Event Tracking](./use_cases/UC-002-business-event-tracking.md) - Core functionality
|
|
149
|
+
3. [Migration from Rails.logger](./guides/migration-from-rails-logger.md) - Replace existing logging
|
|
150
|
+
|
|
151
|
+
**Then explore:**
|
|
152
|
+
- [Event API Reference](./api/event-api.md)
|
|
153
|
+
- [Testing Guide](./guides/testing.md)
|
|
154
|
+
- [Configuration Examples](./configuration/examples.md)
|
|
155
|
+
|
|
156
|
+
---
|
|
157
|
+
|
|
158
|
+
### DevOps/SRE Engineers
|
|
159
|
+
**Start here:**
|
|
160
|
+
1. [01. Scale Requirements](./01-SCALE-REQUIREMENTS.md) - Performance targets
|
|
161
|
+
2. [UC-004: Zero-Config SLO Tracking](./use_cases/UC-004-zero-config-slo-tracking.md) - Auto-monitoring
|
|
162
|
+
3. [Deployment Guide](./operations/deployment.md) - Production setup
|
|
163
|
+
|
|
164
|
+
**Then explore:**
|
|
165
|
+
- [Performance Requirements](./trd/04-performance-requirements.md)
|
|
166
|
+
- [Monitoring Guide](./operations/monitoring.md)
|
|
167
|
+
- [Performance Tuning](./guides/performance-tuning.md)
|
|
168
|
+
|
|
169
|
+
---
|
|
170
|
+
|
|
171
|
+
### Engineering Managers/CTOs
|
|
172
|
+
**Start here:**
|
|
173
|
+
1. [00. ICP & Timeline](./00-ICP-AND-TIMELINE.md) - Project overview, ROI
|
|
174
|
+
2. [PRD-01: Overview & Vision](./prd/01-overview-vision.md) - Business value
|
|
175
|
+
3. [PRD-05: Competitive Analysis](./prd/05-competitive-analysis.md) - vs alternatives
|
|
176
|
+
|
|
177
|
+
**Then explore:**
|
|
178
|
+
- [Success Metrics](./prd/04-success-metrics.md)
|
|
179
|
+
- [Implementation Plan](./implementation/phase-1-mvp.md)
|
|
180
|
+
|
|
181
|
+
---
|
|
182
|
+
|
|
183
|
+
### Security/Compliance Teams
|
|
184
|
+
**Start here:**
|
|
185
|
+
1. [UC-005: PII Filtering](./use_cases/UC-005-pii-filtering.md) - Rails-compatible filtering
|
|
186
|
+
2. [Security Requirements](./trd/05-security-requirements.md) - Threat model
|
|
187
|
+
3. [UC-007: Audit Trail](./use_cases/UC-007-audit-trail.md) - Compliance logging
|
|
188
|
+
|
|
189
|
+
**Then explore:**
|
|
190
|
+
- [Design-02: Processing Layer](./design/02-processing-layer.md) - PII, rate limiting
|
|
191
|
+
|
|
192
|
+
---
|
|
193
|
+
|
|
194
|
+
## 🔍 Finding What You Need
|
|
195
|
+
|
|
196
|
+
### By Task
|
|
197
|
+
|
|
198
|
+
**"I want to get started quickly"**
|
|
199
|
+
→ [Quick Start Guide](./quick-start.md)
|
|
200
|
+
|
|
201
|
+
**"I need to track business events"**
|
|
202
|
+
→ [UC-002: Business Event Tracking](./use_cases/UC-002-business-event-tracking.md)
|
|
203
|
+
|
|
204
|
+
**"I need to debug production issues"**
|
|
205
|
+
→ [UC-001: Request-Scoped Debug Buffering](./use_cases/UC-001-request-scoped-debug-buffering.md)
|
|
206
|
+
|
|
207
|
+
**"I need SLO monitoring"**
|
|
208
|
+
→ [SLO Implementation Guide](./SLO-IMPLEMENTATION-GUIDE.md) ⭐ or [UC-004: Zero-Config SLO](./use_cases/UC-004-zero-config-slo-tracking.md)
|
|
209
|
+
|
|
210
|
+
**"I need to filter PII"**
|
|
211
|
+
→ [UC-005: PII Filtering](./use_cases/UC-005-pii-filtering.md)
|
|
212
|
+
|
|
213
|
+
**"I need to migrate from Rails.logger"**
|
|
214
|
+
→ [Migration Guide](./guides/migration-from-rails-logger.md)
|
|
215
|
+
|
|
216
|
+
**"I need to integrate with OpenTelemetry"**
|
|
217
|
+
→ [OpenTelemetry Integration Guide](./guides/opentelemetry-integration.md)
|
|
218
|
+
|
|
219
|
+
**"I need to test events"**
|
|
220
|
+
→ [Testing Guide](./guides/testing.md)
|
|
221
|
+
|
|
222
|
+
**"I need to optimize performance"**
|
|
223
|
+
→ [Performance Tuning Guide](./guides/performance-tuning.md)
|
|
224
|
+
|
|
225
|
+
**"I need to deploy to production"**
|
|
226
|
+
→ [Deployment Guide](./operations/deployment.md)
|
|
227
|
+
|
|
228
|
+
---
|
|
229
|
+
|
|
230
|
+
### By Feature
|
|
231
|
+
|
|
232
|
+
- **Event DSL:** [Event API](./api/event-api.md), [Design-01](./design/01-event-layer.md)
|
|
233
|
+
- **Request-Scoped Buffering:** [UC-001](./use_cases/UC-001-request-scoped-debug-buffering.md), [Design-03](./design/03-buffer-layer.md)
|
|
234
|
+
- **Pattern-Based Metrics:** [UC-003](./use_cases/UC-003-pattern-based-metrics.md), [Design-04](./design/04-metrics-layer.md)
|
|
235
|
+
- **SLO Tracking:** [UC-004](./use_cases/UC-004-zero-config-slo-tracking.md), [Design-08](./design/08-slo-tracking.md)
|
|
236
|
+
- **PII Filtering:** [UC-005](./use_cases/UC-005-pii-filtering.md), [Design-02](./design/02-processing-layer.md)
|
|
237
|
+
- **OpenTelemetry:** [Guide](./guides/opentelemetry-integration.md), [Design-07](./design/07-opentelemetry-integration.md)
|
|
238
|
+
- **Adapters:** [Design-05](./design/05-adapter-layer.md)
|
|
239
|
+
|
|
240
|
+
---
|
|
241
|
+
|
|
242
|
+
## 📖 Reading Order
|
|
243
|
+
|
|
244
|
+
### For First-Time Users (Linear)
|
|
245
|
+
1. [Quick Start](./quick-start.md) - 5 min
|
|
246
|
+
2. [UC-002: Business Event Tracking](./use_cases/UC-002-business-event-tracking.md) - 15 min
|
|
247
|
+
3. [Configuration Examples](./configuration/examples.md) - 10 min
|
|
248
|
+
4. [UC-001: Request-Scoped Debug Buffering](./use_cases/UC-001-request-scoped-debug-buffering.md) - 20 min
|
|
249
|
+
5. [UC-004: Zero-Config SLO Tracking](./use_cases/UC-004-zero-config-slo-tracking.md) - 15 min
|
|
250
|
+
|
|
251
|
+
**Total: ~1 hour to understand core features**
|
|
252
|
+
|
|
253
|
+
---
|
|
254
|
+
|
|
255
|
+
### For Production Deployment (Checklist)
|
|
256
|
+
- [ ] Read [Quick Start](./quick-start.md)
|
|
257
|
+
- [ ] Review [Scale Requirements](./01-SCALE-REQUIREMENTS.md)
|
|
258
|
+
- [ ] Read [Security Requirements](./trd/05-security-requirements.md)
|
|
259
|
+
- [ ] Configure [PII Filtering](./use_cases/UC-005-pii-filtering.md)
|
|
260
|
+
- [ ] Set up [Adapters](./design/05-adapter-layer.md) (Loki, Sentry)
|
|
261
|
+
- [ ] Enable [SLO Tracking](./use_cases/UC-004-zero-config-slo-tracking.md)
|
|
262
|
+
- [ ] Review [Performance Tuning](./guides/performance-tuning.md)
|
|
263
|
+
- [ ] Follow [Deployment Guide](./operations/deployment.md)
|
|
264
|
+
- [ ] Set up [Monitoring](./operations/monitoring.md) & [Alerting](./operations/alerting.md)
|
|
265
|
+
|
|
266
|
+
---
|
|
267
|
+
|
|
268
|
+
## 🤝 Contributing
|
|
269
|
+
|
|
270
|
+
See [CONTRIBUTING.md](../CONTRIBUTING.md) for:
|
|
271
|
+
- How to report bugs
|
|
272
|
+
- How to suggest features
|
|
273
|
+
- How to submit patches
|
|
274
|
+
- Development setup
|
|
275
|
+
|
|
276
|
+
---
|
|
277
|
+
|
|
278
|
+
## 📜 License
|
|
279
|
+
|
|
280
|
+
E11y is released under the [MIT License](../LICENSE.md).
|
|
281
|
+
|
|
282
|
+
---
|
|
283
|
+
|
|
284
|
+
## 🔗 External Resources
|
|
285
|
+
|
|
286
|
+
- **GitHub:** https://github.com/yourorg/e11y
|
|
287
|
+
- **RubyGems:** https://rubygems.org/gems/e11y
|
|
288
|
+
- **Documentation Site:** https://e11y.dev
|
|
289
|
+
- **Community Discord:** https://discord.gg/e11y
|
|
290
|
+
- **Twitter:** @e11y_gem
|
|
291
|
+
|
|
292
|
+
---
|
|
293
|
+
|
|
294
|
+
**Document Version:** 1.0
|
|
295
|
+
**Last Updated:** January 12, 2026
|
|
296
|
+
**Project Status:** MVP Development (Phase 1)
|