Skip to content

Add request analytics — endpoint volume, latency, error rates, top consumers #92

@SyniRon

Description

@SyniRon

The API currently has no analytics surface. We don't know which endpoints
are hit most, what the latency distribution looks like, what the error rate
is per endpoint, or which consumers drive the bulk of traffic.

Goals:

  • Per-endpoint request volume
  • Latency percentiles (p50 / p95 / p99)
  • Error rates by code
  • Top consumers (per API key)

Open: pick the stack. Should match whatever the wider 7Cav tool surface
adopts so we get one observability picture across the stack.

This is load-bearing for the two adjacent tasks "Replace deprecated gRPC
client APIs" and "Drop gRPC entirely" — the gRPC-vs-HTTP traffic split on
the two listener ports is the evidence that decides between patching the
deprecated client APIs and removing gRPC. Confidence is high that nothing
is calling the gRPC port externally, but a week of data should confirm
before acting on either.

Needs a scoping pass.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or capabilityneeds-infoWaiting on reporter for more information

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions