-
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
Decide on naming rules for Settings
structs
#9428
Comments
I would be in favour of removing prefixes where they are duplicated by the package name and am ok with the idea of removing the Create prefix from CreateSettings. |
This deprecates connector.CreateSettings and creates a Settings struct in component since the settings struct is common across all components. Part of open-telemetry#9428 Signed-off-by: Alex Boten <[email protected]>
This deprecates CreateSettings in favour of Settings. NewNopCreateSettings is also being deprecated in favour of NewNopSettings Part of open-telemetry#9428 Signed-off-by: Alex Boten <[email protected]>
This deprecates CreateSettings in favour of Settings. NewNopCreateSettings is also being deprecated in favour of NewNopSettings Part of open-telemetry#9428 Signed-off-by: Alex Boten <[email protected]>
This deprecates CreateSettings in favour of Settings. NewNopCreateSettings is also being deprecated in favour of NewNopSettings Part of open-telemetry#9428 Signed-off-by: Alex Boten <[email protected]>
This deprecates CreateSettings in favour of Settings. NewNopCreateSettings is also being deprecated in favour of NewNopSettings Part of #9428 --------- Signed-off-by: Alex Boten <[email protected]>
This deprecates CreateSettings in favour of Settings. NewNopCreateSettings is also being deprecated in favour of NewNopSettings Part of open-telemetry#9428 Signed-off-by: Alex Boten <[email protected]>
This deprecates CreateSettings in favour of Settings. NewNopCreateSettings is also being deprecated in favour of NewNopSettings Part of open-telemetry#9428 Signed-off-by: Alex Boten <[email protected]>
This deprecates CreateSettings in favour of Settings. NewNopCreateSettings is also being deprecated in favour of NewNopSettings Part of open-telemetry#9428 Signed-off-by: Alex Boten <[email protected]>
This deprecates CreateSettings in favour of Settings. NewNopCreateSettings is also being deprecated in favour of NewNopSettings Part of open-telemetry#9428 Signed-off-by: Alex Boten <[email protected]>
This deprecates CreateSettings in favour of Settings. NewNopCreateSettings is also being deprecated in favour of NewNopSettings Part of open-telemetry#9428 Signed-off-by: Alex Boten <[email protected]>
This deprecates CreateSettings in favour of Settings. NewNopCreateSettings is also being deprecated in favour of NewNopSettings Part of open-telemetry#9428 Signed-off-by: Alex Boten <[email protected]>
This deprecates CreateSettings in favour of Settings. NewNopCreateSettings is also being deprecated in favour of NewNopSettings Part of #9428 ~Follows #10333 --------- Signed-off-by: Alex Boten <[email protected]>
This deprecates CreateSettings in favour of Settings. NewNopCreateSettings is also being deprecated in favour of NewNopSettings Part of open-telemetry#9428 Signed-off-by: Alex Boten <[email protected]>
This deprecates CreateSettings in favour of Settings. NewNopCreateSettings is also being deprecated in favour of NewNopSettings Part of #9428 --------- Signed-off-by: Alex Boten <[email protected]>
This deprecates CreateSettings in favour of Settings. NewNopCreateSettings is also being deprecated in favour of NewNopSettings Part of open-telemetry#9428 Signed-off-by: Alex Boten <[email protected]>
This deprecates CreateSettings in favour of Settings. NewNopCreateSettings is also being deprecated in favour of NewNopSettings Part of open-telemetry#9428 Signed-off-by: Alex Boten <[email protected]>
This deprecates CreateSettings in favour of Settings. NewNopCreateSettings is also being deprecated in favour of NewNopSettings Part of open-telemetry#9428 Signed-off-by: Alex Boten <[email protected]>
This deprecates CreateSettings in favour of Settings. NewNopCreateSettings is also being deprecated in favour of NewNopSettings Part of open-telemetry#9428 Signed-off-by: Alex Boten <[email protected]>
This deprecates CreateSettings in favour of Settings. NewNopCreateSettings is also being deprecated in favour of NewNopSettings Part of #9428 Signed-off-by: Alex Boten <[email protected]>
These changes are very disruptive for developers with in-flight work. |
Clearing milestone as changes for configgrpc are done. @jmacd most of the changes are in afaict, at least no config modules match:
|
I am going to add to the otelcol milestone. Depending on #10643 we can remove it from Collector v1 |
Removed it from Collector v1 based on #10643 |
…n coding guidelines (#11549) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description <!-- Issue number if applicable --> Reflects existing practice in coding guidelines. #### Link to tracking issue Relates to #6767, fixes #9428
…n coding guidelines (open-telemetry#11549) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description <!-- Issue number if applicable --> Reflects existing practice in coding guidelines. #### Link to tracking issue Relates to open-telemetry#6767, fixes open-telemetry#9428
…n coding guidelines (open-telemetry#11549) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description <!-- Issue number if applicable --> Reflects existing practice in coding guidelines. #### Link to tracking issue Relates to open-telemetry#6767, fixes open-telemetry#9428
Per #9406 (comment) we want to have a set of naming rules for structs ending in
Settings
. Current (as of 1ed45ec) structs that have this are the following:Output for
rg 'type ([A-Z].*Settings|Settings) struct' -tgo --glob '!internal'
(click to expand)Questions that arise to me are:
Create
prefix fromCreateSettings
?GRPC
from structs withinconfiggrpc
,Collector
fromotelcol
...)?cc @dmitryax to fill in other rules.
Adding this to configgrpc milestone per the question above.
The text was updated successfully, but these errors were encountered: