Commit Graph
11 Commits
Author SHA1 Message Date
tiennm99 6b57316a16 ci: add workflow with pnpm + wrangler dry-run deploy 2026-05-13 12:22:50 +07:00
tiennm99 58e4914c77 chore: migrate from npm to pnpm 2026-05-13 10:22:41 +07:00
tiennm99 186658a121 feat!: enrich Loki ingest with CF client info; move ip from label to metadata
Auto-inject low-cardinality labels (country, region, timezone) and
high-cardinality structured metadata (ip, user_agent, city, lat/long,
url, cf_ray, referer). Caller-supplied labels lose to auto on
collision; caller-supplied metadata wins on collision.

BREAKING CHANGE: `ip` is no longer a stream label. Rewrite
`{ip="..."}` LogQL queries as `{proxy="miti-loki"} | ip="..."`.
2026-05-10 22:53:49 +07:00
tiennm99 ebf1b61998 docs: expand README with usage, schema, labels, errors, env vars 2026-05-10 21:46:48 +07:00
tiennm99 a7bfd7942c Update index.js 2025-11-15 22:31:41 +07:00
tiennm99 68083c30b9 Update index.js 2025-11-15 22:04:19 +07:00
tiennm99 279e271594 Update index.js 2025-11-15 21:37:54 +07:00
tiennm99 1089d1f4e2 Update index.js 2025-11-15 21:02:38 +07:00
tiennm99 7b3ca13268 Update index.js 2025-11-15 20:38:17 +07:00
tiennm99 4d207ad3f9 feat: init 2025-11-15 20:27:23 +07:00
Tien Nguyen Minh e5842cbde0 Initial commit 2025-11-15 20:03:10 +07:00