Documentation
¶
Index ¶
- Variables
- func NewProfilesExporter(ctx context.Context, set exporter.Settings, cfg component.Config, ...) (xexporter.Profiles, error)
- func NewProfilesQueueBatchSettings() exporterhelper.QueueBatchSettings
- func NewProfilesRequest(_ context.Context, set exporter.Settings, ...) (xexporter.Profiles, error)
Constants ¶
This section is empty.
Variables ¶
var NewProfilesRequestExporter = NewProfilesRequest
Deprecated: [v0.124.0] use NewProfilesRequest.
Functions ¶
func NewProfilesExporter ¶
func NewProfilesExporter( ctx context.Context, set exporter.Settings, cfg component.Config, pusher xconsumer.ConsumeProfilesFunc, options ...exporterhelper.Option, ) (xexporter.Profiles, error)
NewProfilesExporter creates an xexporter.Profiles that records observability metrics and wraps every request with a Span.
func NewProfilesQueueBatchSettings ¶ added in v0.123.0
func NewProfilesQueueBatchSettings() exporterhelper.QueueBatchSettings
NewProfilesQueueBatchSettings returns a new QueueBatchSettings to configure to WithQueueBatch when using pprofile.Profiles. Experimental: This API is at the early stage of development and may change without backward compatibility until https://github.com/open-telemetry/opentelemetry-collector/issues/8122 is resolved.
func NewProfilesRequest ¶ added in v0.124.0
func NewProfilesRequest( _ context.Context, set exporter.Settings, converter exporterhelper.RequestConverterFunc[pprofile.Profiles], pusher exporterhelper.RequestConsumeFunc, options ...exporterhelper.Option, ) (xexporter.Profiles, error)
NewProfilesRequest creates a new profiles exporter based on a custom ProfilesConverter and Sender. Experimental: This API is at the early stage of development and may change without backward compatibility until https://github.com/open-telemetry/opentelemetry-collector/issues/8122 is resolved.
Types ¶
This section is empty.