client

package
v0.4.7 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SourceId_name = map[int32]string{
		0: "UNKNOWN",
		1: "ANDROID",
		2: "IOS",
		3: "WEB",
		5: "GO_SERVER",
		6: "NODE_SERVER",
		7: "JAVASCRIPT",
	}
	SourceId_value = map[string]int32{
		"UNKNOWN":     0,
		"ANDROID":     1,
		"IOS":         2,
		"WEB":         3,
		"GO_SERVER":   5,
		"NODE_SERVER": 6,
		"JAVASCRIPT":  7,
	}
)

Enum value maps for SourceId.

View Source
var (
	ApiId_name = map[int32]string{
		0:   "UNKNOWN_API",
		1:   "GET_EVALUATION",
		2:   "GET_EVALUATIONS",
		3:   "REGISTER_EVENTS",
		4:   "GET_FEATURE_FLAGS",
		5:   "GET_SEGMENT_USERS",
		100: "SDK_GET_VARIATION",
	}
	ApiId_value = map[string]int32{
		"UNKNOWN_API":       0,
		"GET_EVALUATION":    1,
		"GET_EVALUATIONS":   2,
		"REGISTER_EVENTS":   3,
		"GET_FEATURE_FLAGS": 4,
		"GET_SEGMENT_USERS": 5,
		"SDK_GET_VARIATION": 100,
	}
)

Enum value maps for ApiId.

View Source
var File_proto_event_client_event_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ApiId

type ApiId int32
const (
	ApiId_UNKNOWN_API       ApiId = 0
	ApiId_GET_EVALUATION    ApiId = 1
	ApiId_GET_EVALUATIONS   ApiId = 2
	ApiId_REGISTER_EVENTS   ApiId = 3
	ApiId_GET_FEATURE_FLAGS ApiId = 4
	ApiId_GET_SEGMENT_USERS ApiId = 5
	ApiId_SDK_GET_VARIATION ApiId = 100
)

func (ApiId) Descriptor

func (ApiId) Descriptor() protoreflect.EnumDescriptor

func (ApiId) Enum

func (x ApiId) Enum() *ApiId

func (ApiId) EnumDescriptor deprecated

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

Deprecated: Use ApiId.Descriptor instead.

func (ApiId) Number

func (x ApiId) Number() protoreflect.EnumNumber

func (ApiId) String

func (x ApiId) String() string

func (ApiId) Type

func (ApiId) Type() protoreflect.EnumType

type BadRequestErrorMetricsEvent

type BadRequestErrorMetricsEvent struct {
	ApiId  ApiId             `protobuf:"varint,1,opt,name=api_id,json=apiId,proto3,enum=bucketeer.event.client.ApiId" json:"api_id"`
	Labels map[string]string `` /* 143-byte string literal not displayed */
	// contains filtered or unexported fields
}

HTTP Mapping: 400 Bad Request

func (*BadRequestErrorMetricsEvent) Descriptor deprecated

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

Deprecated: Use BadRequestErrorMetricsEvent.ProtoReflect.Descriptor instead.

func (*BadRequestErrorMetricsEvent) GetApiId

func (x *BadRequestErrorMetricsEvent) GetApiId() ApiId

func (*BadRequestErrorMetricsEvent) GetLabels

func (x *BadRequestErrorMetricsEvent) GetLabels() map[string]string

func (*BadRequestErrorMetricsEvent) ProtoMessage

func (*BadRequestErrorMetricsEvent) ProtoMessage()

func (*BadRequestErrorMetricsEvent) ProtoReflect

func (*BadRequestErrorMetricsEvent) Reset

func (x *BadRequestErrorMetricsEvent) Reset()

func (*BadRequestErrorMetricsEvent) String

func (x *BadRequestErrorMetricsEvent) String() string

type ClientClosedRequestErrorMetricsEvent

type ClientClosedRequestErrorMetricsEvent struct {
	ApiId  ApiId             `protobuf:"varint,1,opt,name=api_id,json=apiId,proto3,enum=bucketeer.event.client.ApiId" json:"api_id"`
	Labels map[string]string `` /* 143-byte string literal not displayed */
	// contains filtered or unexported fields
}

HTTP Mapping: 499 Client Closed Request

func (*ClientClosedRequestErrorMetricsEvent) Descriptor deprecated

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

Deprecated: Use ClientClosedRequestErrorMetricsEvent.ProtoReflect.Descriptor instead.

func (*ClientClosedRequestErrorMetricsEvent) GetApiId

func (*ClientClosedRequestErrorMetricsEvent) GetLabels

func (*ClientClosedRequestErrorMetricsEvent) ProtoMessage

func (*ClientClosedRequestErrorMetricsEvent) ProtoMessage()

func (*ClientClosedRequestErrorMetricsEvent) ProtoReflect

func (*ClientClosedRequestErrorMetricsEvent) Reset

func (*ClientClosedRequestErrorMetricsEvent) String

type EvaluationEvent

type EvaluationEvent struct {
	Timestamp      int64             `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp"`
	FeatureId      string            `protobuf:"bytes,2,opt,name=feature_id,json=featureId,proto3" json:"feature_id"`
	FeatureVersion int32             `protobuf:"varint,3,opt,name=feature_version,json=featureVersion,proto3" json:"feature_version"`
	UserId         string            `protobuf:"bytes,4,opt,name=user_id,json=userId,proto3" json:"user_id"`
	VariationId    string            `protobuf:"bytes,5,opt,name=variation_id,json=variationId,proto3" json:"variation_id"`
	User           *user.User        `protobuf:"bytes,6,opt,name=user,proto3" json:"user"`
	Reason         *feature.Reason   `protobuf:"bytes,7,opt,name=reason,proto3" json:"reason"`
	Tag            string            `protobuf:"bytes,8,opt,name=tag,proto3" json:"tag"`
	SourceId       SourceId          `protobuf:"varint,9,opt,name=source_id,json=sourceId,proto3,enum=bucketeer.event.client.SourceId" json:"source_id"`
	SdkVersion     string            `protobuf:"bytes,10,opt,name=sdk_version,json=sdkVersion,proto3" json:"sdk_version"`
	Metadata       map[string]string `` /* 148-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*EvaluationEvent) Descriptor deprecated

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

Deprecated: Use EvaluationEvent.ProtoReflect.Descriptor instead.

func (*EvaluationEvent) GetFeatureId

func (x *EvaluationEvent) GetFeatureId() string

func (*EvaluationEvent) GetFeatureVersion

func (x *EvaluationEvent) GetFeatureVersion() int32

func (*EvaluationEvent) GetMetadata

func (x *EvaluationEvent) GetMetadata() map[string]string

func (*EvaluationEvent) GetReason

func (x *EvaluationEvent) GetReason() *feature.Reason

func (*EvaluationEvent) GetSdkVersion

func (x *EvaluationEvent) GetSdkVersion() string

func (*EvaluationEvent) GetSourceId

func (x *EvaluationEvent) GetSourceId() SourceId

func (*EvaluationEvent) GetTag

func (x *EvaluationEvent) GetTag() string

func (*EvaluationEvent) GetTimestamp

func (x *EvaluationEvent) GetTimestamp() int64

func (*EvaluationEvent) GetUser

func (x *EvaluationEvent) GetUser() *user.User

func (*EvaluationEvent) GetUserId

func (x *EvaluationEvent) GetUserId() string

func (*EvaluationEvent) GetVariationId

func (x *EvaluationEvent) GetVariationId() string

func (*EvaluationEvent) ProtoMessage

func (*EvaluationEvent) ProtoMessage()

func (*EvaluationEvent) ProtoReflect

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

func (*EvaluationEvent) Reset

func (x *EvaluationEvent) Reset()

func (*EvaluationEvent) String

func (x *EvaluationEvent) String() string

type Event

type Event struct {
	Id                   string     `protobuf:"bytes,1,opt,name=id,proto3" json:"id"`
	Event                *anypb.Any `protobuf:"bytes,2,opt,name=event,proto3" json:"event"`
	EnvironmentNamespace string     `protobuf:"bytes,3,opt,name=environment_namespace,json=environmentNamespace,proto3" json:"environment_namespace"` // SDK doens't need to set this field. It's set by gateway service.
	// contains filtered or unexported fields
}

func (*Event) Descriptor deprecated

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

Deprecated: Use Event.ProtoReflect.Descriptor instead.

func (*Event) GetEnvironmentNamespace

func (x *Event) GetEnvironmentNamespace() string

func (*Event) GetEvent

func (x *Event) GetEvent() *anypb.Any

func (*Event) GetId

func (x *Event) GetId() string

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) ProtoReflect

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

func (*Event) Reset

func (x *Event) Reset()

func (*Event) String

func (x *Event) String() string

type ForbiddenErrorMetricsEvent

type ForbiddenErrorMetricsEvent struct {
	ApiId  ApiId             `protobuf:"varint,1,opt,name=api_id,json=apiId,proto3,enum=bucketeer.event.client.ApiId" json:"api_id"`
	Labels map[string]string `` /* 143-byte string literal not displayed */
	// contains filtered or unexported fields
}

HTTP Mapping: 403 Forbidden

func (*ForbiddenErrorMetricsEvent) Descriptor deprecated

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

Deprecated: Use ForbiddenErrorMetricsEvent.ProtoReflect.Descriptor instead.

func (*ForbiddenErrorMetricsEvent) GetApiId

func (x *ForbiddenErrorMetricsEvent) GetApiId() ApiId

func (*ForbiddenErrorMetricsEvent) GetLabels

func (x *ForbiddenErrorMetricsEvent) GetLabels() map[string]string

func (*ForbiddenErrorMetricsEvent) ProtoMessage

