Comments (3)
Dockerfile
FROM httpd
ADD https://github.com/open-telemetry/opentelemetry-cpp-contrib/releases/download/httpd%2Fv0.1.0/ubuntu-20.04_mod-otel.so.zip /tmp
ADD https://raw.githubusercontent.com/open-telemetry/opentelemetry-cpp-contrib/main/instrumentation/httpd/opentelemetry.conf /usr/local/apache2/conf/extra/
RUN mv /tmp/ubuntu-20.04_mod-otel.so.zip /usr/local/apache2/modules/mod_otel.so.gz
RUN gzip -d /usr/local/apache2/modules/mod_otel.so.gz
RUN echo "LoadFile /usr/lib/x86_64-linux-gnu/libstdc++.so.6" >> /usr/local/apache2/conf/httpd.conf
RUN echo "LoadModule otel_module modules/mod_otel.so" >> /usr/local/apache2/conf/httpd.conf
RUN echo "Include conf/extra/opentelemetry.conf" >> /usr/local/apache2/conf/httpd.conf
Then with default config you'll see spans in /tmp/output-spans
:
docker exec -it [CONTAINER_NAME] cat /tmp/output-spans
Please provide more information about your configuration or ticket will be closed within next 14 days.
from opentelemetry-cpp-contrib.
tried also to build starting from the same image of "http" - is a debian.
Built with no error, copied the file in the httpd image but in this case httpd gose core dump.
Any hints?
Does it work on httpd?
from opentelemetry-cpp-contrib.
my bad!! I forgot to include the conf in the httpd.conf
Thanks for the support
from opentelemetry-cpp-contrib.
Related Issues (20)
- Add B3 propogator to otel-webserver-module
- Allow extra resource attributes to be added to traces from apache / nginx
- Access Span and Trace ID in Lua Script HOT 2
- `nginx: [emerg] "NginxModuleEnabled" directive is duplicate in /etc/nginx/conf.d/opentelemetry_module.conf:1` HOT 1
- Add feature to send custom attributes from the otel-webserver-module to spans.
- Coredumps when the OpenTelemetry collector host is unavailable.
- nginx module logs debug info as errors
- unknown directive "NginxModuleAttributes" HOT 1
- Add more Resource Attributes to the Otel-Webserver-Module Nginx instrumentation. HOT 1
- Feature to add nginx variables to access tracing context information HOT 1
- [ADMIN] Define labels for the opentelemetry-cpp-contrib repository
- [CI] Add CI for instrumentation/boost_log
- [CI] Add CI for instrumentation/glog
- [CI] Add CI for instrumentation/log4cxx
- [CI] Add CI for instrumentation/spdlog
- [RELEASE] Prepare release for opentelemetry-cpp-contrib 1.15.0
- [CI] Upgrade Prometheus CI to opentelemetry-cpp 1.15.0
- [CI] Upgrade otel-webserver-module CI to opentelemetry-cpp 1.15.0 HOT 1
- Upgrade otel-webserver module for nginx stable version 1.26 and mainline 1.25.5 HOT 1
- Release webserver/v1.1.0 is broken HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opentelemetry-cpp-contrib.