-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathweb_requests.html
More file actions
83 lines (77 loc) · 2.9 KB
/
web_requests.html
File metadata and controls
83 lines (77 loc) · 2.9 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
---
layout: empty
title: Experiments Visualizing Web Requests
header: Web Requests
group: hidden
---
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta content="ie=edge" http-equiv="x-ua-compatible">
<meta content="width=device-width, initial-scale=1" name="viewport">
<title>Experiments Visualizing Web Request Flows</title>
<link rel="icon" href="{{ '/favicon.png' | relative_url }}">
<link href="/{{ site.data.manifest['docs.css'] }}" rel="stylesheet">
<style>
.node rect {
cursor: move;
fill-opacity: .9;
shape-rendering: crispEdges;
}
.node text {
pointer-events: none;
text-shadow: 0 1px 0 #fff;
}
.link {
fill: none;
stroke: #000;
stroke-opacity: .2;
}
.link:hover {
stroke-opacity: .5;
}
</style>
<script src='https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.17/d3.min.js' type='text/javascript'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.12.0/lodash.min.js' type='text/javascript'></script>
</head>
<body class="page {{page.bodyClass}}">
{% include mobile-menu.html %}
<div class="container mx-auto px-6 md:px-4">
{% include header.html %}
<div class="prose">
<h1>A way to visualize Network Flow for Requests</h1>
<p>
These are examples of how to visualize request flows of calls into a teams infrastructure.
<ul>
<li>Made with D3 Sankey Diagrams</li>
<li>Illustrate Different Levels of Complexity</li>
</ul>
</p>
<h2>Basic Single Application Stack Request Flow</h1>
<p>
In this example I am using Sankey diagrams to attempt to visualize the flow of a request from clients through an example infrastructure stack.
</p>
<ul>
<li>
A single request (like a request for an html page or single API request)
</li>
</ul>
<div id="div_customContent" style="visibility: hidden; position: fixed; top: 30%; width: 1100px; height: 60%; background-color:white; border: 1px solid; border-radius: 5px; padding: 10px;">
<div id="displayContent" style="padding: 10px;">
</div>
<button id="close-btn" style="position: relative;" class="px-4 py-2 bg-red-500 text-white text-base font-medium rounded-md w-full shadow-sm hover:bg-green-600 focus:outline-none focus:ring-2 focus:ring-green-300">
close
</button>
</div>
<p id="chart"></p>
</div>
<br/>
<br/>
{% include footer.html %}
</div>
{% include google-analytics.html %}
<script type="text/javascript" src="{{ '/assets/javascript/hamburger.js' | relative_url }}"></script>
<script type="text/javascript" src="{{ '/visualization/requests.js?cache=9' | relative_url }}"></script>
</body>
</html>