func (*ForbiddenErrorMetricsEvent) ProtoMessage()

func (*ForbiddenErrorMetricsEvent) ProtoReflect

func (*ForbiddenErrorMetricsEvent) Reset

func (x *ForbiddenErrorMetricsEvent) Reset()

func (*ForbiddenErrorMetricsEvent) String

func (x *ForbiddenErrorMetricsEvent) String() string

type GetEvaluationLatencyMetricsEvent deprecated

type GetEvaluationLatencyMetricsEvent struct {
	Labels   map[string]string    `` /* 143-byte string literal not displayed */
	Duration *durationpb.Duration `protobuf:"bytes,2,opt,name=duration,proto3" json:"duration"`
	// contains filtered or unexported fields
}

Deprecated: Do not use.

func (*GetEvaluationLatencyMetricsEvent) Descriptor deprecated

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

Deprecated: Use GetEvaluationLatencyMetricsEvent.ProtoReflect.Descriptor instead.

func (*GetEvaluationLatencyMetricsEvent) GetDuration

func (*GetEvaluationLatencyMetricsEvent) GetLabels

func (x *GetEvaluationLatencyMetricsEvent) GetLabels() map[string]string

func (*GetEvaluationLatencyMetricsEvent) ProtoMessage

func (*GetEvaluationLatencyMetricsEvent) ProtoMessage()

func (*GetEvaluationLatencyMetricsEvent) ProtoReflect

func (*GetEvaluationLatencyMetricsEvent) Reset

func (*GetEvaluationLatencyMetricsEvent) String

type GetEvaluationSizeMetricsEvent deprecated

type GetEvaluationSizeMetricsEvent struct {
	Labels   map[string]string `` /* 143-byte string literal not displayed */
	SizeByte int32             `protobuf:"varint,2,opt,name=size_byte,json=sizeByte,proto3" json:"size_byte"`
	// contains filtered or unexported fields
}

Deprecated: Do not use.

func (*GetEvaluationSizeMetricsEvent) Descriptor deprecated

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

Deprecated: Use GetEvaluationSizeMetricsEvent.ProtoReflect.Descriptor instead.

func (*GetEvaluationSizeMetricsEvent) GetLabels

func (x *GetEvaluationSizeMetricsEvent) GetLabels() map[string]string

func (*GetEvaluationSizeMetricsEvent) GetSizeByte

func (x *GetEvaluationSizeMetricsEvent) GetSizeByte() int32

func (*GetEvaluationSizeMetricsEvent) ProtoMessage

func (*GetEvaluationSizeMetricsEvent) ProtoMessage()

func (*GetEvaluationSizeMetricsEvent) ProtoReflect

func (*GetEvaluationSizeMetricsEvent) Reset

func (x *GetEvaluationSizeMetricsEvent) Reset()

func (*GetEvaluationSizeMetricsEvent) String

type GoalEvent

type GoalEvent struct {
	Timestamp int64      `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp"`
	GoalId    string     `protobuf:"bytes,2,opt,name=goal_id,json=goalId,proto3" json:"goal_id"`
	UserId    string     `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id"`
	Value     float64    `protobuf:"fixed64,4,opt,name=value,proto3" json:"value"`
	User      *user.User `protobuf:"bytes,5,opt,name=user,proto3" json:"user"`
	// Deprecated: Do not use.
	Evaluations []*feature.Evaluation `protobuf:"bytes,6,rep,name=evaluations,proto3" json:"evaluations"`
	Tag         string                `protobuf:"bytes,7,opt,name=tag,proto3" json:"tag"`
	SourceId    SourceId              `protobuf:"varint,8,opt,name=source_id,json=sourceId,proto3,enum=bucketeer.event.client.SourceId" json:"source_id"`
	SdkVersion  string                `protobuf:"bytes,9,opt,name=sdk_version,json=sdkVersion,proto3" json:"sdk_version"`
	Metadata    map[string]string     `` /* 148-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GoalEvent) Descriptor deprecated

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

Deprecated: Use GoalEvent.ProtoReflect.Descriptor instead.

func (*GoalEvent) GetEvaluations deprecated

func (x *GoalEvent) GetEvaluations() []*feature.Evaluation

Deprecated: Do not use.

func (*GoalEvent) GetGoalId

func (x *GoalEvent) GetGoalId() string

func (*GoalEvent) GetMetadata

func (x *GoalEvent) GetMetadata() map[string]string

func (*GoalEvent) GetSdkVersion

func (x *GoalEvent) GetSdkVersion() string

func (*GoalEvent) GetSourceId

func (x *GoalEvent) GetSourceId() SourceId

func (*GoalEvent) GetTag

func (x *GoalEvent) GetTag() string

func (*GoalEvent) GetTimestamp

func (x *GoalEvent) GetTimestamp() int64

func (*GoalEvent) GetUser

func (x *GoalEvent) GetUser() *user.User

func (*GoalEvent) GetUserId

func (x *GoalEvent) GetUserId() string

func (*GoalEvent) GetValue

func (x *GoalEvent) GetValue() float64

func (*GoalEvent) ProtoMessage

func (*GoalEvent) ProtoMessage()

func (*GoalEvent) ProtoReflect

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

func (*GoalEvent) Reset

func (x *GoalEvent) Reset()

func (*GoalEvent) String

func (x *GoalEvent) String() string

type InternalErrorCountMetricsEvent deprecated

type InternalErrorCountMetricsEvent struct {
	Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag"`
	// contains filtered or unexported fields
}

Deprecated: Do not use.

func (*InternalErrorCountMetricsEvent) Descriptor deprecated

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

Deprecated: Use InternalErrorCountMetricsEvent.ProtoReflect.Descriptor instead.

func (*InternalErrorCountMetricsEvent) GetTag

func (*InternalErrorCountMetricsEvent) ProtoMessage

func (*InternalErrorCountMetricsEvent) ProtoMessage()

func (*InternalErrorCountMetricsEvent) ProtoReflect

func (*InternalErrorCountMetricsEvent) Reset

func (x *InternalErrorCountMetricsEvent) Reset()

func (*InternalErrorCountMetricsEvent) String

type InternalErrorMetricsEvent

type InternalErrorMetricsEvent struct {
	ApiId  ApiId             `protobuf:"varint,1,opt,name=api_id,json=apiId,proto3,enum=bucketeer.event.client.ApiId" json:"api_id"`
	Labels map[string]string `` /* 143-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*InternalErrorMetricsEvent) Descriptor deprecated

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

Deprecated: Use InternalErrorMetricsEvent.ProtoReflect.Descriptor instead.

func (*InternalErrorMetricsEvent) GetApiId

func (x *InternalErrorMetricsEvent) GetApiId() ApiId

func (*InternalErrorMetricsEvent) GetLabels

func (x *InternalErrorMetricsEvent) GetLabels() map[string]string

func (*InternalErrorMetricsEvent) ProtoMessage

func (*InternalErrorMetricsEvent) ProtoMessage()

func (*InternalErrorMetricsEvent) ProtoReflect

func (*InternalErrorMetricsEvent) Reset

func (x *InternalErrorMetricsEvent) Reset()

func (*InternalErrorMetricsEvent) String

func (x *InternalErrorMetricsEvent) String() string

type InternalSdkErrorMetricsEvent

type InternalSdkErrorMetricsEvent struct {
	ApiId  ApiId             `protobuf:"varint,1,opt,name=api_id,json=apiId,proto3,enum=bucketeer.event.client.ApiId" json:"api_id"`
	Labels map[string]string `` /* 143-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*InternalSdkErrorMetricsEvent) Descriptor deprecated

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

Deprecated: Use InternalSdkErrorMetricsEvent.ProtoReflect.Descriptor instead.

func (*InternalSdkErrorMetricsEvent) GetApiId

func (x *InternalSdkErrorMetricsEvent) GetApiId() ApiId

func (*InternalSdkErrorMetricsEvent) GetLabels

func (x *InternalSdkErrorMetricsEvent) GetLabels() map[string]string

func (*InternalSdkErrorMetricsEvent) ProtoMessage

func (*InternalSdkErrorMetricsEvent) ProtoMessage()

func (*InternalSdkErrorMetricsEvent) ProtoReflect

func (*InternalSdkErrorMetricsEvent) Reset

func (x *InternalSdkErrorMetricsEvent) Reset()

func (*InternalSdkErrorMetricsEvent) String

type InternalServerErrorMetricsEvent

type InternalServerErrorMetricsEvent struct {
	ApiId  ApiId             `protobuf:"varint,1,opt,name=api_id,json=apiId,proto3,enum=bucketeer.event.client.ApiId" json:"api_id"`
	Labels map[string]string `` /* 143-byte string literal not displayed */
	// contains filtered or unexported fields
}

HTTP Mapping: 500 Internal Server Error

func (*InternalServerErrorMetricsEvent) Descriptor deprecated

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

Deprecated: Use InternalServerErrorMetricsEvent.ProtoReflect.Descriptor instead.

func (*InternalServerErrorMetricsEvent) GetApiId

func (x *InternalServerErrorMetricsEvent) GetApiId() ApiId

func (*InternalServerErrorMetricsEvent) GetLabels

func (x *InternalServerErrorMetricsEvent) GetLabels() map[string]string

func (*InternalServerErrorMetricsEvent) ProtoMessage

func (*InternalServerErrorMetricsEvent) ProtoMessage()

func (*InternalServerErrorMetricsEvent) ProtoReflect

func (*InternalServerErrorMetricsEvent) Reset

func (*InternalServerErrorMetricsEvent) String

type LatencyMetricsEvent

type LatencyMetricsEvent struct {
	ApiId  ApiId             `protobuf:"varint,1,opt,name=api_id,json=apiId,proto3,enum=bucketeer.event.client.ApiId" json:"api_id"`
	Labels map[string]string `` /* 143-byte string literal not displayed */
	// Deprecated: Do not use.
	Duration      *durationpb.Duration `protobuf:"bytes,3,opt,name=duration,proto3" json:"duration"`
	LatencySecond float64              `protobuf:"fixed64,4,opt,name=latency_second,json=latencySecond,proto3" json:"latency_second"`
	// contains filtered or unexported fields
}

func (*LatencyMetricsEvent) Descriptor deprecated

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

Deprecated: Use LatencyMetricsEvent.ProtoReflect.Descriptor instead.

func (*LatencyMetricsEvent) GetApiId

func (x *LatencyMetricsEvent) GetApiId() ApiId

func (*LatencyMetricsEvent) GetDuration deprecated

func (x *LatencyMetricsEvent) GetDuration() *durationpb.Duration

Deprecated: Do not use.

func (*LatencyMetricsEvent) GetLabels

func (x *LatencyMetricsEvent) GetLabels() map[string]string

func (*LatencyMetricsEvent) GetLatencySecond

func (x *LatencyMetricsEvent) GetLatencySecond() float64

func (*LatencyMetricsEvent) ProtoMessage

func (*LatencyMetricsEvent) ProtoMessage()

func (*LatencyMetricsEvent) ProtoReflect

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

func (*LatencyMetricsEvent) Reset

func (x *LatencyMetricsEvent) Reset()

func (*LatencyMetricsEvent) String

func (x *LatencyMetricsEvent) String() string

type MetricsEvent

type MetricsEvent struct {
	Timestamp  int64             `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp"`
	Event      *anypb.Any        `protobuf:"bytes,2,opt,name=event,proto3" json:"event"`
	SourceId   SourceId          `protobuf:"varint,3,opt,name=source_id,json=sourceId,proto3,enum=bucketeer.event.client.SourceId" json:"source_id"`
	SdkVersion string            `protobuf:"bytes,4,opt,name=sdk_version,json=sdkVersion,proto3" json:"sdk_version"`
	Metadata   map[string]string `` /* 147-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*MetricsEvent) Descriptor deprecated

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

Deprecated: Use MetricsEvent.ProtoReflect.Descriptor instead.

func (*MetricsEvent) GetEvent

func (x *MetricsEvent) GetEvent() *anypb.Any

func (*MetricsEvent) GetMetadata

func (x *MetricsEvent) GetMetadata() map[string]string

func (*MetricsEvent) GetSdkVersion

func (x *MetricsEvent) GetSdkVersion() string

func (*MetricsEvent) GetSourceId

func (x *MetricsEvent) GetSourceId() SourceId

func (*MetricsEvent) GetTimestamp

func (x *MetricsEvent) GetTimestamp() int64

func (*MetricsEvent) ProtoMessage

func (*MetricsEvent) ProtoMessage()

func (*MetricsEvent) ProtoReflect

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

func (*MetricsEvent) Reset

func (x *MetricsEvent) Reset()

func (*MetricsEvent) String

func (x *MetricsEvent) String() string

type NetworkErrorMetricsEvent

type NetworkErrorMetricsEvent struct {
	ApiId  ApiId             `protobuf:"varint,1,opt,name=api_id,json=apiId,proto3,enum=bucketeer.event.client.ApiId" json:"api_id"`
	Labels map[string]string `` /* 143-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*NetworkErrorMetricsEvent) Descriptor deprecated

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

Deprecated: Use NetworkErrorMetricsEvent.ProtoReflect.Descriptor instead.

func (*NetworkErrorMetricsEvent) GetApiId

func (x *NetworkErrorMetricsEvent) GetApiId() ApiId

func (*NetworkErrorMetricsEvent) GetLabels

func (x *NetworkErrorMetricsEvent) GetLabels() map[string]string

func (*NetworkErrorMetricsEvent) ProtoMessage

func (*NetworkErrorMetricsEvent) ProtoMessage()

func (*NetworkErrorMetricsEvent) ProtoReflect

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

func (*NetworkErrorMetricsEvent) Reset

func (x *NetworkErrorMetricsEvent) Reset()

func (*NetworkErrorMetricsEvent) String

func (x *NetworkErrorMetricsEvent) String() string

type NotFoundErrorMetricsEvent

type NotFoundErrorMetricsEvent struct {
	ApiId  ApiId             `protobuf:"varint,1,opt,name=api_id,json=apiId,proto3,enum=bucketeer.event.client.ApiId" json:"api_id"`
	Labels map[string]string `` /* 143-byte string literal not displayed */
	// contains filtered or unexported fields
}

HTTP Mapping: 404 Not Found

func (*NotFoundErrorMetricsEvent) Descriptor deprecated

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

Deprecated: Use NotFoundErrorMetricsEvent.ProtoReflect.Descriptor instead.

func (*NotFoundErrorMetricsEvent) GetApiId

