Skip to content

pkg/services/orgresolver: track pass/fail metrics#2099

Draft
jmank88 wants to merge 1 commit into
mainfrom
CRE-3887-org-resolver-metrics
Draft

pkg/services/orgresolver: track pass/fail metrics#2099
jmank88 wants to merge 1 commit into
mainfrom
CRE-3887-org-resolver-metrics

Conversation

@jmank88
Copy link
Copy Markdown
Contributor

@jmank88 jmank88 commented May 28, 2026

https://smartcontract-it.atlassian.net/browse/CRE-3887
Support passing a metric.Meter to the org resolver to report pass/fail metrics.

@github-actions
Copy link
Copy Markdown

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

✅ Compatible Changes (3)

pkg/services/orgresolver.(*Config) (1)
  • New — ➕ Added
pkg/services/orgresolver.Config (2)
  • Client — ➕ Added

  • Meter — ➕ Added


📄 View full apidiff report

resp, err := o.client.GetOrganizationFromWorkflowOwner(ctx, req)
if err != nil {
if o.failCount != nil {
o.failCount.Add(ctx, 1) //TODO owner attribute?
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.

Are owner attributes helpful? Or just noise with extra cardinality?

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