Skip to content

Commit e81e259

Browse files
committed
support pyroscope from LOOP plugins
1 parent d62edd5 commit e81e259

20 files changed

Lines changed: 271 additions & 260 deletions

File tree

.changeset/filthy-dogs-dive.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"chainlink": minor
3+
---
4+
5+
Add Pyroscope profiling support for LOOP Plugins #nops

core/cmd/shell_local_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,9 @@ func resetShellForTest(shell *cmd.Shell) {
6060
func genTestEVMRelayers(t *testing.T, cfg chainlink.GeneralConfig, ds sqlutil.DataSource, ethKeystore keystore.Eth, csaKeystore core.Keystore) *chainlink.CoreRelayerChainInteroperators {
6161
lggr := logger.TestLogger(t)
6262
f := chainlink.RelayerFactory{
63-
Logger: lggr,
64-
LoopRegistry: plugins.NewLoopRegistry(lggr, cfg.AppID().String(), cfg.Feature().LogPoller(), cfg.Database(), cfg.Mercury(), cfg.Tracing(), cfg.Telemetry(), nil, "", cfg.LOOPP()),
63+
Logger: lggr,
64+
LoopRegistry: plugins.NewLoopRegistry(lggr, cfg.AppID().String(), cfg.Feature().LogPoller(), cfg.Database(),
65+
cfg.Mercury(), cfg.Pyroscope(), cfg.AutoPprof(), cfg.Tracing(), cfg.Telemetry(), nil, "", cfg.LOOPP()),
6566
CapabilitiesRegistry: capabilities.NewRegistry(lggr),
6667
}
6768

core/scripts/go.mod

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ require (
2727
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc
2828
github.com/docker/docker v28.5.2+incompatible
2929
github.com/docker/go-connections v0.6.0
30-
github.com/ethereum/go-ethereum v1.17.1
30+
github.com/ethereum/go-ethereum v1.17.2
3131
github.com/gkampitakis/go-snaps v0.5.19
3232
github.com/google/go-cmp v0.7.0
3333
github.com/google/uuid v1.6.0
@@ -38,7 +38,7 @@ require (
3838
github.com/minio/minio-go/v7 v7.0.86
3939
github.com/montanaflynn/stats v0.7.1
4040
github.com/olekukonko/tablewriter v0.0.5
41-
github.com/pelletier/go-toml/v2 v2.2.4
41+
github.com/pelletier/go-toml/v2 v2.3.0
4242
github.com/pkg/errors v0.9.1
4343
github.com/prometheus/client_golang v1.23.2
4444
github.com/rs/zerolog v1.34.0
@@ -50,7 +50,7 @@ require (
5050
github.com/smartcontractkit/chainlink-common/keystore v1.0.2
5151
github.com/smartcontractkit/chainlink-data-streams v0.1.13
5252
github.com/smartcontractkit/chainlink-deployments-framework v0.86.3
53-
github.com/smartcontractkit/chainlink-evm v0.3.4-0.20260330133421-5151ea0c3b05
53+
github.com/smartcontractkit/chainlink-evm v0.3.4-0.20260410162948-2dca02f24e98
5454
github.com/smartcontractkit/chainlink-evm/gethwrappers v0.0.0-20260119171452-39c98c3b33cd
5555
github.com/smartcontractkit/chainlink-protos/cre/go v0.0.0-20260326111235-8c09d1a4491f
5656
github.com/smartcontractkit/chainlink-protos/job-distributor v0.18.0
@@ -113,7 +113,7 @@ require (
113113
github.com/alitto/pond/v2 v2.5.0 // indirect
114114
github.com/apache/arrow-go/v18 v18.3.1 // indirect
115115
github.com/apapsch/go-jsonmerge/v2 v2.0.0 // indirect
116-
github.com/aptos-labs/aptos-go-sdk v1.12.1-0.20260318141106-21b6ef4ed363 // indirect
116+
github.com/aptos-labs/aptos-go-sdk v1.12.1 // indirect
117117
github.com/atombender/go-jsonschema v0.16.1-0.20240916205339-a74cd4e2851c // indirect
118118
github.com/avast/retry-go v3.0.0+incompatible // indirect
119119
github.com/awalterschulze/gographviz v2.0.3+incompatible // indirect
@@ -201,7 +201,7 @@ require (
201201
github.com/cosmos/ledger-cosmos-go v0.14.0 // indirect
202202
github.com/cpuguy83/dockercfg v0.3.2 // indirect
203203
github.com/cpuguy83/go-md2man/v2 v2.0.7 // indirect
204-
github.com/crate-crypto/go-eth-kzg v1.4.0 // indirect
204+
github.com/crate-crypto/go-eth-kzg v1.5.0 // indirect
205205
github.com/creachadair/jrpc2 v1.2.0 // indirect
206206
github.com/creachadair/mds v0.13.4 // indirect
207207
github.com/danieljoos/wincred v1.2.3 // indirect
@@ -369,7 +369,7 @@ require (
369369
github.com/jmhodges/levigo v1.0.0 // indirect
370370
github.com/jpillora/backoff v1.0.0 // indirect
371371
github.com/json-iterator/go v1.1.12 // indirect
372-
github.com/karalabe/hid v1.0.1-0.20240306101548-573246063e52 // indirect
372+
github.com/karalabe/hid v1.0.1-0.20260315100226-f5d04adeffeb // indirect
373373
github.com/kelseyhightower/envconfig v1.4.0 // indirect
374374
github.com/klauspost/compress v1.18.4 // indirect
375375
github.com/klauspost/cpuid/v2 v2.2.10 // indirect
@@ -483,7 +483,7 @@ require (
483483
github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966 // indirect
484484
github.com/smartcontractkit/ccip-contract-examples/chains/evm v0.0.0-20260129135848-c86808ba5cb9 // indirect
485485
github.com/smartcontractkit/ccip-owner-contracts v0.1.0 // indirect
486-
github.com/smartcontractkit/chainlink-aptos v0.0.0-20260324144720-484863604698 // indirect
486+
github.com/smartcontractkit/chainlink-aptos v0.0.0-20260407161350-a86b1969da65 // indirect
487487
github.com/smartcontractkit/chainlink-ccip/ccv/chains/evm v0.0.0-20260323224438-d819cb3228e1 // indirect
488488
github.com/smartcontractkit/chainlink-ccip/chains/evm/deployment v0.0.0-20260331203127-b8dc0a6b85c5 // indirect
489489
github.com/smartcontractkit/chainlink-ccip/chains/solana v0.0.0-20260310183131-8d0f0e383288 // indirect
@@ -495,8 +495,8 @@ require (
495495
github.com/smartcontractkit/chainlink-feeds v0.1.2-0.20250227211209-7cd000095135 // indirect
496496
github.com/smartcontractkit/chainlink-framework/capabilities v0.0.0-20250818175541-3389ac08a563 // indirect
497497
github.com/smartcontractkit/chainlink-framework/chains v0.0.0-20260326122810-b657beadfb57 // indirect
498-
github.com/smartcontractkit/chainlink-framework/metrics v0.0.0-20251210101658-1c5c8e4c4f15 // indirect
499-
github.com/smartcontractkit/chainlink-framework/multinode v0.0.0-20260326180413-c69f27e37a13 // indirect
498+
github.com/smartcontractkit/chainlink-framework/metrics v0.0.0-20260410144512-ca02ad6ed16a // indirect
499+
github.com/smartcontractkit/chainlink-framework/multinode v0.0.0-20260410144512-ca02ad6ed16a // indirect
500500
github.com/smartcontractkit/chainlink-protos/billing/go v0.0.0-20251024234028-0988426d98f4 // indirect
501501
github.com/smartcontractkit/chainlink-protos/chainlink-ccv/committee-verifier v0.0.0-20251211142334-5c3421fe2c8d // indirect
502502
github.com/smartcontractkit/chainlink-protos/chainlink-ccv/heartbeat v0.0.0-20260115142640-f6b99095c12e // indirect
@@ -516,9 +516,9 @@ require (
516516
github.com/smartcontractkit/chainlink-sui/deployment v0.0.0-20260304150206-c64e48eb0cb0 // indirect
517517
github.com/smartcontractkit/chainlink-testing-framework/framework/components/fake v0.10.0 // indirect
518518
github.com/smartcontractkit/chainlink-testing-framework/parrot v0.6.2 // indirect
519-
github.com/smartcontractkit/chainlink-ton v0.0.0-20260408074447-0acfdcb19338 // indirect
519+
github.com/smartcontractkit/chainlink-ton v0.0.0-20260410201811-4e2e3b68a59e // indirect
520520
github.com/smartcontractkit/chainlink-ton/deployment v0.0.0-20260408074447-0acfdcb19338 // indirect
521-
github.com/smartcontractkit/chainlink-tron/relayer v0.0.11-0.20260218133534-cbd44da2856b // indirect
521+
github.com/smartcontractkit/chainlink-tron/relayer v0.0.11-0.20260408092456-3c6369888d4a // indirect
522522
github.com/smartcontractkit/freeport v0.1.3-0.20250828155247-add56fa28aad // indirect
523523
github.com/smartcontractkit/grpc-proxy v0.0.0-20240830132753-a7e17fec5ab7 // indirect
524524
github.com/smartcontractkit/mcms v0.38.2 // indirect

core/scripts/go.sum

Lines changed: 22 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)