proto

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	GraphQLOperations_name = map[int32]string{
		0: "OPERATION_UNKNOWN",
		1: "OPERATION_QUERY",
		2: "OPERATION_MUTATION",
		3: "OPERATION_SUBSCRIPTION",
	}
	GraphQLOperations_value = map[string]int32{
		"OPERATION_UNKNOWN":      0,
		"OPERATION_QUERY":        1,
		"OPERATION_MUTATION":     2,
		"OPERATION_SUBSCRIPTION": 3,
	}
)

Enum value maps for GraphQLOperations.

View Source
var File_analytics_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AnalyticsRecord

type AnalyticsRecord struct {
	Host          string                 `protobuf:"bytes,1,opt,name=Host,proto3" json:"Host,omitempty"`
	Method        string                 `protobuf:"bytes,2,opt,name=Method,proto3" json:"Method,omitempty"`
	Path          string                 `protobuf:"bytes,3,opt,name=Path,proto3" json:"Path,omitempty"`
	RawPath       string                 `protobuf:"bytes,4,opt,name=RawPath,proto3" json:"RawPath,omitempty"`
	ContentLength int64                  `protobuf:"varint,5,opt,name=ContentLength,proto3" json:"ContentLength,omitempty"`
	UserAgent     string                 `protobuf:"bytes,6,opt,name=UserAgent,proto3" json:"UserAgent,omitempty"`
	Day           int32                  `protobuf:"varint,7,opt,name=Day,proto3" json:"Day,omitempty"`
	Month         int32                  `protobuf:"varint,8,opt,name=Month,proto3" json:"Month,omitempty"`
	Year          int32                  `protobuf:"varint,9,opt,name=Year,proto3" json:"Year,omitempty"`
	Hour          int32                  `protobuf:"varint,10,opt,name=Hour,proto3" json:"Hour,omitempty"`
	ResponseCode  int32                  `protobuf:"varint,11,opt,name=ResponseCode,proto3" json:"ResponseCode,omitempty"`
	APIKey        string                 `protobuf:"bytes,12,opt,name=APIKey,proto3" json:"APIKey,omitempty"`
	TimeStamp     *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=TimeStamp,proto3" json:"TimeStamp,omitempty"`
	APIVersion    string                 `protobuf:"bytes,14,opt,name=APIVersion,proto3" json:"APIVersion,omitempty"`
	APIName       string                 `protobuf:"bytes,15,opt,name=APIName,proto3" json:"APIName,omitempty"`
	APIID         string                 `protobuf:"bytes,16,opt,name=APIID,proto3" json:"APIID,omitempty"`
	OrgID         string                 `protobuf:"bytes,17,opt,name=OrgID,proto3" json:"OrgID,omitempty"`
	RequestTime   int64                  `protobuf:"varint,18,opt,name=RequestTime,proto3" json:"RequestTime,omitempty"`
	Latency       *Latency               `protobuf:"bytes,19,opt,name=Latency,proto3" json:"Latency,omitempty"`
	RawRequest    string                 `protobuf:"bytes,20,opt,name=RawRequest,proto3" json:"RawRequest,omitempty"`
	RawResponse   string                 `protobuf:"bytes,21,opt,name=RawResponse,proto3" json:"RawResponse,omitempty"`
	IPAddress     string                 `protobuf:"bytes,22,opt,name=IPAddress,proto3" json:"IPAddress,omitempty"`
	Geo           *GeoData               `protobuf:"bytes,23,opt,name=Geo,proto3" json:"Geo,omitempty"`
	Network       *NetworkStats          `protobuf:"bytes,24,opt,name=Network,proto3" json:"Network,omitempty"`
	Tags          []string               `protobuf:"bytes,25,rep,name=Tags,proto3" json:"Tags,omitempty"`
	Alias         string                 `protobuf:"bytes,26,opt,name=Alias,proto3" json:"Alias,omitempty"`
	TrackPath     bool                   `protobuf:"varint,27,opt,name=TrackPath,proto3" json:"TrackPath,omitempty"`
	ExpireAt      *timestamppb.Timestamp `protobuf:"bytes,28,opt,name=ExpireAt,proto3" json:"ExpireAt,omitempty"`
	OauthID       string                 `protobuf:"bytes,29,opt,name=OauthID,proto3" json:"OauthID,omitempty"`
	TimeZone      string                 `protobuf:"bytes,30,opt,name=TimeZone,proto3" json:"TimeZone,omitempty"`
	ApiSchema     string                 `protobuf:"bytes,31,opt,name=ApiSchema,proto3" json:"ApiSchema,omitempty"`
	GraphQLStats  *GraphQLStats          `protobuf:"bytes,32,opt,name=GraphQLStats,proto3" json:"GraphQLStats,omitempty"`
	// contains filtered or unexported fields
}

func (*AnalyticsRecord) Descriptor deprecated

func (*AnalyticsRecord) Descriptor() ([]byte, []int)

Deprecated: Use AnalyticsRecord.ProtoReflect.Descriptor instead.

func (*AnalyticsRecord) GetAPIID

func (x *AnalyticsRecord) GetAPIID() string

func (*AnalyticsRecord) GetAPIKey

func (x *AnalyticsRecord) GetAPIKey() string

func (*AnalyticsRecord) GetAPIName

func (x *AnalyticsRecord) GetAPIName() string

func (*AnalyticsRecord) GetAPIVersion

func (x *AnalyticsRecord) GetAPIVersion() string

func (*AnalyticsRecord) GetAlias

func (x *AnalyticsRecord) GetAlias() string

func (*AnalyticsRecord) GetApiSchema added in v1.7.0

func (x *AnalyticsRecord) GetApiSchema() string

func (*AnalyticsRecord) GetContentLength

func (x *AnalyticsRecord) GetContentLength() int64

func (*AnalyticsRecord) GetDay

func (x *AnalyticsRecord) GetDay() int32

func (*AnalyticsRecord) GetExpireAt

func (x *AnalyticsRecord) GetExpireAt() *timestamppb.Timestamp

func (*AnalyticsRecord) GetGeo

func (x *AnalyticsRecord) GetGeo() *GeoData

func (*AnalyticsRecord) GetGraphQLStats added in v1.9.0

func (x *AnalyticsRecord) GetGraphQLStats() *GraphQLStats

func (*AnalyticsRecord) GetHost

func (x *AnalyticsRecord) GetHost() string

func (*AnalyticsRecord) GetHour

func (x *AnalyticsRecord) GetHour() int32

func (*AnalyticsRecord) GetIPAddress

func (x *AnalyticsRecord) GetIPAddress() string

func (*AnalyticsRecord) GetLatency

func (x *AnalyticsRecord) GetLatency() *Latency

func (*AnalyticsRecord) GetMethod

func (x *AnalyticsRecord) GetMethod() string

func (*AnalyticsRecord) GetMonth

func (x *AnalyticsRecord) GetMonth() int32

func (*AnalyticsRecord) GetNetwork

func (x *AnalyticsRecord) GetNetwork() *NetworkStats

func (*AnalyticsRecord) GetOauthID

func (x *AnalyticsRecord) GetOauthID() string

func (*AnalyticsRecord) GetOrgID

func (x *AnalyticsRecord) GetOrgID() string

func (*AnalyticsRecord) GetPath

func (x *AnalyticsRecord) GetPath() string

func (*AnalyticsRecord) GetRawPath

func (x *AnalyticsRecord) GetRawPath() string

func (*AnalyticsRecord) GetRawRequest

func (x *AnalyticsRecord) GetRawRequest() string

func (*AnalyticsRecord) GetRawResponse

func (x *AnalyticsRecord) GetRawResponse() string

func (*AnalyticsRecord) GetRequestTime

func (x *AnalyticsRecord) GetRequestTime() int64

func (*AnalyticsRecord) GetResponseCode

func (x *AnalyticsRecord) GetResponseCode() int32

func (*AnalyticsRecord) GetTags

