Monitoring
Bitca comes with built-in monitoring and debugging.
You can set monitoring=True
on any agent to log that agent’s sessions or set BITCA_MONITORING=true
in your environment to log all agent sessions.
Create a file monitoring.py
with the following code:
monitoring.py
Authenticate with bitca
Authenticate with bitca by running the following command:
or by exporting the BITCA_API_KEY
for your workspace from bitcadata.app
Run the agent
Run the agent and view the session on bitca.app/sessions
Debugging
Bitca also includes a built-in debugger that will show debug logs in the terminal. You can set debug_mode=True
on any agent to view debug logs or set BITCA_DEBUG=true
in your environment.
debugging.py
Run the agent to view debug logs in the terminal:
Last updated