@tindalabs/blindspot-core
v0.1.2
Published
Privacy-first frontend observability — OTel wiring, privacy engine, session management
Maintainers
Readme
@tindalabs/blindspot-core
The shared engine behind Blindspot: the OpenTelemetry provider setup, the privacy/redaction layer, and the consent gate.
Most users don't install this directly. Install
@tindalabs/blindspot(which depends on this) or a framework adapter. Use-coreonly when building a custom instrumentation package on top of Blindspot.
npm install @tindalabs/blindspot-coreWhat it provides
init(config)— sets up theWebTracerProvider, sampler, OTLP exporter, and the Blindspot span processor.- Privacy engine —
sanitizeAttributes,isElementBlocked,getElementLabel,isLabelSensitive,scrubDynamicSegments. Span attributes are sanitized at export time against yourPrivacyConfig. - Consent gate —
ConsentGate,grantConsent(),revokeConsent(). WhenconsentRequired, spans buffer in memory until consent is granted. getTracer()/recordEvent()— tracer access and active-span events.
Docs
API reference · Architecture & privacy model
The Tindalabs stack
| Package | What it does | |---|---| | @tindalabs/blindspot | Privacy-first OTel frontend observability | | @tindalabs/shield | Tamper detection & content protection | | @tindalabs/scent | Probabilistic identity continuity |
License
MIT
