open-telemetry / open-telemetry/opentelemetry-cpp-contrib
OpenTelemetry throws error "otel_stopInteraction: result code: 25"
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 153
- Forks
- 184
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 26
Description
Describe your environment
Redhat 7.9, Apache 2.4
Steps to reproduce
I have installed the OpenTelemetry Apache module by following the guide and by triggering the install.sh for creating the log4cxx xml. When creating a request to httpd2.4 the following errors are thrown:
[Thu Jan 18 14:55:23.015917 2024] [otel_apache:error] [pid 1633:tid 140562954786560] mod_opentelemetry_webserver_sdk: initialize_opentelemetry: config retrieved from process memory pool
[Thu Jan 18 14:55:23.015955 2024] [otel_apache:error] [pid 1633:tid 140562954786560] mod_opentelemetry_webserver_sdk: otel_hook_header_parser_begin: dev:demo-dispatcher:server1.be.srv.dev.sys
[Thu Jan 18 14:55:23.016045 2024] [otel_apache:error] [pid 1633:tid 140562954786560] mod_opentelemetry_webserver_sdk: otel_hook_header_parser_begin: request begin successful
[Thu Jan 18 14:55:23.016158 2024] [otel_apache:error] [pid 1633:tid 140562954786560] mod_opentelemetry_webserver_sdk: otel_stopInteraction: result code: 25
[Thu Jan 18 14:55:23.016210 2024] [otel_apache:error] [pid 1633:tid 140562954786560] mod_opentelemetry_webserver_sdk: otel_payload_decorator: correlation information : "tracestate" : ""
[Thu Jan 18 14:55:23.016218 2024] [otel_apache:error] [pid 1633:tid 140562954786560] mod_opentelemetry_webserver_sdk: otel_payload_decorator: correlation information : "traceparent" : "00-0423becfe0f47d783410b20e013ad9aa-03005d060532c582-01"
[Thu Jan 18 14:55:23.016222 2024] [otel_apache:error] [pid 1633:tid 140562954786560] mod_opentelemetry_webserver_sdk: mod_proxy.c: interaction begin successful
[Thu Jan 18 14:55:23.018579 2024] [otel_apache:error] [pid 1633:tid 140562954786560] mod_opentelemetry_webserver_sdk: otel_stopInteraction: result code: 25
[Thu Jan 18 14:55:23.018639 2024] [otel_apache:error] [pid 1633:tid 140562954786560] mod_opentelemetry_webserver_sdk: otel_payload_decorator: correlation information : "tracestate" : ""
[Thu Jan 18 14:55:23.018652 2024] [otel_apache:error] [pid 1633:tid 140562954786560] mod_opentelemetry_webserver_sdk: otel_payload_decorator: correlation information : "traceparent" : "00-0423becfe0f47d783410b20e013ad9aa-96d3629028c462d8-01"
[Thu Jan 18 14:55:23.018657 2024] [otel_apache:error] [pid 1633:tid 140562954786560] mod_opentelemetry_webserver_sdk: disp_apache2.c: interaction begin successful
What is the expected behavior?
I would expect that a trace is passed to the otel endpoint
What is the actual behavior?
Nothing reaches the otel endpoint
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 with the Apache module installation guide and the install.sh process, then inspect the request logs around otel_stopInteraction and the reported result code 25. Reproduce the request on Red Hat 7.9 with Apache 2.4 and determine why no trace reaches the OTEL endpoint; done means the error is resolved and a trace is received.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- apache, linux
- Domain
- backend, observability-sre
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100