Skip to main content

Append-only local ingest and queryable storage for Runopsy traces

Project description

runopsy-collector

Local, append-only ingest for normalized trace events.

Storage has two layers and they are not equal partners. The JSONL journal is the source of truth: one append-only file per run, written with sorted keys so the same run always serializes to the same bytes. DuckDB is a derived index built from those journals to make runs queryable, and it can be thrown away and rebuilt at any time with Collector.rebuild().

That asymmetry is deliberate. An agent run fails at unpredictable moments, often taking the process with it, and a half-written database is a far more likely outcome than a half-written append. Keeping the plain log authoritative means a crashed run is still diagnosable, a corrupted index is a one-command repair rather than lost history, and a user can read their own trace with nothing but a text editor.

Ingest is idempotent on event_id, so an adapter that retries a write cannot duplicate a step and inflate a loop detector's count.

Nothing here reaches the network. Content is referenced by hash, and the contains_secret flag travels with each event so export and payload minimization can consult it before anything leaves the machine.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

runopsy_collector-0.1.0.tar.gz (14.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

runopsy_collector-0.1.0-py3-none-any.whl (18.2 kB view details)

Uploaded Python 3

File details

Details for the file runopsy_collector-0.1.0.tar.gz.

File metadata

  • Download URL: runopsy_collector-0.1.0.tar.gz
  • Upload date:
  • Size: 14.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for runopsy_collector-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4de77b3a6c76e9924645898605a9e69bc440ac3a17b2145fa2700673d0b307a0
MD5 d9463f8ac079e0830491321118d9fa60
BLAKE2b-256 9226a483e72635f81630c7d1c5fa5bdd609b6734c2188552acdbec2d3553e51c

See more details on using hashes here.

Provenance

The following attestation bundles were made for runopsy_collector-0.1.0.tar.gz:

Publisher: release.yml on vahit19/runopsy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file runopsy_collector-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for runopsy_collector-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 51136500d1ab92a81fdbc24d3f441ba58345ebe318d7635c45baeb163d866d3e
MD5 3de4a7973d2006b1b6924d86d07b08f1
BLAKE2b-256 20cefc16ef4f2cb1a7fca1cb5228da0acf8c9f19b3b8a4cc3a95f63162dbe88c

See more details on using hashes here.

Provenance

The following attestation bundles were made for runopsy_collector-0.1.0-py3-none-any.whl:

Publisher: release.yml on vahit19/runopsy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page