buildkite-exporter

by O(1) Labs

Helm chartv0.1.4App 0.2.1Verified publisher

A Helm chart for O(1) Lab's Buildkite graphql exporter

About this chart

Introduction

This chart bootstraps a Buildkite GraphQL API metrics exporter providing job and agent statistics to a Prometheus compatible endpoint.

Add Mina Helm chart repository:

helm repo add mina https://coda-charts.storage.googleapis.com
helm repo update

Configuration

The following table lists the configurable parameters of the buildkite-exporter chart and its default values.

Required Settings

ParameterDescription
exporter.buildkiteApiKeyBuildkite GraphQL API access key

Optional Settings

ParameterDescriptionDefault
exporter.pipelineBuildkite pipeline to scrape and exportcoda
exporter.imageBuildkite exporter container image to deploycodaprotocol/buildkite-exporter:0.1.0
exporter.listeningPortport on which to listen for data collection requests8000
exporter.optionalEnvoptional environment variable configuration settings[]

buildkite-exporter launch examples

helm install buildkite-exporter \
    --set exporter.buildkiteApiKey=<api-key> \
    --set exporter.optionalEnv=[{'name': 'BUILDKITE_BRANCH', 'value': 'release'}]

Deploy buildkite-exporter with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has buildkite-exporter on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartbuildkite-exporter is pinned at v0.1.4 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply