-
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
[pkg/ottl] Rename ottllogs to ottllog #16242
[pkg/ottl] Rename ottllogs to ottllog #16242
Conversation
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.
ottllog seems hard to type, since it's already under ottl/context why not call this package log
? Or would that cause too many naming conflicts?
We prefix this everywhere, good question if we should not. |
@codeboten with the way the package is structured I think if we named the package |
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.
I'm ok with the change as is, though it still seems like the ergonomics of using the package need a bit more thinking. I agree that log
, span
, datapoint
... would likely end up with conflicts, just not sure that prefixing with ottl
is the right solution
needs rebase |
* main: [chore] dependabot updates Tue Nov 15 00:17:56 UTC 2022 (open-telemetry#16300) [receiver/rabbitmq] Fix flaky integration test (open-telemetry#16240) [Docker Stats Receiver] Add @jamesmoessis as code owner (open-telemetry#16253) [receiver/mongodbatlas] Alerts poll mode check hostname and port (open-telemetry#16286) [chore] update jaeger dep (open-telemetry#16287) [pkg/stanza] Fix issue where specifying a non-existent storage extension caused panic during shutdown. (open-telemetry#16213) [pkg/ottl] Rename ottllogs to ottllog (open-telemetry#16242) Register featuregate, otherwise does not work (open-telemetry#16269) [receiver/elasticsearch]: add fielddata memory size metrics on index level (open-telemetry#14922) [chore] remove what looks to be debugging code from instanaexporter (open-telemetry#16258)
* Rename ottllogs to ottllog * add changelog entry * fix lint
* Rename ottllogs to ottllog * add changelog entry * fix lint
Description:
Renames
ottllogs
toottllog
to align with singular contextsTesting:
Unit Tests
Documentation:
Updated READMEs