-
Notifications
You must be signed in to change notification settings - Fork 1.7k
chore(observability): emit component_sent
events by source
and service
#17549
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
796def9
Add initial version of Cached
StephenWakely b205354
Remove the deadlock from writing to the cache after reading
StephenWakely d0c36ed
Insert source and service tag into events
StephenWakely ec666b0
Add bytesize count grouped by source and service
StephenWakely 3e06791
Add EventCountTags trait
StephenWakely 3a5fe02
Merge remote-tracking branch 'origin' into stephen/cached_events
StephenWakely 15ea497
Fix merge
StephenWakely d66654c
Fix compile errors
StephenWakely d1c7df6
Merge remote-tracking branch 'origin' into stephen/cached_events
StephenWakely c895653
Set source and service tags for most other sinks
StephenWakely d28a809
Register the events with a trait rather than a Fn
StephenWakely 4ade9be
These tests are round trip
StephenWakely 3632fa2
Merge remote-tracking branch 'origin' into stephen/cached_events
StephenWakely 4d9c5df
Clippy
StephenWakely c9640d9
Add event count tags for loki sink
StephenWakely a758704
RegisterEvent inherits form RegisterInternalEvent
StephenWakely 5cbfee4
Merge remote-tracking branch 'origin' into stephen/cached_events
StephenWakely 9eab386
Added telemetry options
StephenWakely ee50bf5
Only collect configured tags
StephenWakely 9fd7854
Added tests and clippy.
StephenWakely 01d8ad1
Little tidy
StephenWakely 87ca474
TaggedEventsSent doesn't need Output
StephenWakely ebd10c8
Spelling
StephenWakely b30a4bb
Remove default impl of take_metadata
StephenWakely 8b74470
Outer event should get tags from inner event type
StephenWakely b11c7a6
Driver should not consume the metadata
StephenWakely 3327904
Merge remote-tracking branch 'origin' into stephen/cached_events
StephenWakely 7a43045
Tags should be an associated type of RegisterEvent
StephenWakely f43af1b
Feedback from Bruce
StephenWakely b141f30
Merge remote-tracking branch 'origin' into stephen/cached_events
StephenWakely 8ac7020
Set source tag to be Arc<ComponentKey>
StephenWakely 243ec8b
Replace take_metadata with metadata_mut
StephenWakely 574cbae
Add test for telemetry tags to Kafka sink
StephenWakely 73131e6
Fix datadog integration test
StephenWakely 4dee27c
Use Derivative to replace clone with no bounds
StephenWakely f1af663
Spelling
StephenWakely 8f0cc1b
Feedback from Bruce
StephenWakely 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
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this an intentional choice? I don't see a real-life reason why metrics couldn't be associated with a service.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Currently only Log events can have schemas. Once we expand it so that a meaning can point to a metric tag then we will be able to extract the service here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just want to double check that we will be emitting the
service
tag for logs, metrics, and traces. If we need to follow up on metrics and traces we can do so, but I think we do need to do that before calling this project "finished".There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, I didn't consider the
service
tag to be part of the schema - just thought we'd add a metric tag ofservice: foo