Diffusion Apple API  6.7.4
Unified Client Library for iOS, tvOS and OS X / macOS
 All Classes Files Functions Variables Enumerations Enumerator Properties Pages
Instance Methods | List of all members
PTDiffusionTopicMetricCollectorBuilder Class Reference

Introduction

A topic metric collector builder.

Since
6.7
Inheritance diagram for PTDiffusionTopicMetricCollectorBuilder:
PTDiffusionMetricCollectorBuilder

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...
 

Method Documentation

- (PTDiffusionTopicMetricCollector *) createCollectorWithName: (NSString *const)  name
andTopicSelector: (NSString *const)  topicSelector 

Create a new PTDiffusionTopicMetricCollector using the values currently known to this builder.

Parameters
namethe name of the PTDiffusionTopicMetricCollector
topicSelectorthe selector pattern that specifies the topics for which metrics are to be collected.
Returns
a new PTDiffusionTopicMetricCollector with all of the current settings of this builder.
Since
6.7
- (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.

Parameters
groupByTopicTypetrue to indicate that the collector should group by topic type
Returns
the builder
Since
6.7