Skip to content

Decommission and completely remove Fluent Bit binary, packaging, and tests from Ops Agent 3.0#2312

Merged
rafaelwestphal merged 1 commit into
ops_agent_3.0from
westphalrafael/remove-fluent-bit-binary
May 29, 2026
Merged

Decommission and completely remove Fluent Bit binary, packaging, and tests from Ops Agent 3.0#2312
rafaelwestphal merged 1 commit into
ops_agent_3.0from
westphalrafael/remove-fluent-bit-binary

Conversation

@rafaelwestphal
Copy link
Copy Markdown
Contributor

Description

This finishes the decommissioning of Fluent Bit. The subagent has been completely removed from GCE and Windows subagent service managers, systemd unit files, RPM/DEB packaging specs, and Kokoro build scripts. Obsolete tests and logs dumps have been cleaned up.

  • Removed submodules/fluent-bit git submodule and builds/fluent_bit.sh.
  • Deleted Fluent Bit systemd service (google-cloud-ops-agent-fluent-bit.service) and directory overrides.
  • Cleaned up RPM/DEB/Goo package specifications to omit fluent-bit binaries.
  • Cleaned up UAP plugin subagent execution on both Linux and Windows GCE VMs.
  • Updated integration_test/agents/agents.go and main_test.go to remove fluent-bit checks and diagnostics.
  • Updated TestLogEntrySpecialFields to run 100% natively on OTel using the OTLP exporter.
  • Removed fluent-bit checks from TestPortsAndAPIHealthChecks.
  • Cleaned up transformation_test/transformation_test.go (removing FLB validation) and staging-deleted 29 output_fluentbit.yaml goldens.

Related issue

b/517183979

How has this been tested?

Checklist:

  • Unit tests
    • Unit tests do not apply.
    • Unit tests have been added/modified and passed for this PR.
  • Integration tests
    • Integration tests do not apply.
    • Integration tests have been added/modified and passed for this PR.
  • Documentation
    • This PR introduces no user visible changes.
    • This PR introduces user visible changes and the corresponding documentation change has been made.
  • Minor version bump
    • This PR introduces no new features.
    • This PR introduces new features, and there is a separate PR to bump the minor version since the last release already.
    • This PR bumps the version.

@rafaelwestphal rafaelwestphal force-pushed the westphalrafael/remove-fluent-bit-binary branch 2 times, most recently from 7f3f68c to a0edf98 Compare May 27, 2026 20:00
@rafaelwestphal rafaelwestphal requested a review from jinghan-ma May 27, 2026 20:05
Copy link
Copy Markdown
Contributor

@jinghan-ma jinghan-ma left a comment

Choose a reason for hiding this comment

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

LGTM. Added small comment.

@@ -14,7 +14,7 @@

[Unit]
Description=Google Cloud Ops Agent
Wants=google-cloud-ops-agent-fluent-bit.service google-cloud-ops-agent-opentelemetry-collector.service network-online.target
Wants=google-cloud-ops-agent-opentelemetry-collector.service network-online.target
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Is there still a reason for having google-cloud-ops-agent-opentelemetry-collector.service to exist? Can the logic replace this service?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

CLeaning up in another PR

@rafaelwestphal rafaelwestphal force-pushed the westphalrafael/remove-fluent-bit-binary branch 6 times, most recently from 3088d90 to 922fa74 Compare May 28, 2026 19:38
…tests from Ops Agent 3.0

This finishes the decommissioning of Fluent Bit. The subagent has been completely
removed from GCE and Windows subagent service managers, systemd unit files,
RPM/DEB packaging specs, and Kokoro build scripts. Obsolete tests and logs dumps
have been cleaned up.

- Removed submodules/fluent-bit git submodule and builds/fluent_bit.sh.
- Deleted Fluent Bit systemd service and directory overrides.
- Cleaned up RPM/DEB/Goo package specifications to omit fluent-bit binaries.
- Updated integration_test/agents/agents.go and main_test.go to remove fluent-bit checks.
- Removed fluent-bit checks from TestPortsAndAPIHealthChecks.
- Cleaned up transformation_test.go and staging-deleted 29 output_fluentbit.yaml goldens.

TAG=agy
BUG=b/517183979
CONV=a3aefa50-102a-4eb8-ac21-894088d8c5df
@rafaelwestphal rafaelwestphal force-pushed the westphalrafael/remove-fluent-bit-binary branch from 922fa74 to 40a7c45 Compare May 29, 2026 01:41
@rafaelwestphal rafaelwestphal added the kokoro:force-run Forces kokoro to run integration tests on a CL label May 29, 2026
@stackdriver-instrumentation-release stackdriver-instrumentation-release removed the kokoro:force-run Forces kokoro to run integration tests on a CL label May 29, 2026
@rafaelwestphal rafaelwestphal merged commit 5f18c4b into ops_agent_3.0 May 29, 2026
70 of 74 checks passed
@rafaelwestphal rafaelwestphal deleted the westphalrafael/remove-fluent-bit-binary branch May 29, 2026 12:47
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.

3 participants