z/OS Connect trace attributes with OpenTelemetry
Created: | Updated:
z/IRIS creates traces from SMF type 123 version 2 records. Below is a list of all z/OS Connect related attributes/tags created and used by z/IRIS for mainframe-related APM traces, as well as the IBM SMF record values that z/IRIS uses to populate the attribute/tag values.
Attribute context
Attribute Prefix | Mainframe system context |
---|---|
zos.** | IBM z/OS operating system-wide identifiers. For example, zos.sysplex.name identifies the z/OS LPAR cluster that processed the requests and can be found in all mainframe related spans to identify any request processed by the same zos.sysplex.name. |
zos.connect.** | IBM's z/OS Connect. |
host.** | Host attributes as defined in OpenTelemetry's resource semantic conventions. |
http.** | HTTP attributes as defined in OpenTelemetry's trace semantic conventions. |
Trace semantics
z/OS Connect span
Child of REST API call
Represents REST API calls that are processed by a z/OS Connect server. In addition to duration and return code, this span also contains information about the server (resource attributes) and the request (tag attributes).
Attributes list
Resource attributes
Name | IBM SMF source |
---|---|
|
|
|
constant value |
|
|
|
constant value |
|
constant value |
|
constant value |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Tag attributes
Name | IBM SMF source |
---|---|
|
An error description will be added here if the http.status_code >= 400 && http.status_code <= 502 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
System-Of-Record (SOR) span
Represents REST API calls processed by the SOR backend system configured for the z/OS Connect server. It includes metadata about the SOR.
SOR service name mapping
service.name | Condition |
---|---|
db2 | When |
rest | When |
wola | When |
cics | When |
ims | When |
mq | When |
Tag attributes
Name | IBM SMF source |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Db2 SOR tags
Name | IBM SMF source |
---|---|
|
Substring of this value |
|
Substring of this value |
|
Substring of this value |
| db2 constant value |
CICS SOR tags
Name | IBM SMF source |
---|---|
|
|
IMS SOR tags
Name | IBM SMF source |
---|---|
|
|
WOLA SOR tags
Name | IBM SMF source |
---|---|
|
|
MQ SOR tag
Tag | IBM SMF source |
---|---|
|
|