Skip to content

Commit

Permalink
address nits
Browse files Browse the repository at this point in the history
Signed-off-by: ChrsMark <[email protected]>
  • Loading branch information
ChrsMark committed Dec 20, 2024
1 parent 55d537e commit e18fe60
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion receiver/receivercreator/discovery.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ func (builder *k8sHintsBuilder) createLogsReceiver(
builder.logger)

recTemplate, err := newReceiverTemplate(fmt.Sprintf("%v/%v_%v", subreceiverKey, pod.UID, containerName), userConfMap)
recTemplate.signals = receiverSignals{false, true, false}
recTemplate.signals = receiverSignals{metrics: false, logs: true, traces: false}

return &recTemplate, err
}
Expand Down Expand Up @@ -230,6 +230,7 @@ func createLogsConfig(
for k, v := range userConf {
if k == "include" {
// path cannot be other than the one of the target container
logger.Warn("include setting cannot be set through annotation's hints")
continue
} else {
defaultConfMap[k] = v
Expand Down

0 comments on commit e18fe60

Please sign in to comment.