opentelemetry-cpp-contrib
opentelemetry-cpp-contrib copied to clipboard
ApacheModuleOtelExporterHeaders Syntax Error
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.
I tried building opentelemetry-webserver-sdk-x64-linux.tgz over the weekend myself and can confirm the ApacheModuleOtelExporterHeaders is also not working for me.