Skip to content

feat: head reporter metrics via beholder metrics (#23250) - #23557

Merged
vyzaldysanchez merged 3 commits into
release/2.58.1from
cherry-pick/beholder-head-tracker
Sep 2, 2026
Merged

vyzaldysanchez merged 3 commits into
release/2.58.1from
cherry-pick/beholder-head-tracker

Merge branch 'release/2.58.1' into cherry-pick/beholder-head-tracker

a15ebd2
Select commit
Loading
Failed to load commit list.
CL-sonarqube-production / SonarQube Code Analysis succeeded Aug 31, 2026 in 53s

Annotations

Check warning on line 67 in core/services/headreporter/beholder_metrics.go

See this annotation in the file changed.

@cl-sonarqube-production cl-sonarqube-production / SonarQube Code Analysis

Define a constant instead of duplicating this literal "failed to register %s gauge: %w" 5 times.

[S1192] String literals should not be duplicated
 See more on https://sonarqube.main.prod.cldev.sh/project/issues?id=smartcontractkit_chainlink&pullRequest=23557&issues=c95a2bce-8c9a-48ee-8ed3-eff5023c72cd&open=c95a2bce-8c9a-48ee-8ed3-eff5023c72cd

Check warning on line 218 in core/services/chainlink/application.go

See this annotation in the file changed.

@cl-sonarqube-production cl-sonarqube-production / SonarQube Code Analysis

Refactor this method to reduce its Cognitive Complexity from 95 to the 30 allowed.

[S3776] Cognitive Complexity of functions should not be too high
 See more on https://sonarqube.main.prod.cldev.sh/project/issues?id=smartcontractkit_chainlink&pullRequest=23557&issues=6810e5c3-acc3-46ff-84a4-e94ee72ae3ca&open=6810e5c3-acc3-46ff-84a4-e94ee72ae3ca