I have a generic flask
application. The application is instrumented using opentelemetry-instrumentation-flask
, I am shipping this data with the opentelemetry-exporter-otlp
to an Elastic APM
server. This is all working fine and it is done as the documentation shows.
There are some endpoints of the application that I would like not to track with the instrumentation, as they are noisy and add little-to-no value for me (For example, health endpoints). I want the instrumentation to ignore them, but I cannot find how.
How can this be done? I have been checking the documentation for Python and after searching over the internet, I could not find any clear answer about how this could be done... because I believe this must be doable.