-
Notifications
You must be signed in to change notification settings - Fork 95
Add support for configuring mutliple OTel pipelines #1167
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
base: main
Are you sure you want to change the base?
Conversation
@@ -59,7 +59,7 @@ var ( | |||
initMutex = &sync.Mutex{} | |||
) | |||
|
|||
// NewCollector is the constructor for the Collector plugin. | |||
// New is the constructor for the Collector plugin. | |||
func New(conf *config.Config) (*Collector, error) { |
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 you change this NewCollector instead
@@ -1,10 +1,11 @@ | |||
receivers: | |||
{{- if ne .Receivers.ContainerMetrics nil }} | |||
{{- with .Receivers.ContainerMetrics }} |
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.
should this change be done everywhere ?
defaultCommandServer = config.AuxiliaryCommand | ||
} | ||
|
||
if _, ok := collector.Exporters.OtlpExporters[DefaultExporter]; !ok && defaultCommandServer != nil { |
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.
Should these checks be done for addDefaultProcessors & addDefaultPipelines
Proposed changes
Checklist
Before creating a PR, run through this checklist and mark each as complete.
CONTRIBUTING
documentmake install-tools
and have attached any dependency changes to this pull requestREADME.md
)