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

Introduction

The common base interface for metric collectors.

Since
6.7
Inheritance diagram for PTDiffusionMetricCollector:
PTDiffusionSessionMetricCollector PTDiffusionTopicMetricCollector

Properties

NSString * name
 
BOOL exportsToPrometheus
 
NSInteger maximumGroups
 Limit the number of groups maintained by this metric collector. More...
 

Property Documentation

- (BOOL) exportsToPrometheus
readnonatomicassign

Indicates whether the metric collector exports to Prometheus.

Since
6.7
- (NSInteger) maximumGroups
readnonatomicassign

Limit the number of groups maintained by this metric collector.

Session metric collectors can group metrics by property. Topic metric collectors can group metrics by topic type. This property places an upper limit on the number of groups that will be maintained for the metric collector.

For example, if a session metric collector groups by $SessionId and maximumGroups is 10, then metrics will only be collected for the first 10 sessions.

Since
6.8
- (NSString*) name
readnonatomicassign

Name of the metric collector

Since
6.7