Skip to content

Commit

Permalink
fix(docs): remove 'native' from python docs (#2244)
Browse files Browse the repository at this point in the history
* fix(docs): remove 'native' from python docs

* Update python.md
  • Loading branch information
korniltsev authored Aug 14, 2023
1 parent 9e3082c commit 584435c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions docs/sources/configure-client/language-sdks/python.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,9 @@ import pyroscope
pyroscope.configure(
application_name = "my.python.app", # replace this with some name for your application
server_address = "http://my-pyroscope-server:4040", # replace this with the address of your pyroscope server
auth_token = "{YOUR_API_KEY}", # optional, if authentication is enabled, specify the API key
sample_rate = 100, # default is 100
detect_subprocesses = False, # detect subprocesses started by the main process; default is False
oncpu = True, # report cpu time only; default is True
native = False, # profile native extensions; default is False
gil_only = True, # only include traces for threads that are holding on to the Global Interpreter Lock; default is True
log_level = "info", # default is info, possible values: trace, debug, info, warn, error and critical
tags = {
Expand Down Expand Up @@ -87,4 +85,4 @@ If your Pyroscope server has multi-tenancy enabled, you'll need to configure a t

Check out the following resources to learn more about Python profiling:
- [Python examples](https://github.com/pyroscope-io/pyroscope/tree/main/examples/python)
- [Python demo](https://demo.pyroscope.io/?query=rideshare-app-python.cpu%7B%7D) showing Python example with tags
- [Python demo](https://demo.pyroscope.io/?query=rideshare-app-python.cpu%7B%7D) showing Python example with tags

0 comments on commit 584435c

Please sign in to comment.