func (x *AnalyticsRecord) GetTags() []string

func (*AnalyticsRecord) GetTimeStamp

func (x *AnalyticsRecord) GetTimeStamp() *timestamppb.Timestamp

func (*AnalyticsRecord) GetTimeZone

func (x *AnalyticsRecord) GetTimeZone() string

func (*AnalyticsRecord) GetTrackPath

func (x *AnalyticsRecord) GetTrackPath() bool

func (*AnalyticsRecord) GetUserAgent

func (x *AnalyticsRecord) GetUserAgent() string

func (*AnalyticsRecord) GetYear

func (x *AnalyticsRecord) GetYear() int32

func (*AnalyticsRecord) ProtoMessage

func (*AnalyticsRecord) ProtoMessage()

func (*AnalyticsRecord) ProtoReflect

func (x *AnalyticsRecord) ProtoReflect() protoreflect.Message

func (*AnalyticsRecord) Reset

func (x *AnalyticsRecord) Reset()

func (*AnalyticsRecord) String

func (x *AnalyticsRecord) String() string

type City

type City struct {
	Names     map[string]string `` /* 151-byte string literal not displayed */
	GeoNameID uint32            `protobuf:"varint,2,opt,name=GeoNameID,proto3" json:"GeoNameID,omitempty"`
	// contains filtered or unexported fields
}

func (*City) Descriptor deprecated

func (*City) Descriptor() ([]byte, []int)

Deprecated: Use City.ProtoReflect.Descriptor instead.

func (*City) GetGeoNameID

func (x *City) GetGeoNameID() uint32

func (*City) GetNames

func (x *City) GetNames() map[string]string

func (*City) ProtoMessage

func (*City) ProtoMessage()

func (*City) ProtoReflect

func (x *City) ProtoReflect() protoreflect.Message

func (*City) Reset

func (x *City) Reset()

func (*City) String

func (x *City) String() string

type Country

type Country struct {
	ISOCode string `protobuf:"bytes,1,opt,name=ISOCode,proto3" json:"ISOCode,omitempty"`
	// contains filtered or unexported fields
}

func (*Country) Descriptor deprecated

func (*Country) Descriptor() ([]byte, []int)

Deprecated: Use Country.ProtoReflect.Descriptor instead.

func (*Country) GetISOCode

func (x *Country) GetISOCode() string

func (*Country) ProtoMessage

func (*Country) ProtoMessage()

func (*Country) ProtoReflect

func (x *Country) ProtoReflect() protoreflect.Message

func (*Country) Reset

func (x *Country) Reset()

func (*Country) String

func (x *Country) String() string

type GeoData

type GeoData struct {
	Country  *Country  `protobuf:"bytes,1,opt,name=Country,proto3" json:"Country,omitempty"`
	City     *City     `protobuf:"bytes,2,opt,name=City,proto3" json:"City,omitempty"`
	Location *Location `protobuf:"bytes,3,opt,name=Location,proto3" json:"Location,omitempty"`
	// contains filtered or unexported fields
}

func (*GeoData) Descriptor deprecated

func (*GeoData) Descriptor() ([]byte, []int)

Deprecated: Use GeoData.ProtoReflect.Descriptor instead.

func (*GeoData) GetCity

func (x *GeoData) GetCity() *City

func (*GeoData) GetCountry

func (x *GeoData) GetCountry() *Country

func (*GeoData) GetLocation

func (x *GeoData) GetLocation() *Location

func (*GeoData) ProtoMessage

func (*GeoData) ProtoMessage()

func (*GeoData) ProtoReflect

func (x *GeoData) ProtoReflect() protoreflect.Message

func (*GeoData) Reset

func (x *GeoData) Reset()

func (*GeoData) String

func (x *GeoData) String() string

type GraphQLOperations added in v1.9.0

type GraphQLOperations int32
const (
	GraphQLOperations_OPERATION_UNKNOWN      GraphQLOperations = 0
	GraphQLOperations_OPERATION_QUERY        GraphQLOperations = 1
	GraphQLOperations_OPERATION_MUTATION     GraphQLOperations = 2
	GraphQLOperations_OPERATION_SUBSCRIPTION GraphQLOperations = 3
)

func (GraphQLOperations) Descriptor added in v1.9.0

func (GraphQLOperations) Enum added in v1.9.0

func (GraphQLOperations) EnumDescriptor deprecated added in v1.9.0

func (GraphQLOperations) EnumDescriptor() ([]byte, []int)

Deprecated: Use GraphQLOperations.Descriptor instead.

func (GraphQLOperations) Number added in v1.9.0

func (GraphQLOperations) String added in v1.9.0

func (x GraphQLOperations) String() string

func (GraphQLOperations) Type added in v1.9.0

type GraphQLStats added in v1.9.0

type GraphQLStats struct {
	IsGraphQL     bool                       `protobuf:"varint,1,opt,name=IsGraphQL,proto3" json:"IsGraphQL,omitempty"`
	Types         map[string]*RepeatedFields `` /* 151-byte string literal not displayed */
	OperationType GraphQLOperations          `protobuf:"varint,3,opt,name=OperationType,proto3,enum=normalproto.GraphQLOperations" json:"OperationType,omitempty"`
	Variables     string                     `protobuf:"bytes,4,opt,name=Variables,proto3" json:"Variables,omitempty"`
	RootFields    []string                   `protobuf:"bytes,5,rep,name=RootFields,proto3" json:"RootFields,omitempty"`
	HasError      bool                       `protobuf:"varint,6,opt,name=HasError,proto3" json:"HasError,omitempty"`
	GraphErrors   []string                   `protobuf:"bytes,7,rep,name=GraphErrors,proto3" json:"GraphErrors,omitempty"`
	// contains filtered or unexported fields
}

func (*GraphQLStats) Descriptor deprecated added in v1.9.0

func (*GraphQLStats) Descriptor() ([]byte, []int)

Deprecated: Use GraphQLStats.ProtoReflect.Descriptor instead.

func (*GraphQLStats) GetGraphErrors added in v1.9.0

func (x *GraphQLStats) GetGraphErrors() []string

func (*GraphQLStats) GetHasError added in v1.9.0

func (x *GraphQLStats) GetHasError() bool

func (*GraphQLStats) GetIsGraphQL added in v1.9.0

func (x *GraphQLStats) GetIsGraphQL() bool

func (*GraphQLStats) GetOperationType added in v1.9.0

func (x *GraphQLStats) GetOperationType() GraphQLOperations

func (*GraphQLStats) GetRootFields added in v1.9.0

func (x *GraphQLStats) GetRootFields() []string

func (*GraphQLStats) GetTypes added in v1.9.0

func (x *GraphQLStats) GetTypes() map[string]*RepeatedFields

func (*GraphQLStats) GetVariables added in v1.9.0

func (x *GraphQLStats) GetVariables() string

func (*GraphQLStats) ProtoMessage added in v1.9.0

func (*GraphQLStats) ProtoMessage()

func (*GraphQLStats) ProtoReflect added in v1.9.0

func (x *GraphQLStats) ProtoReflect() protoreflect.Message

func (*GraphQLStats) Reset added in v1.9.0

func (x *GraphQLStats) Reset()

func (*GraphQLStats) String added in v1.9.0

func (x *GraphQLStats) String() string

type Latency

type Latency struct {
	Total    int64 `protobuf:"varint,1,opt,name=Total,proto3" json:"Total,omitempty"`
	Upstream int64 `protobuf:"varint,2,opt,name=Upstream,proto3" json:"Upstream,omitempty"`
	// contains filtered or unexported fields
}

func (*Latency) Descriptor deprecated

func (*Latency) Descriptor() ([]byte, []int)

Deprecated: Use Latency.ProtoReflect.Descriptor instead.

func (*Latency) GetTotal

func (x *Latency) GetTotal() int64

func (*Latency) GetUpstream

func (x *Latency) GetUpstream() int64

