Skip to content
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

Cкомпилированная библиотека в контейнере #23

Open
dfyz011 opened this issue May 10, 2024 · 0 comments

Comments

@dfyz011
Copy link

dfyz011 commented May 10, 2024

Добрый день, пытаюсь подключить плагин по инструкции https://yandex.cloud/ru/docs/logging/tutorials/vm-fluent-bit-logging , но Fluent Bit у меня в контейнере. Поэтому копирую скомпилированную библиотеку yc-logging.so в контейнер, но он падает с ошибкой. Вот логи, не знаю как отдебажить. Fluent-bit ругается на саму библиотеку (https://github.com/fluent/fluent-bit/blob/master/src/proxy/go/go.c#L111)

yc-logging: registering
[2024/05/10 10:06:47] [ info] [fluent bit] version=3.0.3, commit=3529bbb132, pid=1
[2024/05/10 10:06:47] [ info] [storage] ver=1.5.2, type=memory, sync=normal, checksum=off, max_chunks_up=128
[2024/05/10 10:06:47] [ info] [cmetrics] version=0.9.0
[2024/05/10 10:06:47] [ info] [ctraces ] version=0.5.1
[2024/05/10 10:06:47] [ info] [input:forward:forward.0] initializing
[2024/05/10 10:06:47] [ info] [input:forward:forward.0] storage_strategy='memory' (memory only)
[2024/05/10 10:06:47] [ info] [input:forward:forward.0] listening on 0.0.0.0:24224
yc-logging: init
yc-logging: will use WARN as default level
[2024/05/10 10:06:47] [error] [go proxy]: plugin 'yc-logging' failed to initialize
[2024/05/10 10:06:47] [error] [output] could not initialize 'yc-logging' plugin
[2024/05/10 10:06:47] [error] [output] failed to initialize 'yc-logging' plugin
[2024/05/10 10:06:47] [error] [engine] output initialization failed
[2024/05/10 10:06:47] [ info] [output:stdout:stdout.0] worker #0 started
[2024/05/10 10:06:48] [ info] [input] pausing forward.0
[2024/05/10 10:06:48] [ info] [output:stdout:stdout.0] thread worker #0 stopping...
[2024/05/10 10:06:48] [ info] [output:stdout:stdout.0] thread worker #0 stopped`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant