microservices-reference-implementation
microservices-reference-implementation copied to clipboard
Application Insights script needs more context
There is a 3 line script snippet which doesn't make sense to me. Why is the AI_KEY variable being set when it's never subsequently referenced anywhere else in the deployment.md file?
# Acquire Instrumentation Key
export AI_NAME=$(az deployment group show -g $RESOURCE_GROUP -n workload-stamp --query properties.outputs.appInsightsName.value -o tsv)
export AI_IKEY=$(az resource show -g $RESOURCE_GROUP -n $AI_NAME --resource-type "Microsoft.Insights/components" --query properties.InstrumentationKey -o tsv)