Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion instana/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
Source Code: https://github.com/instana/python-sensor
"""

from __future__ import absolute_import

import os
import sys
Expand Down
1 change: 0 additions & 1 deletion instana/agent/host.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
The in-process Instana agent (for host based processes) that manages
monitoring state and reporting that data.
"""
from __future__ import absolute_import

import os
import json
Expand Down
1 change: 0 additions & 1 deletion instana/configurator.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
This file contains a config object that will hold configuration options for the package.
Defaults are set and can be overridden after package load.
"""
from __future__ import absolute_import
from .util import DictionaryOfStan

# La Protagonista
Expand Down
1 change: 0 additions & 1 deletion instana/fsm.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# (c) Copyright IBM Corp. 2021
# (c) Copyright Instana Inc. 2016

from __future__ import absolute_import

import os
import re
Expand Down
1 change: 0 additions & 1 deletion instana/hooks/hook_uwsgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
when running under uWSGI. Here we attempt to detect the presence of these packages and
then use the appropriate hooks.
"""
from __future__ import absolute_import

from ..log import logger
from ..singletons import agent
Expand Down
1 change: 0 additions & 1 deletion instana/instrumentation/aiohttp/client.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# (c) Copyright IBM Corp. 2021
# (c) Copyright Instana Inc. 2019

from __future__ import absolute_import

import opentracing
import wrapt
Expand Down
1 change: 0 additions & 1 deletion instana/instrumentation/aiohttp/server.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# (c) Copyright IBM Corp. 2021
# (c) Copyright Instana Inc. 2019

from __future__ import absolute_import

import opentracing
import wrapt
Expand Down
1 change: 0 additions & 1 deletion instana/instrumentation/asyncio.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# (c) Copyright IBM Corp. 2021
# (c) Copyright Instana Inc. 2019

from __future__ import absolute_import

import wrapt

Expand Down
1 change: 0 additions & 1 deletion instana/instrumentation/boto3_inst.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# (c) Copyright IBM Corp. 2021
# (c) Copyright Instana Inc. 2020

from __future__ import absolute_import

import json
import wrapt
Expand Down
1 change: 0 additions & 1 deletion instana/instrumentation/cassandra_inst.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
https://docs.datastax.com/en/developer/python-driver/3.20/
https://github.com/datastax/python-driver
"""
from __future__ import absolute_import
import wrapt
from ..log import logger
from ..util.traceutils import get_active_tracer
Expand Down
1 change: 0 additions & 1 deletion instana/instrumentation/celery/catalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

WeakValueDictionary allows for lost scopes to be garbage collected.
"""
from __future__ import absolute_import

from weakref import WeakValueDictionary

Expand Down
1 change: 0 additions & 1 deletion instana/instrumentation/celery/hooks.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# (c) Copyright IBM Corp. 2021
# (c) Copyright Instana Inc. 2020

from __future__ import absolute_import

import opentracing
from ...log import logger
Expand Down
1 change: 0 additions & 1 deletion instana/instrumentation/couchbase_inst.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
couchbase instrumentation - This instrumentation supports the Python CouchBase 2.3.4 --> 2.5.x SDK currently:
https://docs.couchbase.com/python-sdk/2.5/start-using-sdk.html
"""
from __future__ import absolute_import

import wrapt

Expand Down
1 change: 0 additions & 1 deletion instana/instrumentation/django/middleware.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# (c) Copyright IBM Corp. 2021
# (c) Copyright Instana Inc. 2018

from __future__ import absolute_import

import os
import sys
Expand Down
1 change: 0 additions & 1 deletion instana/instrumentation/flask/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# (c) Copyright IBM Corp. 2021
# (c) Copyright Instana Inc. 2019

from __future__ import absolute_import

try:
import flask
Expand Down
1 change: 0 additions & 1 deletion instana/instrumentation/flask/common.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# (c) Copyright IBM Corp. 2021
# (c) Copyright Instana Inc. 2019

from __future__ import absolute_import

import wrapt
import flask
Expand Down
1 change: 0 additions & 1 deletion instana/instrumentation/flask/vanilla.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# (c) Copyright IBM Corp. 2021
# (c) Copyright Instana Inc. 2019

from __future__ import absolute_import

import re
import flask
Expand Down
1 change: 0 additions & 1 deletion instana/instrumentation/flask/with_blinker.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# (c) Copyright IBM Corp. 2021
# (c) Copyright Instana Inc. 2019

from __future__ import absolute_import

import re
import wrapt
Expand Down
1 change: 0 additions & 1 deletion instana/instrumentation/gevent_inst.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"""
Instrumentation for the gevent package.
"""
from __future__ import absolute_import

import sys
from ..log import logger
Expand Down
1 change: 0 additions & 1 deletion instana/instrumentation/google/cloud/pubsub.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# (c) Copyright IBM Corp. 2021
# (c) Copyright Instana Inc. 2021

from __future__ import absolute_import

import json
import wrapt
Expand Down
1 change: 0 additions & 1 deletion instana/instrumentation/google/cloud/storage.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# (c) Copyright IBM Corp. 2021
# (c) Copyright Instana Inc. 2020

from __future__ import absolute_import

import wrapt
import re
Expand Down
1 change: 0 additions & 1 deletion instana/instrumentation/grpcio.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# (c) Copyright IBM Corp. 2021
# (c) Copyright Instana Inc. 2019

from __future__ import absolute_import

import wrapt
import opentracing
Expand Down
1 change: 0 additions & 1 deletion instana/instrumentation/logging.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# (c) Copyright IBM Corp. 2021
# (c) Copyright Instana Inc. 2019

from __future__ import absolute_import

import sys
import wrapt
Expand Down
1 change: 0 additions & 1 deletion instana/instrumentation/mysqlclient.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# (c) Copyright IBM Corp. 2021
# (c) Copyright Instana Inc. 2019

from __future__ import absolute_import

from ..log import logger
from .pep0249 import ConnectionFactory
Expand Down
1 change: 0 additions & 1 deletion instana/instrumentation/pika.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
# (c) Copyright Instana Inc. 2021


from __future__ import absolute_import

import wrapt
import opentracing
Expand Down
1 change: 0 additions & 1 deletion instana/instrumentation/psycopg2.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# (c) Copyright IBM Corp. 2021
# (c) Copyright Instana Inc. 2019

from __future__ import absolute_import

import copy
import wrapt
Expand Down
1 change: 0 additions & 1 deletion instana/instrumentation/pymongo.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# (c) Copyright IBM Corp. 2021
# (c) Copyright Instana Inc. 2020

from __future__ import absolute_import

from ..log import logger
from ..util.traceutils import get_active_tracer
Expand Down
1 change: 0 additions & 1 deletion instana/instrumentation/pymysql.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# (c) Copyright IBM Corp. 2021
# (c) Copyright Instana Inc. 2019

from __future__ import absolute_import

from ..log import logger
from .pep0249 import ConnectionFactory
Expand Down
1 change: 0 additions & 1 deletion instana/instrumentation/pyramid/tweens.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# (c) Copyright IBM Corp. 2021
# (c) Copyright Instana Inc. 2020

from __future__ import absolute_import

from pyramid.httpexceptions import HTTPException

Expand Down
1 change: 0 additions & 1 deletion instana/instrumentation/redis.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# (c) Copyright IBM Corp. 2021
# (c) Copyright Instana Inc. 2018

from __future__ import absolute_import

import wrapt

Expand Down
1 change: 0 additions & 1 deletion instana/instrumentation/sqlalchemy.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# (c) Copyright IBM Corp. 2021
# (c) Copyright Instana Inc. 2018

from __future__ import absolute_import

import re
from operator import attrgetter
Expand Down
1 change: 0 additions & 1 deletion instana/instrumentation/tornado/client.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# (c) Copyright IBM Corp. 2021
# (c) Copyright Instana Inc. 2019

from __future__ import absolute_import

import opentracing
import wrapt
Expand Down
1 change: 0 additions & 1 deletion instana/instrumentation/tornado/server.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# (c) Copyright IBM Corp. 2021
# (c) Copyright Instana Inc. 2019

from __future__ import absolute_import

import opentracing
import wrapt
Expand Down
1 change: 0 additions & 1 deletion instana/instrumentation/urllib3.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# (c) Copyright IBM Corp. 2021
# (c) Copyright Instana Inc. 2017

from __future__ import absolute_import

import opentracing
import opentracing.ext.tags as ext
Expand Down
1 change: 0 additions & 1 deletion instana/middleware.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# (c) Copyright IBM Corp. 2021
# (c) Copyright Instana Inc. 2017

from __future__ import absolute_import

from .instrumentation.wsgi import InstanaWSGIMiddleware
from .instrumentation.asgi import InstanaASGIMiddleware
1 change: 0 additions & 1 deletion instana/propagators/base_propagator.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# (c) Copyright IBM Corp. 2021
# (c) Copyright Instana Inc. 2020

from __future__ import absolute_import

import sys

Expand Down
1 change: 0 additions & 1 deletion instana/propagators/binary_propagator.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# (c) Copyright IBM Corp. 2021
# (c) Copyright Instana Inc. 2020

from __future__ import absolute_import

from instana.log import logger
from instana.propagators.base_propagator import BasePropagator
Expand Down
1 change: 0 additions & 1 deletion instana/propagators/http_propagator.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# (c) Copyright IBM Corp. 2021
# (c) Copyright Instana Inc. 2020

from __future__ import absolute_import

from instana.log import logger
from instana.propagators.base_propagator import BasePropagator
Expand Down
1 change: 0 additions & 1 deletion instana/propagators/text_propagator.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# (c) Copyright IBM Corp. 2021
# (c) Copyright Instana Inc. 2020

from __future__ import absolute_import

from instana.log import logger
from instana.propagators.base_propagator import BasePropagator
Expand Down
1 change: 0 additions & 1 deletion instana/recorder.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
# (c) Copyright Instana Inc. 2016

# Accept, process and queue spans for eventual reporting.
from __future__ import absolute_import

import os
import queue
Expand Down
1 change: 0 additions & 1 deletion instana/tracer.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# (c) Copyright IBM Corp. 2021
# (c) Copyright Instana Inc. 2016

from __future__ import absolute_import

import os
import re
Expand Down
1 change: 0 additions & 1 deletion instana/wsgi.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# (c) Copyright IBM Corp. 2021
# (c) Copyright Instana Inc. 2017

from __future__ import absolute_import

from .instrumentation.wsgi import InstanaWSGIMiddleware

Expand Down