CARVIEW |
Select Language
HTTP/2 200
date: Thu, 31 Jul 2025 00:06:05 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/alibaba/sentinel-golang.git
etag: W/"3b5064850effff96fcb6bad0d8dd05c4"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com wss://alive-staging.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=%2BlWyjWtB%2BMmVoaMFp9%2BBge28fCqovtaCEBAY%2Buj4Ld6KCkeluXiJ%2F6%2BcYmXPUj52gaqT9B%2BY%2FaLiq6%2FE8xTBFB0kD9RLwW%2FtidO1wjsirEgzHomt3eSzFYs4fUiqy0OzoPad5MSvu2yE0SmdwtfpAj9C1iygLn6aKn7XSWPmQAx%2BMPBTGih2Xkvxs1M4pfu5agrqhJ83jd1gg%2FrYKpo4%2FTfQLHwudXBmNCWruqGR%2FFl2pSokoWDzOQixB0k1bLs48jnsM26ThF33IUUQW6C%2Fkw%3D%3D--L4xjPKJsVxcMVA45--bVI5yqM1GbaSVwvPojxvVw%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1054395336.1753920364; Path=/; Domain=github.com; Expires=Fri, 31 Jul 2026 00:06:04 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Fri, 31 Jul 2026 00:06:04 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: B0E8:23875B:DD194:14E85E:688AB36C
Add metric exporter abstraction and add Prometheus support (#382) · alibaba/sentinel-golang@d9b691b · GitHub
Copy file name to clipboardExpand all lines: core/circuitbreaker/circuit_breaker.go
Copy file name to clipboardExpand all lines: core/flow/traffic_shaping.go
Copy file name to clipboardExpand all lines: core/system_metric/sys_metric_stat.go
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 445
Commit d9b691b
authored
File tree
Expand file treeCollapse file tree
11 files changed
+404
-126
lines changedFilter options
- api
- core
- circuitbreaker
- config
- flow
- stat
- system_metric
- exporter/metric
- prometheus
- metrics
Expand file treeCollapse file tree
11 files changed
+404
-126
lines changed+20Lines changed: 20 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
| 19 | + | |
| 20 | + | |
19 | 21 |
| |
20 | 22 |
| |
21 | 23 |
| |
22 | 24 |
| |
| 25 | + | |
23 | 26 |
| |
24 | 27 |
| |
25 | 28 |
| |
| |||
113 | 116 |
| |
114 | 117 |
| |
115 | 118 |
| |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
116 | 136 |
| |
117 | 137 |
| |
118 | 138 |
| |
|
core/circuitbreaker/circuit_breaker.go
Copy file name to clipboardExpand all lines: core/circuitbreaker/circuit_breaker.go+20Lines changed: 20 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
20 | 20 |
| |
21 | 21 |
| |
22 | 22 |
| |
| 23 | + | |
23 | 24 |
| |
24 | 25 |
| |
25 | 26 |
| |
| |||
47 | 48 |
| |
48 | 49 |
| |
49 | 50 |
| |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
50 | 62 |
| |
51 | 63 |
| |
52 | 64 |
| |
| |||
152 | 164 |
| |
153 | 165 |
| |
154 | 166 |
| |
| 167 | + | |
| 168 | + | |
155 | 169 |
| |
156 | 170 |
| |
157 | 171 |
| |
| |||
181 | 195 |
| |
182 | 196 |
| |
183 | 197 |
| |
| 198 | + | |
| 199 | + | |
184 | 200 |
| |
185 | 201 |
| |
186 | 202 |
| |
| |||
194 | 210 |
| |
195 | 211 |
| |
196 | 212 |
| |
| 213 | + | |
| 214 | + | |
197 | 215 |
| |
198 | 216 |
| |
199 | 217 |
| |
| |||
206 | 224 |
| |
207 | 225 |
| |
208 | 226 |
| |
| 227 | + | |
| 228 | + | |
209 | 229 |
| |
210 | 230 |
| |
211 | 231 |
| |
|
+8Lines changed: 8 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
204 | 204 |
| |
205 | 205 |
| |
206 | 206 |
| |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
207 | 215 |
| |
208 | 216 |
| |
209 | 217 |
| |
|
+23Lines changed: 23 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
38 | 38 |
| |
39 | 39 |
| |
40 | 40 |
| |
| 41 | + | |
| 42 | + | |
41 | 43 |
| |
42 | 44 |
| |
43 | 45 |
| |
| |||
46 | 48 |
| |
47 | 49 |
| |
48 | 50 |
| |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
49 | 64 |
| |
50 | 65 |
| |
51 | 66 |
| |
| |||
190 | 205 |
| |
191 | 206 |
| |
192 | 207 |
| |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
193 | 216 |
| |
194 | 217 |
| |
195 | 218 |
| |
|
core/flow/traffic_shaping.go
Copy file name to clipboardExpand all lines: core/flow/traffic_shaping.go+15-2Lines changed: 15 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
19 |
| - | |
| 19 | + | |
20 | 20 |
| |
21 | 21 |
| |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
22 | 33 |
| |
23 | 34 |
| |
24 | 35 |
| |
| |||
74 | 85 |
| |
75 | 86 |
| |
76 | 87 |
| |
77 |
| - | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
78 | 91 |
| |
79 | 92 |
|
+16Lines changed: 16 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
| 19 | + | |
19 | 20 |
| |
20 | 21 |
| |
21 | 22 |
| |
22 | 23 |
| |
23 | 24 |
| |
| 25 | + | |
| 26 | + | |
24 | 27 |
| |
25 | 28 |
| |
26 | 29 |
| |
27 | 30 |
| |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
28 | 36 |
| |
29 | 37 |
| |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
30 | 42 |
| |
31 | 43 |
| |
32 | 44 |
| |
| |||
39 | 51 |
| |
40 | 52 |
| |
41 | 53 |
| |
| 54 | + | |
| 55 | + | |
42 | 56 |
| |
43 | 57 |
| |
44 | 58 |
| |
45 | 59 |
| |
46 | 60 |
| |
47 | 61 |
| |
48 | 62 |
| |
| 63 | + | |
| 64 | + | |
49 | 65 |
| |
50 | 66 |
| |
51 | 67 |
| |
|
core/system_metric/sys_metric_stat.go
Copy file name to clipboardExpand all lines: core/system_metric/sys_metric_stat.go+19-3Lines changed: 19 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
20 | 20 |
| |
21 | 21 |
| |
22 | 22 |
| |
| 23 | + | |
23 | 24 |
| |
24 |
| - | |
25 | 25 |
| |
26 | 26 |
| |
27 | 27 |
| |
| |||
49 | 49 |
| |
50 | 50 |
| |
51 | 51 |
| |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
52 | 61 |
| |
53 | 62 |
| |
54 | 63 |
| |
| |||
64 | 73 |
| |
65 | 74 |
| |
66 | 75 |
| |
| 76 | + | |
| 77 | + | |
| 78 | + | |
67 | 79 |
| |
68 | 80 |
| |
69 | 81 |
| |
| |||
105 | 117 |
| |
106 | 118 |
| |
107 | 119 |
| |
108 |
| - | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
109 | 123 |
| |
110 | 124 |
| |
111 | 125 |
| |
| |||
161 | 175 |
| |
162 | 176 |
| |
163 | 177 |
| |
164 |
| - | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
165 | 181 |
| |
166 | 182 |
| |
167 | 183 |
| |
|
You can’t perform that action at this time.
0 commit comments