[UTR Logging] New Integration Test that compares LogEntries from UTR vs Google cloud exporter#2234
Draft
XuechunHou wants to merge 56 commits intomasterfrom
Draft
[UTR Logging] New Integration Test that compares LogEntries from UTR vs Google cloud exporter#2234XuechunHou wants to merge 56 commits intomasterfrom
XuechunHou wants to merge 56 commits intomasterfrom
Conversation
1. otlp_exporter + otlp_logging, the generated otel.yaml only has one logging pipeline with otlp receiver and otlp exporter. 2. otlp_exporter + otel_logging, the generated otel.yaml has all the logging pipeline using otlp exporter. 3. otlp_exporter + otlp_logging + otel_logging, the generated otel.yaml has all the logging pipelines using otlp exporter. 4. otlp_logging + otel_logging, the generated otel.yaml has all the logging pipelines using the google cloud exporter.
quentinmit
reviewed
Mar 12, 2026
| return plogotlp.NewGRPCClient(conn), nil | ||
| } | ||
|
|
||
| func entryToMap(entry *loggingpb.LogEntry) map[string]any { |
Member
There was a problem hiding this comment.
Why are you manually extracting the LogEntry proto here? That's going to interact poorly with int64 fields because you'll get them as the wrong type.
4208e77 to
323da2f
Compare
323da2f to
4d79afd
Compare
…o compare-log-entries
d5e1335 to
2de3c8b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR includes an integration test that compares LogEntries from the telemetry endpoint, VS those from google cloud exporter, given the same input log.
Related issue
b/490113021
How has this been tested?
Checklist: