Skip to content

Commit

Permalink
Fixing app insights config setting names in Python projects
Browse files Browse the repository at this point in the history
  • Loading branch information
kylebunting committed Jul 29, 2024
1 parent 2b6e6f0 commit 435c591
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/python/AgentHubAPI/app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# Open a connection to the app configuration
config = get_config()
# Start collecting telemetry
Telemetry.configure_monitoring(config, f'FoundationaLLM:APIs:{API_NAME}:AppInsightsConnectionString')
Telemetry.configure_monitoring(config, f'FoundationaLLM:APIEndpoints:{API_NAME}:AppInsightsConnectionString')

app = FastAPI(
title=f'FoundationaLLM {API_NAME}',
Expand Down
2 changes: 1 addition & 1 deletion src/python/DataSourceHubAPI/app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# Open a connection to the app configuration
config = get_config()
# Start collecting telemetry
Telemetry.configure_monitoring(config, f'FoundationaLLM:APIs:{API_NAME}:AppInsightsConnectionString')
Telemetry.configure_monitoring(config, f'FoundationaLLM:APIEndpoints:{API_NAME}:AppInsightsConnectionString')

app = FastAPI(
title=f'FoundationaLLM {API_NAME}',
Expand Down
2 changes: 1 addition & 1 deletion src/python/LangChainAPI/app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# Open a connection to the app configuration
config = get_config()
# Start collecting telemetry
Telemetry.configure_monitoring(config, f'FoundationaLLM:APIs:{API_NAME}:AppInsightsConnectionString')
Telemetry.configure_monitoring(config, f'FoundationaLLM:APIEndpoints:{API_NAME}:AppInsightsConnectionString')

app = FastAPI(
title=f'FoundationaLLM {API_NAME}',
Expand Down
2 changes: 1 addition & 1 deletion src/python/PromptHubAPI/app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# Open a connection to the app configuration
config = get_config()
# Start collecting telemetry
Telemetry.configure_monitoring(config, f'FoundationaLLM:APIs:{API_NAME}:AppInsightsConnectionString')
Telemetry.configure_monitoring(config, f'FoundationaLLM:APIEndpoints:{API_NAME}:AppInsightsConnectionString')

app = FastAPI(
title=f'FoundationaLLM {API_NAME}',
Expand Down

0 comments on commit 435c591

Please sign in to comment.