dogstatsd

package
v14.2.0 Latest Latest
Warning

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

Go to latest
Published: May 9, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const EventAggregationKeyTagKey = "vdogstatsd_ak"

EventAggregationKeyTagKey is a tag key used to conduct the aggregation key of an event to a sink

View Source
const EventAlertTypeTagKey = "vdogstatsd_at"

EventAlertTypeTagKey is a tag key used to conduct the alert type of an event to a sink

View Source
const EventHostnameTagKey = "vdogstatsd_hostname"

EventHostnameTagKey is a tag key used to conduct the hostname of an event to a sink

View Source
const EventIdentifierKey = "vdogstatsd_ev"

EventIdentifierKey is a tag key used to conduct the event identifier of an event to a sink

View Source
const EventPriorityTagKey = "vdogstatsd_pri"

EventPriorityTagKey is a tag key used to conduct the priority of an event to a sink

View Source
const EventSourceTypeTagKey = "vdogstatsd_st"

EventSourceTypeTagKey is a tag key used to conduct the source type of an event to a sink

Variables

View Source
var (
	ErrInvalidLengthGrpc = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGrpc   = fmt.Errorf("proto: integer overflow")
)

Functions

func RegisterDogstatsdGRPCServer added in v14.1.0

func RegisterDogstatsdGRPCServer(s *grpc.Server, srv DogstatsdGRPCServer)

Types

type DogstatsdGRPCClient added in v14.1.0

type DogstatsdGRPCClient interface {
	SendPacket(ctx context.Context, in *DogstatsdPacket, opts ...grpc.CallOption) (*Empty, error)
}

DogstatsdGRPCClient is the client API for DogstatsdGRPC service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewDogstatsdGRPCClient added in v14.1.0

func NewDogstatsdGRPCClient(cc *grpc.ClientConn) DogstatsdGRPCClient

type DogstatsdGRPCServer added in v14.1.0

type DogstatsdGRPCServer interface {
	SendPacket(context.Context, *DogstatsdPacket) (*Empty, error)
}

DogstatsdGRPCServer is the server API for DogstatsdGRPC service.

type DogstatsdPacket added in v14.1.0

type DogstatsdPacket struct {
	PacketBytes []byte `protobuf:"bytes,1,opt,name=packetBytes,proto3" json:"packetBytes,omitempty"`
}

func (*DogstatsdPacket) Descriptor added in v14.1.0

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

func (*DogstatsdPacket) GetPacketBytes added in v14.1.0

func (m *DogstatsdPacket) GetPacketBytes() []byte

func (*DogstatsdPacket) Marshal added in v14.1.0

func (m *DogstatsdPacket) Marshal() (dAtA []byte, err error)

func (*DogstatsdPacket) MarshalTo added in v14.1.0

func (m *DogstatsdPacket) MarshalTo(dAtA []byte) (int, error)

func (*DogstatsdPacket) ProtoMessage added in v14.1.0

func (*DogstatsdPacket) ProtoMessage()

func (*DogstatsdPacket) Reset added in v14.1.0

func (m *DogstatsdPacket) Reset()

func (*DogstatsdPacket) Size added in v14.1.0

func (m *DogstatsdPacket) Size() (n int)

func (*DogstatsdPacket) String added in v14.1.0

func (m *DogstatsdPacket) String() string

func (*DogstatsdPacket) Unmarshal added in v14.1.0

func (m *DogstatsdPacket) Unmarshal(dAtA []byte) error

func (*DogstatsdPacket) XXX_DiscardUnknown added in v14.1.0

func (m *DogstatsdPacket) XXX_DiscardUnknown()

func (*DogstatsdPacket) XXX_Marshal added in v14.1.0

func (m *DogstatsdPacket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DogstatsdPacket) XXX_Merge added in v14.1.0

func (m *DogstatsdPacket) XXX_Merge(src proto.Message)

func (*DogstatsdPacket) XXX_Size added in v14.1.0

func (m *DogstatsdPacket) XXX_Size() int

func (*DogstatsdPacket) XXX_Unmarshal added in v14.1.0

func (m *DogstatsdPacket) XXX_Unmarshal(b []byte) error

type Empty added in v14.1.0

type Empty struct {
}

func (*Empty) Descriptor added in v14.1.0

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

func (*Empty) Marshal added in v14.1.0

func (m *Empty) Marshal() (dAtA []byte, err error)

func (*Empty) MarshalTo added in v14.1.0

func (m *Empty) MarshalTo(dAtA []byte) (int, error)

func (*Empty) ProtoMessage added in v14.1.0

func (*Empty) ProtoMessage()

func (*Empty) Reset added in v14.1.0

func (m *Empty) Reset()

func (*Empty) Size added in v14.1.0

func (m *Empty) Size() (n int)

func (*Empty) String added in v14.1.0

func (m *Empty) String() string

func (*Empty) Unmarshal added in v14.1.0

func (m *Empty) Unmarshal(dAtA []byte) error

func (*Empty) XXX_DiscardUnknown added in v14.1.0

func (m *Empty) XXX_DiscardUnknown()

func (*Empty) XXX_Marshal added in v14.1.0

func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Empty) XXX_Merge added in v14.1.0

func (m *Empty) XXX_Merge(src proto.Message)

func (*Empty) XXX_Size added in v14.1.0

func (m *Empty) XXX_Size() int

func (*Empty) XXX_Unmarshal added in v14.1.0

func (m *Empty) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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