We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
SpanAttributeConvertible
Int32
1 parent d1ba77e commit 149fa4cCopy full SHA for 149fa4c
Sources/Tracing/SpanProtocol.swift
@@ -441,6 +441,12 @@ extension Array where Element == Int {
441
}
442
443
444
+extension Array where Element == Int32 {
445
+ public func toSpanAttribute() -> SpanAttribute {
446
+ .int32Array(self)
447
+ }
448
+}
449
+
450
extension Array where Element == Int64 {
451
public func toSpanAttribute() -> SpanAttribute {
452
.int64Array(self)
@@ -515,6 +521,12 @@ extension Int: SpanAttributeConvertible {
515
521
516
522
517
523
524
+extension Int32: SpanAttributeConvertible {
525
526
+ .int32(self)
527
528
529
518
530
extension Int64: SpanAttributeConvertible {
519
531
520
532
.int64(self)
0 commit comments