Skip to content

Commit

Permalink
fluent-bit: update to fluent bit 3.1.6 (#1779)
Browse files Browse the repository at this point in the history
  • Loading branch information
ridwanmsharif authored Aug 17, 2024
1 parent faf464b commit c12939c
Show file tree
Hide file tree
Showing 2 changed files with 76 additions and 4 deletions.
78 changes: 75 additions & 3 deletions Dockerfile.windows
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,79 @@ COPY submodules/fluent-bit /work/submodules/fluent-bit

WORKDIR /work/submodules/fluent-bit/build

RUN cmake -G "'Visual Studio 16 2019'" -DCMAKE_BUILD_TYPE=RELWITHDEBINFO -DFLB_OUT_KINESIS_STREAMS=OFF ../;
RUN cmake -G "'Visual Studio 16 2019'" -DCMAKE_BUILD_TYPE=RELWITHDEBINFO `
-DFLB_WINDOWS_DEFAULTS=Off `
-DFLB_REGEX=On `
-DFLB_BACKTRACE=Off `
-DFLB_CONFIG_YAML=Off `
-DFLB_LUAJIT=On `
-DFLB_EXAMPLES=On `
-DFLB_PARSER=On `
-DFLB_TLS=On `
-DFLB_HTTP_SERVER=On `
-DFLB_METRICS=On `
-DFLB_WASM=Off `
-DFLB_WAMRC=Off `
-DFLB_IN_CPU=Off `
-DFLB_IN_DISK=Off `
-DFLB_IN_EXEC=On `
-DFLB_IN_EXEC_WASI=Off `
-DFLB_IN_FORWARD=On `
-DFLB_IN_HEALTH=Off `
-DFLB_IN_HTTP=On `
-DFLB_IN_MEM=Off `
-DFLB_IN_KAFKA=Off `
-DFLB_IN_KMSG=Off `
-DFLB_IN_LIB=On `
-DFLB_IN_RANDOM=On `
-DFLB_IN_SERIAL=Off `
-DFLB_IN_STDIN=Off `
-DFLB_IN_SYSLOG=On `
-DFLB_IN_TAIL=On `
-DFLB_IN_TCP=On `
-DFLB_IN_MQTT=Off `
-DFLB_IN_HEAD=Off `
-DFLB_IN_PROC=Off `
-DFLB_IN_SYSTEMD=Off `
-DFLB_IN_DUMMY=On `
-DFLB_IN_NETIF=Off `
-DFLB_IN_WINLOG=On `
-DFLB_IN_WINSTAT=On `
-DFLB_IN_WINEVTLOG=On `
-DFLB_IN_COLLECTD=Off `
-DFLB_IN_STATSD=On `
-DFLB_IN_STORAGE_BACKLOG=On `
-DFLB_IN_EMITTER=On `
-DFLB_IN_PODMAN_METRICS=Off `
-DFLB_OUT_BIGQUERY=Off `
-DFLB_OUT_COUNTER=On `
-DFLB_OUT_EXIT=Off `
-DFLB_OUT_FORWARD=On `
-DFLB_OUT_GELF=On `
-DFLB_OUT_HTTP=On `
-DFLB_OUT_NATS=Off `
-DFLB_OUT_PLOT=Off `
-DFLB_OUT_FILE=On `
-DFLB_OUT_TD=Off `
-DFLB_OUT_RETRY=Off `
-DFLB_OUT_STACKDRIVER=On `
-DFLB_OUT_STDOUT=On `
-DFLB_OUT_LIB=On `
-DFLB_OUT_NULL=On `
-DFLB_OUT_FLOWCOUNTER=On `
-DFLB_OUT_KAFKA=Off `
-DFLB_OUT_KAFKA_REST=Off `
-DFLB_FILTER_GREP=On `
-DFLB_FILTER_MODIFY=On `
-DFLB_FILTER_STDOUT=On `
-DFLB_FILTER_PARSER=On `
-DFLB_FILTER_THROTTLE=On `
-DFLB_FILTER_THROTTLE_SIZE=On `
-DFLB_FILTER_NEST=On `
-DFLB_FILTER_LUA=On `
-DFLB_FILTER_RECORD_MODIFIER=On `
-DFLB_FILTER_REWRITE_TAG=On `
-DFLB_FILTER_WASM=Off ../;

RUN cmake --build . --config Release; `
Copy-Item -Path bin/Release/fluent-bit.exe -Destination /work/out/bin/; `
Expand Down Expand Up @@ -136,7 +208,7 @@ WORKDIR /work/submodules/opentelemetry-operations-collector
RUN $JarHash = (Get-FileHash /work/out/bin/opentelemetry-java-contrib-jmx-metrics.jar -Algorithm SHA256 | Select -Expand Hash).toLower(); `
go build -o bin/google-cloud-metrics-agent_windows_amd64.exe `
-ldflags \"-X github.com/open-telemetry/opentelemetry-collector-contrib/receiver/jmxreceiver.MetricsGathererHash=$JarHash\" `
./cmd/otelopscol; `
./cmd/otelopscol; `
Copy-Item -Path bin/google-cloud-metrics-agent_windows_amd64.exe -Destination /work/out/bin/;

###############################################################################
Expand All @@ -153,7 +225,7 @@ RUN Get-Content VERSION | Where-Object length | ForEach-Object { Invoke-Expressi
go build -o bin/google-cloud-ops-agent.exe -ldflags \"-X github.com/GoogleCloudPlatform/ops-agent/internal/version.BuildDistro=$env:BUILD_DISTRO -X github.com/GoogleCloudPlatform/ops-agent/internal/version.Version=$env:PKG_VERSION\" ./cmd/ops_agent_windows; `
Copy-Item -Path bin/google-cloud-ops-agent.exe -Destination /work/out/bin/; `
Copy-Item -Path confgenerator/default-config.yaml -Destination /work/out/config/config.yaml;

###############################################################################
# Build diagnostic service
###############################################################################
Expand Down
2 changes: 1 addition & 1 deletion submodules/fluent-bit
Submodule fluent-bit updated 1715 files

0 comments on commit c12939c

Please sign in to comment.