-
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
[receiver/file] logs and traces are not supported #27682
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
Regarding this issue Some more investigation, it looks like the original plan was to support metrics, traces and logs. The original PR (#16827) introducing the receiver skeleton also indicated the plan was to support all 3 (in the README's support table). However, the text of the README from the original PR is still in place today, and seems to indicate that metrics are the only ones supported, so the README conflicts internally. I think for now the best option is to update the metadata.yaml to properly indicate logs and traces aren't supported, with the understanding that maybe some day support would be added. Regarding additional comments |
**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.--> Logs and traces are not supported telemetry types for the file receiver, and the collector will fail to start if it the receiver is in included in a pipeline of either of these types. This change is to correct the README to properly reflect this. **Link to tracking Issue:** <Issue number if applicable> Resolves #27682 **Testing:** <Describe what testing was performed and which tests were added.> **Documentation:** <Describe the documentation added.>
…try#27684) **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.--> Logs and traces are not supported telemetry types for the file receiver, and the collector will fail to start if it the receiver is in included in a pipeline of either of these types. This change is to correct the README to properly reflect this. **Link to tracking Issue:** <Issue number if applicable> Resolves open-telemetry#27682 **Testing:** <Describe what testing was performed and which tests were added.> **Documentation:** <Describe the documentation added.>
…try#27684) **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.--> Logs and traces are not supported telemetry types for the file receiver, and the collector will fail to start if it the receiver is in included in a pipeline of either of these types. This change is to correct the README to properly reflect this. **Link to tracking Issue:** <Issue number if applicable> Resolves open-telemetry#27682 **Testing:** <Describe what testing was performed and which tests were added.> **Documentation:** <Describe the documentation added.>
Component(s)
receiver/file
What happened?
Description
The README (and the metadata) claims that the File receiver supports logs, metrics and traces, but it looks like it currently only supports metrics.
Steps to Reproduce
Run collector with the below config
Expected Result
Debug exporter reports logs.
Actual Result
Error: failed to build pipelines: failed to create "file" receiver for data type "logs": telemetry type is not supported
Same thing happens with traces.
Collector version
v0.87.0
Environment information
No response
OpenTelemetry Collector configuration
Log output
Additional context
I wonder what the roadmap for this receiver is: is it supposed to be superseded by a regular file reading receiver like Filelog receiver and the encoding extensions?
The text was updated successfully, but these errors were encountered: