Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMatchingProfileListener ¶ added in v0.10.0
func NewMatchingProfileListener(logger log.Logger, next profilestorepb.ProfileStoreServiceClient) *profileListener
func NewNoopProfileStoreClient ¶
func NewNoopProfileStoreClient() profilestorepb.ProfileStoreServiceClient
Types ¶
type BatchWriteClient ¶ added in v0.10.0
type BatchWriteClient struct {
// contains filtered or unexported fields
}
BatchWriteClient is a batch writer for profiles.
func NewBatchWriteClient ¶ added in v0.3.0
func NewBatchWriteClient(logger log.Logger, reg prometheus.Registerer, wc profilestorepb.ProfileStoreServiceClient, writeInterval time.Duration) *BatchWriteClient
func (*BatchWriteClient) Run ¶ added in v0.10.0
func (b *BatchWriteClient) Run(ctx context.Context) error
func (*BatchWriteClient) WriteRaw ¶ added in v0.10.0
func (b *BatchWriteClient) WriteRaw(ctx context.Context, r *profilestorepb.WriteRawRequest, opts ...grpc.CallOption) (*profilestorepb.WriteRawResponse, error)
type NoopProfileStoreClient ¶
type NoopProfileStoreClient struct{}
func (*NoopProfileStoreClient) WriteRaw ¶
func (c *NoopProfileStoreClient) WriteRaw(ctx context.Context, in *profilestorepb.WriteRawRequest, opts ...grpc.CallOption) (*profilestorepb.WriteRawResponse, error)
Click to show internal directories.
Click to hide internal directories.