Documentation ¶
Index ¶
- Constants
- type Logs
- type Metrics
- type Service
- func (s *Service) Close()
- func (*Service) GetVersion(_ context.Context, _ *v1.GetVersionRequest) (*v1.Version, error)
- func (s *Service) Logs() *Logs
- func (s *Service) Metrics() *Metrics
- func (s *Service) ScanSamples(_ context.Context, req *v1.Scan) (*v1.Data, error)
- func (s *Service) Start(ctx context.Context)
- func (s *Service) Trace() *Trace
- type Trace
Constants ¶
View Source
const (
// Size of buffered channel that accepts samples.
DataBuffer = 8 << 10
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logs ¶
type Logs struct { collector_logs.UnsafeLogsServiceServer // contains filtered or unexported fields }
func (*Logs) Export ¶
func (r *Logs) Export(ctx context.Context, req *collector_logs.ExportLogsServiceRequest) (*collector_logs.ExportLogsServiceResponse, error)
type Metrics ¶
type Metrics struct { collector_metrics.UnsafeMetricsServiceServer // contains filtered or unexported fields }
func (*Metrics) Export ¶
func (r *Metrics) Export(ctx context.Context, req *collector_metrics.ExportMetricsServiceRequest) (*collector_metrics.ExportMetricsServiceResponse, error)
type Service ¶
type Service struct { v1.UnsafeRQServer // contains filtered or unexported fields }
func NewService ¶
func (*Service) GetVersion ¶
func (*Service) ScanSamples ¶
type Trace ¶
type Trace struct { collector_trace.UnsafeTraceServiceServer // contains filtered or unexported fields }
func (*Trace) Export ¶
func (r *Trace) Export(ctx context.Context, req *collector_trace.ExportTraceServiceRequest) (*collector_trace.ExportTraceServiceResponse, error)
Click to show internal directories.
Click to hide internal directories.