-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[Metricbeat] [Statsd] Add support for Graphite series 1.1.0+ tags #39619
Merged
Merged
Changes from 5 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
87f2025
added support for graphite tags
tehbooom 6998046
added more unit tests
tehbooom afd1eb2
updated changelog
tehbooom c98e920
Updated changelog
tehbooom 190d3a5
Fixed spacing between headers
tehbooom 7af5093
Update x-pack/metricbeat/module/statsd/server/data.go
tehbooom bdbbf83
Updated changelog
tehbooom 6f6a3c7
Fixed code repetition and added comments
tehbooom 1229766
Updated README to show the valid extensions for the module
tehbooom 4654853
Updated module doc
tehbooom 82e71b8
Updated module documentation showing supported tags
tehbooom 8eb86e1
Merge branch 'main' into statsd
shmsr 636dc35
Update metricbeat/docs/modules/statsd.asciidoc
shmsr 71b8904
spelling
tehbooom 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 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.
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.
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.
Also, I think we should update README. See an example: https://github.com/prometheus/statsd_exporter?tab=readme-ov-file#tagging-extensions
@ritalwar @tehbooom What do you think? Else, one has to go to code to figure it out to see what extensions are supported.
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.
@ritalwar @shmsr How do we feel about adding this to the README?
Would look like this:
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.
Perhaps the heading could be like:
and so on.
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.
I'm fine with just listing the names, but we can add something like:
Supported Tag Extensions
Examples of tag styles supported by the
statsd
module:<metric name>:<value>|<type>|@samplerate|#<k>:<v>,<k>:<v>
<metric name>,<k>=<v>,<k>=<v>:<value>|<type>|@samplerate
<metric name>;<k>=<v>;<k>=<v>:<value>|<type>|@samplerate