model

package
v0.0.0-...-19afb16 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 18, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type BackendErrorObjectInput

type BackendErrorObjectInput struct {
	SessionSecureID *string       `json:"session_secure_id,omitempty"`
	RequestID       *string       `json:"request_id,omitempty"`
	TraceID         *string       `json:"trace_id,omitempty"`
	SpanID          *string       `json:"span_id,omitempty"`
	LogCursor       *string       `json:"log_cursor,omitempty"`
	Event           string        `json:"event"`
	Type            string        `json:"type"`
	URL             string        `json:"url"`
	Source          string        `json:"source"`
	StackTrace      string        `json:"stackTrace"`
	Timestamp       time.Time     `json:"timestamp"`
	Payload         *string       `json:"payload,omitempty"`
	Service         *ServiceInput `json:"service"`
	Environment     string        `json:"environment"`
}

type ErrorObjectInput

type ErrorObjectInput struct {
	Event        string             `json:"event"`
	Type         string             `json:"type"`
	URL          string             `json:"url"`
	Source       string             `json:"source"`
	LineNumber   int                `json:"lineNumber"`
	ColumnNumber int                `json:"columnNumber"`
	StackTrace   []*StackFrameInput `json:"stackTrace"`
	Timestamp    time.Time          `json:"timestamp"`
	Payload      *string            `json:"payload,omitempty"`
}

type InitializeSessionResponse

type InitializeSessionResponse struct {
	SecureID  string `json:"secure_id"`
	ProjectID int    `json:"project_id"`
}

type MetricInput

type MetricInput struct {
	SessionSecureID string       `json:"session_secure_id"`
	SpanID          *string      `json:"span_id,omitempty"`
	ParentSpanID    *string      `json:"parent_span_id,omitempty"`
	TraceID         *string      `json:"trace_id,omitempty"`
	Group           *string      `json:"group,omitempty"`
	Name            string       `json:"name"`
	Value           float64      `json:"value"`
	Category        *string      `json:"category,omitempty"`
	Timestamp       time.Time    `json:"timestamp"`
	Tags            []*MetricTag `json:"tags,omitempty"`
}

type MetricTag

type MetricTag struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

type Mutation

type Mutation struct {
}

type PublicGraphError

type PublicGraphError string
const (
	PublicGraphErrorBillingQuotaExceeded PublicGraphError = "BillingQuotaExceeded"
)

func (PublicGraphError) IsValid

func (e PublicGraphError) IsValid() bool

func (PublicGraphError) MarshalGQL

func (e PublicGraphError) MarshalGQL(w io.Writer)

func (PublicGraphError) String

func (e PublicGraphError) String() string

func (*PublicGraphError) UnmarshalGQL

func (e *PublicGraphError) UnmarshalGQL(v interface{}) error

type ReplayEventInput

type ReplayEventInput struct {
	Type      int         `json:"type"`
	Timestamp float64     `json:"timestamp"`
	Sid       float64     `json:"_sid"`
	Data      interface{} `json:"data"`
}

type ReplayEventsInput

type ReplayEventsInput struct {
	Events []*ReplayEventInput `json:"events"`
}

type ServiceInput

type ServiceInput struct {
	Name    string `json:"name"`
	Version string `json:"version"`
}

type StackFrameInput

type StackFrameInput struct {
	FunctionName *string       `json:"functionName,omitempty"`
	Args         []interface{} `json:"args,omitempty"`
	FileName     *string       `json:"fileName,omitempty"`
	LineNumber   *int          `json:"lineNumber,omitempty"`
	ColumnNumber *int          `json:"columnNumber,omitempty"`
	IsEval       *bool         `json:"isEval,omitempty"`
	IsNative     *bool         `json:"isNative,omitempty"`
	Source       *string       `json:"source,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL