Attributes in the Honeycomb OpenTelemetry Swift SDK

When you instrument your application using the Honeycomb OpenTelemetry Swift SDK, spans automatically include a standard set of attributes. These attributes provide essential context about the environment, runtime, device, and SDK versions–helping you understand where and how telemetry is being generated.

Core Span Attributes 

Every span includes some core attributes.

  • honeycomb.distro.runtime_version: Operating system version on the device.
  • honeycomb.distro.version: Version of the Honeycomb SDK in use.
  • os.description: String describing the OS version, build ID, and SDK level.
  • os.name: OS name. Always iOS for iOS devices.
  • os.type: OS type. Always darwin on Apple platforms.
  • os.version: Current OS Version.
  • service.name: Name of your application. Set via setServiceName() or inferred from your bundle.
  • service.version: Version of your application. Set via setServiceVersion(). Defaults to being inferred from your bundle.
  • telemetry.distro.name: Name of the Honeycomb SDK in use. Always honeycomb-opentelemetry-swift for the Honeycomb OpenTelemetry Swift SDK.
  • telemetry.distro.version: Version of the Honeycomb SDK in use.
  • telemetry.sdk.language: Coding language for the Honeycomb SDK in use. Always swift for the Honeycomb OpenTelemetry Swift SDK.
  • telemetry.sdk.name: Name of the telemetry SDK used to generate telemetry data. Always opentelemetry for the Honeycomb OpenTelemetry Swift SDK.
  • telemetry.sdk.version: Version of the OpenTelemetry SDK in use.

UIDevice Attributes 

If your application uses UIKit, the SDK also includes device-level attributes from UIDevice. These give insight into the physical device running your application.

MetricKit Attributes 

If MetricKit is available and you’ve enabled MetricKit instrumentation, the SDK adds system performance and behavior metrics. These help identify performance bottlenecks, power usage trends, and device conditions.

Application Metadata 

Application Version History 

CPU and GPU Usage 

Cellular Connectivity 

Application Run Time 

Location Accuracy 

Network Transfer 

Application Launch 

Application Responsiveness 

Disk I/O 

Memory 

Display 

Animation 

Application Exit Metrics 

Diagnostics