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

Add a lambda function for executing stats #18

Merged
merged 8 commits into from
Dec 17, 2016
Merged

Add a lambda function for executing stats #18

merged 8 commits into from
Dec 17, 2016

Conversation

lox
Copy link
Contributor

@lox lox commented Dec 16, 2016

This uploads a lambda function for calling metrics. It reads two environment variables BUILDKITE_TOKEN and BUILDKITE_ORG.

Runtime should be python2.7 and the handler should be handler.handle. It needs IAM permissions to write logs to CloudWatch.

Next steps are to reference this lambda function in https://github.com/buildkite/buildkite-cloudwatch-metrics-publisher and then in https://github.com/buildkite/elastic-ci-stack-for-aws.

@lox lox requested a review from toolmantim December 16, 2016 08:15
@lox lox self-assigned this Dec 16, 2016
Copy link
Contributor

@toolmantim toolmantim left a comment

Choose a reason for hiding this comment

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

Oh neat, I didn't think you'd just call the go code. That works nicely!

@lox lox merged commit c58fd40 into master Dec 17, 2016
@lox lox deleted the lambda-support branch December 17, 2016 09:59
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