You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ngx_log_error(NGX_LOG_ERR, cycle->log, 0, "mod_opentelemetry: ngx_http_opentelemetry_init_worker: Initializing Nginx Worker for process with PID: %s", s);
)
This is not so nice, since those are expected messages and are not created because of errors, so it seems counter intuitive to print them as errors instead of as info or debug level. It would be great if the module would only print real errors as errors, as currently our logs regularly contain false positives and we need to post-process our logs to filter those out.
The text was updated successfully, but these errors were encountered:
marcalff
added
the
Webserver
This represents the otel-webserver-module in the instrumentation directory
label
Apr 4, 2024
Most (all?) mod_opentelemetry logs use
NGX_LOG_ERR
severity (see e.g.opentelemetry-cpp-contrib/instrumentation/otel-webserver-module/src/nginx/ngx_http_opentelemetry_module.c
Line 671 in a02e005
This is not so nice, since those are expected messages and are not created because of errors, so it seems counter intuitive to print them as errors instead of as info or debug level. It would be great if the module would only print real errors as errors, as currently our logs regularly contain false positives and we need to post-process our logs to filter those out.
The text was updated successfully, but these errors were encountered: