Skip to content

DF-23700 fix sanitization and harmonize metrics with caller's#106

Open
vlfig wants to merge 2 commits intomainfrom
fix-rpcUrl-sanitization
Open

DF-23700 fix sanitization and harmonize metrics with caller's#106
vlfig wants to merge 2 commits intomainfrom
fix-rpcUrl-sanitization

Conversation

@vlfig
Copy link
Copy Markdown
Contributor

@vlfig vlfig commented May 6, 2026

Description

Fix rpcUrl sanitization to deal with absent protocol, just the hostname.
Harmonize labels and values across latency and error/success metrics.

  • rpcDomain, not rpcUrl
  • callName, not rpcCallName

Requires Dependencies

Resolves Dependencies

@vlfig vlfig force-pushed the fix-rpcUrl-sanitization branch from 039edce to 446045d Compare May 6, 2026 10:03
@vlfig vlfig marked this pull request as ready for review May 6, 2026 10:04
@vlfig vlfig requested a review from a team as a code owner May 6, 2026 10:04
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 6, 2026

📊 API Diff Results

No changes detected for module github.com/smartcontractkit/chainlink-framework/metrics

View full report

@vlfig vlfig enabled auto-merge (squash) May 6, 2026 10:04
dhaidashenko
dhaidashenko previously approved these changes May 6, 2026
Harmonize labels and values across latency and error/success metrics.

rpcDomain, not rpcUrl
callName, not rpcCallName

Caller passes hostname, not full URL but keeping sanitization for future-proofing.
@vlfig
Copy link
Copy Markdown
Contributor Author

vlfig commented May 6, 2026

Sorry @dhaidashenko , I realised there were a couple changes more. Trivial stuff though.

@vlfig vlfig changed the title DF-23700 fix SanitizeRPCURL for absent protocol (just host) DF-23700 fix sanitization and harmonize metrics with caller's May 6, 2026
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.

2 participants