-
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
[chore][connector/servicegraph][processor/servicegraph] Cleanup and copy configuration README #29919
[chore][connector/servicegraph][processor/servicegraph] Cleanup and copy configuration README #29919
Conversation
@@ -117,15 +117,16 @@ The following settings are required: | |||
|
|||
The following settings can be optionally configured: | |||
|
|||
- `store` defines the config for the in-memory store used to find requests between services by pairing spans. |
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 was thinking of removing the entire contents of the processor's configuration section and directly linking to the connector's section, so we don't have a copy of information that we have to maintain. My concern though is there's a possibility of adding connector-specific options at some point, and also since the processor is deprecated maintaining these duplicates may not be a long term issue.
Happy to use a link instead though if others think that's preferable.
6a7b412
to
5cbe9af
Compare
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.
Can we add defaults for all options to be consistent?
- Add defaults - Fix indentation
…opy configuration README (open-telemetry#29919) **Documentation:** <Describe the documentation added.> open-telemetry#27879 recently added a new configuration option to the `servicegraph` components called `metrics_flush_interval`. I noticed this wasn't documented for either component, and the `connector/servicegraph` README doesn't include a configuration section. Since the connector is just a wrapper of the processor at this point, I cleaned up the processor's configuration section and copied it to the connector, adding an entry for the new `metrics_flush_interval` option.
Documentation:
#27879 recently added a new configuration option to the
servicegraph
components calledmetrics_flush_interval
. I noticed this wasn't documented for either component, and theconnector/servicegraph
README doesn't include a configuration section. Since the connector is just a wrapper of the processor at this point, I cleaned up the processor's configuration section and copied it to the connector, adding an entry for the newmetrics_flush_interval
option.