Showing results for 
Show  only  | Search instead for 
Did you mean: 

Montoring key requests using Performance Signature plugin


I'm using the Jenkins Performance Signature plugin with Dynatrace SAAS. It works as expected, but I'm having difficulty including Key Requests metrics in the performance report. In the spec file I have, for example:

"spec_version": "2.0",
"timeseries": [
"timeseriesId": "builtin:service.keyRequest.count.server",
"aggregation": "count",
"entityIds": "SERVICE_METHOD-xxxxxxxxxxxxxxxx"
"timeseriesId": "builtin:service.keyRequest.response.server",
"aggregation": "percentile",
"entityIds": "SERVICE_METHOD-xxxxxxxxxxxxxxx",
"upperSevere": 1000000,
"upperWarning": 900000

where xxxxxxxxxxxxxxxx is the 16 character alphanumeric Service Method ID in the Dynatrace URL when I click on the appropriate key request.

However, when I run my Jenkins pipeline, in the console output I get:

at de.tsystems.mms.apm.performancesignature.dynatracesaas.DynatraceReportStepExecution.lambda$validateSpecTMs$24(
at java.util.ArrayList.forEach(Unknown Source)
at de.tsystems.mms.apm.performancesignature.dynatracesaas.DynatraceReportStepExecution.validateSpecTMs(
at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(
at java.util.concurrent.Executors$ Source)
at Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$ Source)
at Source)
Finished: FAILURE

If I remove the keyRequest timeseries from the spec file Performance Signature handles the remaining definitions without problems.

I'm wondering whether it's because the keyRequest metrics seem to exist only in Dynatrace's Metrics v2 API, rather than the Timeseries v1 API. If so, does the definition in the spec file have to be altered before Performance Signature can process it correctly?

More broadly, if this doesn't work, are there any alternative approaches to include key request metrics in Performance Signature? The ideal, for me, would be a way of testing whether the 95th percentile timing for requests breaches a target (1 second, for example). I can obtain this information at a service level easily enough by using tags, but as far as I'm aware I can't tag individual requests (hence my attempted use of keyRequest timeseries.


@raphael_pionke, @andreas_grabner , any ideas, please?





Dynatrace Guru
Dynatrace Guru

Hi. The Performance Signature Plugin has a listing on the Dynatrace Hub with a link to a support email in case you have questions. While Raphael might watch this community portal I suggest you reach out to that support email as well. Here is the link to the hub listing: