Code Monkey home page Code Monkey logo

Comments (5)

shikhar1987 avatar shikhar1987 commented on September 21, 2024

We are experiencing similar issue on RHEL 7.3:

# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.3 (Maipo)

# nginx -v
nginx version: nginx/1.23.1

from opentelemetry-cpp-contrib.

royteeuwen avatar royteeuwen commented on September 21, 2024

We have similar issues, for Apache:

cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.9 (Maipo)

httpd -v
Server version: Apache/2.4.6 (Red Hat Enterprise Linux)
Server built:   Apr 28 2023 16:54:19
[Thu Jan 18 11:26:01.089991 2024] [core:notice] [pid 28469:tid 140216020469952] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[Thu Jan 18 11:26:01.217388 2024] [mpm_event:notice] [pid 28469:tid 140216020469952] AH00489: Apache/2.4.34 (Red Hat) Communique/4.3.2 OpenSSL/1.0.2k-fips configured -- resuming normal operations
[Thu Jan 18 11:26:01.217419 2024] [core:notice] [pid 28469:tid 140216020469952] AH00094: Command line: '/opt/rh/httpd24/root/usr/sbin/httpd -D FOREGROUND'
[Thu Jan 18 11:26:01.222609 2024] [otel_apache:error] [pid 28509:tid 140216020469952] insertHooksForStage: Instrumentation Hooks added. Stage: fixups Module: mod_http2.c
[Thu Jan 18 11:26:01.222637 2024] [otel_apache:error] [pid 28509:tid 140216020469952] insertHooksForStage: Instrumentation Hooks added. Stage: fixups Module: mod_http2.c
[Thu Jan 18 11:26:01.222642 2024] [otel_apache:error] [pid 28509:tid 140216020469952] insertHooksForStage: Instrumentation Hooks added. Stage: fixups Module: mod_proxy.c
[Thu Jan 18 11:26:01.222646 2024] [otel_apache:error] [pid 28509:tid 140216020469952] insertHooksForStage: Instrumentation Hooks added. Stage: insert_filter Module: disp_apache2.c
[Thu Jan 18 11:26:01.222650 2024] [otel_apache:error] [pid 28509:tid 140216020469952] insertHooksForStage: Instrumentation Hooks added. Stage: handler Module: disp_apache2.c
[Thu Jan 18 11:26:01.222653 2024] [otel_apache:error] [pid 28509:tid 140216020469952] insertHooksForStage: Instrumentation Hooks added. Stage: handler Module: mod_http2.c
[Thu Jan 18 11:26:01.222661 2024] [otel_apache:error] [pid 28509:tid 140216020469952] insertHooksForStage: Instrumentation Hooks added. Stage: handler Module: mod_proxy.c
[Thu Jan 18 11:26:01.222665 2024] [otel_apache:error] [pid 28509:tid 140216020469952] otel_create_dir_config: (p == 0x564e9cb59188, dirspec == )
[Thu Jan 18 11:26:01.222669 2024] [otel_apache:error] [pid 28509:tid 140216020469952] Config: otel_set_enabled(ON)
[Thu Jan 18 11:26:01.222672 2024] [otel_apache:error] [pid 28509:tid 140216020469952] Config: otel_set_otelExporterType(otlp)
[Thu Jan 18 11:26:01.222676 2024] [otel_apache:error] [pid 28509:tid 140216020469952] Config: otel_set_otelExporterEndpoint(aapmbea1.be.srv.dev.sys:8200)
[Thu Jan 18 11:26:01.222679 2024] [otel_apache:error] [pid 28509:tid 140216020469952] Config: otel_set_otelProcessorType(simple)
[Thu Jan 18 11:26:01.222682 2024] [otel_apache:error] [pid 28509:tid 140216020469952] Config: otel_set_serviceName(demo)
[Thu Jan 18 11:26:01.222685 2024] [otel_apache:error] [pid 28509:tid 140216020469952] Config: otel_set_serviceNamespace(demo-namespace)
[Thu Jan 18 11:26:01.222688 2024] [otel_apache:error] [pid 28509:tid 140216020469952] Config: otel_set_serviceInstanceId(demo-id)
[Thu Jan 18 11:26:01.222691 2024] [otel_apache:error] [pid 28509:tid 140216020469952] Config: Context demo-namespace:demo:demo-id:demo-namespace,demo,demo-id
[Thu Jan 18 11:26:01.222695 2024] [otel_apache:error] [pid 28509:tid 140216020469952] Config: otel_set_resolveBackends(ON)
[Thu Jan 18 11:26:01.222698 2024] [otel_apache:error] [pid 28509:tid 140216020469952] Config: otel_set_traceAsError(ON)
Error: OTEL_SDK_STATUS_CODE otel::core::WSAgent::init(OTEL_SDK_ENV_RECORD*, unsigned int): Error Code: 1
Error: OTEL_SDK_STATUS_CODE otel::core::WSAgent::init(OTEL_SDK_ENV_RECORD*, unsigned int): Error Code: 1
Error: OTEL_SDK_STATUS_CODE otel::core::WSAgent::init(OTEL_SDK_ENV_RECORD*, unsigned int): Error Code: 1
Error: OTEL_SDK_STATUS_CODE otel::core::WSAgent::init(OTEL_SDK_ENV_RECORD*, unsigned int): Error Code: 1

from opentelemetry-cpp-contrib.

owent avatar owent commented on September 21, 2024

Could you please try the latest main branch? open-telemetry/opentelemetry-cpp#2464 fixes a crash problem with gcc 4.8.

from opentelemetry-cpp-contrib.

royteeuwen avatar royteeuwen commented on September 21, 2024

The latest main branch works for me! But I do have a PR open to fix some other things to make it work for our setup. Would you be able to look at this @owent ? see #364

from opentelemetry-cpp-contrib.

owent avatar owent commented on September 21, 2024

The latest main branch works for me! But I do have a PR open to fix some other things to make it work for our setup. Would you be able to look at this @owent ? see #364

Sorry but I'm not fimalar with nginx API, maybe @seemk @tobiasstadler @kpratyus @ajaynagariya @DebajitDas could help.

from opentelemetry-cpp-contrib.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.