Application Performance Monitoring
Estimated Reading Time: 5 minutes
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 End-users, also known as Express Users, are the individuals accessing an application through Express View. In most cases, end-users are the customers using the product. 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.
Unqork trace and span data is intended to integrate with your provider account so you can aggregate all observability data in one place. To enable APM in your environment, submit a request ticket at support.unqork.com. The Unqork support team will provide guidance on next steps.
IMPORTANT Depending on the amount of data, number of users and applications, frequency of use, and application complexity, additional costs might be required.
What You'll Learn
In this article, you'll learn about retrieving traces and gathering performance insights using Datadog and Splunk.
TIP 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.