IBM Verify

IBM Verify

Join this online user group to communicate across Security product users and IBM experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only

Monitoring IVIA Custom Classes and Methods in Dynatrace

By Siddhesh Suryawanshi posted 27 days ago

  

Monitoring IVIA Custom Classes and Methods in Dynatrace 

When integrating observability tools like Dynatrace with IBM Verify Identity Access (IVIA), it’s common to monitor predefined components such as HTTP requests, LDAP calls, or REST endpoint

But what if you want to monitor specific classes and methods — for example, internal utility classes.method like com.ibm.security.access.httpclient.HttpClientV2.httpPost?

In this post, we’ll see how to achieve this without enabling application-level logs or full tracing, using Dynatrace Custom Service Detection

Prerequisites:

Before you begin, make sure the following setup is in place:

1.You have a working Dynatrace tenant
2.Dynatrace OneAgent is installed and running on your IVIA environment
3.OneAgent is successfully connected to your Dynatrace tenant

Step 1: Identify the Class and Method

Before configuring Dynatrace, you need to know which class and method you want to monitor
You can find this by Reviewing Javadoc - example:

https://ibm-security.github.io/apidocs/verifyidentityaccess/11.0.0.0/IVIA-javadoc/index.html


Step 2: Define a Custom Service in Dynatrace

Now that you know which class and method you want to observe, define it as a custom service in Dynatrace

1.Go to Settings → Service detection → Custom service detection
2.Define Java Service
3.Name your custom service
4.Define entry point manually
5.Enter the Fully Qualified Class Name — for example:

com.ibm.security.access.httpclient.HttpClientV2


6.Add method manually - for example:

httpPost


7.Optionally you can restrict custom service rules by process groups - for example:

WebSphere Liberty runtime


Step 3: Enable Real-Time Updates for Java Services

1.Go to Settings → Server-side service monitoring → Deep monitoring → Real-time updates to Java and PHP services
2. Toggle (Enable real-time updates to Java services)

This ensures Dynatrace begins detecting your newly defined class and method without needing a full redeploy


Step 4: Visualize in Dynatrace

Once your custom service is detected:

1.Reproduce the scenario
2.Navigate to Services → Explorer → Services → Performance menu → Select newly defined service → Overview
3. You’ll now see key metrics such as:

  • Response time

  • Throughput

  • Failure rate



With just a few clicks, you can monitor any internal class or method across IVIA using Dynatrace’s Custom Service Detection

This approach offers a perfect balance between granularity and performance, giving deep visibility into what truly matters without the noise

0 comments
15 views

Permalink