func (*Latency) ProtoMessage

func (*Latency) ProtoMessage()

func (*Latency) ProtoReflect

func (x *Latency) ProtoReflect() protoreflect.Message

func (*Latency) Reset

func (x *Latency) Reset()

func (*Latency) String

func (x *Latency) String() string

type Location

type Location struct {
	Latitude  float64 `protobuf:"fixed64,1,opt,name=Latitude,proto3" json:"Latitude,omitempty"`
	Longitude float64 `protobuf:"fixed64,2,opt,name=Longitude,proto3" json:"Longitude,omitempty"`
	TimeZone  string  `protobuf:"bytes,3,opt,name=TimeZone,proto3" json:"TimeZone,omitempty"`
	// contains filtered or unexported fields
}

func (*Location) Descriptor deprecated

func (*Location) Descriptor() ([]byte, []int)

Deprecated: Use Location.ProtoReflect.Descriptor instead.

func (*Location) GetLatitude

func (x *Location) GetLatitude() float64

func (*Location) GetLongitude

func (x *Location) GetLongitude() float64

func (*Location) GetTimeZone

func (x *Location) GetTimeZone() string

func (*Location) ProtoMessage

func (*Location) ProtoMessage()

func (*Location) ProtoReflect

func (x *Location) ProtoReflect() protoreflect.Message

func (*Location) Reset

func (x *Location) Reset()

func (*Location) String

func (x *Location) String() string

type NetworkStats

type NetworkStats struct {
	OpenConnections   int64 `protobuf:"varint,1,opt,name=OpenConnections,proto3" json:"OpenConnections,omitempty"`
	ClosedConnections int64 `protobuf:"varint,2,opt,name=ClosedConnections,proto3" json:"ClosedConnections,omitempty"`
	BytesIn           int64 `protobuf:"varint,3,opt,name=BytesIn,proto3" json:"BytesIn,omitempty"`
	BytesOut          int64 `protobuf:"varint,4,opt,name=BytesOut,proto3" json:"BytesOut,omitempty"`
	// contains filtered or unexported fields
}

func (*NetworkStats) Descriptor deprecated

func (*NetworkStats) Descriptor() ([]byte, []int)

Deprecated: Use NetworkStats.ProtoReflect.Descriptor instead.

func (*NetworkStats) GetBytesIn

func (x *NetworkStats) GetBytesIn() int64

func (*NetworkStats) GetBytesOut

func (x *NetworkStats) GetBytesOut() int64

func (*NetworkStats) GetClosedConnections

func (x *NetworkStats) GetClosedConnections() int64

func (*NetworkStats) GetOpenConnections

func (x *NetworkStats) GetOpenConnections() int64

func (*NetworkStats) ProtoMessage

func (*NetworkStats) ProtoMessage()

func (*NetworkStats) ProtoReflect

func (x *NetworkStats) ProtoReflect() protoreflect.Message

func (*NetworkStats) Reset

func (x *NetworkStats) Reset()

func (*NetworkStats) String

func (x *NetworkStats) String() string

type RepeatedFields added in v1.9.0

type RepeatedFields struct {
	Fields []string `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"`
	// contains filtered or unexported fields
}

func (*RepeatedFields) Descriptor deprecated added in v1.9.0

func (*RepeatedFields) Descriptor() ([]byte, []int)

Deprecated: Use RepeatedFields.ProtoReflect.Descriptor instead.

func (*RepeatedFields) GetFields added in v1.9.0

func (x *RepeatedFields) GetFields() []string

func (*RepeatedFields) ProtoMessage added in v1.9.0

func (*RepeatedFields) ProtoMessage()

func (*RepeatedFields) ProtoReflect added in v1.9.0

func (x *RepeatedFields) ProtoReflect() protoreflect.Message

func (*RepeatedFields) Reset added in v1.9.0

func (x *RepeatedFields) Reset()

func (*RepeatedFields) String added in v1.9.0

func (x *RepeatedFields) String() string

Jump to

Keyboard shortcuts

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