Drilldown Configurations
When working with spans, you can configure drilldowns to other services.
Drilldowns are links to other services in OCI or other custom services
using customizable URLs including attributes from spans (e.g.
loganalytics/explorer?search=<OciInstanceId>
where
OciInstanceId
is a span attribute).
Drilldown configurations lists all the drilldowns available in your domain.
You can create new Drilldowns with optional conditions using the Create Drilldown button. A Drilldown could be used for all spans in the respective domain, but only shows as an Available Drilldown for a span if the attributes and the optional conditions of the drilldown apply.
Example:
This example shows how to create a custom drilldown to the Database
Management Performance Hub page using the
DbOracleSqlId
for the current span.
- Open the APM Domain page and open Drilldown configurations located under Resources at the bottom of the page. Then, click Create Drilldown.
- Enter a name for the drilldown.
- Enter the bellow URL, where
https://cloud.oracle.com/dbmgmt-ui/perfhub?ocid=ocid1.autonomousdatabase.oc1.iad.abcdefghijklmnopqrstuvwxyz1234567890abcdefghijklmnopqrstuvwx&perfhubContext={"dateTime":{"period":"LAST_24_HOUR"},"viewPort":{"startDate":"<StartTimeInMs>","endDate":"<EndTimeInMs>"},"selectedTab":{"name":"activityTab","filters":[{"key":"filter_list","value":"{\"sqlid\":{\"value\":\"<DbOracleSqlId>\",\"disabled\":false}}"},{"key":"dimensionId","value":"sqlid"}]}}
is the destination of the drilldown and<DbOracleSqlId>
,<StartTimeInMs>
and<EndTimeInMs>
are the attributes used in the destination.https://cloud.oracle.com/dbmgmt-ui/perfhub?ocid=ocid1.autonomousdatabase.oc1.iad.abcdefghijklmnopqrstuvwxyz1234567890abcdefghijklmnopqrstuvwx&perfhubContext={"dateTime":{"period":"LAST_24_HOUR"},"viewPort":{"startDate":"<StartTimeInMs>","endDate":"<EndTimeInMs>"},"selectedTab":{"name":"activityTab","filters":[{"key":"filter_list","value":"{\"sqlid\":{\"value\":\"<DbOracleSqlId>\",\"disabled\":false}}"},{"key":"dimensionId","value":"sqlid"}]}}
- Enter the bellow condition so only spans with a
DbConnUrl
dimension with this value will have this drilldown show up. Click Validate Condition and check for errors.DbConnUrl='jdbc:oracle:thin:@adb.us-ashburn-1.oraclecloud.com:1522:g123f12345f_xxxx_low.adb.oraclecloud.com'
- Click Save.
The drilldown will show in the list of Drilldown configurations. Use the menu if you want to Edit, Copy and Delete it.