Tls Attributes

2 attributes in this category.2 stable

2 attributes

Stable Attributes

tls.protocol.name

stringScrub: ManualVisibility: PublicOTel: True

Normalized lowercase protocol name parsed from the negotiated SSL/TLS protocol version

Examplestlsssl
Additional Context
  • Extract the protocol name from the negotiated SSL/TLS version string and normalize it to lowercase, without the version. For example, TLSv1.3 becomes tls and SSLv3 becomes ssl.
Changelog
v0.31.0#772Added tls.protocol.name attribute
Raw JSON
{
  "key": "tls.protocol.name",
  "brief": "Normalized lowercase protocol name parsed from the negotiated SSL/TLS protocol version",
  "type": "string",
  "apply_scrubbing": {
    "key": "manual"
  },
  "is_in_otel": true,
  "visibility": "public",
  "examples": [
    "tls",
    "ssl"
  ],
  "additional_context": [
    "Extract the protocol name from the negotiated SSL/TLS version string and normalize it to lowercase, without the version. For example, TLSv1.3 becomes tls and SSLv3 becomes ssl."
  ],
  "changelog": [
    {
      "version": "0.31.0",
      "prs": [
        772
      ],
      "description": "Added tls.protocol.name attribute"
    }
  ]
}

tls.protocol.version

stringScrub: ManualVisibility: PublicOTel: True

Numeric part of the version parsed from the negotiated SSL/TLS protocol version

Examples1.21.33
Additional Context
  • Extract only the numeric version from the negotiated SSL/TLS version string. For example, TLSv1.3 becomes 1.3 and SSLv3 becomes 3. Do not include the protocol name or the v prefix.
Changelog
v0.31.0#772Added tls.protocol.version attribute
Raw JSON
{
  "key": "tls.protocol.version",
  "brief": "Numeric part of the version parsed from the negotiated SSL/TLS protocol version",
  "type": "string",
  "apply_scrubbing": {
    "key": "manual"
  },
  "is_in_otel": true,
  "visibility": "public",
  "examples": [
    "1.2",
    "1.3",
    "3"
  ],
  "additional_context": [
    "Extract only the numeric version from the negotiated SSL/TLS version string. For example, TLSv1.3 becomes 1.3 and SSLv3 becomes 3. Do not include the protocol name or the v prefix."
  ],
  "changelog": [
    {
      "version": "0.31.0",
      "prs": [
        772
      ],
      "description": "Added tls.protocol.version attribute"
    }
  ]
}