FEATURES OPEN SOURCE ABOUT DOCS LOGIN REGISTER

librato_space_chart

Provides a Librato Space Chart resource. This can be used to create and manage charts in Librato Spaces.

Example Usage

# Create a new Librato space
resource "librato_space" "my_space" {
    name = "My New Space"
}

# Create a new chart
resource "librato_space_chart" "server_temperature" {
  name = "Server Temperature"
  space_id = "${librato_space.my_space.id}"

  stream {
    metric = "server_temp"
    source = "app1"
  }

  stream {
    metric = "environmental_temp"
    source = "*"
    group_function = "breakout"
    summary_function = "average"
  }

  stream {
    metric = "server_temp"
    source = "%"
    group_function = "average"
  }
}

Argument Reference

The following arguments are supported:

The stream block supports:

Attributes Reference

The following attributes are exported:


See the source of this document at Terraform.io