Class CompositeInstrumentationProvider
Represents a provider that writes aggregated datums to multiple destination provider
Inheritance
System.Object
CompositeInstrumentationProvider
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: NFX.Instrumentation
Assembly: NFX.dll
Syntax
public class CompositeInstrumentationProvider : InstrumentationProvider, IApplicationComponent, IDisposable, IService, INamed, IConfigurable, ILocalizedTimeProvider, IExternallyParameterized
Constructors
CompositeInstrumentationProvider(InstrumentationService)
Declaration
public CompositeInstrumentationProvider(InstrumentationService director)
Parameters
Type | Name | Description |
---|---|---|
InstrumentationService | director |
Properties
Providers
Returns destinations that this destination wraps. This call is thread safe
Declaration
public IEnumerable<InstrumentationProvider> Providers { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<InstrumentationProvider> |
Methods
AfterBatch(Object)
Declaration
protected override void AfterBatch(object batchContext)
Parameters
Type | Name | Description |
---|---|---|
System.Object | batchContext |
Overrides
AfterType(Type, Object, Object)
Declaration
protected override void AfterType(Type type, object batchContext, object typeContext)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type | |
System.Object | batchContext | |
System.Object | typeContext |
Overrides
BeforeBatch()
Declaration
protected override object BeforeBatch()
Returns
Type | Description |
---|---|
System.Object |
Overrides
BeforeType(Type, Object)
Declaration
protected override object BeforeType(Type type, object batchContext)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type | |
System.Object | batchContext |
Returns
Type | Description |
---|---|
System.Object |
Overrides
DoConfigure(IConfigSectionNode)
Declaration
protected override void DoConfigure(IConfigSectionNode node)
Parameters
Type | Name | Description |
---|---|---|
IConfigSectionNode | node |
Overrides
RegisterProvider(InstrumentationProvider)
Declaration
public void RegisterProvider(InstrumentationProvider provider)
Parameters
Type | Name | Description |
---|---|---|
InstrumentationProvider | provider |
UnRegisterProvider(InstrumentationProvider)
Declaration
public bool UnRegisterProvider(InstrumentationProvider provider)
Parameters
Type | Name | Description |
---|---|---|
InstrumentationProvider | provider |
Returns
Type | Description |
---|---|
System.Boolean |
Write(Datum, Object, Object)
Declaration
protected override void Write(Datum aggregatedDatum, object batchContext, object typeContext)
Parameters
Type | Name | Description |
---|---|---|
Datum | aggregatedDatum | |
System.Object | batchContext | |
System.Object | typeContext |
Overrides
Implements
System.IDisposable