Class TelemetryInstrumentationProvider
Represents a provider that writes aggregated datums into remote telemetry receiver
Inheritance
System.Object
TelemetryInstrumentationProvider
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.Telemetry
Assembly: NFX.dll
Syntax
public class TelemetryInstrumentationProvider : LogInstrumentationProvider, IApplicationComponent, IDisposable, IService, INamed, IConfigurable, ILocalizedTimeProvider, IExternallyParameterized
Constructors
TelemetryInstrumentationProvider(InstrumentationService)
Declaration
public TelemetryInstrumentationProvider(InstrumentationService director)
Parameters
Type | Name | Description |
---|---|---|
InstrumentationService | director |
Properties
ReceiverNode
Provides remote telemetry receiver node
Declaration
[Config]
public string ReceiverNode { get; set; }
Property Value
Type | Description |
---|---|
System.String |
SiteName
Provides name for reporting site, if this property is blank then App.Name is used instead
Declaration
[Config]
public string SiteName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
UseLog
Determines whether to write to log as well
Declaration
[Config]
public bool UseLog { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
Destructor()
Declaration
protected override void Destructor()
Overrides
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