Uninstrumented Block of Code - APM Insight

Uninstrumented Block of Code - APM Insight

In the traces tab --> Slowest Method Calls and Count we show if you find Un-instrumented block of code the reason is as follows:

Basically, What is un-instrumented block of code in APM Insight?

By default, APM Insight agent monitors known frameworks and libraries in your application code. However, there may be certain methods which may not be instrumented by the agent. Such kind of code are classified as ' un-instrumented block of code'.

If you prefer to monitor these blocks of code, you can instrument them using custom instrumentation. Custom instrumentation allows you to monitor specific blocks of your application code.

Custom Instrumentation for Latest APM Insight .Net agent can be performed using the Custom Instrumentation Manager Tool which is bundled with the Agent itself

Working with Custom Instrumentation Manager Tool

1. From the Windows Start menu or Start screen (Windows 8/Windows Server 2012), launch the Custom Instrumentation Manager tool. Alternatively, it can be accessed by navigating to the installation directory of APM Insight C:\Program Files (x86)\ManageEngine\APM Insight .NET Agent\AgentApi --> DotNetAgent.Api.Manager

2. Load an application DLL from the bin directory of a web application. The below image shows loading a DLL.

3. Choose required methods / classes or even entire assemblies from left pane and add it to the right pane for monitoring. The number of methods selected will be shown at the bottom.

4. The component names can be set by editing the component text box individually.
5. Alternatively select a group of components, right click and select "Set Component Name" option to assign a component for multiple methods.

6. Click the Save button. After saving, the status bar will show a message "Recycle the application pools to take effect". Note that the message appears only when one or more w3wp processes are running.
7. The added methods will be displayed along with the text [custom].


                    New to ADSelfService Plus?

                      • Related Articles

                      • What is un-instrumented block of code in APM Insight

                        In the traces tab --> Slowest Method Calls and Count we show if you find Un-instrumented block of code the reason is as follows: By default, APM Insight agent monitors known frameworks and libraries in your application code. However, there may be ...
                      • Self monitor Applications Manager using APM Insight Java Agent

                        Applications Manager is built with Java, hence we can monitor it using APM Insight Java Agent to measure it's performance continuously, which can be very much useful. Setting up APM Insight Java Agent Follow the below steps to download and set up the ...
                      • APM Insight Troubleshooting - FAQs

                        Monitor Addition - FAQs 1. How to add an APM Insight Monitor? After you deploy the APM Insight agent in your Application Server with suitable Applications Manager credentials in the apminsight.conf file, APM Insight monitors will automatically be ...
                      • How to rename an existing APM - Java agent application's monitor?

                        In Applications Manager's APM(Application Performance Monitoring) doesn't support renaming applications/monitors from the web client. However, the application name of an existing application instance can be renamed in the `apminsight.conf` file and ...
                      • Verify the authenticity of APM Insight agents with Checksum verification

                        After downloading APM Insight agents, verify the integrity of the downloaded files by validating their checksum. This ensures that the agents are secure and not tampered by any external malicious code or software. After downloading the agent, ...