Skip to content

Metrics Collector: add project support for multi-tenant setups #18

@mattmezza

Description

@mattmezza

Problem

The error-tracker supports a project field to distinguish errors from different clients. The metrics-collector does not — all metrics from all clients are mixed together with no way to filter by source.

This makes it impractical to share a single monlight stack across multiple application instances.

Proposal

  1. MetricsClient (Python): accept a project parameter (like ErrorClient does) and include it in the payload
  2. Metrics Collector API: store and index the project field
  3. Metrics Dashboard UI: add a project filter dropdown (matching the error-tracker UI pattern)

This would enable a single monlight stack to serve multiple clients, with each client's metrics isolated by project name.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions