-
Notifications
You must be signed in to change notification settings - Fork 6
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
Provide a DogStatsD API in the sidecar #399
Merged
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
7114ae4
WIP: DogStatsD support in the Sidecar
iamluc 4e73ed7
Add support for tags in dogstatsd actions
iamluc ead16db
Switch to Cadence as StatsD client
iamluc 1543953
Add an QueuingMetricSink to avoid sync calls
iamluc 86855e9
Improve error handling using anyhow
iamluc 91697e9
Share common code
iamluc 3371858
Coding style
iamluc 45c47ff
Disabled dogstatsd support if the creation of the statsd client failed
iamluc e1aa7b3
Use proper Vec<Tag> instead of string serialization
iamluc dc8692e
Coding style
iamluc ca56209
Add support for Distribution and histogram
iamluc 054619c
Fix compilation on Windows
iamluc 1a21358
Simplify code
iamluc f5e0e8a
Disable dogstatsd support in agentless mode
iamluc 6d6300b
Add support for the 'Set' metric type
iamluc 058c5c0
Fix compilation on Windows
iamluc 47a58f6
Please clippy
iamluc 6cf7c61
Update LICENSE-3rdparty.yml
iamluc 55d2b15
Add tests
iamluc d2c35bf
Fix rebase
iamluc 4b1ff5e
Fix: allow negative values
iamluc 6bcb3a0
Address review's comments
iamluc 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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 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 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.
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.
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.
So we passa all the tags all the time? Some of them (e.g lang, lang_interpreter, lang_version, tracer_version, runtimeId won't change from one session to another.
Also, not saying we should do it, but we do process at least some tags in .NET (cf this), do you do it on php side?
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.
Yes, we do that on the PHP side. The language/version/runtime id tags could be probably directly provided within the sidecar. PR #398 anyway transfers that language/version info as part of session info. We could just use that part and merge it here. Should be more efficient too :-)
Would make sense to me, great point, Pierre!
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.
If processing happens on the client side we should document it Somewhere in the API that we expect input data to be already processed.