<commit_before># terraform-provider-datadog

A [Terraform](https://github.com/hashicorp/terraform) plugin that provides resources for [Datadog](https://www.datadoghq.com/).

Currently supports 3 resources:

* Timeboards: datadog_dashboard
* Graphs: datadog_graph
* Monitors: datadog_monitor (originally contributed by [<NAME>](https://github.com/vinceprignano) of [Segmentio](https://github.com/segmentio).

## Dashboards

Example configuration:

```
   resource "datadog_dashboard" "foo" {
       description = "description for dashboard foo"
       title = "title for dashboard foo"
   }
```
## Graphs

Example configuration:

```
   resource "datadog_graph" "bar" {
       title = "Average Memory Free bar"
       dashboard_id = "${datadog_dashboard.foo.id}"
       description = "description for graph bar"
       title = "bar"
       viz =  "timeseries"
       request {
           query =  "avg:system.cpu.system{*}"<commit_msg>Add information about contributing.<commit_after># terraform-provider-datadog

A [Terraform](https://github.com/hashicorp/terraform) plugin that provides resources for [Datadog](https://www.datadoghq.com/).

Currently supports 3 resources:

* Timeboards: datadog_dashboard
* Graphs: datadog_graph
* Monitors: datadog_monitor -originally contributed by [<NAME>](https://github.com/vinceprignano) of [Segmentio](https://github.com/segmentio).

Feel free to open new [issues](https://github.com/ojongerius/terraform-provider-datadog/issues) for extra resources or bugs you find. After finishing
polishing of the current resources I'm planning to add a
[Screenboard](https://github.com/ojongerius/terraform-provider-datadog/issues/4).

Want to contribute? Find a resource you want to add or work on an issue over
[here]( 
https://github.com/ojongerius/terraform-provider-datadog/issues).

## Dashboards

Example configuration:

```
   resource "datadog_dashboard" "foo" {
       description = "description for dashboard foo"
       title = "title for dashboard foo"
   }
```
## Graphs

Example configuration:

```
   resource "datadog_graph" "bar" {
       title = "Average Memory Free bar"
       dashboard_id = "${datadog_dashboard.foo.id}"
       description = "description for graph bar"
       title = "bar"
       viz =  "timeseries"
       request {
           query =  "avg:system.cpu.system{*}"
{'fraction_non_alphanumeric': 0.12087441063009001, 'fraction_numerical': 0.0012858979854264896, 'mean_word_length': 3.893081761006289, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 11, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3968992', 'n_tokens_mistral': 732, 'n_tokens_neox': 720, 'n_words': 180}