-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
[Instrumental] Underscore metric name output #1607
Merged
sparrc
merged 24 commits into
influxdata:master
from
Instrumental:instrumental-underscore-metric-name-output
Aug 30, 2016
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
a27d5ee
separate hello and authenticate functions, force connection close at …
janxious 05a0186
update changelog, though this will need to be updated again to merge …
janxious 298d928
bump instrumental agent version
janxious b64d5f7
fix test to deal with better better connect/reconnect logic and chang…
janxious 149dea9
Update CHANGELOG.md
janxious bb35a5a
go fmt
janxious b4c8ef6
Split out Instrumental tests for invalid metric and value.
jqr 66dc5a4
Ensure nothing remains on the wire after final test.
jqr eb9744d
Force valid metric names by replacing invalid parts with underscores.
jqr 227ffbb
Multiple invalid characters being joined into a single udnerscore.
jqr 42f1a14
Adjust comment to what happens.
jqr 3d0f5d2
undo split hello and auth commands, to reduce roundtrips
janxious dec9535
Merge pull request #1 from Instrumental/connect-disconnect-logic
jqr 8d75740
Merge pull request #2 from Instrumental/underscore-metric-names
jqr 202022d
Split out Instrumental tests for invalid metric and value.
jqr bfe5246
Ensure nothing remains on the wire after final test.
jqr 59a9e7c
Force valid metric names by replacing invalid parts with underscores.
jqr b21c80d
Multiple invalid characters being joined into a single udnerscore.
jqr d62c27a
add an entry to CHANGELOG for easy merging upstream
janxious 3ad34b8
go fmt variable alignment
janxious 269a10c
minor changes to include latest instrumental plugin commits
mediocretes 4918023
Merge branch 'master' of github.com:influxdata/telegraf into isd
mediocretes b4f2550
remove some bugfixes from changelog which now more properly are in a …
mediocretes 21b9b04
remove headers and whitespace should should have been removed with th…
mediocretes 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
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.
do we still need to be checking this? how would it ever be true if we already replaced the bad characters above?
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.
The above cleans up the metric name, this line rejects bad values. If someone sends a name with bad characters, we just turn them to underscores, but if someone sends a bad value, we simply drop it.
I think the bad value that triggered this change was a time (as in HH:MM).
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.
@sparrc bumps