Investigate improvements to httprequest parsing for logs #699
Labels
enhancement accepted
An actionable enhancement for which PRs will be accepted
enhancement
New feature or request
priority: p3
Follow-up to #697
In
opentelemetry-operations-go/exporter/collector/logs.go
Line 540 in 0c4b0bb
We might be able to directly unmarshal into https://pkg.go.dev/google.golang.org/genproto/googleapis/logging/type#HttpRequest, as that has the same tags. I wasn't able to get that to work in my experimentation, as I think it used the tags with underscores, rather than the camelCase tag name.
If it is a map, we might be able to go directly from the map to attributes without the conversion to a json string in-between.
The text was updated successfully, but these errors were encountered: