Skip to content

Commit 87f372d

Browse files
authored
Properly document new log capability for databases (#18293)
* Properly document new log capability for databases * Fix documentation
1 parent 2b20305 commit 87f372d

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

datadog_checks_base/datadog_checks/base/utils/db/transform.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ def get_log(transformers, name, **modifiers):
492492
"""
493493
Send a log.
494494
495-
The required modifiers are `attributes` and `cursor`.
495+
The only required modifier is `attributes`.
496496
497497
For example, if you have this configuration:
498498

docs/developer/base/databases.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,3 +123,10 @@ the metric `foo.current` will be sent as a gauge with the value of `foo.bar`.
123123
options:
124124
show_root_heading: false
125125
show_root_toc_entry: false
126+
127+
#### log
128+
129+
::: datadog_checks.base.utils.db.transform.get_log
130+
options:
131+
show_root_heading: false
132+
show_root_toc_entry: false

0 commit comments

Comments
 (0)