Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ the SDK APIs or environment variables:

```shell
export SPLUNK_AO_PROJECT="your-project-name"
export SPLUNK_AO_LOG_STREAM="your-log-stream-name"
export SPLUNK_AO_AGENT_STREAM="your-log-stream-name"
```

Set `SPLUNK_AO_LOGGING_DISABLED=true` to disable telemetry collection and
Expand All @@ -95,7 +95,7 @@ import os
from splunk_ao import splunk_ao_context
from splunk_ao.openai import openai

# If you've set your SPLUNK_AO_PROJECT and SPLUNK_AO_LOG_STREAM env vars, you can skip this step
# If you've set your SPLUNK_AO_PROJECT and SPLUNK_AO_AGENT_STREAM env vars, you can skip this step
splunk_ao_context.init(project="your-project-name", log_stream="your-log-stream-name")

# Initialize the Agent Observability wrapped OpenAI client
Expand Down Expand Up @@ -126,7 +126,7 @@ def make_nested_call():
call_openai()
call_openai()

# If you've set your SPLUNK_AO_PROJECT and SPLUNK_AO_LOG_STREAM env vars, you can skip this step
# If you've set your SPLUNK_AO_PROJECT and SPLUNK_AO_AGENT_STREAM env vars, you can skip this step
splunk_ao_context.init(project="your-project-name", log_stream="your-log-stream-name")

# This will create a trace with a workflow span and two nested LLM spans containing the OpenAI calls
Expand Down Expand Up @@ -229,7 +229,7 @@ agent_control.init(
)
```

The helper resolves an explicit log stream ID, `SPLUNK_AO_LOG_STREAM_ID`, or an
The helper resolves an explicit log stream ID, `SPLUNK_AO_AGENT_STREAM_ID`, or an
already-initialized `splunk_ao_context` logger. It does not import the Agent
Control SDK or resolve log stream names over the network. If you use a direct
Agent Control client instead of `agent_control.init(...)`, pass
Expand Down
6 changes: 3 additions & 3 deletions examples/agent/crewAI/research_crew/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ cd sdk-examples/python/agent/crewAI/research_crew
cp .env.example .env
```

