Skip to content

Commit ff3c2a7

Browse files
committed
public methods
1 parent d0efc23 commit ff3c2a7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Sources/OpenTelemetrySdk/Metrics/Stable/Aggregation/Aggregation.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,27 +8,27 @@ import Foundation
88
public protocol Aggregation : AggregatorFactory {}
99

1010
public class Aggregations {
11-
static func drop() -> Aggregation {
11+
public static func drop() -> Aggregation {
1212
DropAggregation.instance
1313
}
1414

15-
static func defaultAggregation() -> Aggregation {
15+
public static func defaultAggregation() -> Aggregation {
1616
DefaultAggregation.instance
1717
}
1818

19-
static func sum() -> Aggregation {
19+
public static func sum() -> Aggregation {
2020
SumAggregation.instance
2121
}
2222

23-
static func lastValue() -> Aggregation {
23+
public static func lastValue() -> Aggregation {
2424
LastValueAggregation.instance
2525
}
2626

27-
static func explicitBucketHistogram() -> Aggregation {
27+
public static func explicitBucketHistogram() -> Aggregation {
2828
ExplicitBucketHistogramAggregation.instance
2929
}
3030

31-
static func explicitBucketHistogram(buckets: [Double]) -> Aggregation {
31+
public static func explicitBucketHistogram(buckets: [Double]) -> Aggregation {
3232
ExplicitBucketHistogramAggregation(bucketBoundries: buckets)
3333
}
3434

0 commit comments

Comments
 (0)