Creating a DX Dashboard to filter DX APM Traces by TraceId
search cancel

Creating a DX Dashboard to filter DX APM Traces by TraceId

book

Article ID: 386511

calendar_today

Updated On:

Products

DX APM SaaS DX Operational Intelligence DX Operational Observability DX Application Performance Management

Issue/Introduction

What are the steps to create a DX Dashboard to filter APM Traces by TraceID

Environment

  • DX APM 2*
  • DX O2 2*

Resolution

Below is an example how to create a DX dashboards to filter Traces by TraceId

1) Create a new Dashboard, then select Add an empty panel

2) Open Dashboard settings

a) Select "General"  Tab 

Enter the dashboard Name and folder

b) Select "Variables" tab 

- Click " Create a New Variable" button

We will use this variable to filter by Application Name

General:
Name = ApplicationName
Type = Query
Label = ApplicationName

Query Options:
Data Source = AIOps_Metadata
Refresh = On Time Range Change
Primary Index = ao_apm_tt_2
Query = {"find":"terms","field":"summary.appName.kwd"}

Selection Options:
Multi-value = enabled
Include All options = enabled
Custom all value = *

Click Update button

Click " New" button, to create a new Variable to filter by TraceId

General:
Name = TraceId
Type = Text box
Label = TraceId

Text Options
Default value = *

Click Update button

3) Go back to the Edit Panel

For the query

Select AIOps_Metadata

Primary Index = ao_apm_tt_2
Query = summary.traceId:${TraceId:raw} AND summary.appName.kwd:${ApplicationName}
Metrics = Logs
Group by = Date Histogram

For the Panel: select Table

         Click "Save"  

  

4) Validation:

        Select a TraceId from the list and validate the filter

 

 

Additional Information