In addition to API keys, you’ll need to specify a Splunk AO project and log stream (e.g. SPLUNK_AO_PROJECT and SPLUNK_AO_LOG_STREAM). All CrewAI run data will be logged to this destination in Splunk AO. See
In addition to API keys, you’ll need to specify a Splunk AO project and log stream (e.g. SPLUNK_AO_PROJECT and SPLUNK_AO_AGENT_STREAM). All CrewAI run data will be logged to this destination in Splunk AO. See
[Understanding the Splunk AO Integration](#understanding-the-galileo-integration) for more detail.

3. Install project dependencies into the active environment:
Expand Down Expand Up @@ -97,9 +97,9 @@ Creating a CrewAIEventListener() instance is all that’s required to enable Spl
- Uses OpenTelemetry (OTel) to instrument Crew execution events
- Reads Splunk AO configuration from environment variables
- Logs all run data to the Splunk AO project and log stream specified by
`SPLUNK_AO_PROJECT` and `SPLUNK_AO_LOG_STREAM`
`SPLUNK_AO_PROJECT` and `SPLUNK_AO_AGENT_STREAM`

No additional configuration or code changes are required. All data from this run is logged to the Splunk AO project and log stream specified by your environment configuration (for example, SPLUNK_AO_PROJECT and SPLUNK_AO_LOG_STREAM).
No additional configuration or code changes are required. All data from this run is logged to the Splunk AO project and log stream specified by your environment configuration (for example, SPLUNK_AO_PROJECT and SPLUNK_AO_AGENT_STREAM).

## CrewAI Support

Expand Down
2 changes: 1 addition & 1 deletion examples/agent/google-adk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ GOOGLE_API_KEY=
SPLUNK_AO_API_ENDPOINT=
SPLUNK_AO_API_KEY=
SPLUNK_AO_PROJECT=
SPLUNK_AO_LOG_STREAM=
SPLUNK_AO_AGENT_STREAM=
```

For the `SPLUNK_AO_API_ENDPOINT`, this is different to the console URL that you would normally use. If you are using `app.galileo.ai` for example, the endpoint is `https://api.galileo.ai/otel/v1/traces`.
Expand Down
2 changes: 1 addition & 1 deletion examples/agent/google-adk/my_agent/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ SPLUNK_AO_API_KEY="YOUR_SPLUNK_AO_API_KEY"
SPLUNK_AO_PROJECT="google-adk"

# The name of the Log stream you want to use for logging
SPLUNK_AO_LOG_STREAM="google-adk-log-stream"
SPLUNK_AO_AGENT_STREAM="google-adk-log-stream"

# Provide texhe console url below if you are using a
# custom deployment, and not using the free tier, or app.galileo.ai.
Expand Down
2 changes: 1 addition & 1 deletion examples/agent/langchain-agent/.env.example
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Splunk AO Environment Variables
SPLUNK_AO_API_KEY=your-splunk-ao-api-key # Your Splunk AO API key.
SPLUNK_AO_PROJECT=your-splunk-ao-project-name # Your Splunk AO project name.
SPLUNK_AO_LOG_STREAM=your-splunk-ao-log-stream # The name of the log stream you want to use for logging.
SPLUNK_AO_AGENT_STREAM=your-splunk-ao-log-stream # The name of the log stream you want to use for logging.

# Provide the console url below if you are using a custom deployment, and not using app.galileo.ai
# SPLUNK_AO_CONSOLE_URL=your-splunk-ao-console-url # Optional if you are using a hosted version of Splunk AO
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Copy the existing `.env.example` file, and rename it to `.env` in your project d
```
SPLUNK_AO_API_KEY=your-splunk-ao-api-key # Your Splunk AO API key.
SPLUNK_AO_PROJECT=your-splunk-ao-project-name # Your Splunk AO project name.
SPLUNK_AO_LOG_STREAM=your-splunk-ao-log-stream # The name of the log stream you want to use for logging.
SPLUNK_AO_AGENT_STREAM=your-splunk-ao-log-stream # The name of the log stream you want to use for logging.

# Provide the console url below if you are using a custom deployment, and not using app.galileo.ai
# SPLUNK_AO_CONSOLE_URL=your-splunk-ao-console-url
Expand Down
2 changes: 1 addition & 1 deletion examples/agent/langchain-middleware/.env.example
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Splunk AO Environment Variables
SPLUNK_AO_API_KEY=your-splunk-ao-api-key # Your Splunk AO API key.
SPLUNK_AO_PROJECT=your-splunk-ao-project-name # Your Splunk AO project name.
SPLUNK_AO_LOG_STREAM=your-splunk-ao-log-stream # The name of the log stream you want to use for logging.
SPLUNK_AO_AGENT_STREAM=your-splunk-ao-log-stream # The name of the log stream you want to use for logging.

# Provide the console url below if you are using a custom deployment, and not using app.galileo.ai
# SPLUNK_AO_CONSOLE_URL=your-splunk-ao-console-url # Optional if you are using a hosted version of Splunk AO
Expand Down
2 changes: 1 addition & 1 deletion examples/agent/langchain-middleware/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def get_stock_price(symbol: str) -> str:
def main() -> None:
# Use the Splunk AO context manager to specify project and log stream
# All traces created within this context will be associated with this project
with splunk_ao_context(project=os.getenv("SPLUNK_AO_PROJECT", "langchain-middleware"), log_stream=os.getenv("SPLUNK_AO_LOG_STREAM", "agent_execution")):
with splunk_ao_context(project=os.getenv("SPLUNK_AO_PROJECT", "langchain-middleware"), log_stream=os.getenv("SPLUNK_AO_AGENT_STREAM", "agent_execution")):
# Create an agent with SplunkAOMiddleware for automatic logging
# SplunkAOMiddleware automatically captures:
# - Agent lifecycle events (start/completion)
Expand Down
2 changes: 1 addition & 1 deletion examples/agent/langgraph-fsi-agent/after/.env.example
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Splunk AO Environment Variables
SPLUNK_AO_API_KEY= # Your Splunk AO API key.
SPLUNK_AO_PROJECT=Multi-Agent Banking Chatbot # Your Splunk AO project name.
SPLUNK_AO_LOG_STREAM=Default Log Stream # The name of the log stream you want to use for logging.
SPLUNK_AO_AGENT_STREAM=Default Log Stream # The name of the log stream you want to use for logging.

# Provide the console url below if you are using a custom deployment, and not using app.galileo.ai
# SPLUNK_AO_CONSOLE_URL= # Optional if you are using a hosted version of Splunk AO
Expand Down
2 changes: 1 addition & 1 deletion examples/agent/langgraph-open-telemetry/.env.example
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Splunk AO Environment Variables
SPLUNK_AO_API_KEY=your-api-key-here # Your Splunk AO API key.
SPLUNK_AO_PROJECT=your-splunk-ao-project-name # Your Splunk AO project name.
SPLUNK_AO_LOG_STREAM=your-log-stream-name # The name of the log stream you want to use for logging.
SPLUNK_AO_AGENT_STREAM=your-log-stream-name # The name of the log stream you want to use for logging.

# Provide the console url below if you are using a custom deployment, and not using app.galileo.ai
# SPLUNK_AO_CONSOLE_URL= # Optional if you are using a hosted version of Splunk AO
Expand Down
4 changes: 2 additions & 2 deletions examples/agent/langgraph-open-telemetry/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ SPLUNK_AO_API_KEY=your_splunk_ao_api_key_here
SPLUNK_AO_PROJECT=your_project_name

# Log stream for organizing traces
SPLUNK_AO_LOG_STREAM=langgraph
SPLUNK_AO_AGENT_STREAM=langgraph

# Splunk AO console URL (if using a custom deployment is different than https://app.galileo.ai)
SPLUNK_AO_CONSOLE_URL=https://app.galileo.ai
Expand All @@ -57,7 +57,7 @@ OPENAI_API_KEY=your_openai_api_key_here
| ------------------- | -------- | ------------------------------------------------------------------------------ |
| `SPLUNK_AO_API_KEY` | Yes | Your Splunk AO API key from [settings](https://app.galileo.ai/settings/api-keys) |
| `SPLUNK_AO_PROJECT` | Yes | Splunk AO project name (create one in your dashboard) |
| `SPLUNK_AO_LOG_STREAM` | Yes | Log stream name for organizing traces (default: "default") |
| `SPLUNK_AO_AGENT_STREAM` | Yes | Log stream name for organizing traces (default: "default") |
| `OPENAI_API_KEY` | Yes | Your OpenAI API key from [OpenAI](https://platform.openai.com/api-keys) |

### Run
Expand Down
2 changes: 1 addition & 1 deletion examples/agent/langgraph-otel/.env.example
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Splunk AO Environment Variables
SPLUNK_AO_API_KEY=your-api-key-here # Your Splunk AO API key.
SPLUNK_AO_PROJECT=your-splunk-ao-project-name # Your Splunk AO project name.
SPLUNK_AO_LOG_STREAM=your-log-stream-name # The name of the log stream you want to use for logging.
SPLUNK_AO_AGENT_STREAM=your-log-stream-name # The name of the log stream you want to use for logging.

# Provide the console url below if you are using a custom deployment, and not using app.galileo.ai
# SPLUNK_AO_CONSOLE_URL= # Optional if you are using a hosted version of Splunk AO
Expand Down
4 changes: 2 additions & 2 deletions examples/agent/langgraph-otel/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ SPLUNK_AO_API_KEY=your_splunk_ao_api_key_here
SPLUNK_AO_PROJECT=your_project_name

# Log stream for organizing traces
SPLUNK_AO_LOG_STREAM=langgraph
SPLUNK_AO_AGENT_STREAM=langgraph

# Splunk AO console URL (if using a custom deployment is different than https://app.galileo.ai)
SPLUNK_AO_CONSOLE_URL=https://app.galileo.ai
Expand All @@ -57,7 +57,7 @@ OPENAI_API_KEY=your_openai_api_key_here
| -------------------- | -------- | ------------------------------------------------------------------------------ |
| `SPLUNK_AO_API_KEY` | Yes | Your Splunk AO API key from [settings](https://app.galileo.ai/settings/api-keys) |
| `SPLUNK_AO_PROJECT` | Yes | Splunk AO project name (create one in your dashboard) |
| `SPLUNK_AO_LOG_STREAM` | Yes | Log stream name for organizing traces (default: "default") |
| `SPLUNK_AO_AGENT_STREAM` | Yes | Log stream name for organizing traces (default: "default") |
| `OPENAI_API_KEY` | Yes | Your OpenAI API key from [OpenAI](https://platform.openai.com/api-keys) |

### Run
Expand Down
2 changes: 1 addition & 1 deletion examples/agent/langgraph-otel/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
headers = {
"Splunk-AO-API-Key": os.environ.get("SPLUNK_AO_API_KEY"), # Your unique API key
"project": os.environ.get("SPLUNK_AO_PROJECT"), # Which Splunk AO project to use
"logstream": os.environ.get("SPLUNK_AO_LOG_STREAM", "default"), # Organize traces within the project
"logstream": os.environ.get("SPLUNK_AO_AGENT_STREAM", "default"), # Organize traces within the project
}

# OpenTelemetry requires headers in a specific format: "key1=value1,key2=value2"
Expand Down
2 changes: 1 addition & 1 deletion examples/agent/langgraph-telecom-agent/.env.example
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Splunk AO Environment Variables
SPLUNK_AO_API_KEY= # Your Splunk AO API key.
SPLUNK_AO_PROJECT=Multi-Agent Telecom Chatbot # Your Splunk AO project name.
SPLUNK_AO_LOG_STREAM=prod # The name of the log stream you want to use for logging.
SPLUNK_AO_AGENT_STREAM=prod # The name of the log stream you want to use for logging.

# Provide the console url below if you are using a custom deployment, and not using app.galileo.ai
# SPLUNK_AO_CONSOLE_URL= # Optional if you are using a hosted version of Splunk AO
Expand Down
2 changes: 1 addition & 1 deletion examples/agent/microsoft-agent-framework/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ OPENAI_API_KEY=
# SPLUNK_AO_API_ENDPOINT= # Optional, only set this if you are using a custom Splunk AO deployment
SPLUNK_AO_API_KEY=
SPLUNK_AO_PROJECT=
SPLUNK_AO_LOG_STREAM=
SPLUNK_AO_AGENT_STREAM=
2 changes: 1 addition & 1 deletion examples/agent/microsoft-agent-framework/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ OPENAI_API_KEY=
# SPLUNK_AO_API_ENDPOINT= # Optional, only set this if you are using a custom Splunk AO deployment
SPLUNK_AO_API_KEY=
SPLUNK_AO_PROJECT=
SPLUNK_AO_LOG_STREAM=
SPLUNK_AO_AGENT_STREAM=
```

For the `SPLUNK_AO_API_ENDPOINT`, you only need to set this if you are using a custom Splunk AO deployment. There is no need to set this if you are using [app.galileo.ai](https://app.galileo.ai). This endpoint is different to the console URL that you would normally use. See the [Splunk AO OpenTelemetry documentation](https://docs.galileo.ai/sdk-api/third-party-integrations/opentelemetry-and-openinference#self-hosted-deployments) for more details.
Expand Down
2 changes: 1 addition & 1 deletion examples/agent/minimal-agent-example/.env.example
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Splunk AO Environment Variables
SPLUNK_AO_API_KEY=your-splunk-ao-api-key # Your Splunk AO API key.
SPLUNK_AO_PROJECT=your-splunk-ao-project-name # Your Splunk AO project name.
SPLUNK_AO_LOG_STREAM=your-splunk-ao-log-stream # The name of the log stream you want to use for logging.
SPLUNK_AO_AGENT_STREAM=your-splunk-ao-log-stream # The name of the log stream you want to use for logging.

# Provide the console url below if you are using a custom deployment, and not using app.galileo.ai
# SPLUNK_AO_CONSOLE_URL=your-splunk-ao-console-url # Optional if you are using a hosted version of Splunk AO
Expand Down
2 changes: 1 addition & 1 deletion examples/agent/pydantic-ai-support-agent/.env.example
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Splunk AO Environment Variables
SPLUNK_AO_API_KEY=your-splunk-ao-api-key # Your Splunk AO API key.
SPLUNK_AO_PROJECT=your-splunk-ao-project-name # Your Splunk AO project name.
SPLUNK_AO_LOG_STREAM=your-splunk-ao-log-stream # The name of the log stream you want to use for logging.
SPLUNK_AO_AGENT_STREAM=your-splunk-ao-log-stream # The name of the log stream you want to use for logging.

# Provide the console url below if you are using a custom deployment, and not using app.galileo.ai
# SPLUNK_AO_CONSOLE_URL=your-splunk-ao-console-url # Optional if you are using a hosted version of Splunk AO
Expand Down
2 changes: 1 addition & 1 deletion examples/agent/startup-simulator-3000/.example.env
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# Splunk AO Environment Variables
SPLUNK_AO_API_KEY=your-splunk-ao-api-key # Your Splunk AO API key.
SPLUNK_AO_PROJECT=your-splunk-ao-project-name # Your Splunk AO project name.
SPLUNK_AO_LOG_STREAM=your-splunk-ao-log-stream # The name of the log stream you want to use for logging.
SPLUNK_AO_AGENT_STREAM=your-splunk-ao-log-stream # The name of the log stream you want to use for logging.

# Provide the console url below if you are using a custom deployment, and not using app.galileo.ai
# SPLUNK_AO_CONSOLE_URL=your-splunk-ao-console-url # Optional if you are using a hosted version of Splunk AO
Expand Down
2 changes: 1 addition & 1 deletion examples/agent/startup-simulator-3000/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ Your `.env` file should look like this:
# Splunk AO Environment Variables
SPLUNK_AO_API_KEY=your-splunk-ao-api-key # Your Splunk AO API key.
SPLUNK_AO_PROJECT=your-splunk-ao-project-name # Your Splunk AO project name.
SPLUNK_AO_LOG_STREAM=your-splunk-ao-log-stream # The name of the log stream you want to use for logging.
SPLUNK_AO_AGENT_STREAM=your-splunk-ao-log-stream # The name of the log stream you want to use for logging.

# Provide the console url below if you are using a custom deployment, and not using app.galileo.ai
# SPLUNK_AO_CONSOLE_URL=your-splunk-ao-console-url # Optional if you are using a hosted version of Splunk AO
Expand Down
4 changes: 2 additions & 2 deletions examples/agent/startup-simulator-3000/TUTORIAL.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ Your `.env` file should look like this:
# Splunk AO Environment Variables
SPLUNK_AO_API_KEY=your-splunk-ao-api-key # Your Splunk AO API key.
SPLUNK_AO_PROJECT=your-splunk-ao-project-name # Your Splunk AO project name.
SPLUNK_AO_LOG_STREAM=your-splunk-ao-log-stream # The name of the log stream you want to use for logging.
SPLUNK_AO_AGENT_STREAM=your-splunk-ao-log-stream # The name of the log stream you want to use for logging.

# Provide the console url below if you are using a custom deployment, and not using app.galileo.ai
# SPLUNK_AO_CONSOLE_URL=your-splunk-ao-console-url # Optional if you are using a hosted version of Splunk AO
Expand Down Expand Up @@ -209,7 +209,7 @@ def generate_startup():
```python
logger = SplunkAOLogger(
project=os.environ.get("SPLUNK_AO_PROJECT"),
log_stream=os.environ.get("SPLUNK_AO_LOG_STREAM")
log_stream=os.environ.get("SPLUNK_AO_AGENT_STREAM")
)
trace = logger.start_trace(f"Generate startup pitch - {mode} mode")
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def get_galileo_logger():
# This logger will automatically use environment variables for configuration:
# - SPLUNK_AO_API_KEY: Your API key for authentication
# - SPLUNK_AO_PROJECT: Your project name/ID
# - SPLUNK_AO_LOG_STREAM: The log stream to use
# - SPLUNK_AO_AGENT_STREAM: The log stream to use
_global_galileo_logger = SplunkAOLogger()
print("✅ Splunk AO logger initialized successfully using environment variables")
except Exception as e:
Expand Down
2 changes: 1 addition & 1 deletion examples/agent/startup-simulator-3000/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ async def run_agent(industry: str, audience: str, random_word: str, mode: str =
if __name__ == "__main__":
# Verify Splunk AO configuration
project_id = os.environ.get("SPLUNK_AO_PROJECT")
log_stream = os.environ.get("SPLUNK_AO_LOG_STREAM")
log_stream = os.environ.get("SPLUNK_AO_AGENT_STREAM")
api_key = os.environ.get("SPLUNK_AO_API_KEY")

print("🔍 Splunk AO Configuration:")
Expand Down
2 changes: 1 addition & 1 deletion examples/agent/strands-agents/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ AWS_BEARER_TOKEN_BEDROCK=
SPLUNK_AO_API_ENDPOINT=
SPLUNK_AO_API_KEY=
SPLUNK_AO_PROJECT=
SPLUNK_AO_LOG_STREAM=
SPLUNK_AO_AGENT_STREAM=
2 changes: 1 addition & 1 deletion examples/agent/strands-agents/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ AWS_BEARER_TOKEN_BEDROCK=
# SPLUNK_AO_API_ENDPOINT= # Optional, only set this if you are using a custom Splunk AO deployment
SPLUNK_AO_API_KEY=
SPLUNK_AO_PROJECT=
SPLUNK_AO_LOG_STREAM=
SPLUNK_AO_AGENT_STREAM=
```

For the `SPLUNK_AO_API_ENDPOINT`, you only need to set this if you are using a custom Splunk AO deployment. There is no need to set this if you ae using [app.galileo.ai](https://app.galileo.ai). This endpoint is different to the console URL that you would normally use. See the [Splunk AO OpenTelemetry documentation](https://docs.galileo.ai/sdk-api/third-party-integrations/opentelemetry-and-openinference#self-hosted-deployments) for more details.
Expand Down
2 changes: 1 addition & 1 deletion examples/agent/strands-agents/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
headers = {
"Splunk-AO-API-Key": os.environ["SPLUNK_AO_API_KEY"],
"project": os.environ["SPLUNK_AO_PROJECT"],
"logstream": os.environ["SPLUNK_AO_LOG_STREAM"],
"logstream": os.environ["SPLUNK_AO_AGENT_STREAM"],
}

os.environ["OTEL_EXPORTER_OTLP_HEADERS"] = ",".join([f"{k}={v}" for k, v in headers.items()])
Expand Down
2 changes: 1 addition & 1 deletion examples/agent/weather-vibes-agent/.env.example
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Splunk AO Environment Variables
SPLUNK_AO_API_KEY=your-splunk-ao-api-key # Your Splunk AO API key.
SPLUNK_AO_PROJECT=your-splunk-ao-project-name # Your Splunk AO project name.
SPLUNK_AO_LOG_STREAM=your-splunk-ao-log-stream # The name of the log stream you want to use for logging.
SPLUNK_AO_AGENT_STREAM=your-splunk-ao-log-stream # The name of the log stream you want to use for logging.

# Provide the console url below if you are using a custom deployment, and not using app.galileo.ai
# SPLUNK_AO_CONSOLE_URL=your-splunk-ao-console-url # Optional if you are using a hosted version of Splunk AO
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ By completing this tutorial, you will:
# Splunk AO Environment Variables
SPLUNK_AO_API_KEY=your-splunk-ao-api-key # Your Splunk AO API key.
SPLUNK_AO_PROJECT=your-splunk-ao-project-name # Your Splunk AO project name.
SPLUNK_AO_LOG_STREAM=weather_vibes_agent
SPLUNK_AO_AGENT_STREAM=weather_vibes_agent

# Provide the console url below if you are using a custom deployment, and not using app.galileo.ai
# SPLUNK_AO_CONSOLE_URL=your-splunk-ao-console-url # Optional if you are using a hosted version of Splunk AO
Expand Down
Loading
Loading