grpc: Index | Files

package lrs

import ""

Package lrs implements load reporting service for xds balancer.


Package Files


type Store Uses

type Store interface {
    CallDropped(category string)
    CallStarted(l internal.Locality)
    CallFinished(l internal.Locality, err error)
    CallServerLoad(l internal.Locality, name string, d float64)
    ReportTo(ctx context.Context, cc *grpc.ClientConn)

Store defines the interface for a load store. It keeps loads and can report them to a server when requested.

func NewStore Uses

func NewStore(serviceName string) Store

NewStore creates a store for load reports.

Package lrs imports 13 packages (graph) and is imported by 2 packages. Updated 2019-08-12. Refresh now. Tools for package owners.