Skip to content

Commit c1fc36f

Browse files
committed
Unite all Data objects under a single namespace
1 parent 2a8d0cf commit c1fc36f

File tree

4 files changed

+28
-25
lines changed

4 files changed

+28
-25
lines changed

instana/custom.py

Lines changed: 0 additions & 6 deletions
This file was deleted.

instana/data.py

Lines changed: 0 additions & 8 deletions
This file was deleted.

instana/http.py

Lines changed: 0 additions & 11 deletions
This file was deleted.

instana/span_data.py

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
HTTP_CLIENT = "g.hc"
2+
HTTP_SERVER = "g.http"
3+
4+
class Data(object):
5+
service = None
6+
http = None
7+
baggage = None
8+
custom = None
9+
sdk = None
10+
11+
def __init__(self, **kwds):
12+
self.__dict__.update(kwds)
13+
14+
class HttpData(object):
15+
host = None
16+
url = None
17+
status = 0
18+
method = None
19+
20+
def __init__(self, **kwds):
21+
self.__dict__.update(kwds)
22+
23+
class CustomData(object):
24+
tags = None
25+
logs = None
26+
27+
def __init__(self, **kwds):
28+
self.__dict__.update(kwds)

0 commit comments

Comments
 (0)