func (x *NotFoundErrorMetricsEvent) GetApiId() ApiId

func (*NotFoundErrorMetricsEvent) GetLabels

func (x *NotFoundErrorMetricsEvent) GetLabels() map[string]string

func (*NotFoundErrorMetricsEvent) ProtoMessage

func (*NotFoundErrorMetricsEvent) ProtoMessage()

func (*NotFoundErrorMetricsEvent) ProtoReflect

func (*NotFoundErrorMetricsEvent) Reset

func (x *NotFoundErrorMetricsEvent) Reset()

func (*NotFoundErrorMetricsEvent) String

func (x *NotFoundErrorMetricsEvent) String() string

type OpsEvent

type OpsEvent struct {
	Timestamp      int64  `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp"`
	FeatureId      string `protobuf:"bytes,2,opt,name=feature_id,json=featureId,proto3" json:"feature_id"`
	FeatureVersion int32  `protobuf:"varint,3,opt,name=feature_version,json=featureVersion,proto3" json:"feature_version"`
	VariationId    string `protobuf:"bytes,4,opt,name=variation_id,json=variationId,proto3" json:"variation_id"`
	GoalId         string `protobuf:"bytes,5,opt,name=goal_id,json=goalId,proto3" json:"goal_id"`
	UserId         string `protobuf:"bytes,6,opt,name=user_id,json=userId,proto3" json:"user_id"`
	// contains filtered or unexported fields
}

func (*OpsEvent) Descriptor deprecated

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

Deprecated: Use OpsEvent.ProtoReflect.Descriptor instead.

func (*OpsEvent) GetFeatureId

func (x *OpsEvent) GetFeatureId() string

func (*OpsEvent) GetFeatureVersion

func (x *OpsEvent) GetFeatureVersion() int32

func (*OpsEvent) GetGoalId

func (x *OpsEvent) GetGoalId() string

func (*OpsEvent) GetTimestamp

func (x *OpsEvent) GetTimestamp() int64

func (*OpsEvent) GetUserId

func (x *OpsEvent) GetUserId() string

func (*OpsEvent) GetVariationId

func (x *OpsEvent) GetVariationId() string

func (*OpsEvent) ProtoMessage

func (*OpsEvent) ProtoMessage()

func (*OpsEvent) ProtoReflect

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

func (*OpsEvent) Reset

func (x *OpsEvent) Reset()

func (*OpsEvent) String

func (x *OpsEvent) String() string

type PayloadTooLargeExceptionEvent added in v0.4.0

type PayloadTooLargeExceptionEvent struct {
	ApiId  ApiId             `protobuf:"varint,1,opt,name=api_id,json=apiId,proto3,enum=bucketeer.event.client.ApiId" json:"api_id"`
	Labels map[string]string `` /* 143-byte string literal not displayed */
	// contains filtered or unexported fields
}

HTTP Mapping: 413 Requests Payload Too Large

func (*PayloadTooLargeExceptionEvent) Descriptor deprecated added in v0.4.0

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

Deprecated: Use PayloadTooLargeExceptionEvent.ProtoReflect.Descriptor instead.

func (*PayloadTooLargeExceptionEvent) GetApiId added in v0.4.0

func (x *PayloadTooLargeExceptionEvent) GetApiId() ApiId

func (*PayloadTooLargeExceptionEvent) GetLabels added in v0.4.0

func (x *PayloadTooLargeExceptionEvent) GetLabels() map[string]string

func (*PayloadTooLargeExceptionEvent) ProtoMessage added in v0.4.0

func (*PayloadTooLargeExceptionEvent) ProtoMessage()

func (*PayloadTooLargeExceptionEvent) ProtoReflect added in v0.4.0

func (*PayloadTooLargeExceptionEvent) Reset added in v0.4.0

func (x *PayloadTooLargeExceptionEvent) Reset()

func (*PayloadTooLargeExceptionEvent) String added in v0.4.0

type RedirectionRequestExceptionEvent added in v0.4.0

type RedirectionRequestExceptionEvent struct {
	ApiId  ApiId             `protobuf:"varint,1,opt,name=api_id,json=apiId,proto3,enum=bucketeer.event.client.ApiId" json:"api_id"`
	Labels map[string]string `` /* 143-byte string literal not displayed */
	// contains filtered or unexported fields
}

HTTP Mapping: 3xx (301, 302 & 303) Redirection Resquest The client will send the response code in the labels E.g. {"response_code": "302"}

func (*RedirectionRequestExceptionEvent) Descriptor deprecated added in v0.4.0

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

Deprecated: Use RedirectionRequestExceptionEvent.ProtoReflect.Descriptor instead.

func (*RedirectionRequestExceptionEvent) GetApiId added in v0.4.0

func (*RedirectionRequestExceptionEvent) GetLabels added in v0.4.0

func (x *RedirectionRequestExceptionEvent) GetLabels() map[string]string

func (*RedirectionRequestExceptionEvent) ProtoMessage added in v0.4.0

func (*RedirectionRequestExceptionEvent) ProtoMessage()

func (*RedirectionRequestExceptionEvent) ProtoReflect added in v0.4.0

func (*RedirectionRequestExceptionEvent) Reset added in v0.4.0

func (*RedirectionRequestExceptionEvent) String added in v0.4.0

type ServiceUnavailableErrorMetricsEvent

type ServiceUnavailableErrorMetricsEvent struct {
	ApiId  ApiId             `protobuf:"varint,1,opt,name=api_id,json=apiId,proto3,enum=bucketeer.event.client.ApiId" json:"api_id"`
	Labels map[string]string `` /* 143-byte string literal not displayed */
	// contains filtered or unexported fields
}

HTTP Mapping: 503 Service Unavailable

func (*ServiceUnavailableErrorMetricsEvent) Descriptor deprecated

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

Deprecated: Use ServiceUnavailableErrorMetricsEvent.ProtoReflect.Descriptor instead.

func (*ServiceUnavailableErrorMetricsEvent) GetApiId

func (*ServiceUnavailableErrorMetricsEvent) GetLabels

func (*ServiceUnavailableErrorMetricsEvent) ProtoMessage

func (*ServiceUnavailableErrorMetricsEvent) ProtoMessage()

func (*ServiceUnavailableErrorMetricsEvent) ProtoReflect

func (*ServiceUnavailableErrorMetricsEvent) Reset

func (*ServiceUnavailableErrorMetricsEvent) String

type SizeMetricsEvent

type SizeMetricsEvent struct {
	ApiId    ApiId             `protobuf:"varint,1,opt,name=api_id,json=apiId,proto3,enum=bucketeer.event.client.ApiId" json:"api_id"`
	Labels   map[string]string `` /* 143-byte string literal not displayed */
	SizeByte int32             `protobuf:"varint,3,opt,name=size_byte,json=sizeByte,proto3" json:"size_byte"`
	// contains filtered or unexported fields
}

func (*SizeMetricsEvent) Descriptor deprecated

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

Deprecated: Use SizeMetricsEvent.ProtoReflect.Descriptor instead.

func (*SizeMetricsEvent) GetApiId

func (x *SizeMetricsEvent) GetApiId() ApiId

func (*SizeMetricsEvent) GetLabels

func (x *SizeMetricsEvent) GetLabels() map[string]string

func (*SizeMetricsEvent) GetSizeByte

func (x *SizeMetricsEvent) GetSizeByte() int32

func (*SizeMetricsEvent) ProtoMessage

func (*SizeMetricsEvent) ProtoMessage()

func (*SizeMetricsEvent) ProtoReflect

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

func (*SizeMetricsEvent) Reset

func (x *SizeMetricsEvent) Reset()

func (*SizeMetricsEvent) String

func (x *SizeMetricsEvent) String() string

type SourceId

type SourceId int32
const (
	SourceId_UNKNOWN SourceId = 0
	SourceId_ANDROID SourceId = 1
	SourceId_IOS     SourceId = 2
	// Deprecated: Do not use.
	SourceId_WEB         SourceId = 3
	SourceId_GO_SERVER   SourceId = 5
	SourceId_NODE_SERVER SourceId = 6
	SourceId_JAVASCRIPT  SourceId = 7
)

func (SourceId) Descriptor

func (SourceId) Descriptor() protoreflect.EnumDescriptor

func (SourceId) Enum

func (x SourceId) Enum() *SourceId

func (SourceId) EnumDescriptor deprecated

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

Deprecated: Use SourceId.Descriptor instead.

func (SourceId) Number

func (x SourceId) Number() protoreflect.EnumNumber

func (SourceId) String

func (x SourceId) String() string

func (SourceId) Type

type TimeoutErrorCountMetricsEvent deprecated

type TimeoutErrorCountMetricsEvent struct {
	Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag"`
	// contains filtered or unexported fields
}

Deprecated: Do not use.

func (*TimeoutErrorCountMetricsEvent) Descriptor deprecated

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

Deprecated: Use TimeoutErrorCountMetricsEvent.ProtoReflect.Descriptor instead.

func (*TimeoutErrorCountMetricsEvent) GetTag

func (*TimeoutErrorCountMetricsEvent) ProtoMessage

func (*TimeoutErrorCountMetricsEvent) ProtoMessage()

func (*TimeoutErrorCountMetricsEvent) ProtoReflect

func (*TimeoutErrorCountMetricsEvent) Reset

func (x *TimeoutErrorCountMetricsEvent) Reset()

func (*TimeoutErrorCountMetricsEvent) String

type TimeoutErrorMetricsEvent

type TimeoutErrorMetricsEvent struct {
	ApiId  ApiId             `protobuf:"varint,1,opt,name=api_id,json=apiId,proto3,enum=bucketeer.event.client.ApiId" json:"api_id"`
	Labels map[string]string `` /* 143-byte string literal not displayed */
	// contains filtered or unexported fields
}

