Documentation ¶
Index ¶
- type ListOption
- func WithEndTime(end time.Time) ListOption
- func WithFilter(filters ...string) ListOption
- func WithLimit(limit int32) ListOption
- func WithOnlyRootSpanView() ListOption
- func WithOrderBy(field string, desc bool) ListOption
- func WithOrderByDuration(desc bool) ListOption
- func WithOrderByName(desc bool) ListOption
- func WithOrderByStart(desc bool) ListOption
- func WithSince(since time.Duration) ListOption
- func WithStartTime(start time.Time) ListOption
- type Tracer
- func (t *Tracer) Close() error
- func (t *Tracer) Get(ctx context.Context, projectID, traceID string) (*cloudtrace.Trace, error)
- func (t *Tracer) List(ctx context.Context, projectID string, opts ...ListOption) ([]*cloudtrace.Trace, error)
- func (t *Tracer) MultiGet(ctx context.Context, projects []string, traceIDs []string) (*cloudtrace.Trace, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListOption ¶
type ListOption func(request *cloudtrace.ListTracesRequest)
func WithEndTime ¶
func WithEndTime(end time.Time) ListOption
func WithFilter ¶
func WithFilter(filters ...string) ListOption
func WithLimit ¶
func WithLimit(limit int32) ListOption
func WithOnlyRootSpanView ¶
func WithOnlyRootSpanView() ListOption
func WithOrderBy ¶
func WithOrderBy(field string, desc bool) ListOption
func WithOrderByDuration ¶
func WithOrderByDuration(desc bool) ListOption
func WithOrderByName ¶
func WithOrderByName(desc bool) ListOption
func WithOrderByStart ¶
func WithOrderByStart(desc bool) ListOption
func WithSince ¶
func WithSince(since time.Duration) ListOption
func WithStartTime ¶
func WithStartTime(start time.Time) ListOption
type Tracer ¶
type Tracer struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.