Java Performance Tuning

Java(TM) - see bottom of page

|home |services |training |newsletter |tuning tips |tool reports |articles |resources |about us |site map |contact us |
Tools: | GC log analysers| Multi-tenancy tools| Books| SizeOf| Thread analysers| Heap dump analysers|

Our valued sponsors who help make this site possible
JProfiler: Get rid of your performance problems and memory leaks! 

Training online: Concurrency, Threading, GC, Advanced Java and more ... 

News March 2022

JProfiler
Get rid of your performance problems and memory leaks!

Modern Garbage Collection Tuning
Shows tuning flow chart for GC tuning


Java Performance Training Courses
COURSES AVAILABLE NOW. We can provide training courses to handle all your Java performance needs

Java Performance Tuning, 2nd ed
The classic and most comprehensive book on tuning Java

Java Performance Tuning Newsletter
Your source of Java performance news. Subscribe now!
Enter email:


Training online
Threading Essentials course


JProfiler
Get rid of your performance problems and memory leaks!


Back to newsletter 256 contents

OpenTelemetry is fast gaining ground in the APM industry. What exactly is it?

1. If you just want to publish metrics from your Java app, with no code changes:

1a. You get the java agent jar and start your app with -javaagent. This is the same as any of the various APM agents available, such as the Elastic APM Java agent (which I work on). The Elastic APM Java agent has other startup options, such as remote attaching instead of only using javaagent

1b. You need to have the metrics collected by some server that understands the output format and ideally allows display of the metrics in some useful way (for example Elastic APM)

2. If you want to add custom instrumentation to your app:

2a. You include opentelemetry-api as a dependency, and add code using that API. When executed this won't publish metrics as the API backend is a no-op

2b. To publish metrics, you can include opentelemetry-sdk as a dependency, or simply start your app with any OpenTelemetry compatible java agent (such as the OpenTelemetry one, or the Elastic APM Java agent).

Now on to all the usual newsletter list of links, tips, tools, news and articles, and as usual I've extracted all the tips into this month's tips page including the Java agent tips

A note from this newsletter's sponsor

JProfiler
Get rid of your performance problems and memory leaks!

News

Java performance tuning related news

Tools

Java performance tuning related tools

Articles

Jack Shirazi


Back to newsletter 256 contents


Last Updated: 2022-04-29
Copyright © 2000-2022 Fasterj.com. All Rights Reserved.
All trademarks and registered trademarks appearing on JavaPerformanceTuning.com are the property of their respective owners.
Java is a trademark or registered trademark of Oracle Corporation in the United States and other countries. JavaPerformanceTuning.com is not connected to Oracle Corporation and is not sponsored by Oracle Corporation.
URL: http://www.JavaPerformanceTuning.com/news/news256.shtml
RSS Feed: http://www.JavaPerformanceTuning.com/newsletters.rss
Trouble with this page? Please contact us