Table of Contents

Class XapiLrsDiagnostics

Namespace
Xapi.Lrs
Assembly
Xapi.Lrs.dll

The names of the LRS's traces and metrics, for OpenTelemetry's AddSource and AddMeter or a ActivityListener or MeterListener. The names are part of the public contract: they change only in a major release.

public static class XapiLrsDiagnostics
Inheritance
XapiLrsDiagnostics
Inherited Members

Remarks

docs/lrs.md lists the tags of each instrument and activity.

Fields

ActivitySourceName

The name of the ActivitySource of the LRS: Xapi.Lrs.

public const string ActivitySourceName = "Xapi.Lrs"

Field Value

string

Errors

Counter of the requests the LRS endpoints answered with a 4xx or 5xx status (unit {error}).

public const string Errors = "xapi.lrs.errors"

Field Value

string

MeterName

The name of the Meter of the LRS: Xapi.Lrs.

public const string MeterName = "Xapi.Lrs"

Field Value

string

QueryStatementsActivity

The activity that reads a page of Statements for a query.

public const string QueryStatementsActivity = "xapi.lrs.statements.query"

Field Value

string

RequestDuration

Histogram of the time the LRS endpoints take to handle a request, in seconds (unit s).

public const string RequestDuration = "xapi.lrs.request.duration"

Field Value

string

StatementsStored

Counter of the Statements accepted by Statement PUT and POST requests (unit {statement}). A Statement sent again that is equivalent to the stored one is accepted and counted again.

public const string StatementsStored = "xapi.lrs.statements.stored"

Field Value

string

StoreStatementsActivity

The activity that stores a batch of Statements.

public const string StoreStatementsActivity = "xapi.lrs.statements.store"

Field Value

string

WriteDocumentActivity

The activity that writes or deletes a State, Activity Profile or Agent Profile document.

public const string WriteDocumentActivity = "xapi.lrs.documents.write"

Field Value

string