This is a Terrafom repository that generates dashboards and monitors to track your Datadog usage based on your commit
Report Bug
·
Request Feature
Table of Contents
To get a local copy up and running follow these simple example steps.
You will need Terrafom installed, and Datadog API key and APP key
- Clone the repo
git clone https://github.com/abruneau/datadog_usage_monitoring.git
- Create a
.tfvars
file with you API Key, APP Key and Datadog commit informationsdatadog_api_key="<API Key>" datadog_app_key="<APP Key>" datadog_api_url="https://api.datadoghq.eu/" commited_hosts=12 host_type="enterprise" commited_apm_hosts=12 apm_type="enterprise" ...
- Init Terraform and apply with your
.tfvars
fileterraform init terraform apply -var-file="my.tfvars"
No requirements.
No providers.
Name | Source | Version |
---|---|---|
dashboards | ./modules/dashboards | n/a |
monitors | ./modules/monitors | n/a |
No resources.
Name | Description | Type | Default | Required |
---|---|---|---|---|
apm_type | n/a | string |
"standard" |
no |
commited_additional_indexed_spans | value in million spans | number |
0 |
no |
commited_apm_hosts | n/a | number |
0 |
no |
commited_asm_sca_hosts | n/a | number |
0 |
no |
commited_ci_visibility_pipeline_committers | n/a | number |
0 |
no |
commited_ci_visibility_test_committers | n/a | number |
0 |
no |
commited_container_apps | n/a | number |
0 |
no |
commited_dbm_hosts | n/a | number |
0 |
no |
commited_hosts | n/a | number |
0 |
no |
commited_indexed_logs | value in million events | number |
0 |
no |
commited_ingested_logs | value in Gb | number |
0 |
no |
commited_network_devices | n/a | number |
0 |
no |
commited_network_hosts | n/a | number |
0 |
no |
commited_op_ingested_logs | value in Gb | number |
0 |
no |
commited_profiling_hosts | leave to 0 if subscribed through apm enterprise | number |
0 |
no |
commited_rum_replay | number of 1K sessions | number |
0 |
no |
commited_rum_sessions | number of 1K sessions | number |
0 |
no |
commited_sds_logs | value in Gb | number |
0 |
no |
commited_serverless_asm_invocations | n/a | number |
0 |
no |
commited_serverless_workload_lambda_invocations | n/a | number |
0 |
no |
commited_serverless_workload_monitoring_lambda | n/a | number |
0 |
no |
commited_siem_logs | n/a | number |
0 |
no |
commited_synthetics_api | number of 10K test runs | number |
0 |
no |
commited_synthetics_browser | number of 1K test runs | number |
0 |
no |
commited_synthetics_mobile | number of 100 test runs | number |
0 |
no |
datadog_api_key | n/a | string |
n/a | yes |
datadog_api_url | n/a | string |
"https://api.datadoghq.com/" |
no |
datadog_app_key | n/a | string |
n/a | yes |
host_type | n/a | string |
"pro" |
no |
monitors_tags | n/a | set(string) |
[ |
no |
No outputs.
- Add monitors for more features
- Add support for bundles
See the open issues for a full list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Antonin Bruneau - abruneau.me - antonin.bruneau@gmail.com
Project Link: https://github.com/abruneau/datadog_usage_monitoring