How to use the instana.json_span.BaseSpan function in instana

To help you get started, we’ve selected a few instana examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github instana / python-sensor / instana / json_span.py View on Github external
name = None
    message = None
    parameters = None

    def __init__(self, **kwds):
        self.__dict__.update(kwds)


class SQLAlchemyData(BaseSpan):
    sql = None
    url = None
    eng = None
    error = None


class SoapData(BaseSpan):
    action = None


class SDKData(BaseSpan):
    name = None

    # Since 'type' and 'return' are a Python builtin and a reserved keyword respectively, these keys (all keys) are
    # lower-case'd in json encoding.  See Agent.to_json
    Type = None
    Return = None

    arguments = None
    custom = None
github instana / python-sensor / instana / json_span.py View on Github external
host = None
    user = None
    stmt = None
    error = None


class MongoDBData(BaseSpan):
    service = None
    namespace = None
    command = None
    filter = None
    json = None
    error = None


class PostgresData(BaseSpan):
    db = None
    host = None
    port = None
    user = None
    stmt = None
    error = None


class RabbitmqData(BaseSpan):
    exchange = None
    queue = None
    sort = None
    address = None
    key = None
github instana / python-sensor / instana / json_span.py View on Github external
message = None
    parameters = None

    def __init__(self, **kwds):
        self.__dict__.update(kwds)


class MySQLData(BaseSpan):
    db = None
    host = None
    user = None
    stmt = None
    error = None


class MongoDBData(BaseSpan):
    service = None
    namespace = None
    command = None
    filter = None
    json = None
    error = None


class PostgresData(BaseSpan):
    db = None
    host = None
    port = None
    user = None
    stmt = None
    error = None
github instana / python-sensor / instana / json_span.py View on Github external
class BaseSpan(object):
    def __str__(self):
        return self.__class__.__str__() + ": " + self.__dict__.__str__()

    def __repr__(self):
        return self.__dict__.__str__()

    def __init__(self, **kwds):
        self.__dict__.update(kwds)


class JsonSpan(BaseSpan):
    k = None
    t = 0
    p = None
    s = 0
    ts = 0
    ta = "py"
    d = 0
    n = None
    f = None
    ec = None
    error = None
    data = None
    stack = None


class CassandraData(BaseSpan):
github instana / python-sensor / instana / json_span.py View on Github external
def __init__(self, **kwds):
        self.__dict__.update(kwds)


class SQLAlchemyData(BaseSpan):
    sql = None
    url = None
    eng = None
    error = None


class SoapData(BaseSpan):
    action = None


class SDKData(BaseSpan):
    name = None

    # Since 'type' and 'return' are a Python builtin and a reserved keyword respectively, these keys (all keys) are
    # lower-case'd in json encoding.  See Agent.to_json
    Type = None
    Return = None

    arguments = None
    custom = None
github instana / python-sensor / instana / json_span.py View on Github external
status = 0
    method = None
    path = None
    path_tpl = None
    error = None


class LogData(object):
    message = None
    parameters = None

    def __init__(self, **kwds):
        self.__dict__.update(kwds)


class MySQLData(BaseSpan):
    db = None
    host = None
    user = None
    stmt = None
    error = None


class MongoDBData(BaseSpan):
    service = None
    namespace = None
    command = None
    filter = None
    json = None
    error = None
github instana / python-sensor / instana / json_span.py View on Github external
data = None
    stack = None


class CassandraData(BaseSpan):
    cluster = None
    query = None
    keyspace = None
    fetchSize = None
    achievedConsistency = None
    triedHosts = None
    fullyFetched = None
    error = None


class CustomData(BaseSpan):
    tags = None
    logs = None


class Data(BaseSpan):
    baggage = None
    cassandra = None
    couchbase = None
    custom = None
    http = None
    log = None
    pg = None
    rabbitmq = None
    redis = None
    rpc = None
    render = None
github instana / python-sensor / instana / json_span.py View on Github external
command = None
    filter = None
    json = None
    error = None


class PostgresData(BaseSpan):
    db = None
    host = None
    port = None
    user = None
    stmt = None
    error = None


class RabbitmqData(BaseSpan):
    exchange = None
    queue = None
    sort = None
    address = None
    key = None


class RedisData(BaseSpan):
    connection = None
    driver = None
    command = None
    error = None
    subCommands = None


class RPCData(BaseSpan):
github instana / python-sensor / instana / json_span.py View on Github external
host = None
    port = None
    user = None
    stmt = None
    error = None


class RabbitmqData(BaseSpan):
    exchange = None
    queue = None
    sort = None
    address = None
    key = None


class RedisData(BaseSpan):
    connection = None
    driver = None
    command = None
    error = None
    subCommands = None


class RPCData(BaseSpan):
    flavor = None
    host = None
    port = None
    call = None
    call_type = None
    params = None
    baggage = None
    error = None
github instana / python-sensor / instana / json_span.py View on Github external
k = None
    t = 0
    p = None
    s = 0
    ts = 0
    ta = "py"
    d = 0
    n = None
    f = None
    ec = None
    error = None
    data = None
    stack = None


class CassandraData(BaseSpan):
    cluster = None
    query = None
    keyspace = None
    fetchSize = None
    achievedConsistency = None
    triedHosts = None
    fullyFetched = None
    error = None


class CustomData(BaseSpan):
    tags = None
    logs = None


class Data(BaseSpan):