Skip to content
Merged
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
31 changes: 18 additions & 13 deletions python/claude/sample-agent/.env.template
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,16 @@ ENV_ID=
# AUTHENTICATION OPTIONS
# =============================================================================

# Use agentic authentication (optional, defaults to false)
# Set to "true" to use agentic authentication with M365 Agents SDK
USE_AGENTIC_AUTH=false
# Auth handler name (optional, defaults to "AGENTIC")
# The name of the authentication handler to use for token exchange
# This should match the handler name configured in your agent authentication settings
AGENT_AUTH_HANDLER_NAME=AGENTIC

# Bearer token (required if not using client credentials)
# Use for development/testing without full app registration
BEARER_TOKEN=your_bearer_token_here

# Agentic authentication scope (required if USE_AGENTIC_AUTH=true)
# Agentic authentication scope (required for agentic authentication)
# Example: https://api.powerplatform.com/.default
AGENTIC_AUTH_SCOPE=https://api.powerplatform.com/.default

Expand Down Expand Up @@ -98,21 +99,25 @@ PORT=3978
LOG_LEVEL=INFO

# =============================================================================
# OBSERVABILITY CONFIGURATION (Optional)
# OBSERVABILITY CONFIGURATION
# =============================================================================

# Enable observability tracing (set to true to track agent operations)
ENABLE_OBSERVABILITY=true

# Service name for observability
OBSERVABILITY_SERVICE_NAME=claude-agent
# Service name for observability (required)
OBSERVABILITY_SERVICE_NAME=claude-sample-agent

# Service namespace for observability
# Service namespace for observability (required)
OBSERVABILITY_SERVICE_NAMESPACE=agent365-samples

# Agent observability attributes (optional but recommended)
# These populate the gen_ai.agent.* attributes in traces
AGENT_AUID=your_agent_auid


ENABLE_OBSERVABILITY=true

# Enable Agent 365 Observability Exporter (optional, defaults to false)
# Set to "true" to export telemetry to Agent 365 backend
# When false, uses ConsoleSpanExporter for local debugging
# Set to "true" to export telemetry to Agent 365 backend for production monitoring
# When false, uses ConsoleSpanExporter for local debugging (logs to console only)
ENABLE_A365_OBSERVABILITY_EXPORTER=false
Comment thread
JoanBency marked this conversation as resolved.
Resolved

# Python environment (influences target cluster/category)
Expand Down
Loading
Loading