Skip to content

stats pipeline: aggregator, stats storage, and dashboard tab #1460

Description

@aaylward

turn shipped logs into served stats. part of #1365.

  • aggregator: interval-loop worker (one_d4_worker pattern) computing per-entity aggregates — iili url popularity, per-tool mcp usage, bot traffic share, geo — into a stats db on shared_postgres (new one-shot *_db_init service; mind the 0.25cpu/256m cap on that instance)
  • small stats service in front of the tables
  • new tab in the metrics-systems dashboard next to the prom_proxy views, same registry-driven shape

division of labor: prometheus keeps low-cardinality 7-day operational series; this owns high-cardinality, long-retention, per-entity aggregates that don't belong in a tsdb.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions