I added a custom counter to ApplicationInsights.config. Application Insights does not list custom counters.
azure
Application Insights is very convenient, but there are many difficulties.In particular, Custom Counter often has problems that do not come out easily, so I often have a hard time.
In such cases, please pay attention to the following actions:
·Custom counters cannot be registered in the first place
When I try to register through WebRole, I fall into various depths.However, if you google it, you'll see many things.
Custom Performance Counters in Windows Azure
Plug-in Windows Azure Diagnostics Performance Counter
http://blogs.gine.jp/taka/archives/2128
For the time being, I have prepared an exe to register the custom counter before running the webrole by referring to the former page.
·Do not list the Base counter in ApplicationInsights.config
If you think about it carefully, you can't set the base value of the multi-counter to ApplicationInsights.config.Then, there is no warning and the counter does not come out.It's hard for nothing to come out...
·Do not duplicate counters in ApplicationInsights.config
This is also a case where some people get stuck, especially when you're making WebRole, it's easy to make mistakes if you edit it many times in diagnostics.wadcfg or ApplicationInsights.config.Once a shape is formed, it can be automated, so there are fewer mistakes, but as expected, I fell in love with the pattern that I fell in love with until the shape was formed.
© 2024 OneMinuteCode. All rights reserved.