FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
sourcegraph/monitoring/github_proxy.go at master · polymath-is/sourcegraph · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
polymath-is
/
sourcegraph
Public
forked from
sourcegraph/sourcegraph-public-snapshot
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
sourcegraph
/
monitoring
/
github_proxy.go
Copy path
More file actions
More file actions
Latest commit
History
History
History
58 lines (57 loc) · 1.31 KB
Breadcrumbs
sourcegraph
/
monitoring
/
github_proxy.go
Copy path
File metadata and controls
58 lines (57 loc) · 1.31 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
package
main
func
GitHubProxy
()
*
Container
{
return
&
Container
{
Name
:
"github-proxy"
,
Title
:
"GitHub Proxy"
,
Description
:
"Proxies all requests to github.com, keeping track of and managing rate limits."
,
Groups
: []
Group
{
{
Title
:
"Container monitoring (not available on server)"
,
Hidden
:
true
,
Rows
: []
Row
{
{
sharedContainerCPUUsage
(
"github-proxy"
),
sharedContainerMemoryUsage
(
"github-proxy"
),
},
{
sharedContainerRestarts
(
"github-proxy"
),
sharedContainerFsInodes
(
"github-proxy"
),
},
},
},
{
Title
:
"Provisioning indicators (not available on server)"
,
Hidden
:
true
,
Rows
: []
Row
{
{
sharedProvisioningCPUUsage7d
(
"github-proxy"
),
sharedProvisioningMemoryUsage7d
(
"github-proxy"
),
},
{
sharedProvisioningCPUUsage5m
(
"github-proxy"
),
sharedProvisioningMemoryUsage5m
(
"github-proxy"
),
},
},
},
{
Title
:
"Golang runtime monitoring"
,
Hidden
:
true
,
Rows
: []
Row
{
{
sharedGoGoroutines
(
"github-proxy"
),
sharedGoGcDuration
(
"github-proxy"
),
},
},
},
{
Title
:
"Kubernetes monitoring (ignore if using Docker Compose or server)"
,
Hidden
:
true
,
Rows
: []
Row
{
{
sharedKubernetesPodsAvailable
(
"github-proxy"
),
},
},
},
},
}
}
Back
|
FazBrowse Home
|
New Git URL