Skip to content

Move metrics into their owning crates #1787

Description

@bmuddha

Scope

The validator's shared metrics crate mixes collectors for unrelated owners and retains polling and duplicate observations. After the ChainSync cutover, keep RPC metrics and the scrape endpoint in Aperture, intent metrics in Committor, nonce-wait metrics in the validator adapter, and client/table metrics with their callers.

Reuse Engine nucleus primitives and the default Prometheus registry. Preserve useful counters and observations, remove transaction-history polling used only to collect compute usage, and drop obsolete Chainlink collectors and collection-frequency configuration.

Outcome

Leaders and verifiers should expose one scrape endpoint that includes Engine and application collectors. Each surviving collector should have a clear owner, and the legacy metrics crate should be removed without adding another registry or polling service.

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions