codebuild

package
v0.0.0-...-29da2f4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 12, 2019 License: MIT Imports: 10 Imported by: 0

README

aws codebuild plugins

aws_codebuild_builds

configuration
  • since (duration): the amount of time to look back when gathering metrics
access control

The following IAM actions are required:

  • codebuild:ListBuilds
  • codebuild:BatchGetBuilds
output

The plugin will produce stats about the builds that completed within the last since amount of time.

name: aws_codebuild_build tags:

  • project_name: the project name
  • status: the build status

fields:

  • duration (duration): the total duration of the build

Documentation

Index

Constants

View Source
const (
	BuildsPluginName       = "aws_codebuild_builds"
	BuildsPluginMetricName = "aws_codebuild_build"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Builds

type Builds struct {
	Since time.Duration `toml:"since"`
	// contains filtered or unexported fields
}

func (*Builds) DefaultConfig

func (plugin *Builds) DefaultConfig() string

func (*Builds) Description

func (plugin *Builds) Description() string

func (*Builds) Source

func (plugin *Builds) Source(c context.Context, collector metric.Collector) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL