Documentation ¶
Index ¶
- Variables
- type Block
- func (*Block) Descriptor() ([]byte, []int)deprecated
- func (x *Block) GetId() []byte
- func (x *Block) GetMax() int64
- func (x *Block) GetMin() int64
- func (x *Block) GetSize() int64
- func (*Block) ProtoMessage()
- func (x *Block) ProtoReflect() protoreflect.Message
- func (x *Block) Reset()
- func (x *Block) String() string
- type Block_Index
- func (*Block_Index) Descriptor() ([]byte, []int)deprecated
- func (x *Block_Index) GetGroups() map[int32]*Block_Index_Bitmap
- func (x *Block_Index) GetMax() int64
- func (x *Block_Index) GetMin() int64
- func (*Block_Index) ProtoMessage()
- func (x *Block_Index) ProtoReflect() protoreflect.Message
- func (x *Block_Index) Reset()
- func (x *Block_Index) String() string
- type Block_Index_Bitmap
- func (*Block_Index_Bitmap) Descriptor() ([]byte, []int)deprecated
- func (x *Block_Index_Bitmap) GetBitmap() []byte
- func (x *Block_Index_Bitmap) GetMax() int64
- func (x *Block_Index_Bitmap) GetMin() int64
- func (*Block_Index_Bitmap) ProtoMessage()
- func (x *Block_Index_Bitmap) ProtoReflect() protoreflect.Message
- func (x *Block_Index_Bitmap) Reset()
- func (x *Block_Index_Bitmap) String() string
- type Block_Index_BloomKey
- func (*Block_Index_BloomKey) Descriptor() ([]byte, []int)deprecated
- func (x *Block_Index_BloomKey) GetColumn() Block_Index_Column
- func (x *Block_Index_BloomKey) GetValue() string
- func (*Block_Index_BloomKey) ProtoMessage()
- func (x *Block_Index_BloomKey) ProtoReflect() protoreflect.Message
- func (x *Block_Index_BloomKey) Reset()
- func (x *Block_Index_BloomKey) String() string
- type Block_Index_Column
- func (Block_Index_Column) Descriptor() protoreflect.EnumDescriptor
- func (x Block_Index_Column) Enum() *Block_Index_Column
- func (Block_Index_Column) EnumDescriptor() ([]byte, []int)deprecated
- func (x Block_Index_Column) Number() protoreflect.EnumNumber
- func (x Block_Index_Column) String() string
- func (Block_Index_Column) Type() protoreflect.EnumType
- type Block_Key
- func (s *Block_Key) Badger() string
- func (*Block_Key) Descriptor() ([]byte, []int)deprecated
- func (x *Block_Key) GetDomain() string
- func (x *Block_Key) GetKind() Block_Key_Kind
- func (x *Block_Key) GetUid() string
- func (*Block_Key) ProtoMessage()
- func (x *Block_Key) ProtoReflect() protoreflect.Message
- func (x *Block_Key) Reset()
- func (x *Block_Key) String() string
- type Block_Key_Kind
- func (Block_Key_Kind) Descriptor() protoreflect.EnumDescriptor
- func (x Block_Key_Kind) Enum() *Block_Key_Kind
- func (Block_Key_Kind) EnumDescriptor() ([]byte, []int)deprecated
- func (x Block_Key_Kind) Number() protoreflect.EnumNumber
- func (x Block_Key_Kind) String() string
- func (Block_Key_Kind) Type() protoreflect.EnumType
- type Build
- type Config
- func (*Config) Descriptor() ([]byte, []int)deprecated
- func (x *Config) GetBlocksPath() string
- func (x *Config) GetEnableProfile() bool
- func (x *Config) GetListenAddress() string
- func (x *Config) GetLogLevel() string
- func (x *Config) GetMetaPath() string
- func (x *Config) GetSyncInterval() *durationpb.Duration
- func (*Config) ProtoMessage()
- func (x *Config) ProtoReflect() protoreflect.Message
- func (x *Config) Reset()
- func (x *Config) String() string
- type Filter
- func (*Filter) Descriptor() ([]byte, []int)deprecated
- func (x *Filter) GetColumn() string
- func (x *Filter) GetDuration() int64
- func (x *Filter) GetOp() Op
- func (x *Filter) GetStr() string
- func (x *Filter) GetTimestamp() int64
- func (m *Filter) GetValue() isFilter_Value
- func (*Filter) ProtoMessage()
- func (x *Filter) ProtoReflect() protoreflect.Message
- func (x *Filter) Reset()
- func (x *Filter) String() string
- type Filter_Duration
- type Filter_Str
- type Filter_Timestamp
- type Metadata
- type Op
- type Site
- type Site_List
- type Status
- type StoreKey
- func (s *StoreKey) Badger() string
- func (*StoreKey) Descriptor() ([]byte, []int)deprecated
- func (x *StoreKey) GetKey() string
- func (x *StoreKey) GetNamespace() string
- func (x *StoreKey) GetPrefix() StorePrefix
- func (*StoreKey) ProtoMessage()
- func (x *StoreKey) ProtoReflect() protoreflect.Message
- func (x *StoreKey) Reset()
- func (x *StoreKey) String() string
- type StorePrefix
- func (StorePrefix) Descriptor() protoreflect.EnumDescriptor
- func (x StorePrefix) Enum() *StorePrefix
- func (StorePrefix) EnumDescriptor() ([]byte, []int)deprecated
- func (x StorePrefix) Number() protoreflect.EnumNumber
- func (x StorePrefix) String() string
- func (StorePrefix) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
var ( StorePrefix_name = map[int32]string{ 0: "SITES", 1: "BLOCKS", 2: "ALERTS", } StorePrefix_value = map[string]int32{ "SITES": 0, "BLOCKS": 1, "ALERTS": 2, } )
Enum value maps for StorePrefix.
var ( Op_name = map[int32]string{ 0: "equal", 1: "not_equal", 2: "greater", 3: "greater_equal", 4: "less", 5: "less_equal", } Op_value = map[string]int32{ "equal": 0, "not_equal": 1, "greater": 2, "greater_equal": 3, "less": 4, "less_equal": 5, } )
Enum value maps for Op.
var ( Block_Key_Kind_name = map[int32]string{ 0: "METADATA", 1: "INDEX", } Block_Key_Kind_value = map[string]int32{ "METADATA": 0, "INDEX": 1, } )
Enum value maps for Block_Key_Kind.
var ( Block_Index_Column_name = map[int32]string{ 0: "Browser", 1: "BrowserVersion", 2: "City", 3: "Country", 4: "Domain", 5: "EntryPage", 6: "ExitPage", 7: "Host", 8: "Event", 9: "Os", 10: "OsVersion", 11: "Path", 12: "Referrer", 13: "ReferrerSource", 14: "Region", 15: "Screen", 16: "UtmCampaign", 17: "UtmContent", 18: "UtmMedium", 19: "UtmSource", 20: "UtmTerm", } Block_Index_Column_value = map[string]int32{ "Browser": 0, "BrowserVersion": 1, "City": 2, "Country": 3, "Domain": 4, "EntryPage": 5, "ExitPage": 6, "Host": 7, "Event": 8, "Os": 9, "OsVersion": 10, "Path": 11, "Referrer": 12, "ReferrerSource": 13, "Region": 14, "Screen": 15, "UtmCampaign": 16, "UtmContent": 17, "UtmMedium": 18, "UtmSource": 19, "UtmTerm": 20, } )
Enum value maps for Block_Index_Column.
var File_api_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Block ¶
type Block struct { // a ULID string identifier for this block. Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Smallest timestamp in milliseconds observed in this block Min int64 `protobuf:"varint,2,opt,name=min,proto3" json:"min,omitempty"` // Largest timestamp in milliseconds observed in this block. Max int64 `protobuf:"varint,3,opt,name=max,proto3" json:"max,omitempty"` // Size on bytes contained in this block Size int64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"` // contains filtered or unexported fields }
Defines metadata about a single parquet file.
func (*Block) Descriptor
deprecated
func (*Block) ProtoMessage ¶
func (*Block) ProtoMessage()
func (*Block) ProtoReflect ¶
func (x *Block) ProtoReflect() protoreflect.Message
type Block_Index ¶ added in v0.0.19
type Block_Index struct { Groups map[int32]*Block_Index_Bitmap `` /* 154-byte string literal not displayed */ Min int64 `protobuf:"varint,2,opt,name=min,proto3" json:"min,omitempty"` Max int64 `protobuf:"varint,3,opt,name=max,proto3" json:"max,omitempty"` // contains filtered or unexported fields }
func (*Block_Index) Descriptor
deprecated
added in
v0.0.19
func (*Block_Index) Descriptor() ([]byte, []int)
Deprecated: Use Block_Index.ProtoReflect.Descriptor instead.
func (*Block_Index) GetGroups ¶ added in v0.0.19
func (x *Block_Index) GetGroups() map[int32]*Block_Index_Bitmap
func (*Block_Index) GetMax ¶ added in v0.0.19
func (x *Block_Index) GetMax() int64
func (*Block_Index) GetMin ¶ added in v0.0.19
func (x *Block_Index) GetMin() int64
func (*Block_Index) ProtoMessage ¶ added in v0.0.19
func (*Block_Index) ProtoMessage()
func (*Block_Index) ProtoReflect ¶ added in v0.0.19
func (x *Block_Index) ProtoReflect() protoreflect.Message
func (*Block_Index) Reset ¶ added in v0.0.19
func (x *Block_Index) Reset()
func (*Block_Index) String ¶ added in v0.0.19
func (x *Block_Index) String() string
type Block_Index_Bitmap ¶ added in v0.0.19
type Block_Index_Bitmap struct { Bitmap []byte `protobuf:"bytes,1,opt,name=bitmap,proto3" json:"bitmap,omitempty"` Min int64 `protobuf:"varint,2,opt,name=min,proto3" json:"min,omitempty"` Max int64 `protobuf:"varint,3,opt,name=max,proto3" json:"max,omitempty"` // contains filtered or unexported fields }
func (*Block_Index_Bitmap) Descriptor
deprecated
added in
v0.0.19
func (*Block_Index_Bitmap) Descriptor() ([]byte, []int)
Deprecated: Use Block_Index_Bitmap.ProtoReflect.Descriptor instead.
func (*Block_Index_Bitmap) GetBitmap ¶ added in v0.0.19
func (x *Block_Index_Bitmap) GetBitmap() []byte
func (*Block_Index_Bitmap) GetMax ¶ added in v0.0.19
func (x *Block_Index_Bitmap) GetMax() int64
func (*Block_Index_Bitmap) GetMin ¶ added in v0.0.19
func (x *Block_Index_Bitmap) GetMin() int64
func (*Block_Index_Bitmap) ProtoMessage ¶ added in v0.0.19
func (*Block_Index_Bitmap) ProtoMessage()
func (*Block_Index_Bitmap) ProtoReflect ¶ added in v0.0.19
func (x *Block_Index_Bitmap) ProtoReflect() protoreflect.Message
func (*Block_Index_Bitmap) Reset ¶ added in v0.0.19
func (x *Block_Index_Bitmap) Reset()
func (*Block_Index_Bitmap) String ¶ added in v0.0.19
func (x *Block_Index_Bitmap) String() string
type Block_Index_BloomKey ¶ added in v0.0.19
type Block_Index_BloomKey struct { Column Block_Index_Column `protobuf:"varint,1,opt,name=column,proto3,enum=v1.Block_Index_Column" json:"column,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Block_Index_BloomKey) Descriptor
deprecated
added in
v0.0.19
func (*Block_Index_BloomKey) Descriptor() ([]byte, []int)
Deprecated: Use Block_Index_BloomKey.ProtoReflect.Descriptor instead.
func (*Block_Index_BloomKey) GetColumn ¶ added in v0.0.19
func (x *Block_Index_BloomKey) GetColumn() Block_Index_Column
func (*Block_Index_BloomKey) GetValue ¶ added in v0.0.19
func (x *Block_Index_BloomKey) GetValue() string
func (*Block_Index_BloomKey) ProtoMessage ¶ added in v0.0.19
func (*Block_Index_BloomKey) ProtoMessage()
func (*Block_Index_BloomKey) ProtoReflect ¶ added in v0.0.19
func (x *Block_Index_BloomKey) ProtoReflect() protoreflect.Message
func (*Block_Index_BloomKey) Reset ¶ added in v0.0.19
func (x *Block_Index_BloomKey) Reset()
func (*Block_Index_BloomKey) String ¶ added in v0.0.19
func (x *Block_Index_BloomKey) String() string
type Block_Index_Column ¶ added in v0.0.19
type Block_Index_Column int32
const ( Block_Index_Browser Block_Index_Column = 0 Block_Index_BrowserVersion Block_Index_Column = 1 Block_Index_City Block_Index_Column = 2 Block_Index_Country Block_Index_Column = 3 Block_Index_Domain Block_Index_Column = 4 Block_Index_EntryPage Block_Index_Column = 5 Block_Index_ExitPage Block_Index_Column = 6 Block_Index_Host Block_Index_Column = 7 Block_Index_Event Block_Index_Column = 8 Block_Index_Os Block_Index_Column = 9 Block_Index_OsVersion Block_Index_Column = 10 Block_Index_Path Block_Index_Column = 11 Block_Index_Referrer Block_Index_Column = 12 Block_Index_ReferrerSource Block_Index_Column = 13 Block_Index_Region Block_Index_Column = 14 Block_Index_Screen Block_Index_Column = 15 Block_Index_UtmCampaign Block_Index_Column = 16 Block_Index_UtmContent Block_Index_Column = 17 Block_Index_UtmMedium Block_Index_Column = 18 Block_Index_UtmSource Block_Index_Column = 19 Block_Index_UtmTerm Block_Index_Column = 20 )
func (Block_Index_Column) Descriptor ¶ added in v0.0.19
func (Block_Index_Column) Descriptor() protoreflect.EnumDescriptor
func (Block_Index_Column) Enum ¶ added in v0.0.19
func (x Block_Index_Column) Enum() *Block_Index_Column
func (Block_Index_Column) EnumDescriptor
deprecated
added in
v0.0.19
func (Block_Index_Column) EnumDescriptor() ([]byte, []int)
Deprecated: Use Block_Index_Column.Descriptor instead.
func (Block_Index_Column) Number ¶ added in v0.0.19
func (x Block_Index_Column) Number() protoreflect.EnumNumber
func (Block_Index_Column) String ¶ added in v0.0.19
func (x Block_Index_Column) String() string
func (Block_Index_Column) Type ¶ added in v0.0.19
func (Block_Index_Column) Type() protoreflect.EnumType
type Block_Key ¶ added in v0.0.19
type Block_Key struct { Kind Block_Key_Kind `protobuf:"varint,1,opt,name=kind,proto3,enum=v1.Block_Key_Kind" json:"kind,omitempty"` Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"` Uid string `protobuf:"bytes,3,opt,name=uid,proto3" json:"uid,omitempty"` // contains filtered or unexported fields }
func (*Block_Key) Descriptor
deprecated
added in
v0.0.19
func (*Block_Key) GetKind ¶ added in v0.0.19
func (x *Block_Key) GetKind() Block_Key_Kind
func (*Block_Key) ProtoMessage ¶ added in v0.0.19
func (*Block_Key) ProtoMessage()
func (*Block_Key) ProtoReflect ¶ added in v0.0.19
func (x *Block_Key) ProtoReflect() protoreflect.Message
type Block_Key_Kind ¶ added in v0.0.19
type Block_Key_Kind int32
const ( Block_Key_METADATA Block_Key_Kind = 0 Block_Key_INDEX Block_Key_Kind = 1 )
func (Block_Key_Kind) Descriptor ¶ added in v0.0.19
func (Block_Key_Kind) Descriptor() protoreflect.EnumDescriptor
func (Block_Key_Kind) Enum ¶ added in v0.0.19
func (x Block_Key_Kind) Enum() *Block_Key_Kind
func (Block_Key_Kind) EnumDescriptor
deprecated
added in
v0.0.19
func (Block_Key_Kind) EnumDescriptor() ([]byte, []int)
Deprecated: Use Block_Key_Kind.Descriptor instead.
func (Block_Key_Kind) Number ¶ added in v0.0.19
func (x Block_Key_Kind) Number() protoreflect.EnumNumber
func (Block_Key_Kind) String ¶ added in v0.0.19
func (x Block_Key_Kind) String() string
func (Block_Key_Kind) Type ¶ added in v0.0.19
func (Block_Key_Kind) Type() protoreflect.EnumType
type Build ¶ added in v0.0.21
type Build struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*Build) Descriptor
deprecated
added in
v0.0.21
func (*Build) GetVersion ¶ added in v0.0.21
func (*Build) ProtoMessage ¶ added in v0.0.21
func (*Build) ProtoMessage()
func (*Build) ProtoReflect ¶ added in v0.0.21
func (x *Build) ProtoReflect() protoreflect.Message
type Config ¶ added in v0.0.21
type Config struct { // Path to the directory which is used to store metadata. This directory is // managed by badger key/value store. WHich is used to store all metadata // regarding sites events. // // Metadata includes // - Registered sites // - Blocks metadata // - Blocks indexes MetaPath string `protobuf:"bytes,1,opt,name=meta_path,json=metaPath,proto3" json:"meta_path,omitempty"` // Path to where block files are stored. Blocks are stored as files with ULID // as filenames BlocksPath string `protobuf:"bytes,2,opt,name=blocks_path,json=blocksPath,proto3" json:"blocks_path,omitempty"` // host:port to bind for http api. This is used by serve command. The server // serves ui console ListenAddress string `protobuf:"bytes,3,opt,name=listen_address,json=listenAddress,proto3" json:"listen_address,omitempty"` // Control how much is logged options are // trace,debug,info,warn,error,fatal,panic LogLevel string `protobuf:"bytes,4,opt,name=log_level,json=logLevel,proto3" json:"log_level,omitempty"` // Interval for syncing buffered entries. By default events are buffered and // periodically saved. SyncInterval *durationpb.Duration `protobuf:"bytes,5,opt,name=sync_interval,json=syncInterval,proto3" json:"sync_interval,omitempty"` // Expose /debug/pprof endpoint when serving EnableProfile bool `protobuf:"varint,6,opt,name=enable_profile,json=enableProfile,proto3" json:"enable_profile,omitempty"` // contains filtered or unexported fields }
Configuration object for vince instance
func (*Config) Descriptor
deprecated
added in
v0.0.21
func (*Config) GetBlocksPath ¶ added in v0.0.21
func (*Config) GetEnableProfile ¶ added in v0.0.21
func (*Config) GetListenAddress ¶ added in v0.0.21
func (*Config) GetLogLevel ¶ added in v0.0.21
func (*Config) GetMetaPath ¶ added in v0.0.21
func (*Config) GetSyncInterval ¶ added in v0.0.21
func (x *Config) GetSyncInterval() *durationpb.Duration
func (*Config) ProtoMessage ¶ added in v0.0.21
func (*Config) ProtoMessage()
func (*Config) ProtoReflect ¶ added in v0.0.21
func (x *Config) ProtoReflect() protoreflect.Message
type Filter ¶
type Filter struct { Column string `protobuf:"bytes,1,opt,name=column,proto3" json:"column,omitempty"` Op Op `protobuf:"varint,2,opt,name=op,proto3,enum=v1.Op" json:"op,omitempty"` // Types that are assignable to Value: // // *Filter_Str // *Filter_Timestamp // *Filter_Duration Value isFilter_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
func (*Filter) Descriptor
deprecated
func (*Filter) GetDuration ¶
func (*Filter) GetTimestamp ¶
func (*Filter) ProtoMessage ¶
func (*Filter) ProtoMessage()
func (*Filter) ProtoReflect ¶
func (x *Filter) ProtoReflect() protoreflect.Message
type Filter_Duration ¶
type Filter_Duration struct {
Duration int64 `protobuf:"varint,5,opt,name=duration,proto3,oneof"`
}
type Filter_Str ¶
type Filter_Str struct {
Str string `protobuf:"bytes,3,opt,name=str,proto3,oneof"`
}
type Filter_Timestamp ¶
type Filter_Timestamp struct {
Timestamp int64 `protobuf:"varint,4,opt,name=timestamp,proto3,oneof"`
}
type Metadata ¶
type Metadata struct { Blocks []*Block `protobuf:"bytes,1,rep,name=blocks,proto3" json:"blocks,omitempty"` // contains filtered or unexported fields }
func (*Metadata) Descriptor
deprecated
func (*Metadata) ProtoMessage ¶
func (*Metadata) ProtoMessage()
func (*Metadata) ProtoReflect ¶
func (x *Metadata) ProtoReflect() protoreflect.Message
type Op ¶
type Op int32
func (Op) Descriptor ¶
func (Op) Descriptor() protoreflect.EnumDescriptor
func (Op) EnumDescriptor
deprecated
func (Op) Number ¶
func (x Op) Number() protoreflect.EnumNumber
func (Op) Type ¶
func (Op) Type() protoreflect.EnumType
type Site ¶
type Site struct { Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` // contains filtered or unexported fields }
func (*Site) Descriptor
deprecated
func (*Site) ProtoMessage ¶
func (*Site) ProtoMessage()
func (*Site) ProtoReflect ¶
func (x *Site) ProtoReflect() protoreflect.Message
type Site_List ¶ added in v0.0.21
type Site_List struct { List []*Site `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*Site_List) Descriptor
deprecated
added in
v0.0.21
func (*Site_List) ProtoMessage ¶ added in v0.0.21
func (*Site_List) ProtoMessage()
func (*Site_List) ProtoReflect ¶ added in v0.0.21
func (x *Site_List) ProtoReflect() protoreflect.Message
type Status ¶ added in v0.0.21
type Status struct {
// contains filtered or unexported fields
}
func (*Status) Descriptor
deprecated
added in
v0.0.21
func (*Status) ProtoMessage ¶ added in v0.0.21
func (*Status) ProtoMessage()
func (*Status) ProtoReflect ¶ added in v0.0.21
func (x *Status) ProtoReflect() protoreflect.Message
type StoreKey ¶
type StoreKey struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Prefix StorePrefix `protobuf:"varint,2,opt,name=prefix,proto3,enum=v1.StorePrefix" json:"prefix,omitempty"` Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*StoreKey) Descriptor
deprecated
func (*StoreKey) GetNamespace ¶
func (*StoreKey) GetPrefix ¶
func (x *StoreKey) GetPrefix() StorePrefix
func (*StoreKey) ProtoMessage ¶
func (*StoreKey) ProtoMessage()
func (*StoreKey) ProtoReflect ¶
func (x *StoreKey) ProtoReflect() protoreflect.Message
type StorePrefix ¶
type StorePrefix int32
StorePrefix defines different kind of data we are storing in the key value store.
const ( StorePrefix_SITES StorePrefix = 0 StorePrefix_BLOCKS StorePrefix = 1 StorePrefix_ALERTS StorePrefix = 2 )
func (StorePrefix) Descriptor ¶
func (StorePrefix) Descriptor() protoreflect.EnumDescriptor
func (StorePrefix) Enum ¶
func (x StorePrefix) Enum() *StorePrefix
func (StorePrefix) EnumDescriptor
deprecated
func (StorePrefix) EnumDescriptor() ([]byte, []int)
Deprecated: Use StorePrefix.Descriptor instead.
func (StorePrefix) Number ¶
func (x StorePrefix) Number() protoreflect.EnumNumber
func (StorePrefix) String ¶
func (x StorePrefix) String() string
func (StorePrefix) Type ¶
func (StorePrefix) Type() protoreflect.EnumType