Documentation
¶
Index ¶
- Constants
- func NewNoopProfileStoreClient() profilestorepb.ProfileStoreServiceClient
- type Batcher
- type NoopProfileStoreClient
- type ProfileListener
- func (l *ProfileListener) NextMatchingProfile(ctx context.Context, matchers []*labels.Matcher) (*profile.Profile, error)
- func (l *ProfileListener) Observe(f func(*profilestorepb.WriteRawRequest)) *observer
- func (l *ProfileListener) ObserveProfile(r *profilestorepb.WriteRawRequest)
- func (l *ProfileListener) RemoveObserver(o *observer)
- func (l *ProfileListener) WriteRaw(ctx context.Context, r *profilestorepb.WriteRawRequest, ...) (*profilestorepb.WriteRawResponse, error)
- type Record
Constants ¶
View Source
const CgroupPathLabelName = model.LabelName("__cgroup_path__")
Variables ¶
This section is empty.
Functions ¶
func NewNoopProfileStoreClient ¶
func NewNoopProfileStoreClient() profilestorepb.ProfileStoreServiceClient
Types ¶
type Batcher ¶ added in v0.3.0
type Batcher struct {
// contains filtered or unexported fields
}
func NewBatchWriteClient ¶ added in v0.3.0
func NewBatchWriteClient(logger log.Logger, wc profilestorepb.ProfileStoreServiceClient) *Batcher
func (*Batcher) WriteRaw ¶ added in v0.3.0
func (b *Batcher) 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)
type ProfileListener ¶ added in v0.4.0
type ProfileListener struct {
// contains filtered or unexported fields
}
func NewProfileListener ¶ added in v0.4.0
func NewProfileListener(logger log.Logger, next profilestorepb.ProfileStoreServiceClient) *ProfileListener
func (*ProfileListener) NextMatchingProfile ¶ added in v0.4.0
func (*ProfileListener) Observe ¶ added in v0.4.0
func (l *ProfileListener) Observe(f func(*profilestorepb.WriteRawRequest)) *observer
func (*ProfileListener) ObserveProfile ¶ added in v0.4.0
func (l *ProfileListener) ObserveProfile(r *profilestorepb.WriteRawRequest)
func (*ProfileListener) RemoveObserver ¶ added in v0.4.0
func (l *ProfileListener) RemoveObserver(o *observer)
func (*ProfileListener) WriteRaw ¶ added in v0.4.0
func (l *ProfileListener) WriteRaw(ctx context.Context, r *profilestorepb.WriteRawRequest, opts ...grpc.CallOption) (*profilestorepb.WriteRawResponse, error)
Click to show internal directories.
Click to hide internal directories.