Skip to content

Module re-org#742

Merged
janstenpickle merged 14 commits intomasterfrom
module-reorg-part1
Apr 28, 2022
Merged

Module re-org#742
janstenpickle merged 14 commits intomasterfrom
module-reorg-part1

Conversation

@janstenpickle
Copy link
Copy Markdown
Collaborator

@janstenpickle janstenpickle commented Apr 26, 2022

Part of #701, supersedes #702

I've kept package names the same for now, we can probably do that in a separate PR

@janstenpickle
Copy link
Copy Markdown
Collaborator Author

I think filtering can probably move to core also. WDYT @bplommer @catostrophe?

@janstenpickle
Copy link
Copy Markdown
Collaborator Author

I've left inject intact so that people will get dependency updates. I think if we change the package name on Trace we can leave a @deprecated version in inject.

@catostrophe
Copy link
Copy Markdown
Member

Do we have a written plan on package renaming? Currently, the new module organization looks inconsistent with packages and triggers my OCD.

@janstenpickle
Copy link
Copy Markdown
Collaborator Author

Do we have a written plan on package renaming? Currently, the new module organization looks inconsistent with packages and triggers my OCD.

No plan yet, I've created us an issue to discss #744

@janstenpickle
Copy link
Copy Markdown
Collaborator Author

janstenpickle commented Apr 27, 2022

OK, I think that's everything in terms of module consolidation. Here's a summary of what's gone where:

model -> kernel
core -> kernel
exporter-common -> core
exporter-stream -> core
log-exporter -> core
inject -> core
filtering -> core
dynamic-sampling -> core
dynamic-sampling-config -> core
rate-sampling -> core & tail-sampling
base -> context-utils
base-laws -> context-utils-laws
base-io -> io
inject-io -> io

This leaves us with the following modules:

context-utils
context-utils-laws
core
core-tests
fs2
io
kernel
kernel-tests
meta
tail-sampling
testkit

@janstenpickle janstenpickle marked this pull request as ready for review April 27, 2022 12:19
@janstenpickle
Copy link
Copy Markdown
Collaborator Author

@bplommer @catostrophe WDYT about moving dynamic-sampling and dynamic-sampling-config into core?

@catostrophe
Copy link
Copy Markdown
Member

@bplommer @catostrophe WDYT about moving dynamic-sampling and dynamic-sampling-config into core?

I'm fine

@janstenpickle janstenpickle merged commit f339da8 into master Apr 28, 2022
@janstenpickle janstenpickle deleted the module-reorg-part1 branch April 28, 2022 08:30
@catostrophe catostrophe added the enhancement New feature or request label May 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants