Skip to main content

Error traces

% start synopsis % start main

Remember the backtraces of MoaT-Link errors.

The server stores error records without their backtrace. The full record is only published, without retaining it, to run.error.*. This package adds the moat link error command and a daemon (moat link error : cache) that keeps the first and the last backtrace it sees for each error, for a day by default, and hands them to moat link error PATH get, along with the host, PID and command line of the process that caused the error.

% end synopsis

The daemon keeps its data in memory. A restart forgets the traces of errors that don't recur.

% end main

Usage

Run moat link error : cache on one host. The moat-link-error-monitor systemd unit does that; enable it manually (systemctl enable --now moat-link-error-monitor) — it is not started automatically on install. Then moat link error PATH get adds the stored traces to the error's record, as trace.first and trace.last.

How long traces are kept is configured with link.error.monitor.max_age. See docs/moat-link/errors.md for details.

License

This project is licensed under the same terms as MoaT.

Metadata

Release files for moat-link-error 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for moat-link-error 0.1.1
File Size Uploaded Provenance Actions
moat_link_error-0.1.1.tar.gz 10.3 kB Without provenance Details for moat_link_error-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for moat-link-error 0.1.1
File Interpreter ABI Platform Actions
moat_link_error-0.1.1-py3-none-any.whl Python 3 none any Details for moat_link_error-0.1.1-py3-none-any.whl

Total release size: 19.5 kB

Security for moat-link-error 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page