8000 Operator Documentation Update for SQL Server by aldrickdev · Pull Request #29216 · DataDog/documentation · GitHub
[go: up one dir, main page]

Skip to content

Operator Documentation Update for SQL Server #29216

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
131 commits
Select commit Hold shift + click to select a range
1c85651
Added Operator Docs to self-hosted
Apr 30, 2025
83209cf
Corrections and azure updates
Apr 30, 2025
3e84ff6
Updated gcp
Apr 30, 2025
908ec65
Updated RDS
Apr 30, 2025
3e027c8
gcp update
Apr 30, 2025
3cf88bc
Updated layouts
Apr 30, 2025
e4a7719
Removed references to specific agent versions
Apr 30, 2025
4863102
Updated RDS
May 7, 2025
6a2fb24
Updated Self-Hosted
May 7, 2025
26c65af
Move linuxParameters to containerDefinitions (#29022)
janine-c Apr 30, 2025
05f92c9
Initial docs for Live Debugger tab in Datadog plugin for JetBrains ID…
jfree Apr 30, 2025
9a927d2
bump dd-trace-java version (#29063)
nhulston Apr 30, 2025
e0794a4
Clarify tag extraction docs for CCM (#28840)
elihschiff Apr 30, 2025
ba68746
[DOCS-9847] Add note about OP data directory (#29017)
maycmlee Apr 30, 2025
< 8000 code class="float-right">b63c3e5
Update docs because telemetry is no longer anonymous. (#29067)
jfree Apr 30, 2025
6686143
Explain standard vs custom pricing for integrations. (#28960)
brett0000FF Apr 30, 2025
6cd8fee
Post Reorg Tweaks (#28940)
brett0000FF Apr 30, 2025
c1376ab
Update ECS resources crawl frequency (#29070)
stzou Apr 30, 2025
1192a9f
[websites-modules] WEB-6301 adding soar to use cases list (#29040)
guacbot Apr 30, 2025
a59c708
Add notes about API creation (#29066)
goeln Apr 30, 2025
8493a0d
Fix link to resource-based sampling guide (#29072)
timmc-edx Apr 30, 2025
9658add
Translation Pipeline PR (#29047)
guacbot Apr 30, 2025
70534eb
Update opentelemetry.md (#28984)
mtoffl01 Apr 30, 2025
6f7c68b
[CCC-695] Add details for CCM Read/Write permissions (#29078)
api-clients-generation-pipeline[bot] Apr 30, 2025
df3a320
Add Baggage as Default Propagator (#29060)
rachelyangdog Apr 30, 2025
1278277
[RUM] Auto-instrumentation updates v3 (#29009)
rtrieu Apr 30, 2025
0727960
[CCC-695] Add details for CCM Read/Write permissions (#29076)
kaankoseler Apr 30, 2025
247d690
[DOCS-10690] updates to Resource Catalog (#29074)
aliciascott Apr 30, 2025
9486ae1
Remove the websites team as code owner of generated file (#29082)
jhgilbert Apr 30, 2025
d7430a9
Docs10556/aws resource collection mappings (#28866)
buraizu Apr 30, 2025
d8a64d4
Add files to dd-source clone (#29092)
hestonhoffman May 1, 2025
0d64905
delete (#29097)
bgdeutsch May 1, 2025
1fd84ab
Update automatic case creation docs to include error tracking (#29088)
Daniel-Shoch May 1, 2025
cea5134
Add a note about log monitor rolling window (#29034)
estherk15 May 1, 2025
773b6a5
Cost Recommendations ga updates (#29071)
rtrieu May 1, 2025
433524d
remove infrastructure/devices redirect (#29094)
chinichilla May 1, 2025
ba7e892
Moved Code Origins content under /tracing parent instead of /guide (#…
sstonehill12 May 1, 2025
e59fe3c
Add SD-WAN Blog (#29090)
aliciascott May 1, 2025
37996c1
DOCS-9930 DBM Schemas Explorer (#28029)
drichards-87 May 1, 2025
9a87b5a
[DOCS-10728] adding GCP locations and fixing formatting (#29098)
aliciascott May 1, 2025
fc01427
Update otel_demo_to_datadog.md (#29085)
namhyuck-kim-otsk May 1, 2025
45e5ecd
Translation Pipeline PR (#29086)
guacbot May 1, 2025
d6d8a89
removing outdated screenshot (#29103)
michaelcretzman May 1, 2025
f0b3ed6
fixing product name (#29105)
michaelcretzman May 1, 2025
9ccea51
DOCS-10769 - Update fips-agent.md (#29106)
iadjivon May 1, 2025
76d0412
Update fips-compliance.md (#29108)
iadjivon May 2, 2025
b806209
Add user status to schema and fix escalation policy included (#29051)
api-clients-generation-pipeline[bot] May 2, 2025
fd3c44b
[INA-7367] Update Incident Management docs for Confluence Postmortems…
emiliafrench May 2, 2025
2090f93
Add section on monitor bulk editing (#28836)
Dalje-et May 2, 2025
abfc40d
Update Geomap widget setup instructions (#28882)
amymzhou May 2, 2025
3ec8eb8
fix name of rum.measure.view.time_spent metric (#29112)
MaelNamNam May 2, 2025
fa97f52
[DOCS-10755] Add site restriction (#29109)
buraizu May 2, 2025
888993f
[DASH2024-152] update banner copy (#29121)
LisianeTu May 2, 2025
6305d1e
Add new feature for Case Management auto-close and auto-escalation (#…
estherk15 May 2, 2025
8f23335
[CCC-752] Document account filtering not being supported for Recommen…
jhassan124 May 2, 2025
9a80111
Tophr c dd/aas docs update (#29111)
8000 TophrC-dd May 2, 2025
9593cd4
Add batch limitation for Kinesis Firehose (#29123)
estherk15 May 2, 2025
9e41823
[DOCS-10691] Fix windows setup on Network path docs (#29125)
aliciascott May 2, 2025
3c222cb
Docs10767/azure vm guide (#29122)
buraizu May 2, 2025
6188959
[aaa] Update cross org UI screenshot (#29127)
rtrieu May 2, 2025
3d08b88
[CCM] Hierarchical budgets and upload via CSV (#29081)
rtrieu May 2, 2025
7e9ea22
[K9VULN-4927] Update CSM vm config (#29115)
Bit-Doctor May 2, 2025
2f5d949
Martin/array processor dor log (#29061)
martin-tournier May 5, 2025
1dfd4c8
[SYNTH-19390] Update pl config (#29113)
SKYWy May 5, 2025
3dadf50
docs(ecs): update FIPS proxy version to 1.1.10 (#29138)
louis-cqrl May 5, 2025
d47d188
break word (#29129)
bgdeutsch May 5, 2025
aae81b3
[ACTP-631] add permissions handling to private action runner docs (#2…
asiya-sh May 5, 2025
6c50cb8
[DOCS-10702] Redirect integration (#29107)
buraizu May 5, 2025
231d941
GitLab & Azure DevOps for Code Security Setup (#28971)
markazerdd May 5, 2025
7a41e8d
Add blog link (#29134)
buraizu May 5, 2025
09b6c1f
Add On-Call Team Rules (#28924)
api-clients-generation-pipeline[bot] May 5, 2025
9016371
updating the rate limit to 250k (#29150)
gie2910 May 5, 2025
af06005
Update amazon_elastic_container_explorer.md (#29147)
stzou May 5, 2025
de23523
Ida.adjivon/docs 10781 pana edits (#29131)
iadjivon May 5, 2025
817db10
fix links (#29146)
Yun-Kim May 5, 2025
bca20c6
Update supported libraries with OpenAPI generator (#29143)
mariedm May 5, 2025
820a24f
[DOCS-10544] Add OP API and Terraform info (#28537)
maycmlee May 5, 2025
35bc1e1
Fix anchor link (#29152)
drichards-87 May 5, 2025
2abf9f1
DOCS-10600: Tracing API Gateway (#28916)
cswatt May 5, 2025
fb1489e
clarify GKE Autopilot support (#29151)
mpavlov May 5, 2025
0100906
initial commit (#29155)
cswatt May 5, 2025
8c9ab17
edit example query so it works (#29157)
tjfarringer May 5, 2025
2125853
Fix numbering for Mobile Session Replay Setup guide (#29154)
demi-w May 5, 2025
c6b01a1
Update _index.md enableAAP -> enableASM (#29161)
egmarquet-datadog May 5, 2025
42417c4
Translation Pipeline PR (#29135)
guacbot May 5, 2025
fc8ca3b
Operation V2 Migration Guide Updates (#29084)
brett0000FF May 5, 2025
3cd9397
embed manually providing source file into github integration heading …
rodrigo-roca May 6, 2025
fc2d029
Update archives.md (#29144)
martin-tournier May 6, 2025
bcb53ec
(fleet) simplify proxy configuration (#29024)
arbll May 6, 2025
3a1754d
[Q1 2025 Hackathon] Update Tab Styling (#28476)
brett0000FF May 6, 2025
3b9334f
Martin/late log preview (#29148)
martin-tournier May 6, 2025
f73ef4b
Update _index.md (#29145)
HugoPct May 6, 2025
8d131a3
Add site region alert to all IDE plugin pages (#29162)
joepeeples May 6, 2025
c4c736e
Update archives.md (#29137)
martin-tournier May 6, 2025
ea17fe6
Revert "[Q1 2025 Hackathon] Update Tab Styling (#28476)" (#29175)
brett0000FF May 6, 2025
d9ee7b8
add dd-trace-py support for APM DBM for MongoDB (#29172)
lu-zhengda May 6, 2025
246841d
DDOT Collector Release (#28137)
brett0000FF May 6, 2025
a4a1a1c
Update data_retention_periods.md -Retention period for Profiler (#29173)
anandreshmi46 May 6, 2025
7e35511
Agent Auto Multi-Line detection docs update (#28318)
gh123man May 6, 2025
e8c95e9
Fix typo in analyze_login_attempts.md (#29181)
dryge May 6, 2025
4f043ba
Update java.md for `dd.jdk.socket.enabled` config option (#29182)
sarahchen6 May 6, 2025
dbde485
[SVLS-3965] Add doc for instrumenting Step Functions using AWS SAM (#…
lym953 May 6, 2025
be29f31
OTAGENT-391 Add otel-agent evn var to enable OTel Collector (#29184)
krlv May 6, 2025
f219d89
Translation Pipeline PR (#29166)
guacbot May 6, 2025
b4d09ef
Fix blog link for DDOT Collector (#29186)
brett0000FF May 6, 2025
bfe133d
DOCS-10645 Workload Protection Setup reorg (#29100)
michaelcretzman May 6, 2025
0aa3901
Update azure_app_services_linux.md - Add Continuous profiler support …
anandreshmi46 May 7, 2025
e146ee9
Update v2 for CCM perms as well (#29185)
api-clients-generation-pipeline[bot] May 7, 2025
fccd0b5
[DSM] Add keep service name env variable to all languages rather than…
ericfirth May 7, 2025
09bc60e
adding new sdk methods (#28752)
uurien May 7, 2025
d09c2e1
fix links (#29210)
maycmlee May 7, 2025
832954a
Update libraries.yaml (#29192)
brandonmwest May 7, 2025
a57c91c
Remove notice about unsupported DC (#29202)
zippolyte May 7, 2025
11ab8b8
Merge branch 'master' into aldrick.catro/TDBM-102-Operator-Docs-for-S…
aldrickdev May 7, 2025
61f125a
Updated Azure
May 7, 2025
d39f620
Updated GCP
May 7, 2025
23a2aa0
Merge branch 'master' into aldrick.catro/TDBM-102-Operator-Docs-for-S…
drichards-87 May 8, 2025
ff95808
Apply suggestions for azure docs
aldrickdev May 13, 2025
a36023c
Apply suggestions for GCP
aldrickdev May 13, 2025
7ffb8ea
Apply suggestions for Kubernetes docs
aldrickdev May 13, 2025
86768a8
Update content/en/database_monitoring/setup_sql_server/rds.md
aldrickdev May 13, 2025
4a31c3b
Update content/en/database_monitoring/setup_sql_server/rds.md
aldrickdev May 13, 2025
63bc186
Apply suggestions from code review
aldrickdev May 13, 2025
4f33023
Merge branch 'master' into aldrick.catro/TDBM-102-Operator-Docs-for-S…
aldrickdev May 13, 2025
03be354
Updated ODBC driver for RDS Docs
aldrickdev May 14, 2025
b99739b
Updated ODBC driver for Azure Docs
aldrickdev May 14, 2025
7ea5f62
Updated ODBC driver for GCP Docs
aldrickdev May 14, 2025
43512c4
Updated self hosted
aldrickdev May 14, 2025
5c4c8b4
Missed one
aldrickdev May 14, 2025
9e2f2e1
Missed more 😅
aldrickdev May 14, 2025
97f2b64
Merge branch 'master' into aldrick.catro/TDBM-102-Operator-Docs-for-S…
drichards-87 May 19, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
105 changes: 84 additions & 21 deletions content/en/database_monitoring/setup_sql_server/azure.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,19 +64,23 @@ When configuring the Datadog Agent, specify one check instance for each applicat
```yaml
init_config:
instances:
- host: '<SERVER_NAME>.database.windows.net,1433'
- host: '<SERVER_NAME>.database.windows.net,<PORT>'
database: '<DATABASE_1>'
username: datadog
password: '<PASSWORD>'
connector: 'odbc'
driver: 'ODBC Driver 18 for SQL Server'
# After adding your project and instance, configure the Datadog Azure integration to pull additional cloud data such as CPU, Memory, etc.
azure:
deployment_type: 'sql_database'
fully_qualified_domain_name: '<SERVER_NAME>.database.windows.net'

- host: '<SERVER_NAME>.database.windows.net,1433'
- host: '<SERVER_NAME>.database.windows.net,<PORT>'
database: '<DATABASE_2>'
username: datadog
password: '<PASSWORD>'
connector: 'odbc'
driver: 'ODBC Driver 18 for SQL Server'
# After adding your project and instance, configure the Datadog Azure integration to pull additional cloud data such as CPU, Memory, etc.
azure:
deployment_type: 'sql_database'
Expand Down Expand Up @@ -142,7 +146,7 @@ Create the SQL Server Agent conf file `C:\ProgramData\Datadog\conf.d\sqlserver.d
init_config:
instances:
- dbm: true
host: '<HOSTNAME>,<SQL_PORT>'
host: '<HOSTNAME>,<PORT>'
username: datadog
password: 'ENC[datadog_user_database_password]'
connector: adodbapi
Expand Down Expand Up @@ -180,7 +184,7 @@ The recommended ODBC driver is [Microsoft ODBC Driver][8]. Starting with Agent 7

```yaml
connector: odbc
driver: '{ODBC Driver 18 for SQL Server}'
driver: 'ODBC Driver 18 for SQL Server'
```

Once all Agent configuration is complete, [restart the Datadog Agent][9].
Expand Down Expand Up @@ -215,7 +219,7 @@ Create the SQL Server Agent conf file `/etc/datadog-agent/conf.d/sqlserver.d/con
init_config:
instances:
- dbm: true
host: '<HOSTNAME>,<SQL_PORT>'
host: '<HOSTNAME>,<PORT>'
username: datadog
password: 'ENC[datadog_user_database_password]'
connector: odbc
Expand Down Expand Up @@ -258,15 +262,15 @@ Replace the values to match your account and environment. See the [sample conf f

```bash
export DD_API_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
export DD_AGENT_VERSION=7.51.0
export DD_AGENT_VERSION=<AGENT_VERSION>

docker run -e "DD_API_KEY=${DD_API_KEY}" \
-v /var/run/docker.sock:/var/run/docker.sock:ro \
-l com.datadoghq.ad.check_names='["sqlserver"]' \
-l com.datadoghq.ad.init_configs='[{}]' \
-l com.datadoghq.ad.instances='[{
"dbm": true,
"host": "<HOSTNAME>,<SQL_PORT>",
"host": "<HOSTNAME>,<PORT>",
"connector": "odbc",
"driver": "ODBC Driver 18 for SQL Server",
"username": "datadog",
Expand Down Expand Up @@ -300,9 +304,66 @@ Use the `service` and `env` tags to link your database telemetry to other teleme
[6]: https://app.datadoghq.com/databases
{{% /tab %}}
{{% tab "Kubernetes" %}}
If you have a Kubernetes cluster, use the [Datadog Cluster Agent][1] for Database Monitoring.
If you're running a Kubernetes cluster, use the [Datadog Cluster Agent][1] to enable Database Monitoring. If cluster checks aren’t already enabled, [follow these instructions][2] to enable them before proceeding.

If cluster checks are not already enabled in your Kubernetes cluster, follow the instructions to [enable cluster checks][2]. You can configure the Cluster Agent either with static files mounted in the Cluster Agent container, or by using Kubernetes service annotations:
### Operator

Follow the steps below to set up the SQL Server integration, using the [Operator instructions in Kubernetes and Integrations][6] as a reference.

1. Create or update the `datadog-agent.yaml` file with the following configuration:

```yaml
apiVersion: datadoghq.com/v2alpha1
kind: DatadogAgent
metadata:
name: datadog
spec:
global:
clusterName: <CLUSTER_NAME>
site: <DD_SITE>
credentials:
apiSecret:
secretName: datadog-agent-secret
keyName: api-key

features:
clusterChecks:
enabled: true

override:
nodeAgent:
image:
name: agent
tag: <AGENT_VERSION>

clusterAgent:
extraConfd:
configDataMap:
sqlserver.yaml: |-
cluster_check: true # Make sure to include this flag
init_config:
instances:
- host: <HOSTNAME>,<PORT>
username: datadog
password: 'ENC[datadog_user_database_password]'
connector: 'odbc'
driver: 'ODBC Driver 18 for SQL Server'
dbm: true
# Optional: For additional tags
tags:
- 'service:<CUSTOM_SERVICE>'
- 'env:<CUSTOM_ENV>'
# After adding your project and instance, configure the Datadog Azure integration to pull additional cloud data such as CPU, Memory, etc.
azure:
deployment_type: '<DEPLOYMENT_TYPE>'
fully_qualified_domain_name: '<AZURE_ENDPOINT_ADDRESS>'
```

2. Apply the changes to the Datadog Operator using the following command:

```shell
kubectl apply -f datadog-agent.yaml
```

### Helm

Expand All @@ -314,19 +375,20 @@ Complete the following steps to install the [Datadog Cluster Agent][1] on your K
clusterAgent:
confd:
sqlserver.yaml: |-
cluster_check: true
cluster_check: true # Required for cluster checks
init_config:
instances:
- dbm: true
host: <HOSTNAME>,1433
host: <HOSTNAME>,<PORT>
username: datadog
password: 'ENC[datadog_user_database_password]'
connector: 'odbc'
driver: '{ODBC Driver 18 for SQL Server}'
include_ao_metrics: true # Optional: For AlwaysOn users
tags: # Optional
driver: 'ODBC Driver 18 for SQL Server'
# Optional: For additional tags
tags:
- 'service:<CUSTOM_SERVICE>'
- 'env:<CUSTOM_ENV>'
# After adding your project and instance, configure the Datadog Azure integration to pull additional cloud data such as CPU, Memory, etc.
azure:
deployment_type: '<DEPLOYMENT_TYPE>'
fully_qualified_domain_name: '<AZURE_ENDPOINT_ADDRESS>'
Expand All @@ -353,12 +415,13 @@ cluster_check: true # Make sure to include this flag
init_config:
instances:
- dbm: true
host: '<HOSTNAME>,<SQL_PORT>'
host: <HOSTNAME>,<PORT>
username: datadog
password: 'ENC[datadog_user_database_password]'
connector: "odbc"
driver: '{ODBC Driver 18 for SQL Server}'
tags: # Optional
connector: 'odbc'
driver: 'ODBC Driver 18 for SQL Server'
# Optional: For additional tags
tags:
- 'service:<CUSTOM_SERVICE>'
- 'env:<CUSTOM_ENV>'
# After adding your project and instance, configure the Datadog Azure integration to pull additional cloud data such as CPU, Memory, etc.
Expand All @@ -371,7 +434,6 @@ instances:

Rather than mounting a file, you can declare the instance configuration as a Kubernetes Service. To configure this check for an Agent running on Kubernetes, create a Service in the same namespace as the Datadog Cluster Agent:


```yaml
apiVersion: v1
kind: Service
Expand All @@ -384,12 +446,12 @@ metadata:
[
{
"dbm": true,
"host": "<HOSTNAME>,<SQL_PORT>",
"host": "<HOSTNAME>,<PORT>",
"username": "datadog",
"password": "ENC[datadog_user_database_password]",
"connector": "odbc",
"driver": "ODBC Driver 18 for SQL Server",
"tags": ["service:<CUSTOM_SERVICE>", "env:<CUSTOM_ENV>"], # Optional
"tags": ["service:<CUSTOM_SERVICE>", "env:<CUSTOM_ENV>"],
"azure": {
"deployment_type": "<DEPLOYMENT_TYPE>",
"fully_qualified_domain_name": "<AZURE_ENDPOINT_ADDRESS>"
Expand All @@ -416,6 +478,7 @@ To avoid exposing the `datadog` user's password in plain text, use the Agent's [
[3]: /containers/kubernetes/installation/?tab=helm#installation
[4]: https://github.com/DataDog/integrations-core/blob/master/sqlserver/assets/configuration/spec.yaml#L353-L383
[5]: /agent/configuration/secrets-management
[6]: /containers/kubernetes/integrations/?tab=datadogoperator
{{% /tab %}}
{{< /tabs >}}

Expand Down
100 changes: 77 additions & 23 deletions content/en/database_monitoring/setup_sql_server/gcsql.md
E974
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Create the SQL Server Agent conf file `C:\ProgramData\Datadog\conf.d\sqlserver.d
init_config:
instances:
- dbm: true
host: '<HOSTNAME>,<SQL_PORT>'
host: '<HOSTNAME>,<PORT>'
username: datadog
password: '<PASSWORD>'
connector: adodbapi
Expand Down Expand Up @@ -102,7 +102,7 @@ The recommended ODBC driver is [Microsoft ODBC Driver][8]. Starting with Agent 7

```yaml
connector: odbc
driver: '{ODBC Driver 18 for SQL Server}'
driver: 'ODBC Driver 18 for SQL Server'
```

Once all Agent configuration is complete, [restart the Datadog Agent][9].
Expand Down Expand Up @@ -137,7 +137,7 @@ Create the SQL Server Agent conf file `/etc/datadog-agent/conf.d/sqlserver.d/con
init_config:
instances:
- dbm: true
host: '<HOSTNAME>,<SQL_PORT>'
host: '<HOSTNAME>,<PORT>'
username: datadog
password: 'ENC[datadog_user_database_password]'
connector: odbc
Expand Down Expand Up @@ -180,7 +180,7 @@ Replace the values to match your account and environment. See the [sample conf f

```bash
export DD_API_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
export DD_AGENT_VERSION=7.51.0
export DD_AGENT_VERSION=<AGENT_VERSION>

docker run -e "DD_API_KEY=${DD_API_KEY}" \
-v /var/run/docker.sock:/var/run/docker.sock:ro \
Expand Down Expand Up @@ -222,9 +222,66 @@ Use the `service` and `env` tags to link your database telemetry to other teleme
[6]: https://app.datadoghq.com/databases
{{% /tab %}}
{{% tab "Kubernetes" %}}
If you have a Kubernetes cluster, use the [Datadog Cluster Agent][1] for Database Monitoring.
If you're using a Kubernetes cluster, use the [Datadog Cluster Agent][1] for Database Monitoring. If cluster checks aren’t already enabled, [follow these instructions][2] to enable them before proceeding..

If cluster checks are not already enabled in your Kubernetes cluster, follow the instructions to [enable cluster checks][2]. You can configure the Cluster Agent either with static files mounted in the Cluster Agent container, or by using Kubernetes service annotations:
### Operator

Follow the steps below to set up the SQL Server integration, using the [Operator instructions in Kubernetes and Integrations][6] as a reference.

1. Create or update the `datadog-agent.yaml` file with the following configuration:

```yaml
apiVersion: datadoghq.com/v2alpha1
kind: DatadogAgent
metadata:
name: datadog
spec:
global:
clusterName: <CLUSTER_NAME>
site: <DD_SITE>
credentials:
apiSecret:
secretName: datadog-agent-secret
keyName: api-key

features:
clusterChecks:
enabled: true

override:
nodeAgent:
image:
name: agent
tag: <AGENT_VERSION>

clusterAgent:
extraConfd:
configDataMap:
sqlserver.yaml: |-
cluster_check: true # Required for cluster checks
init_config:
instances:
- host: <HOSTNAME>,<PORT>
username: datadog
password: 'ENC[datadog_user_database_password]'
connector: 'odbc'
driver: 'ODBC Driver 18 for SQL Server'
dbm: true
# Optional: For additional tags
tags:
- 'service:<CUSTOM_SERVICE>'
- 'env:<CUSTOM_ENV>'
# After adding your project and instance, configure the Datadog Google Cloud (GCP) integration to pull additional cloud data such as CPU, Memory, etc.
gcp:
project_id: '<PROJECT_ID>'
instance_id: '<INSTANCE_ID>'
```

2. Apply the changes to the Datadog Operator using the following command:

```shell
kubectl apply -f datadog-agent.yaml
```

### Helm

Expand All @@ -240,15 +297,16 @@ Complete the following steps to install the [Datadog Cluster Agent][1] on your K
init_config:
instances:
- dbm: true
host: <HOSTNAME>
port: 1433
host: <HOSTNAME>,<PORT>
username: datadog
password: 'ENC[datadog_user_database_password]'
connector: 'odbc'
driver: '{ODBC Driver 18 for SQL Server}'
tags: # Optional
driver: 'ODBC Driver 18 for SQL Server'
# Optional: For additional tags
tags:
- 'service:<CUSTOM_SERVICE>'
- 'env:<CUSTOM_ENV>'
# After adding your project and instance, configure the Datadog Google Cloud (GCP) integration to pull additional cloud data such as CPU, Memory, etc.
gcp:
project_id: '<PROJECT_ID>'
instance_id: '<INSTANCE_ID>'
Expand All @@ -266,10 +324,6 @@ Complete the following steps to install the [Datadog Cluster Agent][1] on your K
For Windows, append <code>--set targetSystem=windows</code> to the <code>helm install</code> command.
</div>

[1]: https://app.datadoghq.com/organization-settings/api-keys
[2]: /getting_started/site
[3]: /containers/kubernetes/installation/?tab=helm#installation

### Configure with mounted files

To configure a cluster check with a mounted configuration file, mount the configuration file in the Cluster Agent container on the path: `/conf.d/sqlserver.yaml`:
Expand All @@ -279,13 +333,13 @@ cluster_check: true # Make sure to include this flag
init_config:
instances:
- dbm: true
host: '<HOSTNAME>'
port: <SQL_PORT>
host: <HOSTNAME>,<PORT>
username: datadog
password: 'ENC[datadog_user_database_password]'
connector: "odbc"
driver: '{ODBC Driver 18 for SQL Server}'
tags: # Optional
connector: 'odbc'
driver: 'ODBC Driver 18 for SQL Server'
# Optional: For additional tags
tags:
- 'service:<CUSTOM_SERVICE>'
- 'env:<CUSTOM_ENV>'
# After adding your project and instance, configure the Datadog Google Cloud (GCP) integration to pull additional cloud data such as CPU, Memory, etc.
Expand All @@ -311,13 +365,12 @@ metadata:
[
{
"dbm": true,
"host": "<HOSTNAME>",
"port": &l 9331 t;SQL_PORT>,
"host": "<HOSTNAME>,<PORT>",
"username": "datadog",
"password": "ENC[datadog_user_database_password]",
"connector": "odbc",
"driver": "ODBC Driver 18 for SQL Server",
"tags": ["service:<CUSTOM_SERVICE>", "env:<CUSTOM_ENV>"], # Optional
"tags": ["service:<CUSTOM_SERVICE>", "env:<CUSTOM_ENV>"],
"gcp": {
"project_id": "<PROJECT_ID>",
"instance_id": "<INSTANCE_ID>"
Expand All @@ -340,9 +393,10 @@ To avoid exposing the `datadog` user's password in plain text, use the Agent's [

[1]: /agent/cluster_agent
[2]: /agent/cluster_agent/clusterchecks/
[3]: https://helm.sh
[3]: /containers/kubernetes/installation/?tab=helm#installation
[4]: https://github.com/DataDog/integrations-core/blob/master/sqlserver/assets/configuration/spec.yaml#L324-L351
[5]: /agent/configuration/secrets-management
[6]: /containers/kubernetes/integrations/?tab=datadogoperator
{{% /tab %}}
{{< /tabs >}}

Expand Down
Loading
Loading
0