TECHNIQUES FOR PROVIDING APPLICATION CONTEXTUAL INFORMATION
Techniques for providing application contextual information. One or more sets of database context identifiers corresponding to events that occur within the database are generated by the database. The one or more sets of database context identifiers have at least one application context field. A session identifier corresponding to a session to be monitored is sent from the application to the database. Information to be stored in the database with the session identifier is sent to the database. Database logs and application logs are correlated using at least the session identifier.
1 . In an environment having a computing platform and an application performance monitoring system, a method comprising:
monitoring execution of, by the computing platform, one or more functions instanced by external users for use by the computing platform;
generating, by the computing platform, trace data corresponding to one or more events that occur during execution of the functions, wherein respective ones of the events indicate diagnostic data for the functions and downstream dependencies;
applying, by the application performance monitoring system, identifiers to collect the events into sets of trace data, wherein inclusion in a set is based on function invocation relationships within the environment; and
providing data, by the application performance monitoring system, configurable to cause display of a first set of the trace data in a hierarchical format indicating a chain of related functions in the set.
2 . The method of claim 1 , wherein diagnostic data includes information associated with execution of the functions as the functions are executed in different components of the computing platform.
3 . The method of claim 1 , wherein the sets of the trace data include trees of time segments associated with durations of units of work performed in execution of functions.
4 . The method of claim 3 , wherein the display of the first set of the trace data comprises a one or more of the time segments.
5 . The method of claim 4 , wherein the display indicates context and timing of function invocations.
6 . The method of claim 1 , wherein respective parts of the displayed first set of the trace data in the hierarchical format are associated with component layers or interfaces in the environment.
7 . The method of claim 1 , wherein the identifiers include headers and collecting the events into the sets of the trace data comprises propagating the headers.
8 . A database system implemented via a server system, the database system configurable to cause:
monitoring execution of, by a computing platform, one or more functions instanced by external users for use by the computing platform;
generating, by the computing platform, trace data corresponding to one or more events that occur during execution of the functions, wherein respective ones of the events indicate diagnostic data for the functions and downstream dependencies;
applying, by an application performance monitoring system, identifiers to collect the events into sets of trace data, wherein inclusion in a set is based on function invocation relationships within the environment; and
providing data, by the application performance monitoring system, configurable to cause display of a first set of the trace data in a hierarchical format indicating a chain of related functions in the set.
9 . The database system of claim 8 , wherein diagnostic data includes information associated with execution of the functions as the functions are executed in different components of the computing platform.
10 . The database system of claim 8 , wherein the sets of the trace data include trees of time segments associated with durations of units of work performed in execution of functions.
11 . The database system of claim 10 , wherein the display of the first set of the trace data comprises a one or more of the time segments.
12 . The database system of claim 11 , wherein the display indicates context and timing of function invocations.
13 . The database system of claim 8 , wherein respective parts of the displayed first set of the trace data in the hierarchical format are associated with component layers or interfaces in the environment.
14 . The database system of claim 8 , wherein the identifiers include headers and collecting the events into the sets of trace data comprises propagating the headers.
15 . A computer program product comprising computer-readable program code capable of being executed by one or more processors when retrieved from a non-transitory computer-readable medium, the program code comprising computer-readable instructions configurable to cause:
monitoring execution of, by a computing platform, one or more functions instanced by external users for use by the computing platform;
generating, by the computing platform, trace data corresponding to one or more events that occur during execution of the functions, wherein respective ones of the events indicate diagnostic data for the functions and downstream dependencies;
applying, by an application performance monitoring system, identifiers to collect the events into sets of trace data, wherein inclusion in a set is based on function invocation relationships within the environment; and
providing data, by the application performance monitoring system, configurable to cause display of a first set of the trace data in a hierarchical format indicating a chain of related functions in the set.
16 . The computer program product of claim 15 , wherein diagnostic data includes information associated with execution of the functions as the functions are executed in different components of the computing platform.
17 . The computer program product of claim 15 , wherein the sets of the trace data include trees of time segments associated with durations of units of work performed in execution of functions.
18 . The computer program product of claim 17 , wherein the display of the first set of the trace data comprises a one or more of the time segments.
19 . The computer program product of claim 18 , wherein the display indicates context and timing of function invocations.
20 . The computer program product of claim 15 , wherein respective parts of the displayed first set of the trace data in the hierarchical format are associated with component layers or interfaces in the environment.