Skip to content

Commit 8f1a81e

Browse files
committed
more docs
1 parent 9efcae1 commit 8f1a81e

File tree

3 files changed

+35
-1
lines changed

3 files changed

+35
-1
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ repos:
77
- id: tflint
88
- id: shellcheck
99
- repo: [email protected]:kabisa/terraform-datadog-pre-commit-hook.git
10-
rev: "1.2.0"
10+
rev: "1.2.2"
1111
hooks:
1212
- id: terraform-datadog-docs
1313
exclude: ^README.md$

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,30 @@ It has basic SQL Server monitoring. Locks, process blocked, connectivity.
1010
It's best to also use Datadog's APM instrumentation to understand the way the application is using the database.
1111
There's an upcoming feature in Datadog to fully support deep dive database monitoring.
1212

13+
This module is part of a larger suite of modules that provide alerts in Datadog.
14+
Other modules can be found on the [Terraform Registry](https://registry.terraform.io/search/modules?namespace=kabisa&provider=datadog)
15+
16+
We have two base modules we use to standardise development of our Monitor Modules:
17+
- [generic monitor](https://github.com/kabisa/terraform-datadog-generic-monitor) Used in 90% of our alerts
18+
- [service check monitor](https://github.com/kabisa/terraform-datadog-service-check-monitor)
19+
20+
Modules are generated with this tool: https://github.com/kabisa/datadog-terraform-generator
21+
22+
# Example Usage
23+
24+
```terraform
25+
module "kubernetes" {
26+
source = "kabisa/sql-server/datadog"
27+
28+
notification_channel = "[email protected]"
29+
service = "SQL Server"
30+
env = "prd"
31+
alert_env = "prd"
32+
filter_str = "role:sqlserver"
33+
service_check_include_tags = ["role:sqlserver"]
34+
}
35+
```
36+
1337
Monitors:
1438
* [Terraform module for Datadog Sql Server](#terraform-module-for-datadog-sql-server)
1539
* [Connections](#connections)

examples/example.tf

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
module "kubernetes" {
2+
source = "kabisa/sql-server/datadog"
3+
4+
notification_channel = "[email protected]"
5+
service = "SQL Server"
6+
env = "prd"
7+
alert_env = "prd"
8+
filter_str = "role:sqlserver"
9+
service_check_include_tags = ["role:sqlserver"]
10+
}

0 commit comments

Comments
 (0)