Update configuration.prod.yaml

This commit is contained in:
Wael Kdouh 2023-09-25 19:42:44 -04:00 коммит произвёл GitHub
Родитель 86026f519d
Коммит 8c4d56b457
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 4 добавлений и 5 удалений

Просмотреть файл

@ -23,12 +23,11 @@ namedValues:
displayName: helloworldfromlogicapp_manual-invoke_634e022983908257b35630b0
value: "{#helloworldfromlogicapp#}"
loggers:
- name: apim-lab-insights
- name: [source (not destination) application insights name that you are overriding. Refer to the [wiki](https://github.com/Azure/apiops/wiki/APIM-resources#loggers) on options to override the logger name in higher environment]
properties:
loggerType: applicationInsights
description: prod application insights
resourceId: "/subscriptions/[your guid here]/resourceGroups/
rg-apim-lab-prod/providers/microsoft.insights/components/apim-lab-prod-insights"
resourceId: "/subscriptions/[your guid here]/resourceGroups/rg-apim-lab-prod/providers/microsoft.insights/components/[destination environment application insights name]"
credentials:
instrumentationKey: "{{Logger-Credentials--62825ade46346113589affc1}}"
isBuffered: true
@ -36,7 +35,7 @@ diagnostics:
- name: applicationinsights
properties:
verbosity: Error
loggerId: "/subscriptions/[subscription Guid goes here]/resourceGroups/rg-apim-lab-prod/providers/Microsoft.ApiManagement/service/apim-prod-wk-05102022/loggers/apim-lab-prod-insights"
loggerId: "/subscriptions/[subscription Guid goes here]/resourceGroups/rg-apim-lab-prod/providers/Microsoft.ApiManagement/service/apim-prod-wk-05102022/loggers/[application insights name you chose for the destination environment]"
backends:
- name: helloworldfromfuncapp
properties:
@ -52,4 +51,4 @@ apis:
- name: applicationinsights
properties:
verbosity: Error
loggerId: "/subscriptions/[subscription Guid goes here]/resourceGroups/rg-apim-lab-prod/providers/Microsoft.ApiManagement/service/apim-prod-wk-05102022/loggers/apim-lab-prod-insights"
loggerId: "/subscriptions/[subscription Guid goes here]/resourceGroups/rg-apim-lab-prod/providers/Microsoft.ApiManagement/service/apim-prod-wk-05102022/loggers/apim-lab-prod-insights"