Skip to content

[UTR Logging] Update confgenerator tests to test otlp_exporter+otel_logging combined#2232

Open
XuechunHou wants to merge 20 commits intomasterfrom
utr-confgenerator-tests
Open

[UTR Logging] Update confgenerator tests to test otlp_exporter+otel_logging combined#2232
XuechunHou wants to merge 20 commits intomasterfrom
utr-confgenerator-tests

Conversation

@XuechunHou
Copy link
Contributor

@XuechunHou XuechunHou commented Mar 11, 2026

Description

Update the existing confgenerator tests that have the otel_logging experiment enabled to also generate an OTel configuration file with both otel_logging and otlp_exporter turned on. Store the result in otel_otlpexporter.yaml alongside otel.yaml.

Related issue

b/490106792

How has this been tested?

Confgenerator test

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.

@XuechunHou XuechunHou changed the title Utr confgenerator tests Run confgenerator tests against both otel_logging+otlp_exporter Mar 11, 2026
@XuechunHou XuechunHou force-pushed the utr-confgenerator-tests branch 2 times, most recently from 6aaed1b to 040bd9c Compare March 11, 2026 15:47
@XuechunHou XuechunHou changed the title Run confgenerator tests against both otel_logging+otlp_exporter Added Confgenerator tests to run against otel_logging+otlp_exporter experiments Mar 11, 2026
@XuechunHou XuechunHou force-pushed the utr-confgenerator-tests branch from 040bd9c to 6595b1e Compare March 11, 2026 15:52
@XuechunHou XuechunHou changed the title Added Confgenerator tests to run against otel_logging+otlp_exporter experiments [UTR Logging] Added Confgenerator tests to run against otel_logging+otlp_exporter experiments Mar 12, 2026
@XuechunHou XuechunHou force-pushed the utr-confgenerator-tests branch 5 times, most recently from e35c519 to 2f848a4 Compare March 12, 2026 19:20
headers:
User-Agent: Google-Cloud-Ops-Agent-Metrics/latest (BuildDistro=build_distro;Platform=linux;ShortName=linux_platform;ShortVersion=linux_platform_version)
extensions:
file_storage:
Copy link
Contributor

Choose a reason for hiding this comment

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

Are we removing this on purpose?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, this is because I disabled the otel_logging experiment for this test, leaving only otlp_logging and otlp_exporter enabled.

The OTLP receiver hasn’t been configured to use the file_storage extension yet. Since otel_logging is turned off, other logging pipelines have switched back to FB. Consequently, the file_storage extension was removed because no active OTLP logging pipeline is utilizing it.

@XuechunHou XuechunHou force-pushed the utr-confgenerator-tests branch from 2f848a4 to 3c700f4 Compare March 12, 2026 19:40
@XuechunHou XuechunHou force-pushed the utr-confgenerator-tests branch from 3c700f4 to 2abc921 Compare March 12, 2026 19:48
@XuechunHou XuechunHou force-pushed the utr-confgenerator-tests branch from fb19eeb to 1c6b3f2 Compare March 12, 2026 20:13
@XuechunHou XuechunHou changed the title [UTR Logging] Added Confgenerator tests to run against otel_logging+otlp_exporter experiments [UTR Logging] Update confgenerator tests to test otlp_exporter+otel_logging Mar 12, 2026
@XuechunHou XuechunHou changed the title [UTR Logging] Update confgenerator tests to test otlp_exporter+otel_logging [UTR Logging] Update confgenerator tests to test otlp_exporter+otel_logging combined Mar 12, 2026
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.

2 participants