Skip to content

[receiver/filelog] Document includes/excludes #31229

@atoulme

Description

@atoulme

Component(s)

receiver/filelog

Is your feature request related to a problem? Please describe.

filelogreceiver has both an includes an excludes parameter. We should document how these interact.

Describe the solution you'd like

Take the logic defined in

func FindFiles(includes []string, excludes []string) ([]string, error) {
and the tests defined in https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/pkg/stanza/fileconsumer/matcher/internal/finder/finder_test.go#L57 and use them as basis for additional documentation of the receiver or stanza config to make it possible for end users to create the right filters.

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions