-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[exporterhelper] Add WithRequestQueue option to the exporter
- Loading branch information
Showing
38 changed files
with
1,124 additions
and
656 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' | ||
change_type: breaking | ||
|
||
# The name of the component, or a single word describing the area of concern, (e.g. otlpreceiver) | ||
component: exporter/exporterhelper | ||
|
||
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). | ||
note: Move the experimental request API to a separate package. | ||
|
||
# One or more tracking issues or pull requests related to the change | ||
issues: [7874] | ||
|
||
# (Optional) One or more lines of additional information to render under the primary note. | ||
# These lines will be padded with 2 spaces and then inserted directly into the document. | ||
# Use pipe (|) for multiline entries. | ||
subtext: | | ||
The following experimental Request API is moved from exporter/exporterhelper to exporter/exporterhelper/request package: | ||
- `Request` -> `request.Request` | ||
- `RequestItemsCounter` -> `request.ItemsCounter` | ||
# Optional: The change log or logs in which this entry should be included. | ||
# e.g. '[user]' or '[user, api]' | ||
# Include 'user' if the change is relevant to end users. | ||
# Include 'api' if there is a change to a library API. | ||
# Default: '[user]' | ||
change_logs: [api] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' | ||
change_type: enhancement | ||
|
||
# The name of the component, or a single word describing the area of concern, (e.g. otlpreceiver) | ||
component: exporter/exporterhelper | ||
|
||
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). | ||
note: Add API for enabling queue in the new exporter helpers. | ||
|
||
# One or more tracking issues or pull requests related to the change | ||
issues: [7874] | ||
|
||
# (Optional) One or more lines of additional information to render under the primary note. | ||
# These lines will be padded with 2 spaces and then inserted directly into the document. | ||
# Use pipe (|) for multiline entries. | ||
subtext: | | ||
The following experimental API is introduced in exporter/exporterhelper package: | ||
- `WithRequestQueue`: a new exporter helper option for using a queue. | ||
- queue.Queue: an interface for queue implementations. | ||
- queue.Factory: a queue factory interface, implementations of this interface are intended to be used with WithRequestQueue option. | ||
- queue.Settings: queue factory settings. | ||
- queue.Config: common configuration for queue implementations. | ||
- queue.NewDefaultConfig: a function for creating a default queue configuration. | ||
- queue/memoryqueue.NewFactory: a new factory for creating a memory queue. | ||
- queue/memoryqueue.Config: a configuration for the memory queue factory. | ||
- queue/memoryqueue.NewDefaultConfig: a function for creating a default memory queue configuration. | ||
- request.ErrorHandler: an optional interface for handling errors that occur during request processing. | ||
- request.Marshaler: a function that can marshal a Request into bytes. | ||
- request.Unmarshaler: a function that can unmarshal bytes into a Request | ||
All the new APIs are intended to be used by exporters that operate over client-provided requests instead of pdata. | ||
# Optional: The change log or logs in which this entry should be included. | ||
# e.g. '[user]' or '[user, api]' | ||
# Include 'user' if the change is relevant to end users. | ||
# Include 'api' if there is a change to a library API. | ||
# Default: '[user]' | ||
change_logs: [api] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.