AGENTS.md@src/metric-engineA
AGENTS.md@src/metric-engine from greptimeteam/greptimedb is an AGENTS.md file: the standing instructions coding agents read in that repo.
mdr add greptimeteam/greptimedb/src/metric-engine/AGENTS.md@git:20261021.f866ef2Pins git:20261021.f866ef2 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 14 of 14 checks passed
- Kind
- AGENTS.md file
- Repository
- greptimeteam/greptimedb
- Path
src/metric-engine/AGENTS.md- Versions recorded
- 4
- Latest version
- git:20261021.f866ef2, committed Oct 21, 2026
- First version recorded
- Jun 24, 2026
- Size
- 4,863 bytes
- Repository stars
- 6,792
- License
- Apache-2.0
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# metric-engine — Agent & Contributor Guide Navigation aid for `src/metric-engine`. Keep it short and point to code. Paths are relative to the repo root. Repo-wide rules that apply here: [`.agents/architecture-invariants.md`](../../.agents/architecture-invariants.md). ## What this crate does The Metric Engine is optimized for Prometheus-style workloads with a huge number of small tables. Many **logical** regions (one per metric table) share a single **physical** pair of Mito2 regions: a data region and a metadata region. Rows are multiplexed with metric-engine internal identity: dense primary-key mode injects `__table_id` and `__tsid`, while the default sparse mode encodes them into `__primary_key`. Reads still add a logical-table filter before forwarding to the physical data region. It implements `RegionEngine` and delegates all real storage to `mito2`. The architecture is documented at the top of `src/metric-engine/src/lib.rs`. ## Module map | Module | Path | Purpose | | --- | --- | --- | …
Read the whole file at its exact version.
How to install
mdr add greptimeteam/greptimedb/src/metric-engine/AGENTS.md@sha256:fa8aafa3b3d159eaThe line at the top of this page pins the label git:20261021.f866ef2, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_n2lgzu6irbahku2m)
5 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 4 versions of this file, between Jun 24, 2026 and Oct 21, 2026, about one every 40 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261021.f866ef2 latest | 2026-10-21 | f866ef2 | 4,863 B | A | view · diff |
| git:20260810.5d4699d | 2026-08-10 | 5d4699d | 4,722 B | A | view · diff |
| git:20260706.90752f5 | 2026-07-06 | 90752f5 | 4,485 B | A | view · diff |
| git:20260624.3b8f55e | 2026-06-24 | 3b8f55e | 4,407 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (4863 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
greptimeteam/greptimedb · 6,792 stars · license Apache-2.0 · pushed 2026-11-07 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_n2lgzu6irbahku2m GET https://markdownregistry.com/api/v1/resolve?ref=greptimeteam/greptimedb/src/metric-engine/AGENTS.md GET https://markdownregistry.com/api/v1/blob/fa8aafa3b3d159ea5c26e389ef3c3c7792a771b268232614f37e167516d696ad
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: how to write a good AGENTS.md · AGENTS.md vs CLAUDE.md · which agent file does what.