HTTP Mapping: Timeout error including 408

func (*TimeoutErrorMetricsEvent) Descriptor deprecated

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

Deprecated: Use TimeoutErrorMetricsEvent.ProtoReflect.Descriptor instead.

func (*TimeoutErrorMetricsEvent) GetApiId

func (x *TimeoutErrorMetricsEvent) GetApiId() ApiId

func (*TimeoutErrorMetricsEvent) GetLabels

func (x *TimeoutErrorMetricsEvent) GetLabels() map[string]string

func (*TimeoutErrorMetricsEvent) ProtoMessage

func (*TimeoutErrorMetricsEvent) ProtoMessage()

func (*TimeoutErrorMetricsEvent) ProtoReflect

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

func (*TimeoutErrorMetricsEvent) Reset

func (x *TimeoutErrorMetricsEvent) Reset()

func (*TimeoutErrorMetricsEvent) String

func (x *TimeoutErrorMetricsEvent) String() string

type UnauthorizedErrorMetricsEvent

type UnauthorizedErrorMetricsEvent struct {
	ApiId  ApiId             `protobuf:"varint,1,opt,name=api_id,json=apiId,proto3,enum=bucketeer.event.client.ApiId" json:"api_id"`
	Labels map[string]string `` /* 143-byte string literal not displayed */
	// contains filtered or unexported fields
}

HTTP Mapping: 401 Unauthorized

func (*UnauthorizedErrorMetricsEvent) Descriptor deprecated

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

Deprecated: Use UnauthorizedErrorMetricsEvent.ProtoReflect.Descriptor instead.

func (*UnauthorizedErrorMetricsEvent) GetApiId

func (x *UnauthorizedErrorMetricsEvent) GetApiId() ApiId

func (*UnauthorizedErrorMetricsEvent) GetLabels

func (x *UnauthorizedErrorMetricsEvent) GetLabels() map[string]string

func (*UnauthorizedErrorMetricsEvent) ProtoMessage

func (*UnauthorizedErrorMetricsEvent) ProtoMessage()

func (*UnauthorizedErrorMetricsEvent) ProtoReflect

func (*UnauthorizedErrorMetricsEvent) Reset

func (x *UnauthorizedErrorMetricsEvent) Reset()

func (*UnauthorizedErrorMetricsEvent) String

type UnknownErrorMetricsEvent

type UnknownErrorMetricsEvent struct {
	ApiId  ApiId             `protobuf:"varint,1,opt,name=api_id,json=apiId,proto3,enum=bucketeer.event.client.ApiId" json:"api_id"`
	Labels map[string]string `` /* 143-byte string literal not displayed */
	// contains filtered or unexported fields
}

HTTP Mapping: Unknown Response The client will send the response code and the error message in the labels E.g. {"response_code": "xxx", "error_message": "message"}

func (*UnknownErrorMetricsEvent) Descriptor deprecated

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

Deprecated: Use UnknownErrorMetricsEvent.ProtoReflect.Descriptor instead.

func (*UnknownErrorMetricsEvent) GetApiId

func (x *UnknownErrorMetricsEvent) GetApiId() ApiId

func (*UnknownErrorMetricsEvent) GetLabels

func (x *UnknownErrorMetricsEvent) GetLabels() map[string]string

func (*UnknownErrorMetricsEvent) ProtoMessage

func (*UnknownErrorMetricsEvent) ProtoMessage()

func (*UnknownErrorMetricsEvent) ProtoReflect

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

func (*UnknownErrorMetricsEvent) Reset

func (x *UnknownErrorMetricsEvent) Reset()

func (*UnknownErrorMetricsEvent) String

func (x *UnknownErrorMetricsEvent) String() string

type UserGoalEvent

type UserGoalEvent struct {
	Timestamp int64   `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp"`
	GoalId    string  `protobuf:"bytes,2,opt,name=goal_id,json=goalId,proto3" json:"goal_id"`
	Value     float64 `protobuf:"fixed64,3,opt,name=value,proto3" json:"value"`
	// contains filtered or unexported fields
}

func (*UserGoalEvent) Descriptor deprecated

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

Deprecated: Use UserGoalEvent.ProtoReflect.Descriptor instead.

func (*UserGoalEvent) GetGoalId

func (x *UserGoalEvent) GetGoalId() string

func (*UserGoalEvent) GetTimestamp

func (x *UserGoalEvent) GetTimestamp() int64

func (*UserGoalEvent) GetValue

func (x *UserGoalEvent) GetValue() float64

func (*UserGoalEvent) ProtoMessage

func (*UserGoalEvent) ProtoMessage()

func (*UserGoalEvent) ProtoReflect

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

func (*UserGoalEvent) Reset

func (x *UserGoalEvent) Reset()

func (*UserGoalEvent) String

func (x *UserGoalEvent) String() string

Jump to

Keyboard shortcuts

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