Package com.google.genkit.core.tracing
Class HttpTelemetryClient
java.lang.Object
com.google.genkit.core.tracing.HttpTelemetryClient
- All Implemented Interfaces:
TelemetryClient
HTTP-based telemetry client that sends traces to the Genkit telemetry server.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
HttpTelemetryClient
Creates a new HTTP telemetry client.- Parameters:
serverUrl- the URL of the telemetry server
-
-
Method Details
-
save
Description copied from interface:TelemetryClientSaves trace data to the telemetry server.- Specified by:
savein interfaceTelemetryClient- Parameters:
trace- the trace data to save- Throws:
Exception- if the save operation fails
-