Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsumeProfilesFunc ¶
ConsumeProfilesFunc is a helper function that is similar to ConsumeProfiles.
func (ConsumeProfilesFunc) ConsumeProfiles ¶
ConsumeProfiles calls f(ctx, td).
type Profiles ¶
type Profiles interface { internal.BaseConsumer // ConsumeProfiles receives pprofile.Profiles for consumption. ConsumeProfiles(ctx context.Context, td pprofile.Profiles) error }
Profiles is an interface that receives pprofile.Profiles, processes it as needed, and sends it to the next processing node if any or to the destination.
func NewProfiles ¶
func NewProfiles(consume ConsumeProfilesFunc, options ...consumer.Option) (Profiles, error)
NewProfiles returns a Profiles configured with the provided options.
Click to show internal directories.
Click to hide internal directories.