This message was deleted.
# general
s
This message was deleted.
s
What is the big issue?
j
my app was be crash, can't run when i run with command opentelemetry-instrument celery -A backend.celery worker -B --loglevel=INFO -c 20
I think Signoz don't stable with python.
s
Does it run fine without
opentelemetry-instrument
j
no running well when it does not have opentelemetry-instrument
s
there is no punctuation, so it’s unclear what your statement means. did you mean to say it runs fine without
opentelemetry-instrument
? What has changed since last time? Did you upgrade the
opentelemetry-instrument
version?
j
current server we're using signoz 0.22
s
SigNoz version is not relevant here. Your instrumentation lib version is relevant.
j
Ok let me check
Copy code
opentelemetry-distro==0.41b0
opentelemetry-exporter-otlp==1.20.0
Please check.
and python OS docker image 3.11
s
Does your application run fine without
opentelemetry-instrument
? Just answer Yes/No.
j
Yes.
s
Thanks, did you upgrade any Python version or
opentelemetry-distro
/
opentelemetry-exporter-otlp
?
j
no current I still keep python 3.11
s
Are you instrumenting for the first time or did you have the instrumentation running already and now it’s not working?
j
yes.
actually 4 days ago, it's working well
but about 2 days ago it's not working even we don't change anything source code.
only build Dockerfile and then it' was be crash.
s
Did you change anything in Dockerfile?
j
No, don't changeg any thing.
I don't understand why it was be crash
Copy code
FROM python:3.11

EXPOSE 8000

WORKDIR /
RUN apt update \
    && apt install -y ffmpeg build-essential libssl-dev ca-certificates libasound2 wget \
    && wget -O - <https://www.openssl.org/source/openssl-1.1.1u.tar.gz> | tar zxf - \
    && cd openssl-1.1.1u \
    && ./config --prefix=/usr/local \
    && make -j $(nproc) \
    && make install_sw install_ssldirs \
    && ldconfig -v \
    && apt-get install netcat-traditional
# Set work directory
WORKDIR /usr/src/app

# Set environment variables
ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONUNBUFFERED 1
ENV SSL_CERT_DIR /etc/ssl/certs
ENV LD_LIBRARY_PATH /usr/local/lib:$LD_LIBRARY_PATH


# Install dependencies
RUN pip install --upgrade pip
COPY ./requirements.txt .
RUN python -m pip install -r requirements.txt
RUN opentelemetry-bootstrap --action=install

# Copy project
COPY src .

# Create the log directory and set permissions
RUN mkdir -p /logs
RUN chmod 777 /logs