Muokkaa

Jaa


Telemetry Client

Important

Telemetry Client is currently in PREVIEW.

The interface that can be implemented to ingest telemetry into databases.

Note

TelemetryClient is available in SDK version >= 1.3.0.

public interface TelemetryClient

This interface is substituted with a regular class in Python.

Methods

Name Description Return Type
AddToIngestionQueue(string, CdmStatusLevel, string, string, string, string, bool, CdmLogCode)
timestamp: The timestamp of the log.
level: Logging status level.
className: Name of the class from which the log was issued.
method: Name of the method from which the log was issued.
corpusPath: Corpus path of the CDM object related to the log being issued. May be null if the path is not available.
message: The message to the log.
requireIngestion: Whether the log is required to be ingested. Optional, default to be false.
code: Optional warning or error code to be logged.
Enqueue the request queue with the information to be logged. void
Enable() Enable the telemetry client and start ingestion. void