Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
EuripidesHandlerOnce sync.Once
)
View Source
var EuripidesSchema, _ = graphql.NewSchema(graphql.SchemaConfig{
Query: rootQuery,
})
View Source
var ParentTrace = graphql.NewObject(graphql.ObjectConfig{ Name: "ParentTrace", Fields: graphql.Fields{ "traceID": &graphql.Field{ Type: graphql.String, }, "isActive": &graphql.Field{ Type: graphql.Boolean, }, "items": &graphql.Field{ Type: graphql.NewList(itemType), }, "timeEnded": &graphql.Field{ Type: graphql.String, }, "timeStarted": &graphql.Field{ Type: graphql.String, }, "totalTime": &graphql.Field{ Type: graphql.Int, }, "responseCode": &graphql.Field{ Type: graphql.Int, }, }, })
View Source
var TraceQueryInputType = graphql.NewInputObject(graphql.InputObjectConfig{ Name: "TraceQueryInput", Fields: graphql.InputObjectConfigFieldMap{ "ids": &graphql.InputObjectFieldConfig{ Type: graphql.NewList(graphql.String), }, "statusCode": &graphql.InputObjectFieldConfig{ Type: graphql.Int, }, "beginTime": &graphql.InputObjectFieldConfig{ Type: graphql.String, }, "endTime": &graphql.InputObjectFieldConfig{ Type: graphql.String, }, "totalTimeHigherThan": &graphql.InputObjectFieldConfig{ Type: graphql.Int, }, "podName": &graphql.InputObjectFieldConfig{ Type: graphql.String, }, "operation": &graphql.InputObjectFieldConfig{ Type: graphql.String, }, }, })
TraceQueryInputType Define an input object type for the "traces" field arguments
Functions ¶
func InitEuripidesHandler ¶
func InitEuripidesHandler()
Types ¶
type DatabaseSpan ¶
type DatabaseSpan struct { ParentSpanID string `json:"parent_span_id"` ResultJSON string `json:"result_json"` SpanID string `json:"span_id"` ItemType string `json:"item_type"` Query string `json:"query"` Namespace string `json:"namespace"` Timestamp string `json:"timestamp"` PodName string `json:"pod_name"` }
type Trace ¶
type Trace struct { ParentSpanID string `json:"parent_span_id"` Method string `json:"method"` URL string `json:"url"` Host string `json:"host"` RemoteAddress string `json:"remote_address"` Timestamp string `json:"timestamp"` PodName string `json:"pod_name"` Namespace string `json:"namespace"` ItemType string `json:"item_type"` Operation string `json:"operation"` RootQuery string `json:"root_query"` }
Click to show internal directories.
Click to hide internal directories.