Diffusion Apple API
6.10.0
Unified Client Library for iOS, tvOS and OS X / macOS
|
The common base interface for metric collectors.
Instance Methods | |
(instancetype) | - reset |
Resets the builder. More... | |
(instancetype) | - exportToPrometheus: |
Specifies whether the metric collector should export metrics to Prometheus or not. More... | |
(instancetype) | - maximumGroups: |
Set the maximum number of groups maintained by the metric collector. More... | |
- (instancetype) exportToPrometheus: | (BOOL) | export |
Specifies whether the metric collector should export metrics to Prometheus or not.
The default is that metrics are not exported to Prometheus.
export | true to export metrics to Prometheus. |
- (instancetype) maximumGroups: | (NSInteger) | limit |
Set the maximum number of groups maintained by the metric collector.
By default, the number of groups is not limited.
limit | a positive integer |
- (instancetype) reset |
Resets the builder.