-
-
Notifications
You must be signed in to change notification settings - Fork 125
Expand file tree
/
Copy pathtesla.exs
More file actions
58 lines (58 loc) · 1.54 KB
/
tesla.exs
File metadata and controls
58 lines (58 loc) · 1.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
[
%{
event: [:tesla, :request, :start],
measurements: %{system_time: 1_654_972_577_479_492_414},
metadata: %{
env: %Tesla.Env{
__client__: %Tesla.Client{adapter: nil, fun: nil, post: [], pre: []},
__module__: TestApp,
body: nil,
headers: [],
method: :get,
opts: [],
query: [],
status: nil,
url: "/users"
}
}
},
%{
event: [:tesla, :request, :stop],
measurements: %{duration: 100_115_245},
metadata: %{
env: %Tesla.Env{
__client__: %Tesla.Client{adapter: nil, fun: nil, post: [], pre: []},
__module__: TestApp,
body: [
%{
"age" => 46,
"first_name" => "Frankie",
"id" => "7cbd7a74-c09a-4d4d-a5b5-a9c25dab8ed3",
"last_name" => "Price",
"points" => 0
},
%{
"age" => 26,
"first_name" => "Matt",
"id" => "0c4a8465-2731-4ecf-9c93-80bfe6d9eac7",
"last_name" => "Hermann",
"points" => 0
}
],
headers: [
{"cache-control", "max-age=0, private, must-revalidate"},
{"date", "Sat, 11 Jun 2022 18:36:16 GMT"},
{"server", "Cowboy"},
{"content-length", "109512"},
{"content-type", "application/json; charset=utf-8"},
{"x-request-id", "FvekynXlvJB0pCMAAAGC"}
],
method: :get,
opts: [],
query: [],
status: 200,
url: "http://127.0.0.1:4000/users"
}
}
}
]