Diffusion Apple API
6.7.4
Unified Client Library for iOS, tvOS and OS X / macOS
|
A topic metric collector builder.
Instance Methods | |
(instancetype) | - groupByTopicType: |
(PTDiffusionTopicMetricCollector *) | - createCollectorWithName:andTopicSelector: |
Create a new PTDiffusionTopicMetricCollector using the values currently known to this builder. More... | |
Instance Methods inherited from PTDiffusionMetricCollectorBuilder | |
(instancetype) | - reset |
Resets the builder. More... | |
(instancetype) | - exportToPrometheus: |
Specifies whether the metric collector should export metrics to Prometheus or not. More... | |
- (PTDiffusionTopicMetricCollector *) createCollectorWithName: | (NSString *const) | name | |
andTopicSelector: | (NSString *const) | topicSelector | |
Create a new PTDiffusionTopicMetricCollector using the values currently known to this builder.
name | the name of the PTDiffusionTopicMetricCollector |
topicSelector | the selector pattern that specifies the topics for which metrics are to be collected. |
- (instancetype) groupByTopicType: | (BOOL) | groupByTopicType |
Specifies whether the metric collector should group by topic type.
By default, a topic metric collector does not group by topic type.
groupByTopicType | true to indicate that the collector should group by topic type |