Skip to main content

ProfilerDiagnosticObserver

Assembly: ServiceStack.dll
View Source
Declaration
public sealed class ProfilerDiagnosticObserver : IObserver<DiagnosticListener>, IObserver<KeyValuePair<string, object>>

Properties

AnalyzeCommandLength

View Source
Declaration
public static int AnalyzeCommandLength { get; set; }

Fields

entries

View Source
Declaration
protected readonly ConcurrentQueue<DiagnosticEntry> entries

Methods

IObserver<DiagnosticListener>.OnNext(DiagnosticListener)

View Source
Declaration
void IObserver<DiagnosticListener>.OnNext(DiagnosticListener diagnosticListener)
Parameters
TypeName
DiagnosticListenerdiagnosticListener

OnCompleted()

View Source
Declaration
public void OnCompleted()

OnError(Exception)

View Source
Declaration
public void OnError(Exception error)
Parameters
TypeName
System.Exceptionerror

GetLatestEntries(Nullable<Int32>)

View Source
Declaration
public List<DiagnosticEntry> GetLatestEntries(int? take)
Returns

System.Collections.Generic.List<ServiceStack.DiagnosticEntry>

Parameters
TypeName
System.Nullable<System.Int32>take

GetPendingEntries(Nullable<Int32>)

View Source
Declaration
public List<DiagnosticEntry> GetPendingEntries(int? take)
Returns

System.Collections.Generic.List<ServiceStack.DiagnosticEntry>

Parameters
TypeName
System.Nullable<System.Int32>take

CreateDiagnosticEntry(DiagnosticEvent, DiagnosticEvent)

View Source
Declaration
public DiagnosticEntry CreateDiagnosticEntry(DiagnosticEvent e, DiagnosticEvent orig = null)
Returns

ServiceStack.DiagnosticEntry

Parameters
TypeName
ServiceStack.DiagnosticEvente
ServiceStack.DiagnosticEventorig

SetException(DiagnosticEntry, Exception)

View Source
Declaration
public static void SetException(DiagnosticEntry to, Exception ex)
Parameters
TypeName
ServiceStack.DiagnosticEntryto
System.Exceptionex

Filter(DiagnosticEntry, DiagnosticEvent)

View Source
Declaration
public DiagnosticEntry Filter(DiagnosticEntry entry, DiagnosticEvent e)
Returns

ServiceStack.DiagnosticEntry

Parameters
TypeName
ServiceStack.DiagnosticEntryentry
ServiceStack.DiagnosticEvente

ToDiagnosticEntry(RequestDiagnosticEvent, RequestDiagnosticEvent)

View Source
Declaration
public DiagnosticEntry ToDiagnosticEntry(RequestDiagnosticEvent e, RequestDiagnosticEvent orig = null)
Returns

ServiceStack.DiagnosticEntry

Parameters
TypeName
ServiceStack.RequestDiagnosticEvente
ServiceStack.RequestDiagnosticEventorig

ToDiagnosticEntry(MqRequestDiagnosticEvent, MqRequestDiagnosticEvent)

View Source
Declaration
public DiagnosticEntry ToDiagnosticEntry(MqRequestDiagnosticEvent e, MqRequestDiagnosticEvent orig = null)
Returns

ServiceStack.DiagnosticEntry

Parameters
TypeName
ServiceStack.MqRequestDiagnosticEvente
ServiceStack.MqRequestDiagnosticEventorig

ToDiagnosticEntry(OrmLiteDiagnosticEvent, OrmLiteDiagnosticEvent)

View Source
Declaration
public DiagnosticEntry ToDiagnosticEntry(OrmLiteDiagnosticEvent e, OrmLiteDiagnosticEvent orig = null)
Returns

ServiceStack.DiagnosticEntry

Parameters
TypeName
ServiceStack.OrmLiteDiagnosticEvente
ServiceStack.OrmLiteDiagnosticEventorig

ToDiagnosticEntry(RedisDiagnosticEvent, RedisDiagnosticEvent)

View Source
Declaration
public DiagnosticEntry ToDiagnosticEntry(RedisDiagnosticEvent e, RedisDiagnosticEvent orig = null)
Returns

ServiceStack.DiagnosticEntry

Parameters
TypeName
ServiceStack.RedisDiagnosticEvente
ServiceStack.RedisDiagnosticEventorig

OnNext(KeyValuePair<String, Object>)

View Source
Declaration
public void OnNext(KeyValuePair<string, object> kvp)
Parameters
TypeName
System.Collections.Generic.KeyValuePair<System.String,System.Object>kvp

IObserver<DiagnosticListener>.OnError(Exception)

View Source
Declaration
void IObserver<DiagnosticListener>.OnError(Exception error)
Parameters
TypeName
System.Exceptionerror

IObserver<DiagnosticListener>.OnCompleted()

View Source
Declaration
void IObserver<DiagnosticListener>.OnCompleted()

Implements

  • System.IObserver<DiagnosticListener>
  • System.IObserver<System.Collections.Generic.KeyValuePair<System.String,System.Object>>