@@ -33,9 +33,6 @@ public final class Counter {
33
33
34
34
/// Alternative way to create a new `Counter`, while providing an explicit `CounterHandler`.
35
35
///
36
- /// - warning: This initializer provides an escape hatch for situations where one must use a custom factory instead of the global one.
37
- /// We do not expect this API to be used in normal circumstances, so if you find yourself using it make sure it's for a good reason.
38
- ///
39
36
/// - SeeAlso: Use `init(label:dimensions:)` to create `Counter` instances using the configured metrics backend.
40
37
///
41
38
/// - parameters:
@@ -52,9 +49,6 @@ public final class Counter {
52
49
53
50
/// Alternative way to create a new `Counter`, while providing an explicit `CounterHandler`.
54
51
///
55
- /// - warning: This initializer provides an escape hatch for situations where one must use a custom factory instead of the global one.
56
- /// We do not expect this API to be used in normal circumstances, so if you find yourself using it make sure it's for a good reason.
57
- ///
58
52
/// - SeeAlso: Use `init(label:dimensions:)` to create `Counter` instances using the configured metrics backend.
59
53
///
60
54
/// - parameters:
@@ -147,9 +141,6 @@ public final class FloatingPointCounter {
147
141
148
142
/// Alternative way to create a new `FloatingPointCounter`, while providing an explicit `FloatingPointCounterHandler`.
149
143
///
150
- /// - warning: This initializer provides an escape hatch for situations where one must use a custom factory instead of the global one.
151
- /// We do not expect this API to be used in normal circumstances, so if you find yourself using it make sure it's for a good reason.
152
- ///
153
144
/// - SeeAlso: Use `init(label:dimensions:)` to create `FloatingPointCounter` instances using the configured metrics backend.
154
145
///
155
146
/// - parameters:
@@ -171,9 +162,6 @@ public final class FloatingPointCounter {
171
162
172
163
/// Alternative way to create a new `FloatingPointCounter`, while providing an explicit `FloatingPointCounterHandler`.
173
164
///
174
- /// - warning: This initializer provides an escape hatch for situations where one must use a custom factory instead of the global one.
175
- /// We do not expect this API to be used in normal circumstances, so if you find yourself using it make sure it's for a good reason.
176
- ///
177
165
/// - SeeAlso: Use `init(label:dimensions:)` to create `FloatingPointCounter` instances using the configured metrics backend.
178
166
///
179
167
/// - parameters:
@@ -287,9 +275,6 @@ public final class Meter {
287
275
288
276
/// Alternative way to create a new `Meter`, while providing an explicit `MeterHandler`.
289
277
///
290
- /// - warning: This initializer provides an escape hatch for situations where one must use a custom factory instead of the global one.
291
- /// We do not expect this API to be used in normal circumstances, so if you find yourself using it make sure it's for a good reason.
292
- ///
293
278
/// - SeeAlso: Use `init(label:dimensions:)` to create `Meter` instances using the configured metrics backend.
294
279
///
295
280
/// - parameters:
@@ -306,9 +291,6 @@ public final class Meter {
306
291
307
292
/// Alternative way to create a new `Meter`, while providing an explicit `MeterHandler`.
308
293
///
309
- /// - warning: This initializer provides an escape hatch for situations where one must use a custom factory instead of the global one.
310
- /// We do not expect this API to be used in normal circumstances, so if you find yourself using it make sure it's for a good reason.
311
- ///
312
294
/// - SeeAlso: Use `init(label:dimensions:)` to create `Meter` instances using the configured metrics backend.
313
295
///
314
296
/// - parameters:
@@ -422,9 +404,6 @@ public class Recorder {
422
404
423
405
/// Alternative way to create a new `Recorder`, while providing an explicit `RecorderHandler`.
424
406
///
425
- /// - warning: This initializer provides an escape hatch for situations where one must use a custom factory instead of the global one.
426
- /// We do not expect this API to be used in normal circumstances, so if you find yourself using it make sure it's for a good reason.
427
- ///
428
407
/// - SeeAlso: Use `init(label:dimensions:)` to create `Recorder` instances using the configured metrics backend.
429
408
///
430
409
/// - parameters:
@@ -449,9 +428,6 @@ public class Recorder {
449
428
450
429
/// Alternative way to create a new `Recorder`, while providing an explicit `RecorderHandler`.
451
430
///
452
- /// - warning: This initializer provides an escape hatch for situations where one must use a custom factory instead of the global one.
453
- /// We do not expect this API to be used in normal circumstances, so if you find yourself using it make sure it's for a good reason.
454
- ///
455
431
/// - SeeAlso: Use `init(label:dimensions:)` to create `Recorder` instances using the configured metrics backend.
456
432
///
457
433
/// - parameters:
@@ -594,9 +570,6 @@ public final class Timer {
594
570
595
571
/// Alternative way to create a new `Timer`, while providing an explicit `TimerHandler`.
596
572
///
597
- /// - warning: This initializer provides an escape hatch for situations where one must use a custom factory instead of the global one.
598
- /// We do not expect this API to be used in normal circumstances, so if you find yourself using it make sure it's for a good reason.
599
- ///
600
573
/// - SeeAlso: Use `init(label:dimensions:)` to create `Recorder` instances using the configured metrics backend.
601
574
///
602
575
/// - parameters:
@@ -613,9 +586,6 @@ public final class Timer {
613
586
614
587
/// Alternative way to create a new `Timer`, while providing an explicit `TimerHandler`.
615
588
///
616
- /// - warning: This initializer provides an escape hatch for situations where one must use a custom factory instead of the global one.
617
- /// We do not expect this API to be used in normal circumstances, so if you find yourself using it make sure it's for a good reason.
618
- ///
619
589
/// - SeeAlso: Use `init(label:dimensions:)` to create `Recorder` instances using the configured metrics backend.
620
590
///
621
591
/// - parameters:
@@ -876,8 +846,7 @@ public enum MetricsSystem {
876
846
/// * `Recorder` -> `RecorderHandler`
877
847
/// * `Timer` -> `TimerHandler`
878
848
///
879
- /// - warning: This type is an implementation detail and should not be used directly, unless implementing your own metrics backend.
880
- /// To use the SwiftMetrics API, please refer to the documentation of `MetricsSystem`.
849
+ /// To use the SwiftMetrics API, please refer to the documentation of `MetricsSystem`.
881
850
///
882
851
/// # Destroying metrics
883
852
///
0 commit comments