Skip to content

Python SDK for AI agent monitoring, LLM cost tracking, benchmarking, and more. Integrates with most LLMs and agent frameworks including CrewAI, Agno, OpenAI Agents SDK, Langchain, Autogen, AG2, and CamelAI

Fix docs env config parameters (#1060)

Alex Reibmanf3fd7302710a
diff --git a/docs/v1/usage/advanced-configuration.mdx b/docs/v1/usage/advanced-configuration.mdx
index 393b57e1..71187fdf 100644
--- a/docs/v1/usage/advanced-configuration.mdx
+++ b/docs/v1/usage/advanced-configuration.mdx
@@ -21,7 +21,7 @@ Find your AgentOps API Key in your Settings > [Projects & API Keys](https://app.
# The AgentOps API endpoint. Defaults to https://api.agentops.ai
AGENTOPS_API_ENDPOINT=https://api.agentops.ai
# Logging level. <DEBUG, INFO, CRITICAL>. Defaults to INFO
-AGENTOPS_LOGGING_LEVEL=INFO
+AGENTOPS_LOG_LEVEL=INFO
# Write logs to file <TRUE, FALSE>. Defaults to TRUE
AGENTOPS_LOGGING_TO_FILE=TRUE
# Whether to opt out of recording environment data. <FALSE, TRUE>. Defaults to FALSE
diff --git a/docs/v2/concepts/host-env.mdx b/docs/v2/concepts/host-env.mdx
index 04f14c62..75d066a2 100644
--- a/docs/v2/concepts/host-env.mdx
+++ b/docs/v2/concepts/host-env.mdx
@@ -38,7 +38,7 @@ If needed, you can disable host environment collection when initializing AgentOp
import agentops
# Disable host environment collection
-agentops.init(api_key="YOUR_API_KEY", collect_host_env=False)
+agentops.init(api_key="YOUR_API_KEY", env_data_opt_out=True)
```
<script type="module" src="/scripts/github_stars.js"></script>
diff --git a/docs/v2/usage/advanced-configuration.mdx b/docs/v2/usage/advanced-configuration.mdx
index 8136db73..a8342f75 100644
--- a/docs/v2/usage/advanced-configuration.mdx
+++ b/docs/v2/usage/advanced-configuration.mdx
@@ -20,7 +20,7 @@ Find your AgentOps API Key in your Settings > [Projects & API Keys](https://app.
# The AgentOps API endpoint. Defaults to https://api.agentops.ai
AGENTOPS_API_ENDPOINT=https://api.agentops.ai
# Logging level. <DEBUG, INFO, CRITICAL>. Defaults to INFO
-AGENTOPS_LOGGING_LEVEL=INFO
+AGENTOPS_LOG_LEVEL=INFO
# Write logs to file <TRUE, FALSE>. Defaults to TRUE
AGENTOPS_LOGGING_TO_FILE=TRUE
# Whether to opt out of recording environment data. <FALSE, TRUE>. Defaults to FALSE