Skip to content

Configuration

The Python agent can be configured using the API key directly in your application code. The Python agent allows the following configurations:

Name Description Required Example
api.key The authentication token used to authorize the agent true api_key=4ioj19393h980hiyu3jly
name The name of the agent, can be useful to filter to specific agents (optional) name=agent007
tags The tags for the agent, can be useful to filter to specific agents (optional) tags={app:shop,version:2.1.0}

Examples

Here is an example of how to set all 3 configuration options:

import nerdvision

nerdvision.start(api_key='4ioj19393h980hiyu3jly', name='agent007', tags={'app': 'shop', 'version': '2.1.0'})