Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DF-20481: Add new OCR3DataFeeds telemetry type for Mercury jobs #14470

Merged
merged 10 commits into from
Sep 18, 2024

Conversation

austinborn
Copy link
Contributor

@austinborn austinborn commented Sep 18, 2024

Commit: Add new OCR3DataFeeds telemetry type for Mercury jobs
Ticket: DF-20481

The main logic is:

if relayConfig.EnableTriggerCapability && jb.OCR2OracleSpec.PluginConfig == nil {
    telemetryType = synchronization.OCR3DataFeeds
} else {
    telemetryType = synchronization.OCR3Mercury
}

This is so telemetry for the new Data Feeds jobs doesn't affect Streams product monitoring. Streams doesn't have a use case for EnableTriggerCapability since it only routes to servers at the moment, but if a Streams job has both transmit methods, it will then automatically route telemetry back to Streams.

@austinborn austinborn requested review from a team as code owners September 18, 2024 04:59
@austinborn austinborn requested review from cedric-cordenier and samsondav and removed request for a team September 18, 2024 04:59
@austinborn austinborn changed the title Add new OCR3DataFeeds telemetry type for Mercury jobs DF-20481: Add new OCR3DataFeeds telemetry type for Mercury jobs Sep 18, 2024
alecgard
alecgard previously approved these changes Sep 18, 2024
.changeset/curvy-beans-scream.md Outdated Show resolved Hide resolved
return nil, fmt.Errorf("error while unmarshalling relay config: %w", err)
}

var err error
Copy link
Contributor

@alecgard alecgard Sep 18, 2024

Choose a reason for hiding this comment

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

Nit: This could be defined where it is given a value, as we immediately return when there is an err rather than reference it later

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This doesn't seem work with the linter. When I remove this and set err := ... everywhere, I get this on line 129, 136, 143 and 150: factory declared and not used.

Copy link
Contributor

Choose a reason for hiding this comment

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

Ah - we could move var err error to line 111 so that it is defined just for the factory methods, but I'm happy either way

@austinborn austinborn added this pull request to the merge queue Sep 18, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 18, 2024
@austinborn austinborn added this pull request to the merge queue Sep 18, 2024
Merged via the queue into develop with commit 5885454 Sep 18, 2024
137 checks passed
@austinborn austinborn deleted the chore/ocr3-data-feeds-telemetry branch September 18, 2024 16:50
momentmaker added a commit that referenced this pull request Sep 19, 2024
* develop: (79 commits)
  core/config/toml: include value in InsecureConnection error message (#14495)
  vrf: add soneium config for integration tests (#14443)
  Add default test config for Grafana (#14475)
  Update to 1.5 RMN contract address (#14485)
  fix lint issues (#14450)
  [BCFR-203] Improve CR value comparator querying (topics and data words) by doing encoding in the relayer (#14207)
  integration-tests/deployment/ccip: fix assertion fns (#14482)
  chore: remove gha workflow validation (#14487)
  devsvcs-244: update token transfer (#14481)
  DF-20481: Add new OCR3DataFeeds telemetry type for Mercury jobs (#14470)
  Merc 6304 view function ea telem support (#14467)
  [DEVSVCS-545] cleanup (#14478)
  Mantle use vanilla l1 oracle (#14471)
  Fix E2E_TESTS_ON_GITHUB_CI.md (#14473)
  Upgrade chainlink ccip dependency (#14474)
  [DEVSVCS-545] automation benchmark test remove support for keepers v1 (#14472)
  Enables OOO Execution for E2E Tests (#14392)
  Delegate workflow spec creation (#14365)
  CCIP-3407: Add release testing configs (#1436) (#14463)
  Implement v0.3-compatible telemetry for LLO (#14440)
  ...
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.

3 participants