-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Open
Labels
Description
Component(s)
extension/encoding/googlecloudlogentryencoding
What happened?
Description
handleHTTPRequestField does not allow protocol to have value without /, but Google seems to be using h2 since mid-December for HTTP/2
opentelemetry-collector-contrib/extension/encoding/googlecloudlogentryencodingextension/log_entry.go
Line 235 in c043b5d
| if req.Protocol != "" { |
Steps to Reproduce
Ingest Google logs and use googlecloudlogentry_encoding
Expected Result
Log entry with httpRequest > protocol > h2 should be parsed
Actual Result
Log entry with httpRequest > protocol > h2 is dropped
Collector version
0.142.0
Environment information
No response
OpenTelemetry Collector configuration
Log output
Additional context
No response
Tip
React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.
constanca-m