AUTOMATIC INCREMENTAL APPLICATION DEPENDENCY DISCOVERY THROUGH CODE INSTRUMENTATION
First Claim
1. A computer implemented method for automatically mapping application dependencies in a distributed application, comprising:
- loading an instrumentation configuration to identify one or more computer programs that are configured to implement methods that require code instrumentation in order to provide automatic mapping of application dependencies;
locating Common Intermediate Language method body suitable for extracting address information from said one or more computer programs, wherein said address information further comprises an electronic address of external service providers to said one or more computer programs;
inserting an instruction into said one or more computer programs for extracting said address information from said one or more computer programs;
extracting said address information from said one or more computer programs; and
using said extracted address information to build an application dependency map.
3 Assignments
0 Petitions
Accused Products
Abstract
Disclosed is a method allowing the automatic discovery of application component dependencies by tracing application calls to dependant resources. The call tracing is embedded dynamically in an application at runtime using Common Intermediate Language (“CIL”) code instrumentation at compile time or runtime. Such a method reads an instrumentation configuration file to determine an address extraction code portion that is to be instrumented to an application method code, locates the CIL method body for the application method that is to be instrumented, instruments the application method by inserting the address extraction code portion into the appropriate .NET Application or .NET library at either compile time or at run time, extracts the address of one or more external service providers from the designated .NET library methods responsible for communication during execution of the application method that was instrumented, publishes any newly discovered dependencies to a management system in the form of the discovery event, and causes the management system to build an application dependency map based on the resource address information obtained.
81 Citations
12 Claims
-
1. A computer implemented method for automatically mapping application dependencies in a distributed application, comprising:
-
loading an instrumentation configuration to identify one or more computer programs that are configured to implement methods that require code instrumentation in order to provide automatic mapping of application dependencies; locating Common Intermediate Language method body suitable for extracting address information from said one or more computer programs, wherein said address information further comprises an electronic address of external service providers to said one or more computer programs; inserting an instruction into said one or more computer programs for extracting said address information from said one or more computer programs; extracting said address information from said one or more computer programs; and using said extracted address information to build an application dependency map. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
Specification