Skip to content

Beholder heartbeat #1572

Closed
pkcll wants to merge 5 commits intomainfrom
INFOPLAT-2938-logs-streaming-loopp-heartbeat
Closed

Beholder heartbeat #1572
pkcll wants to merge 5 commits intomainfrom
INFOPLAT-2938-logs-streaming-loopp-heartbeat

Conversation

@pkcll
Copy link
Copy Markdown
Contributor

@pkcll pkcll commented Oct 1, 2025

Add beholder heartbeat
Based of #1566

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Oct 1, 2025

apidiff results - backwards-incompatible changes detected ❌

Module: github-com-smartcontractkit-chainlink-common

Status: ❌ 4 incompatible, 32 compatible

Incompatible Changes (4)

Element Change
./pkg/types.CCIPProviderArgs.OffRampAddress changed from string to github.com/smartcontractkit/chainlink-common/pkg/types/ccipocr3.UnknownAddress
./pkg/types.CCIPProviderArgs.PluginType changed from uint32 to github.com/smartcontractkit/chainlink-common/pkg/types/ccipocr3.PluginType
./pkg/types/ccipocr3.ExtraDataCodec removed
./pkg/types/ccipocr3.PriceReader.GetFeeQuoterTokenUpdates changed from func(context.Context, []UnknownEncodedAddress, ChainSelector) (map[UnknownEncodedAddress]TimestampedUnixBig, error) to func(context.Context, []UnknownAddress) (map[UnknownEncodedAddress]TimestampedUnixBig, error)

(Full summary: https://github.com/smartcontractkit/chainlink-common/actions/runs/18159633055/#summary-51687290021)

@pkcll pkcll force-pushed the INFOPLAT-2938-logs-streaming-loopp-heartbeat branch from 597278b to c7fce9e Compare October 1, 2025 07:40
@pkcll pkcll force-pushed the INFOPLAT-2938-logs-streaming-loopp-heartbeat branch from c7fce9e to 9913741 Compare October 1, 2025 08:42
@pkcll pkcll force-pushed the INFOPLAT-2938-logs-streaming-loopp-heartbeat branch from 9913741 to 7bb83e1 Compare October 1, 2025 09:27
Comment thread pkg/beholder/heartbeat.go
Comment on lines +84 to +102
func WithEmitter(emitter Emitter) HeartbeatOpt {
return func(h *Heartbeat) {
h.Emitter = emitter
}
}

// WithMeter sets a custom meter for the heartbeat
func WithMeter(meter metric.Meter) HeartbeatOpt {
return func(h *Heartbeat) {
h.Meter = meter
}
}

// WithTracer sets a custom tracer for the heartbeat
func WithTracer(tracer trace.Tracer) HeartbeatOpt {
return func(h *Heartbeat) {
h.Tracer = tracer
}
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

These will pollute the beholder pkg namespace. might be better to use a config struct like heartbeatConfig

@pkcll pkcll force-pushed the INFOPLAT-2938-logs-streaming-loopp branch from 0f06f1d to c913da4 Compare October 6, 2025 22:01
Base automatically changed from INFOPLAT-2938-logs-streaming-loopp to main October 7, 2025 17:20
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Nov 7, 2025

This PR is stale because it has been open 30 days with no activity.
Remove the stale label or comment or this will be closed in 7 days.

@github-actions github-actions Bot added the Stale label Nov 7, 2025
@github-actions
Copy link
Copy Markdown

This PR has been automatically closed because it has been stale for > 30 days.
If you wish to continue working on this PR, please reopen it and make any necessary changes.

@github-actions github-actions Bot closed this Nov 14, 2025
@github-actions github-actions Bot deleted the INFOPLAT-2938-logs-streaming-loopp-heartbeat branch November 14, 2025 00:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants