metrics-pipeline
OfficialUnified metrics pipeline for global analytics.
AuthorOpenLitterMap
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides a centralized, single-writer metrics pipeline that coordinates photo metrics updates across MySQL and Redis, ensuring consistency and accuracy.
Core Features & Use Cases
- Centralizes metrics for photos with a single writer (MetricsService) across time-series and caches.
- Tracks processing state with four fields (processed_at, processed_fp, processed_tags, processed_xp) and ensures idempotent updates via fingerprinting.
- Supports Redis-based leaderboards and per-user XP processing, with deterministic upserts across multiple timescales and scopes.
- Use Case: Operational dashboards, contributor leaderboards, and reliable metric aggregation for photo activity.
Quick Start
Trigger the metrics pipeline by processing new photo events (tag verifications and admin actions) so MetricsService updates the metrics in MySQL and Redis.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: metrics-pipeline Download link: https://github.com/OpenLitterMap/openlittermap-web/archive/main.zip#metrics-pipeline Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.