This message was deleted.
# support
s
This message was deleted.
s
What web framework are you using and share the output of pip freeze in your virtual env.
m
HI Srikanth , I am using flask this is pip freeze output
m
no change actually
s
There is no flask instrumentation installed? How did you install the rest of otel packages?
m
i used automatic instrumentation Add automatic instrumentation The below command inspects the dependencies of your application and installs the instrumentation packages relevant for your Python application.
Copy code
opentelemetry-bootstrap --action=install
s
Not sure why it didn’t install Flask instrumentation. Did you try again?
m
okey i run again and it installed but it still doesnot work
i run a trouble shooter it can not send data to port 4318 only can send to 4317
but if i use port 4317 which is grpc but exporter use protocol http i get this error
managed to get it work with this command OTEL_RESOURCE_ATTRIBUTES=service.name=python_app OTEL_EXPORTER_OTLP_ENDPOINT="http://localhost:4317" opentelemetry-instrument --traces_exporter otlp --metrics_exporter otlp python3 app.
how can i use the port 4318 instead of relaying on grpc ?