CARVIEW |
Select Language
HTTP/2 200
date: Sun, 27 Jul 2025 17:38:01 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/"cb3f8d7d4f5680ed187b64c661e5c991"
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 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=GpVxlAroFzMGCcpH5EH3CKZKkxStE2IjJclbCYJ8YjpY%2BTJ%2BzvY3OtDjehXLjxG3Fu1rX2Be3ziUZNEJV2ek7SKnlHXOfVgfh3qasKvR9WwHngFjX09aS61yU5aLzAq8Mvzk3lmCn%2FqyoRgBExfHOjjV%2BzH5h1cr%2BbZgwCic7fdC4euxYbuOzlIpDMyO7JehLe3CFola5KB%2FXzKnQG8PqPFJMeoctUeRwaB8RE2AHga64AweHdWOaein6tJ8q0GqrT2CVxmurMt5j8jvR1dDUw%3D%3D--CjiKqhijty69Odtf--64NPT5Lcoj653YNmaCeyVQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.584699800.1753637880; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 17:38:00 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 17:38:00 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 824C:2CB2E7:107A489:15948D1:688663F8
Record max concurrency in MetricItem and metric logs (#371) · alibaba/sentinel-golang@aafce3f · GitHub
Copy file name to clipboardExpand all lines: core/stat/base/bucket_leap_array.go
Copy file name to clipboardExpand all lines: core/stat/base/bucket_leap_array_test.go
Copy file name to clipboardExpand all lines: core/stat/base/metric_bucket.go
Copy file name to clipboardExpand all lines: core/stat/base/metric_bucket_test.go
Copy file name to clipboardExpand all lines: core/stat/base/sliding_window_metric.go
Copy file name to clipboardExpand all lines: core/stat/base/sliding_window_metric_test.go
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 445
Commit aafce3f
File tree
Expand file treeCollapse file tree
7 files changed
+144
-20
lines changedFilter options
- core/stat
- base
Expand file treeCollapse file tree
7 files changed
+144
-20
lines changedcore/stat/base/bucket_leap_array.go
Copy file name to clipboardExpand all lines: core/stat/base/bucket_leap_array.go+56-9Lines changed: 56 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
89 | 89 |
| |
90 | 90 |
| |
91 | 91 |
| |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
92 | 112 |
| |
93 | 113 |
| |
94 |
| - | |
95 |
| - | |
| 114 | + | |
| 115 | + | |
96 | 116 |
| |
97 | 117 |
| |
98 |
| - | |
99 |
| - | |
| 118 | + | |
| 119 | + | |
100 | 120 |
| |
101 | 121 |
| |
102 | 122 |
| |
103 |
| - | |
104 |
| - | |
| 123 | + | |
| 124 | + | |
105 | 125 |
| |
106 | 126 |
| |
107 | 127 |
| |
108 |
| - | |
109 |
| - | |
| 128 | + | |
| 129 | + | |
110 | 130 |
| |
111 |
| - | |
| 131 | + | |
112 | 132 |
| |
113 | 133 |
| |
114 | 134 |
| |
| |||
178 | 198 |
| |
179 | 199 |
| |
180 | 200 |
| |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + |
core/stat/base/bucket_leap_array_test.go
Copy file name to clipboardExpand all lines: core/stat/base/bucket_leap_array_test.go+9Lines changed: 9 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
147 | 147 |
| |
148 | 148 |
| |
149 | 149 |
| |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
150 | 159 |
| |
151 | 160 |
| |
152 | 161 |
| |
|
core/stat/base/metric_bucket.go
Copy file name to clipboardExpand all lines: core/stat/base/metric_bucket.go+19-3Lines changed: 19 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
29 |
| - | |
30 |
| - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
31 | 32 |
| |
32 | 33 |
| |
33 | 34 |
| |
34 | 35 |
| |
35 |
| - | |
| 36 | + | |
| 37 | + | |
36 | 38 |
| |
37 | 39 |
| |
38 | 40 |
| |
| |||
68 | 70 |
| |
69 | 71 |
| |
70 | 72 |
| |
| 73 | + | |
71 | 74 |
| |
72 | 75 |
| |
73 | 76 |
| |
74 | 77 |
| |
75 | 78 |
| |
| 79 | + | |
76 | 80 |
| |
77 | 81 |
| |
78 | 82 |
| |
79 | 83 |
| |
80 | 84 |
| |
81 | 85 |
| |
82 | 86 |
| |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + |
core/stat/base/metric_bucket_test.go
Copy file name to clipboardExpand all lines: core/stat/base/metric_bucket_test.go+14-7Lines changed: 14 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
27 | 27 |
| |
28 | 28 |
| |
29 | 29 |
| |
30 |
| - | |
| 30 | + | |
31 | 31 |
| |
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
35 | 35 |
| |
36 | 36 |
| |
37 | 37 |
| |
38 |
| - | |
39 |
| - | |
| 38 | + | |
| 39 | + | |
40 | 40 |
| |
41 |
| - | |
| 41 | + | |
42 | 42 |
| |
43 |
| - | |
| 43 | + | |
44 | 44 |
| |
45 |
| - | |
| 45 | + | |
46 | 46 |
| |
47 |
| - | |
| 47 | + | |
48 | 48 |
| |
| 49 | + | |
| 50 | + | |
49 | 51 |
| |
50 | 52 |
| |
51 | 53 |
| |
| |||
66 | 68 |
| |
67 | 69 |
| |
68 | 70 |
| |
| 71 | + | |
| 72 | + | |
| 73 | + | |
69 | 74 |
| |
70 | 75 |
| |
71 | 76 |
| |
| |||
133 | 138 |
| |
134 | 139 |
| |
135 | 140 |
| |
| 141 | + | |
136 | 142 |
| |
| 143 | + | |
137 | 144 |
|
core/stat/base/sliding_window_metric.go
Copy file name to clipboardExpand all lines: core/stat/base/sliding_window_metric.go+27Lines changed: 27 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
162 | 162 |
| |
163 | 163 |
| |
164 | 164 |
| |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
165 | 188 |
| |
166 | 189 |
| |
167 | 190 |
| |
| |||
214 | 237 |
| |
215 | 238 |
| |
216 | 239 |
| |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
217 | 244 |
| |
218 | 245 |
| |
219 | 246 |
| |
|
core/stat/base/sliding_window_metric_test.go
Copy file name to clipboardExpand all lines: core/stat/base/sliding_window_metric_test.go+10Lines changed: 10 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
225 | 225 |
| |
226 | 226 |
| |
227 | 227 |
| |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
228 | 238 |
| |
229 | 239 |
| |
230 | 240 |
| |
|
+9-1Lines changed: 9 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
68 | 68 |
| |
69 | 69 |
| |
70 | 70 |
| |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
71 | 75 |
| |
72 | 76 |
| |
73 | 77 |
| |
| |||
80 | 84 |
| |
81 | 85 |
| |
82 | 86 |
| |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
83 | 91 |
| |
84 | 92 |
| |
85 | 93 |
| |
86 | 94 |
| |
87 | 95 |
| |
88 |
| - | |
| 96 | + | |
89 | 97 |
| |
90 | 98 |
| |
91 | 99 |
| |
|
You can’t perform that action at this time.
0 commit comments