opentelemetry-cpp-contrib icon indicating copy to clipboard operation
opentelemetry-cpp-contrib copied to clipboard

ApacheModuleOtelExporterHeaders Syntax Error

Open khpeet opened this issue 2 years ago • 1 comments

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

  1. Uncomment export headers
  2. Try to restart apache (or stop/start)

What is the expected behavior? Ability to export successfully, with no errors.

khpeet avatar Aug 30 '23 13:08 khpeet

I tried building opentelemetry-webserver-sdk-x64-linux.tgz over the weekend myself and can confirm the ApacheModuleOtelExporterHeaders is also not working for me.

pnvnd avatar Sep 05 '23 16:09 pnvnd