File tree 3 files changed +4
-3
lines changed 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 6
6
* Moved context.url to context.http.url for requests/urllib3 spans (#393 , #394 )
7
7
* Added support for using route as transaction name in Django 2.2+ (#86 , #396 )
8
8
* Fixed an issue with custom user models in Django using non-string usernames (#397 , #398 )
9
+ * Fixed an issue with sending kubernetes metadata to the API (#401 , #402 )
9
10
10
11
## v4.1.0
11
12
[ Check the diff] ( https://github.com/elastic/apm-agent-python/compare/v4.0.3...v4.1.0 )
Original file line number Diff line number Diff line change @@ -70,6 +70,6 @@ def parse_cgroups(filehandle):
70
70
pod_id = kubepods_match .group (1 )
71
71
if not pod_id :
72
72
pod_id = kubepods_match .group (2 )
73
- return {"container" : {"id" : container_id }, "pod" : {"uid" : pod_id }}
73
+ return {"container" : {"id" : container_id }, "kubernetes" : { " pod" : {"uid" : pod_id } }}
74
74
elif container_id_regexp .match (container_id ):
75
75
return {"container" : {"id" : container_id }}
Original file line number Diff line number Diff line change 19
19
"1:name=systemd:/kubepods/besteffort/pode9b90526-f47d-11e8-b2a5-080027b9f4fb/15aa6e53-b09a-40c7-8558-c6c31e36c88a" ,
20
20
{
21
21
"container" : {"id" : "15aa6e53-b09a-40c7-8558-c6c31e36c88a" },
22
- "pod" : {"uid" : "e9b90526-f47d-11e8-b2a5-080027b9f4fb" },
22
+ "kubernetes" : { " pod" : {"uid" : "e9b90526-f47d-11e8-b2a5-080027b9f4fb" } },
23
23
},
24
24
),
25
25
(
26
26
"1:name=systemd:/kubepods.slice/kubepods-burstable.slice/kubepods-burstable-pod90d81341_92de_11e7_8cf2_507b9d4141fa.slice/crio-2227daf62df6694645fee5df53c1f91271546a9560e8600a525690ae252b7f63.scope" ,
27
27
{
28
28
"container" : {"id" : "2227daf62df6694645fee5df53c1f91271546a9560e8600a525690ae252b7f63" },
29
- "pod" : {"uid" : "90d81341_92de_11e7_8cf2_507b9d4141fa" },
29
+ "kubernetes" : { " pod" : {"uid" : "90d81341_92de_11e7_8cf2_507b9d4141fa" } },
30
30
},
31
31
),
32
32
],
You can’t perform that action at this time.
0 commit comments