Skip to content

Commit

Permalink
Properly document new log capability for databases (#18293)
Browse files Browse the repository at this point in the history
* Properly document new log capability for databases

* Fix documentation
  • Loading branch information
ofek authored Aug 9, 2024
1 parent 2b20305 commit 87f372d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ def get_log(transformers, name, **modifiers):
"""
Send a log.
The required modifiers are `attributes` and `cursor`.
The only required modifier is `attributes`.
For example, if you have this configuration:
Expand Down
7 changes: 7 additions & 0 deletions docs/developer/base/databases.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,3 +123,10 @@ the metric `foo.current` will be sent as a gauge with the value of `foo.bar`.
options:
show_root_heading: false
show_root_toc_entry: false

#### log

::: datadog_checks.base.utils.db.transform.get_log
options:
show_root_heading: false
show_root_toc_entry: false

0 comments on commit 87f372d

Please sign in to comment.