Skip to content

Commit d0eb20e

Browse files
committed
Fixup
1 parent 7a03e3f commit d0eb20e

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/content/docs/apm/agents/python-agent/configuration/python-agent-configuration.mdx

+9-1
Original file line numberDiff line numberDiff line change
@@ -5807,11 +5807,19 @@ To disable default instrumentation, provide a special `import-hook` section corr
58075807
id="example-disable-mysqldb"
58085808
title="Example: Disabling MySQLdb database query instrumentation"
58095809
>
5810-
Add the following to the configuration file:
5810+
Add the following to the `.ini` configuration file:
58115811

58125812
```ini
58135813
[import-hook:MySQLdb]
58145814
enabled = false
58155815
```
5816+
5817+
Or for `.toml` configuration files add the following:
5818+
5819+
```ini
5820+
[tool.newrelic.import-hook.MySQLdb]
5821+
enabled = false
5822+
```
5823+
58165824
</Collapser>
58175825
</CollapserGroup>

0 commit comments

Comments
 (0)