Skip to content
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

Wavefront output plugin #2288

Closed
wants to merge 36 commits into from
Closed

Wavefront output plugin #2288

wants to merge 36 commits into from

Conversation

puckpuck
Copy link
Contributor

@puckpuck puckpuck commented Jan 18, 2017

Required for all PRs:

  • CHANGELOG.md updated (we recommend not updating this until the PR has been approved by a maintainer)
  • Sign CLA (if not already signed)
  • README.md updated (if adding a new plugin)

This is a new output plugin for Wavefront. Wavefront is a SaaS for metrics. You can learn more about Wavefront on their website: https://www.wavefront.com

We have been using this output plugin for multiple months with a few Wavefront customers yielding great results, and are ready to release it to the community so it can be part of the main telegraf package.

Evan Pease and others added 27 commits August 18, 2016 15:13
First cut of wavefront storage driver - quotes tag values
- Added convert_groups config parameter
- Cleaned up error messages
- Removed all references to OpenTSDB format
- Updated configuration names and default values
- Updated special character handling and added new regex option
- Added new “hidden” DebugAll option to print original metric and field
names
- Change tag host to be source per Wavefront data format
- Added SimpleFields property which when true will use “value” as field
name when specified (default false)
- Cleanup of sample config
Full support for Wavefront data format
# Conflicts:
#	Makefile
#	plugins/outputs/wavefront/wavefront.go
#	plugins/outputs/wavefront/wavefront_test.go
# Conflicts:
#	Makefile
#	plugins/outputs/wavefront/wavefront.go
#	plugins/outputs/wavefront/wavefront_test.go
- Use new logging form or D! or E!
- added tagValueReplacer just for tag values, instead of using
santizedChars
- re-added forward slash (/) to sanitizedChars
- Changed order of variables to match sample config and readme
- point tag names with quotes `”` will now be escaped `\”`
- removed redundant (and commented) statsd section
@sparrc sparrc added this to the Future Milestone milestone Jan 18, 2017
@mspinassi
Copy link

+1 for getting this plugin merged.

@puckpuck
Copy link
Contributor Author

Can we get an update on status on this PR, will it be a candidate for the next release? I made a few small changes to resolve all outstanding conflicts.

@danielnelson
Copy link
Contributor

@puckpuck I don't have this scheduled for the next release at this time.

@connorgorman
Copy link

@danielnelson Any reason why not to include it? Are you waiting for go plugins in 1.8?

@danielnelson
Copy link
Contributor

It has more to do with the prioritization of issues and pull requests.

@connorgorman
Copy link

@puckpuck Can you add a silent mode for the wavefront plugin? Because wavefront only accepts numeric values, any plugin that sends a mixture of numeric values and non-numeric values ends up blowing up the log

@nhaugo nhaugo modified the milestones: 1.4.0, Future Milestone May 22, 2017
@danielnelson danielnelson added feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin and removed feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin plugin request labels Aug 12, 2017
@danielnelson danielnelson modified the milestones: 1.4.0, 1.5.0 Aug 14, 2017
@puckpuck
Copy link
Contributor Author

Trying to get an understanding on what we need to do in order to get this PR included into 1.4? Would closing it and resubmitting as a single commit help?

@danielnelson
Copy link
Contributor

@puckpuck Don't worry about the number of commits, I always merge pull requests using "squash and merge". I do think the test failure will clear up if you rebase against master.

@nhaugo Have we arranged for a wavefront account so we can test?

@puckpuck
Copy link
Contributor Author

@danielnelson and @nhaugo I created a Wavefront trial account a while ago but it was never activated. I can resend the link to the email we have.

As for rebasing, I tried, and I believe I may have entered git hell :(. My original fork was based on another fork which has since diverged away from a full fork, and rebase from upstream keeps giving me errors that I need to merge, but merge is also not working o_O. Another option is I throw away my current repo, and start anew with a fork from influxdata/telegraf instead, but that would require a new PR.

@danielnelson
Copy link
Contributor

Rebasing might be easier if you just squash your branch into one commit, especially since there is very little overlapping code. You can also force push a new branch so long as you use the same branch name on your remote.

@puckpuck
Copy link
Contributor Author

@danielnelson I've tried, and get a bunch of merge conflicts, even on files I never touched. It's not difficult for me to trash the repo and fork again, re-add my changes and submit a new PR

@danielnelson
Copy link
Contributor

ok

@puckpuck puckpuck closed this Aug 23, 2017
@puckpuck puckpuck mentioned this pull request Aug 23, 2017
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants