Skip to content

Commit d0efc23

Browse files
committed
public functions
1 parent f83fc4e commit d0efc23

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Sources/OpenTelemetrySdk/Metrics/Stable/View/AttributeProcessor.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public protocol AttributeProcessorProtocol {
1111
}
1212
public class AttributeProcessor : AttributeProcessorProtocol {
1313

14-
func then(other : AttributeProcessor) -> AttributeProcessor {
14+
public func then(other : AttributeProcessor) -> AttributeProcessor {
1515
if type(of: other) == NoopAttributeProcessor.self {
1616
return self
1717
}
@@ -30,15 +30,15 @@ public class AttributeProcessor : AttributeProcessorProtocol {
3030
return incoming
3131
}
3232

33-
static func filterByKeyName( nameFilter : @escaping (String) -> Bool) -> AttributeProcessor {
33+
public static func filterByKeyName( nameFilter : @escaping (String) -> Bool) -> AttributeProcessor {
3434
return SimpleAttributeProcessor { attributes in
3535
attributes.filter { key, value in
3636
nameFilter(key)
3737
}
3838
}
3939
}
4040

41-
static func append(attributes: [String : AttributeValue]) -> AttributeProcessor {
41+
public static func append(attributes: [String : AttributeValue]) -> AttributeProcessor {
4242
SimpleAttributeProcessor { incoming in
4343
incoming.merging(attributes) { a, b in
4444
b

0 commit comments

Comments
 (0)