open-telemetry / open-telemetry/opentelemetry-cpp-contrib
otel-webserver-module: String field
Open
Nobody has claimed this yet.
bug
Webserver
- Dominant language
- Python
- Stars
- 153
- Forks
- 184
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 26
Description
nginx version: 1.22.0
otel-webserver-module: v1.0.3
nginx log:
[libprotobuf ERROR /grpc/third_party/protobuf/src/google/protobuf/wire_format_lite.cc:577] String field 'opentelemetry.proto.common.v1.AnyValue.string_value' contains invalid UTF-8 data when serializing a protocol buffer. Use the 'bytes' type if you intend to send raw bytes.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the logged invalid UTF-8 serialization error with nginx 1.22.0 and otel-webserver-module v1.0.3, then trace how the module handles string fields before protobuf serialization. Done means the affected input is handled without this error, with the behavior verified against a regression case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nginx
- Domain
- observability
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100