Skip to content
This repository has been archived by the owner on Mar 1, 2021. It is now read-only.

Publish your Buildkite job queue statistics to AWS Cloud Watch for easy EC2 auto-scaling of your build agents

License

Notifications You must be signed in to change notification settings

buildkite/buildkite-cloudwatch-metrics-publisher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Buildkite Cloudwatch Metrics Publisher

Deprecated

Buildkite Cloudwatch Metrics Publisher has been deprecated and no longer maintained. You can now use buildkite-metrics’ AWS Lambda function support to send Buildkite build metrics to CloudWatch.

Description

A CloudFormation stack that runs buildkite-metrics every 15 seconds and publishes the results to CloudWatch metrics. This stack is used as part of the Elastic CI Stack for AWS.

Launch Buildkite Cloudwatch Metrics Stack

Installing

The easiest way to install is to press the above button and then enter your org slug and your Buildkite API Access Token (with the read_pipelines, read_builds, read_agents scopes enabled).

Alternately, run via the command-line:

aws cloudformation create-stack \
	--output text \
	--stack-name buildkite-cloudwatch-metrics-publisher \
	--disable-rollback \
	--template-body "https://s3.amazonaws.com/buildkite-cloudwatch-metrics-publisher/master/cloudwatch-metrics-publisher.json" \
	--capabilities CAPABILITY_IAM \
	--parameters ParameterKey=BuildkiteApiAccessToken,ParameterValue=BUILDKITE_API_TOKEN_GOES_HERE \
	ParameterKey=BuildkiteOrgSlug,ParameterValue=BUILDKITE_ORG_SLUG_GOES_HERE \
	ParameterKey=Subnets,ParameterValue=VPC_SUBNETS_GO_HERE

After the stack is run you will have the metrics generated by buildkite-metrics populated in CloudWatch.

License

See LICENSE.md (MIT)

About

Publish your Buildkite job queue statistics to AWS Cloud Watch for easy EC2 auto-scaling of your build agents

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •