-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create a skeleton for the 'blobuploadprocessor'. #35966
base: main
Are you sure you want to change the base?
Create a skeleton for the 'blobuploadprocessor'. #35966
Conversation
… the initial mailing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pinging @dashpole as the sponsor for this component
Ack. My availability is limited until after kubecon, but I will try to get to this when I can. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looking good. Just small tweaks
note: Processor for uploading pieces of a signal to blob storage and replacing with a ref | ||
issues: [33737] | ||
subtext: Skeleton implementation at the moment. | ||
change_logs: [] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
change_logs: [] | |
change_logs: [api, user] |
@@ -20,6 +20,7 @@ body: | |||
- confmap/provider/aesprovider | |||
- confmap/provider/s3provider | |||
- confmap/provider/secretsmanagerprovider | |||
- connector/blobupload |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
update to processor
@@ -20,6 +20,7 @@ body: | |||
- confmap/provider/aesprovider | |||
- confmap/provider/s3provider | |||
- confmap/provider/secretsmanagerprovider | |||
- connector/blobupload |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
update to processor
@@ -25,6 +25,7 @@ body: | |||
- confmap/provider/aesprovider | |||
- confmap/provider/s3provider | |||
- confmap/provider/secretsmanagerprovider | |||
- connector/blobupload |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
update to processor
@@ -0,0 +1,96 @@ | |||
# Blob Upload Connector |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# Blob Upload Connector | |
# Blob Upload Processor |
"github.com/open-telemetry/opentelemetry-collector-contrib/processor/blobuploadprocessor/internal/metadata" | ||
) | ||
|
||
// NewFactoryWithDeps instantiates the factory with dependency injection, allowing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// NewFactoryWithDeps instantiates the factory with dependency injection, allowing | |
// newFactoryWithDeps instantiates the factory with dependency injection, allowing |
# Implementation still in-progress. Please follow along at: | ||
# https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/33737 | ||
development: [traces, logs] | ||
distributions: [contrib] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
adding this to contrib is done after the implementation is complete (it reaches alpha).
distributions: [contrib] | |
distributions: [] |
skip: false | ||
ignore: | ||
# See https://github.com/census-instrumentation/opencensus-go/issues/1191 for more information. | ||
top: go.opencensus.io/stats/view.(*worker).start |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Strange that this is required given opencensus isn't in the go.sum. We can try removing it in a follow-up.
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
Description
Create a skeleton for the
blobuploadprocessor
component.A more fleshed out implementation exists in:
blobuploadconnector
- span + span events implementationblobuploadconnector_logs
- start of implementation for logs, branching from the span + span events oneHowever, the size of the entire thing is a bit unwieldy and likely to become a barrier for an effective code review.
In order to make progress upstreaming this and to ensure a reasonable implementation path, I'm now trying to break out little bits of the implementation into separate, smaller, more focused PRs. And, in the process of this, attempting to simplify the code, improve testing, etc. over the reference proof-of-concept.
Link to tracking issue
#33737 : "New component: Blob Upload Processor"
Testing
Contains a "smoke test" in
package_test.go
that validates the basic contract for the connector and ensures non-crashing.Also contains a few other unit tests and placeholders for additional unit tests.
As actual implementation pieces land in subsequent PRs, we will add additional corresponding tests.
Documentation
Contains a
README.md
that explains the purpose of this component and its intended trajectory.Also contains a
metadata.yaml
providing structured documentation for the component.We will update the
README.md
document as additional implementation lands to keep it up-to-date with actual state.