-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#947 ServoMonitorCache and GC Overhead Limit Reached: Added documentation/heads up accordingly #1370
#947 ServoMonitorCache and GC Overhead Limit Reached: Added documentation/heads up accordingly #1370
Changes from 1 commit
ee38097
f8d761d
499ff65
9c140ab
043c044
6f1f59f
a7a93e5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1728,6 +1728,20 @@ If Spring AOP is enabled and `org.aspectj:aspectjweaver` is present on your runt | |
3. URI, sanitized for Atlas | ||
4. Client name | ||
|
||
[TIP] | ||
==== | ||
Don't use hardcoded url parameters within `RestTemplate'. When targeting dynamic endpoints use templated urls. This will avoid potential "GC Overhead Limit Reached" issues where `ServoMonitorCache` treats each url as a unique key. | ||
` | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
// recommended | ||
String orderid = "1"; | ||
restTemplate.getForObject("http://testeurekabrixtonclient/orders/{orderid}", String.class, orderid) | ||
` | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. remove |
||
` | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. remove |
||
// avoid | ||
restTemplate.getForObject("http://testeurekabrixtonclient/orders/1", String.class) | ||
` | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
==== | ||
|
||
[[netflix-metrics-spectator]] | ||
=== Metrics Collection: Spectator | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.