File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -163,7 +163,7 @@ module applicationInsights 'br/public:avm/res/insights/component:0.4.2' = if (us
163163 name : '${prefix }-appinsights'
164164 location : location
165165 tags : tags
166- workspaceResourceId : logAnalyticsWorkspace !. outputs .resourceId
166+ workspaceResourceId : logAnalyticsWorkspace .? outputs .resourceId
167167 kind : 'web'
168168 applicationType : 'web'
169169 }
Original file line number Diff line number Diff line change 1919if not RUNNING_IN_PRODUCTION :
2020 load_dotenv (override = True )
2121
22- logging .basicConfig (level = logging .DEBUG , format = "%(asctime)s - %(message)s" )
22+ logging .basicConfig (level = logging .WARNING , format = "%(asctime)s - %(message)s" )
2323logger = logging .getLogger ("ExpensesMCP" )
2424logger .setLevel (logging .INFO )
2525
2626# Configure OpenTelemetry tracing
2727if os .getenv ("APPLICATIONINSIGHTS_CONNECTION_STRING" ):
2828 logger .info ("Setting up Azure Monitor instrumentation" )
2929 configure_azure_monitor ()
30- if os .getenv ("LOGFIRE_PROJECT_NAME" ):
30+ elif os .getenv ("LOGFIRE_PROJECT_NAME" ):
3131 logger .info ("Setting up Logfire instrumentation" )
3232 settings .tracing_implementation = "opentelemetry" # Send Azure Monitor traces via OpenTelemetry
3333 logfire .configure (service_name = "expenses-mcp" , send_to_logfire = True )
You can’t perform that action at this time.
0 commit comments