Files
wehub-resource-sync 4b6817381b
Benchmark image — build + push to ECR (any adapter) / build + push (push) Waiting to run
CI / quality (ubuntu-latest) (push) Waiting to run
CI / test (tools-runtime) (push) Waiting to run
CI / test (e2e-general) (push) Waiting to run
CI / test (cli-runtime) (push) Waiting to run
CI / test (e2e-provider-and-openclaw) (push) Waiting to run
CI / test (integrations-and-misc) (push) Waiting to run
CI / coverage-report (push) Blocked by required conditions
CI / test-kubernetes (push) Waiting to run
CI / should-run-thorough (push) Waiting to run
CI / test-thorough (cloudwatch-demo) (push) Blocked by required conditions
CI / test-thorough (flink-ecs) (push) Blocked by required conditions
CI / test-thorough (upstream-lambda) (push) Blocked by required conditions
CI / test-thorough (prefect-ecs-fargate) (push) Blocked by required conditions
CodeQL / Analyze (python) (push) Waiting to run
Release / build-binaries (zip, opensre.exe, onefile, windows-latest, windows-x64) (push) Blocked by required conditions
Release / publish-release (push) Blocked by required conditions
Release / publish-main-release (push) Blocked by required conditions
Release / prepare (push) Waiting to run
Release / verify (push) Blocked by required conditions
Release / build-python-dist (push) Blocked by required conditions
Release / build-binaries (tar.gz, opensre, onedir, macos-15-intel, darwin-x64) (push) Blocked by required conditions
Release / build-binaries (tar.gz, opensre, onedir, macos-latest, darwin-arm64) (push) Blocked by required conditions
Release / build-binaries (tar.gz, opensre, onedir, ubuntu-22.04, linux-x64) (push) Blocked by required conditions
Release / build-binaries (tar.gz, opensre, onedir, ubuntu-22.04-arm, linux-arm64) (push) Blocked by required conditions
Synthetic Deterministic Tests / Synthetic offline (deterministic) (push) Waiting to run
Interactive Shell Live (PR + post-merge) / turn-checks (no-LLM) (push) Waiting to run
Interactive Shell Live (PR + post-merge) / turn-live shard ${{ matrix.shard_index }} (push) Waiting to run
CI (OpenClaw E2E) / openclaw test (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 13:10:45 +08:00

79 lines
2.8 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: "Snakemake"
description: "Monitor Snakemake workflows with Tracer"
---
Tracer integrates with Snakemake to provide pipeline-level observability. It captures per-rule execution times, resource usage, and cross-node performance metrics.
Install the Tracer agent on the machines where Snakemake executes and it will automatically collect detailed metrics from every rule and job. You dont need to modify your Snakefile or add wrappers because Tracer passively observes workflow execution at the system level using eBPF.
Whether running locally, on HPC, or in the cloud, Tracer provides real-time visibility into resource usage, execution timelines, and performance bottlenecks across the workflow.
## Why use Tracer in combination with Snakemake
Snakemake reports high-level progress, but Tracer explains why rules take time or fail:
- View CPU, memory, and I/O usage per rule
- Identify bottlenecks or inefficient resource requests
- Attribute cost per sample or rule
- Trace nested shell commands and containers automatically
- Correlate logs and metrics across distributed environments
## Getting Started
### Prerequisites
- Working Snakemake installation
- Tracer installed on [your operating system](/environments/overview)
### Just run your pipeline, Tracer will automatically attach
If Tracer is already installed on your operating system, you only need to enable the Tracer agent for pipelines that have not been run with Tracer before.<br/>
In that case, run the following command:
```bash
sudo tracer init --token <your-token>
```
<Info> Go to our [onboarding](https://app.tracer.cloud/dashboard) to get your own personal token</Info>
When running this command, you will be asked to name your pipeline for clear labeling in the dashboard.
## Examples
Run a Snakemake pipeline under Tracer:
```bash
snakemake -j 16
```
or launch the Tracer demo workflow:
```bash
sudo tracer demo
```
Once the pipeline starts, open the Tracer dashboard, and youll see each Snakemake rule as a timeline step updating in real time.
<Card href="https://app.tracer.cloud/">
<img
className="block dark:hidden"
src="/images/logo/tracer/Tracer Full Body - Black.png"
alt="Tracer Logo"
style={{ width: '10%', height: 'auto', marginBottom: '1rem' }}
/>
<img
className="hidden dark:block"
src="/images/logo/tracer/Tracer Full Body - Black.png"
alt="Tracer Logo"
style={{ width: '10%', height: 'auto', marginBottom: '1rem' }}
/>
<div style={{ fontSize: '1.3rem', fontWeight: '700', marginBottom: '1 rem', color: 'inherit' }}>
Watch your pipeline run in the Tracer dashboard
</div>
<div style={{ color: 'inherit' }}>
View real-time metrics, resource usage, and performance insights for your pipeline runs.
</div>
</Card>
Each rule in your Snakefile will appear as a timeline step, with detailed performance and cost breakdowns.