Skip to content

WAS ResponseTimes: Disaggregate non-HTTP response times #302

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 24, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* */
/* Copyright 2021 IBM Corp. */
/* Copyright 2025 IBM Corp. */
/* */
/* Licensed under the Apache License, Version 2.0 (the "License"); */
/* you may not use this file except in compliance with the License. */
Expand Down Expand Up @@ -110,6 +110,39 @@ public int supportedVersion() {
return s_supportedVersion;

} // supportedVersion()

public String getRequestTypeString() {
switch (m_requestType) {
case TypeUnknown:
return "Unknown";
case TypeIIOP:
return "IIOP";
case TypeHTTP:
return "HTTP";
case TypeHTTPS:
return "HTTPS";
case TypeMDBA:
return "MDBA";
case TypeMDBB:
return "MDBB";
case TypeMDBC:
return "MDBC";
case TypeSIP:
return "SIP";
case TypeSIPS:
return "SIPS";
case TypeMBean:
return "MBean";
case TypeOTS:
return "OTS";
case TypeOther:
return "Other";
case TypeOLA:
return "OLA";
default:
return "MissingCase";
}
}


//----------------------------------------------------------------------------
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* */
/* Copyright 2024 IBM Corp. */
/* Copyright 2025 IBM Corp. */
/* */
/* Licensed under the Apache License, Version 2.0 (the "License"); */
/* you may not use this file except in compliance with the License. */
Expand Down Expand Up @@ -162,6 +162,7 @@ public void processRecord(SmfRecord record) {
}

// From the Platform Neutral Request Info Section
String requestTypeString = null;
zOSRequestTriplet = rec.m_platformNeutralRequestInfoTriplet;
sectionCount = zOSRequestTriplet.count();
if (sectionCount > 0)
Expand All @@ -173,6 +174,8 @@ public void processRecord(SmfRecord record) {

// Accumulate CPU time in milliseconds
cpuTime = sec.m_dispatchTcbCpu/1000;

requestTypeString = sec.getRequestTypeString();
}

String breakdownKey = null;
Expand Down Expand Up @@ -236,6 +239,10 @@ public void processRecord(SmfRecord record) {
}
}

if (uri == null && requestTypeString != null) {
uri = requestTypeString;
}

// From the network section
zOSRequestTriplet = rec.m_networkDataTriplet;
sectionCount = zOSRequestTriplet.count();
Expand Down