Interface ITopicMetricCollectorBuilder
A topic metric collector builder.
Inherited Members
Namespace: PushTechnology.ClientInterface.Client.Features.Metrics
Assembly: Diffusion.Client.dll
Syntax
public interface ITopicMetricCollectorBuilder : IMetricCollectorBuilder
Methods
Create(String, String)
Create a new ITopicMetricCollector using the values currently known to this builder.
Declaration
ITopicMetricCollector Create(string name, string topicSelector)
Parameters
Type | Name | Description |
---|---|---|
String | name | The name of the ITopicMetricCollector. |
String | topicSelector | The selector pattern that specifies the topics for which metrics are to be collected. |
Returns
Type | Description |
---|---|
ITopicMetricCollector | A new ITopicMetricCollector with all of the current settings of this builder. |
GroupByPathPrefixParts(Int32)
Specifies the number of leading parts of the topic path the metric collector should use to group results. Since 6.8.
Declaration
ITopicMetricCollectorBuilder GroupByPathPrefixParts(int parts)
Parameters
Type | Name | Description |
---|---|---|
Int32 | parts | The number of leading parts of the topic path to group by. Set to 0 to disable grouping by path. |
Returns
Type | Description |
---|---|
ITopicMetricCollectorBuilder | This builder. |
GroupByTopicType(Boolean)
Specifies whether the metric collector should group by topic type.
Declaration
ITopicMetricCollectorBuilder GroupByTopicType(bool groupByTopicType)
Parameters
Type | Name | Description |
---|---|---|
Boolean | groupByTopicType | True to indicate that the collector should group by topic type. |
Returns
Type | Description |
---|---|
ITopicMetricCollectorBuilder | This builder. |