skywalking 部署到iis上配置

web.config ->iis 站點配置管理器

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <location path="." inheritInChildApplications="false">
    <system.webServer>
      <handlers>
        <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" />
      </handlers>
      <aspNetCore processPath="dotnet" arguments=".\KeyingPlatform.Api.dll" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" hostingModel="inprocess">
	     <environmentVariables> 
          <environmentVariable name="ASPNETCORE_HOSTINGSTARTUPASSEMBLIES" value="SkyAPM.Agent.AspNetCore"/> 
		  <environmentVariable name="SKYWALKING__SERVICENAME" value="KeyingPlatform.Api"/> 
        </environmentVariables> 
	  </aspNetCore>
    </system.webServer>
  </location>

</configuration>
<!--ProjectGuid: 10D65B5C-09C8-45AB-9058-84F8474411FC-->

  

https://zhuanlan.zhihu.com/p/132404145

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章