Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewSegmentWriterClient ¶
func NewSegmentWriterClient( grpcClientConfig grpcclient.Config, logger log.Logger, registry prometheus.Registerer, ring ring.ReadRing, placement placement.Placement, dialOpts ...grpc.DialOption, ) (*Client, error)
func (*Client) CheckReady ¶ added in v2.1.0
CheckReady reports whether the client can dispatch requests, i.e. its service is Running and the segment-writer ring has at least one healthy instance. Used by callers (e.g. the distributor) to gate readiness so that traffic isn't accepted before the ring has been populated.
func (*Client) Push ¶
func (c *Client) Push( ctx context.Context, req *segmentwriterv1.PushRequest, ) (resp *segmentwriterv1.PushResponse, err error)
Click to show internal directories.
Click to hide internal directories.