open-telemetry / open-telemetry/opentelemetry-cpp-contrib
ApacheModuleOtelExporterHeaders Syntax Error
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 153
- Forks
- 184
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 26
Description
Getting the following syntax error when trying to configure export directly in apache module conf:
AH00526: Syntax error on line 17 of /etc/apache2/conf-enabled/opentelemetry_module.conf:
Invalid command 'ApacheModuleOtelExporterHeaders', perhaps misspelled or defined by a module not included in the server configuration
Config:
ApacheModuleOtelExporterEndpoint https://otlp.test.net:4317
ApacheModuleOtelExporterHeaders api-key=4id9f8...
Running Apache 2.4, Ubuntu 20.04
Steps to reproduce
- Uncomment export headers
- Try to restart apache (or stop/start)
What is the expected behavior?
Ability to export successfully, with no errors.
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 /etc/apache2/conf-enabled/opentelemetry_module.conf and reproduce the Apache 2.4 restart failure using the shown endpoint and headers directives. Then trace the Apache module's configuration entry points to determine why Apache rejects ApacheModuleOtelExporterHeaders; done means the configuration loads without AH00526 and export works.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- apache, ubuntu
- Domain
- observability
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100