Application Performance Monitoring
Overview
Application Performance Monitoring (APM) continuously monitors Unqork application performance and availability by analyzing various metrics. APM lets you continuously detect and resolve issues before they impact an end-user's or business' processes. That way, you can minimize downtime and optimize performance.
As part of our first release, we are integrating with Datadog and Splunk. They are the leading solutions providers, letting us monitor Unqork servers. Using Datadog or Splunk, Unqork can provide near real-time trace and span telemetry related to module, workflow, and component executions. You can use this telemetry to give you insight into an application’s performance.
Enabling APM in Your Environment
Unqork trace and span data is intended to integrate with your provider account so you can aggregate all observability data in one place.
1. | Reach out to your provider to set up an account. |
2. | The account must be under your ownership and not Unqork's ownership. |
3. | Submit a request ticket at support.unqork.com to enable APM in your environment. |
Depending on the amount of data, number of users and applications, frequency of use, and application complexity, additional costs might be required.
This article is intended to be a quick reference guide to help you set up Datadog or Splunk integration. Click the relevant tab below to view that specific documentation.
Datadog APM Integration
With Datadog APM integration, you can use telemetry to create metrics, alerts, and dashboards about an application’s performance. You can also use custom facets to create filters where application context is available—for example, moduleId. The images below are a typical example of creating a facet for a specified module ID(s).
Viewing a Trace
Traces are a collection of correlated spans or structured logs that provide a high-level view of what occurs when an application request is made. You can access traces from the APM drop-down in the side menu of your Datadog account.
Let's use the image below as an example to better explain a Datadog trace. In this image, you can see the spans that describe a workflow execution in an Unqork application. The image displays the child processes that occur as part of the parent process. The execution starts with the startNewSubmission parent operation. As part of the parent, the executeCurrentWorkflowStep child operations run. Then, the parent process ends.
Viewing a Span
Let's look deeper into one of the executeCurrentWorkflowStep spans to understand what happened during the workflow execution. In the image to the right, we can see detailed information about the execution step. From the Datadog tags, we get insight about the application that was executed and where the data exists in Datadog. The following table highlights some of the most important information:
|
Building Custom Metrics
Now that you have your trace, you can build a custom metric to filter by a specified query. In this example, we'll query based on a specific Unqork environment and application ID. The following example returns information for an application ID in the specified Unqork environment.
To create a custom metric:
Once created, you can use this metric to configure dynamic charts in a dashboard to visualize the performance of your applications. |