Skip to content

Prepare the EVM capability for the generated v2 monitoring wrapper - #956

Draft
ilija42 wants to merge 1 commit into
mainfrom
feat/evm-v2-action-monitoring
Draft

ilija42 wants to merge 1 commit into
mainfrom
feat/evm-v2-action-monitoring

Conversation

@ilija42

@ilija42 ilija42 commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

What

Prepares the EVM capability for the generated v2 monitoring wrapper (PLEX-3441), the same way Stellar and Solana are wired:

  • MonitoringContext() on the capability returns its logger and the capability-scoped metric labels (chain family, chain id, network, capability type and id).
  • capmon.MetricViews() is registered so the action duration histogram gets its buckets.

Why

smartcontractkit/chainlink-common#2505 regenerates the EVM capability server with --with-monitoring, which adds MonitoringContext() to the ClientCapability interface. Without this change the EVM capability stops compiling on the chainlink-common bump that carries it.

Behavior

None yet. The method is unused until the chainlink-common bump; after it, the server wrapper logs each action and records capabilities_v2_action_count and capabilities_v2_action_duration. The existing hand-written EVM metrics are untouched and keep working next to them.

Checked

  • Builds and tests pass on the pinned chainlink-common.
  • Builds against the branch of chainlink-common#2505.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant