File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Sources/Swift/Integrations/Metrics Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 1010 /// Prefer stable, lowercase, dot-delimited names to aid aggregation and filtering.
1111 /// - value: The count value to record. Typically a non-negative integer (e.g., 1 to increment by one).
1212 /// Values less than zero may be ignored or clamped by the metrics backend.
13+ @objc ( count: value: )
1314 public func count( key: String , value: Int ) {
1415 // noop
1516 }
2526 /// Prefer stable, lowercase, dot-delimited names to aid aggregation and filtering.
2627 /// - value: The value to record in the distribution. This can be any numeric value
2728 /// representing the measurement (e.g., milliseconds for response time).
29+ @objc ( distribution: value: )
2830 public func distribution( key: String , value: Double ) {
2931 // noop
3032 }
4042 /// Prefer stable, lowercase, dot-delimited names to aid aggregation and filtering.
4143 /// - value: The current gauge value to record. This represents the state at the time of
4244 /// recording (e.g., current memory in bytes, current number of items in queue).
45+ @objc ( gauge: value: )
4346 public func gauge( key: String , value: Double ) {
4447 // noop
4548 }
You can’t perform that action at this time.
0 commit comments