-
Notifications
You must be signed in to change notification settings - Fork 1.9k
feat: implement diagnostic channels for observability #3195
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
Open
logaretm
wants to merge
37
commits into
redis:master
Choose a base branch
from
logaretm:feat/tracing-channel
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
74ab680
feat: add TracingChannel support with argument sanitization
logaretm 8cbedb4
test: add comprehensive unit tests for sanitizeArgs
logaretm 26cf19a
refactor: use ? placeholder for redacted args
logaretm 73aa8fb
refactor: move OTel command metrics to TracingChannel subscribers
logaretm 65a0ba2
refactor: remove NoopCommandMetrics class
logaretm 556dc38
refactor: move all inline OTel metrics to diagnostics_channel events
logaretm d3f7742
refactor: consolidate all OTel metric classes into channel subscribers
logaretm 5f9cc04
test: remove no-op channel publish tests
logaretm b1248bd
refactor: use CHANNELS map consistently and tracingChannel API for su…
logaretm 3644481
chore: remove dead types and interfaces from opentelemetry module
logaretm fea0d3e
refactor: deduplicate diagnostics_channel loading
logaretm 0b58464
refactor: rename BatchTraceContext to BatchOperationContext
logaretm 5b8c217
chore: remove unused CONNECTION_WAIT_START event
logaretm 1b588a7
fix: restore wasReady guard on connection count decrement
logaretm f381a5e
feat: export all channel names and event types for APM consumers
logaretm e848850
refactor: convert pool wait time to TracingChannel
logaretm bc11aa5
fix: consistent serverPort typing across all event interfaces
logaretm f2f618b
refactor: add getTracingChannel helper with auto-resolved context types
logaretm 80c70d7
refactor: stop exporting dc, use getTracingChannel and getChannel ins…
logaretm 17c98f0
refactor: unify trace functions into single generic trace()
logaretm 794e3ad
refactor: store unsubscriber closures instead of handler references
logaretm 1364ebe
chore: delete noop-metrics.ts
logaretm 94abf86
fix: deduplicate COMMAND_REPLY events and merge subscriber
logaretm 1bdc4ee
fix: reject tracing promise on pool acquire timeout
logaretm 3dfaa23
chore: remove noop-meter.ts
logaretm 0d90da4
fix: sanitize COMMAND_REPLY args and catch pool trace promise
logaretm 11d2b40
fix: reject pending wait traces on pool destroy
logaretm 264286d
style: move const noop after imports in pool.ts
logaretm d9f870d
fix: E2E test failures from refactor
logaretm d4fa6a2
fix: record connection wait time when client is immediately available
logaretm 625146f
style: clean up comments, remove em dashes, be concise
logaretm fad7566
fix(perf): optimize channel acquisition
logaretm f870361
refactor: deduplicate command error reporting, use TracingChannel err…
logaretm 1ea1db2
fix: filter redirection errors at call site, not in #recordError
logaretm 5e5d25f
fix: use ctx.origin instead of ctx.internal for redirection deduplica…
logaretm 82a03ee
fix: guard against disabled metrics in OTelMetrics constructor
logaretm 7927297
fix: treat MULTI as atomic operation, remove per-command tracing
logaretm File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.