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

build: enable journal in promtail linux release build #1072

Merged

Conversation

rfratto
Copy link
Member

@rfratto rfratto commented Sep 26, 2019

The published binary of promtail for linux/amd64 was not built with CGO support, so journal tailing could not be used.

Fixes #1057.

The published binary of promtail for linux/amd64 was not built with CGO
support, so journal tailing could not be used.

This is kind of a dirty hack: we just re-build promtail at the end of
building everything else with CGO enabled. It's not clear how it could
be done more cleanly.

Fixes grafana#1057.
Makefile Outdated Show resolved Hide resolved
@rfratto rfratto changed the title build: override promtail release build with cgo-enabled binary build: enable journal in promtail linux release build Sep 26, 2019
Copy link
Contributor

@cyriltovena cyriltovena left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cyriltovena cyriltovena merged commit cdc0dc4 into grafana:master Oct 2, 2019
@rfratto rfratto deleted the add-journal-support-to-published-promtail branch October 2, 2019 21:17
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

Successfully merging this pull request may close these issues.

How to make Promtail worked with Jornald
4 participants