DarkCrow
DarkCrow is the telemetry store and search service. It takes in the pseudonymous telemetry Redfly publishes, keeps it for one year, and gives operators and tenant admins fast full-text and faceted search.
What DarkCrow is
The service that stores and searches telemetry from every app and WordPress site, kept for one year in Cassandra and indexed in Solr.
How it benefits you
Operators see what is happening across the estate, while tenant admins see only their own tenants, and no personal details are ever stored.
How it works
DarkCrow consumes Redfly’s telemetry topic, writes each event to Cassandra with a one-year TTL, and every replica updates its local Solr core from an index topic.
Ingestion from Pulsar
DarkCrow subscribes to persistent://odssbc/redfly/telemetry with a Shared subscription, darkcrow-store, so each event is stored once, by whichever replica receives it.
- After writing to Cassandra, the replica publishes to
persistent://odssbc/darkcrow/index. POST /v1/telemetryis internal only, for tests and replays, and requires service mTLS.
One year of history, then gone
Events are stored with default_time_to_live = 31536000 (one year) and TimeWindowCompactionStrategy in 1-day windows.
- Rows are partitioned by tenant and day, then ordered by time.
- A nightly FairFeather job purges Solr entries older than one year.
Full-text and faceted search
A single Solr core, telemetry, indexes every event with facets for app, version, event name and level.
- Search by text, tenant, app, name, level and time range, with cursor paging.
- Dynamic
attrs_*fields make event attributes searchable.
Tenant-scoped access
Search requires telemetry:read. Operators see every tenant; tenant admins see only the tenants in their token’s ten claim.
- Every query gets a
tenant_idfilter unless the caller holds theoperatorrole.
Self-healing indexes
Every replica keeps its own Solr core up to date through its own Exclusive subscription, darkcrow-index-<pod>.
- Operators can rebuild a replica’s core from Cassandra with
POST /v1/admin/reindex.
Get DarkCrow
Source code, compiled builds and container images are on the Downloads page.