Documentation
¶
Index ¶
- func AdaptTelemetry(t Telemetry) *rpc.Interface
- type Telemetry
- type TelemetryClient
- type TelemetryClientReportSpansResults
- type TelemetryReportSpans
- type TelemetryReportSpansArgs
- func (v *TelemetryReportSpansArgs) HasSpanData() bool
- func (v *TelemetryReportSpansArgs) MarshalCBOR() ([]byte, error)
- func (v *TelemetryReportSpansArgs) MarshalJSON() ([]byte, error)
- func (v *TelemetryReportSpansArgs) SpanData() []byte
- func (v *TelemetryReportSpansArgs) UnmarshalCBOR(data []byte) error
- func (v *TelemetryReportSpansArgs) UnmarshalJSON(data []byte) error
- type TelemetryReportSpansResults
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdaptTelemetry ¶
Types ¶
type Telemetry ¶
type Telemetry interface {
ReportSpans(ctx context.Context, state *TelemetryReportSpans) error
}
type TelemetryClient ¶
func NewTelemetryClient ¶
func NewTelemetryClient(client rpc.Client) *TelemetryClient
func (TelemetryClient) Export ¶
func (c TelemetryClient) Export() Telemetry
func (TelemetryClient) ReportSpans ¶
func (v TelemetryClient) ReportSpans(ctx context.Context, span_data []byte) (*TelemetryClientReportSpansResults, error)
type TelemetryClientReportSpansResults ¶
type TelemetryClientReportSpansResults struct {
// contains filtered or unexported fields
}
type TelemetryReportSpans ¶
func (*TelemetryReportSpans) Args ¶
func (t *TelemetryReportSpans) Args() *TelemetryReportSpansArgs
func (*TelemetryReportSpans) Results ¶
func (t *TelemetryReportSpans) Results() *TelemetryReportSpansResults
type TelemetryReportSpansArgs ¶
type TelemetryReportSpansArgs struct {
// contains filtered or unexported fields
}
func (*TelemetryReportSpansArgs) HasSpanData ¶
func (v *TelemetryReportSpansArgs) HasSpanData() bool
func (*TelemetryReportSpansArgs) MarshalCBOR ¶
func (v *TelemetryReportSpansArgs) MarshalCBOR() ([]byte, error)
func (*TelemetryReportSpansArgs) MarshalJSON ¶
func (v *TelemetryReportSpansArgs) MarshalJSON() ([]byte, error)
func (*TelemetryReportSpansArgs) SpanData ¶
func (v *TelemetryReportSpansArgs) SpanData() []byte
func (*TelemetryReportSpansArgs) UnmarshalCBOR ¶
func (v *TelemetryReportSpansArgs) UnmarshalCBOR(data []byte) error
func (*TelemetryReportSpansArgs) UnmarshalJSON ¶
func (v *TelemetryReportSpansArgs) UnmarshalJSON(data []byte) error
type TelemetryReportSpansResults ¶
type TelemetryReportSpansResults struct {
// contains filtered or unexported fields
}
func (*TelemetryReportSpansResults) MarshalCBOR ¶
func (v *TelemetryReportSpansResults) MarshalCBOR() ([]byte, error)
func (*TelemetryReportSpansResults) MarshalJSON ¶
func (v *TelemetryReportSpansResults) MarshalJSON() ([]byte, error)
func (*TelemetryReportSpansResults) UnmarshalCBOR ¶
func (v *TelemetryReportSpansResults) UnmarshalCBOR(data []byte) error
func (*TelemetryReportSpansResults) UnmarshalJSON ¶
func (v *TelemetryReportSpansResults) UnmarshalJSON(data []byte) error
Click to show internal directories.
Click to hide internal directories.