File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Sources/OpenTelemetrySdk/Metrics/Stable/View Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ public protocol AttributeProcessorProtocol {
1111}
1212public 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
You can’t perform that action at this time.
0 commit comments