-
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
Docker Stats Receiver is not enabled #957
Comments
@pavankrish123 thank you for your report. The docker stats receiver is being delivered in stages, and a PR with the final dynamic functionality and component addition will be opened shortly. I apologize for not adding a caveat to its readme explaining that it is still in active development, and only the current changelog details this: https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/master/CHANGELOG.md#unreleased |
Thanks @rmfitzpatrick - I am closing this issue. |
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
* [instrumentation/wsgi] fix NonRecordingSpan bug There was a bug caused by accessing `.kind` on a NonRecordingSpan. Added a test to validate the fix. Fix #956 * fix lint * use is_recording * fix lint * fix lint * fix lint
Describe the bug
This is related to PR #495. It looks like docker stats receiver is not enabled in cmd/components.go . I am not sure if it was intentional or we missed the the below logic by accident. Please enable the receiver.
Steps to reproduce
The build from the latest commit when loaded with the below config
./otelcontribcol --config otel-config.yml
throws the following error
What did you expect to see?
OTel Controller comes up fine and docker stats shows up as expected.
What did you see instead?
OTel Collector stops because it cannot recognize
docker_stats
receiverWhat version did you use?
Version: (commit: c1463db)
What config did you use?
Environment
Compiler(if manually compiled): Ran
make docker-otelcontribcol
Additional context
I posted the diff in the components.go that makes the collector work. Happy to submit a PR but I wanted to make sure if docker_stats receiver was not included purposefully
PS: Great Addition to the list of receivers!
The text was updated successfully, but these errors were encountered: