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

Gh webhooks #573

Merged
merged 11 commits into from
Jan 26, 2016
Merged

Gh webhooks #573

merged 11 commits into from
Jan 26, 2016

Conversation

jackzampolin
Copy link
Contributor

First go at a telegraf plugin. It listens for events pushed out Github and persists relevant data from them to configured outputs.

@sparrc

return `
# Address and port to host Webhook listener on
service_address = ":1618"
# Measurement name
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these should be 2-space indentation

@sparrc
Copy link
Contributor

sparrc commented Jan 25, 2016

Looks good! Just some comments to address that should get the build working again as well.

Few other things:

  1. Could we rename this plugin to github_webhooks?
  2. Write a README with step-by-step instructions for setting up the webhooks, and what sorts of measurements and fields this will produce (doesn't have to be all of them, just an example would be fine)

@jackzampolin
Copy link
Contributor Author

@sparrc For sure!

@jackzampolin
Copy link
Contributor Author

@sparrc 👀

github.com/hailocab/go-hostpool 50839ee41f32bfca8d03a183031aa634b2dc1c64
github.com/hashicorp/go-msgpack fa3f63826f7c23912c15263591e65d54d080b458
github.com/hashicorp/raft b95f335efee1992886864389183ebda0c0a5d0f6
github.com/hashicorp/raft-boltdb d1e82c1ec3f15ee991f7cc7ffd5b67ff6f5bbaee
github.com/influxdata/influxdb 0e0f85a0c1fd1788ae4f9145531b02c539cfa5b5
github.com/influxdb/influxdb 0e0f85a0c1fd1788ae4f9145531b02c539cfa5b5
github.com/influxdb/influxdb c1d6c14c47dfb4d60878a979fbdd8b526281d3d6
github.com/influxdb/telegraf d3a5cca1bc18f315dacbd9941f1e4556fde86538
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure what happened here, but it shouldn't list itself as a dependency. What does your project source directory look like? is it not $GOPATH/src/github.com/influxdata/telegraf?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Its got an internal dependancy. I separated out some stuff into another package. Should I move it all into one package?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what do you mean by internal dependency? I just mean that the telegraf repo shouldn't need to import itself (as an external dependency) in any situation. The Godeps file is for external dependencies only.

@jackzampolin
Copy link
Contributor Author

@sparrc 👀

@sparrc sparrc merged commit 4c74a2d into master Jan 26, 2016
sparrc added a commit that referenced this pull request Jan 26, 2016
@sparrc sparrc deleted the ghWebhooks branch January 28, 2016 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants