@masaki - Welcome to Microsoft Q&A and thanks for reaching out to us.
The error indicates that the Application Insights SDK is unable to find the metricCounters.json
file, which is used to configure performance counters for your application.
- Please ensure that the
metricCounters.json
file is present in the correct location. By default, this file should be in the root directory of your application. - If the
metricCounters.json
file is present and the configuration is correct, try restarting your application and see if the error persists. - Check the configuration of the Application Insights SDK to make sure that it is looking for the
metricCounters.json
file in the correct location. You can do this by checking thePerformanceCounters
section of theApplicationInsights.config
orApplicationInsights.json
file. - If the error persists, try deleting the
metricCounters.json
file and recreating it with the correct configuration.
Hope this helps. and please feel free to reach out if you have any further questions.
If the above response was helpful, please feel free to "Accept as Answer" and click "Yes" so it can be beneficial to the community.