-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Avoid exposing publicly constants from obsreport #2644
Conversation
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
This PR was marked stale due to lack of activity. It will be closed in 7 days. |
This PR was marked stale due to lack of activity. It will be closed in 7 days. |
This PR was marked stale due to lack of activity. It will be closed in 7 days. |
This PR was marked stale due to lack of activity. It will be closed in 7 days. |
Please resolve conflicts. |
This PR was marked stale due to lack of activity. It will be closed in 7 days. |
This PR was marked stale due to lack of activity. It will be closed in 7 days. |
This PR was marked stale due to lack of activity. It will be closed in 7 days. |
Fixed by #3253 |
…y#2644) * Fix exported module names to match directory locations To refer to a specific version of a module from another repo, the Go module system requires that the module path match the name of the directory path inside the repo. See https://go.dev/ref/mod#vcs-dir This requires changing the names of the exported modules to include the "pkg" prefix used in the directory structure (and in the case of smartagentextension, correcting the module name to reflect that it's in the extension subdirectory, not the receiver subdirectory). It also requires the name of the leaf directory match the module name. This commit standardizes on the naming scheme used in the OpenTelemetry Collector contrib repo, where subdirectories (and module nams) include the type of the "plugin" as a suffix to the name of the module and directory. For example: processor/timestamp => pkg/processor/timestampprocessor receiver/smartagent => pkg/receiver/smartagentreceiver * Fix docs references
Signed-off-by: Bogdan Drutu bogdandrutu@gmail.com