Skip to content

Resource Managers: durable metering for the CRE and other products#2158

Draft
patrickhuie19 wants to merge 5 commits into
mainfrom
feat/shared-2707
Draft

Resource Managers: durable metering for the CRE and other products#2158
patrickhuie19 wants to merge 5 commits into
mainfrom
feat/shared-2707

Conversation

@patrickhuie19

@patrickhuie19 patrickhuie19 commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actions Bot commented Jun 15, 2026

Copy link
Copy Markdown

✅ API Diff Results - github.com/smartcontractkit/chainlink-common

✅ Compatible Changes (8)

package github (1)
  • com/smartcontractkit/chainlink-common/pkg/resourcemanager — ➕ Added
pkg/durableemitter.Config (1)
  • NodeCSAKey — ➕ Added
pkg/loop.EnvConfig (6)
  • MeteringEnvironment — ➕ Added

  • MeteringNodeID — ➕ Added

  • MeteringProduct — ➕ Added

  • MeteringZone — ➕ Added

  • MeterRecordsEnabled — ➕ Added

  • MeterSnapshotsEnabled — ➕ Added


📄 View full apidiff report

Comment thread pkg/loop/config.go
envMeteringEnvironment = "CL_METERING_ENVIRONMENT"
envMeteringZone = "CL_METERING_ZONE"
envMeteringNodeID = "CL_METERING_NODE_ID"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note to reader, DonID isn't here b/c a node can belong to many DONs; it is the responsibility of the loop to properly receive its DonID from Initialise in the standard cap interface (or for non-CRE use cases, elsewhere)

@@ -19,6 +19,12 @@ import (
"github.com/smartcontractkit/chainlink-common/pkg/services"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note to reader: changes made here instead of pkg/beholder as we are trying to leave beholder as is without accruing much more complexity, and durableemitter pkg is completely owned by foundations, so is a cleaner division of responsibility

cc @pkcll

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