-
Notifications
You must be signed in to change notification settings - Fork 2.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
no files are being scraped when exclude_older_than
is enabled
#32681
Comments
Pinging code owners:
%s See Adding Labels via Comments if you do not have permissions to add labels yourself. |
when matching happens, it returns |
I think |
Removing |
…eria` configured (#32683) **Description:** <Describe what has changed.> <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> Fix issue when `exclude_older_than` is enabled without `ordering_criteria` configured **Link to tracking Issue:** <Issue number if applicable> #32681 **Testing:** <Describe what testing was performed and which tests were added.> **Documentation:** <Describe the documentation added.>
Resolved by #32683 |
Component(s)
pkg/stanza
What happened?
Description
When enable
exclude_older_than
in filelog receiver without anyordering_criteria
configs, no files are being scraped regardless it is new file or old files.Steps to Reproduce
ordering_criteria
Expected Result
files newer than this should be scraped
Actual Result
no files are scraped
Collector version
v0.99.0
Environment information
Environment
OS: MacOS
Compiler(if manually compiled): go 1.21
OpenTelemetry Collector configuration
Log output
Additional context
log file is created just before starting otel collector
The text was updated successfully, but these errors were encountered: