-
Notifications
You must be signed in to change notification settings - Fork 264
/
CHANGES
490 lines (341 loc) · 11.4 KB
/
CHANGES
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
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
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
.. Author notes: this file is formatted with restructured text
(http://docutils.sourceforge.net/docs/user/rst/quickstart.html)
as it is included in TwitterServer's user's guide.
Note that ``PHAB_ID=#`` and ``RB_ID=#`` correspond to associated messages in commits.
Unreleased
----------
18.1.0
-------
No Changes
17.12.0
-------
Bug Fixes
~~~~~~~~~
* Treat `io.netty.channel.epoll.Native.epollWait0` as an idle thread on
"/admin/threads". This method is observed when using Netty 4's native
transport. ``PHAB_ID=D115058``
17.11.0
-------
Breaking API Changes
~~~~~~~~~~~~~~~~~~~~
* Change to apply JUL log format in the `c.t.server.logging.Logging` trait
constructor instead of in `premain` to apply format as early in the logging
stack as possible. However, this means that users overriding the
`def defaultFormatter` will not be able to use any flags to configure their
formatting, note: the default `LogFormatter` does not use flags.
``PHAB_ID=D106534``
17.10.0
-------
Release Version Format
~~~~~~~~~~~~~~~~~~~~~~
* From now on, release versions will be based on release date in the format of
YY.MM.x where x is a patch number. ``PHAB_ID=D101244``
Runtime Behavior Changes
~~~~~~~~~~~~~~~~~~~~~~~~
* All admin endpoints except ping + healthcheck are now by-default served outside
the global worker pool. ``PHAB_ID=D96633``
Breaking API Changes
~~~~~~~~~~~~~~~~~~~~
* Rename AdminHttpServer#defaultHttpPort to AdminHttpServer#defaultAdminPort.
``PHAB_ID=D97394``
1.32.0
------
Breaking API Changes
~~~~~~~~~~~~~~~~~~~~
* Removed code related to `util-events` including `EventSink`, `JsonSink`,
`TraceEventSink`. The corresponding "/admin/events" and "/admin/events/record/"
admin HTTP endpoints are also removed. ``PHAB_ID=D82346``
1.31.0
------
No Changes
1.30.0
------
Runtime Behavior Changes
~~~~~~~~~~~~~~~~~~~~~~~~
* The admin server now waits for other registered closables to shut down
before commencing its own shutdown. ``RB_ID=916421``
Breaking API Changes
~~~~~~~~~~~~~~~~~~~~
* Removed `c.t.server.Closer` trait. Behavior has been moved to
`c.t.app.App`. ``RB_ID=915485``
1.29.0
------
No Changes
1.28.0
------
Dependencies
~~~~~~~~~~~~
* Bump guava to 19.0. ``RB_ID=907807``
1.27.0
------
New Features
~~~~~~~~~~~~
* Add lint error warning on admin summary page. ``RB_ID=898202``
1.26.0
------
Bug Fixes
~~~~~~~~~
* Server graphs are now displaying again on the Twitter Server Summary page.
``RB_ID=898422``
1.25.0
------
New Features
~~~~~~~~~~~~
* Add ability to specify admin interface UI grouping, alias, and path for admin
handlers using the newly added Route and RouteUi. ``RB_ID=886829``
Runtime Behavior Changes
~~~~~~~~~~~~~~~~~~~~~~~~
* Removed `scala-xml` dependency. ``RB_ID=890315``
1.24.0
------
No Changes
1.23.0
------
No Changes
1.22.0
------
New Features
~~~~~~~~~~~~
* No longer need to add an additional resolver that points to maven.twttr.com.
``RB_ID=878967``
Runtime Behavior Changes
~~~~~~~~~~~~~~~~~~~~~~~~
* ShutdownHandler and AbortHandler accept only POST requests and ignore
non-POST requests. ``RB_ID=848212``
1.21.0
------
Bug Fixes
~~~~~~~~~
* Escape user input that is rendered in HTML, and make bin/travisci publish
finagle-toggle. ``RB_ID=848579``
New Features
~~~~~~~~~~~~
* Add optional HTTP request parameter `filter` to `/admin/registry.json`
allowing for simple filtering of the returned JSON. ``RB_ID=842784``
* Add admin endpoint, `/admin/toggles`, for
`c.t.finagle.toggle.StandardToggleMap` registered `Toggles`.
``RB_ID=847434``
Breaking API Changes
~~~~~~~~~~~~~~~~~~~~
* Removed AdminHttpServer#mkRoutex method. This method was created during the
migration away from direct usage of netty http types and is now
redundant. ``RB_ID=835083``
* Builds are now only for Java 8 and Scala 2.11. See the
`blog post <https://finagle.github.io/blog/2016/04/20/scala-210-and-java7/>`_
for details. ``RB_ID=828898``
1.20.0
------
Runtime Behavior Changes
~~~~~~~~~~~~~~~~~~~~~~~~
* Introduce a new lifecycle event `prebindWarmup` for warmup code
which needs to run before the service handles traffic. GC has
moved from `warmupComplete` to `prebindWarmup`. ``RB_ID=819411``
New Features
~~~~~~~~~~~~
* Update to register TwitterServer as library in /admin/registry.json. ``RB_ID=825129``
* Add a FailFast lint rule for Memcached client. ``RB_ID=808727``
1.19.0
------
New Features
~~~~~~~~~~~~
* Add AdminHttpServer#boundAddress to expose the bound address of
the AdminHttpServer. ``RB_ID=798322``
1.18.0
------
New Features
~~~~~~~~~~~~
* Add new admin endpoint "/" which redirects requests to "/admin". ``RB_ID=777247``
1.17.0
------
NOT RELEASED
1.16.0
------
1.15.0
------
New Features
~~~~~~~~~~~~
* Add new admin endpoint "/admin/lint" which checks for possible issues with
performance or configuration. ``RB_ID=754348``
Runtime Behavior Changes
~~~~~~~~~~~~~~~~~~~~~~~~
* We no longer export a "scheduler/productivity" stat because various implementation
details made it difficult to report reliably.
1.14.0
------
Dependencies
~~~~~~~~~~~~
* Converted to finagle-httpx. Projects that depend transitively on
finagle-http through twitter-server will need to switch to finagle-httpx.
RB_ID=741454 RB_ID=740731
1.13.0
------
1.12.0
------
* Enable syntax highlighting in the docs
1.11.0
------
New Features
~~~~~~~~~~~~
* Introduce AbstractTwitterServer, a Java-friendly version of TwitterServer. RB_ID=661878
1.10.0
------
New Features
~~~~~~~~~~~~
* TwitterServer collects a statically allocated ring of runtime events, which be viewed
at /admin/events, and downloaded as JSON with a HTTP client like curl (or by simply
omitting the User-Agent header in the request).
* TwitterServer exports runtime configuration data about your service, which can be
downloaded as json at /admin/registry.json.
Dependencies
~~~~~~~~~~~~
* Bumped many dependency versions.
1.9.0
-----
New Features
~~~~~~~~~~~~
* Most noticeably, the admin server received a complete UI redesign. All http endpoints are
now available via a navigation pane. We provide a simple API for service owners to include
ad-hoc admin pages which will be part of the navigation pane. Note, it is still possible to
join the admin server’s namespace via the global com.twitter.finagle.http.HttpMuxer.
* When using the twitter Metrics library, the admin server now scrapes your stats to
extract a quick summary of how your server is performing. This includes secondly
success rates for your server and least performant downstreams. We provide a /admin/metrics
endpoint which can watch stats (at secondly granularity) and extract them via http queries.
* More recently, Finagle clients and servers began to retain information about their composition.
This is useful in examining the modules and parameters that comprise a specific implementation.
We now surface this information in the admin server via /admin/clients/<client_name> and
/admin/servers/<server_name>
* TwitterServer now exposes a /admin/registry.json endpoint, which speaks json and exposes the
values from util-registry as labels. Most labels are long-lived, and tend to represent something
about a process that is true for the entire lifetime, like the version of a library, or what a
flag was set to.
Dependencies
~~~~~~~~~~~~
* Remove dependency on mustache for admin server in favor of templating
via string interpolation. This is more hygienic for web applications
and frameworks built atop twitter-server.
1.8.0
-----
New Features
~~~~~~~~~~~~
* Add the ability to promote objects to old gen before serving
* Export everything from build.properties at /admin/server_info
Runtime Behavior Changes
~~~~~~~~~~~~~~~~~~~~~~~~
* Add merge_base merge_base_commit_date and scm_repository to server_info
* AdminHttpServer now disables tracing
* Export gauge on eden allocations
* Improve heuristic for returning html or not in WebHandler
* Initial redesign of admin pages
Breaking API Changes
~~~~~~~~~~~~~~~~~~~~
* Remove ServerInfo class: export /admin/server_info directly from build.properties file
1.7.6
-----
twitter-server: Add gauge on eden allocations
twitter-server: Do not trace the admin http server
twitter-server: JvmStats needs to call Allocations.start()
twitter-server: Log severely if a flag is read at the wrong time
twitter-server: Parameterize IndexHandler on a `patterns: Seq[String]`
twitter-server: Proper resource loading in admin pages
twitter-server: Redesign of twitter-server admin page
1.7.3
-----
- Add admin endpoint for per-client configuration
- Add trace ID to twitter-server logging
- Create a logging handler for on-the-fly logging updates
1.7.2
-----
- release finagle v6.18.0
- release util v6.18.0
- user guide: Add blurb about filtering out stats
1.7.1
-----
- Upgrade versions of all dependencies
- Admin dtab handler: display base dtab
- Change productivity stat to cpuTime/wallTime
1.7.0
-----
- Bump finagle to 6.16.1-SNAPSHOT
- Bump util to 6.16.1-SNAPSHOT
- Disable admin server stats
1.6.3
-----
- Define type for statsReceiver explicitly so that it can be overloaded
- Store gauge references (otherwise only weakly referenced)
- Enforce close grace period for com.twitter.app.App
- upgrade finagle/util to 6.15.0
1.6.2
-----
- Add com.twitter.io.Charsets and replace the use of org.jboss.netty.util.CharsetUtil
- Fix twitter-server execution test
1.6.1
-----
- upgrade finagle to 6.13.1
- upgrade util to 6.13.2
1.6.0
-----
- upgrade finagle version to 6.13.0
- Implement application-level shutdown handling in App.
- Bug-fix: Refresh JVM memory snapshots on stats collection Motivation
- Bug-fix: set content-length when responding from TwitterHandler
1.5.1
-----
- update finable to 6.12.1
- update util to 6.12.1
1.5.0
-----
- Add logging to TwitterHandlers
- Report on deadlock conditions in admin/contentions
- Twitter server handler for dumping the current dtab
- TwitterHandler: non-root logger
- update finagle version to 6.12.0
- update util version to 6.12.0
1.4.1
-----
- Upgrade finagle to 6.11.1
- Upgrade util to 6.11.1
1.4.0
-----
- Remove finagle-stats dependency so that alternate stats packages can be used such as ostrich
- Add a hooking mechanism and expose an API to install the Dtab using the hooking mechanism
- Upgrade finagle to 6.10.0
- Upgrade util to 6.10.0
1.3.1
-----
- Upgrade finagle to 6.8.1
- Upgrade util to 6.8.1
1.3.0
-----
- Upgrade finagle to 6.8.0
- Upgrade util to 6.8.0
- Adds a cautious registration to HttpMuxer / adds a default metrics endpoint to twitter-server
- Docs: Pointed out that you need the finagle-stats jar on your classpath
- Sync jackson versions in twitter-server
- Revert ordering of TwitterServer mixins.
- Mix in Closer by default... again.
1.2.0
-----
- Support staged names introduced in Finagle
- Add glog-style log formatting
- Remove finagle-stats as a dependency
- Don't stat admin endpoints
1.1.0
-----
- Add ability to defer /health endpoint registration
- Add new stats for current memory usage.
- Change twitter-server admin http server flag and symbol name
- Enable zipkin
- Make Logging trait more flexible for easy extension
- New scheduler "productivity" stats, dispatches.
1.0.3
-----
- bump finagle to 6.5.2
- bump util to 6.3.8
1.0.2
-----
- bump finagle to 6.5.1
- bump util to 6.3.7
1.0.1
-----
- Initial Release