Skip to content

Commit

Permalink
Update java libraries page to use intro shortcode (#4317)
Browse files Browse the repository at this point in the history
Signed-off-by: svrnm <neumanns@cisco.com>
Co-authored-by: Phillip Carter <pcarter@fastmail.com>
  • Loading branch information
svrnm and cartermp committed Apr 24, 2024
1 parent b31db04 commit 8d7c40e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
15 changes: 7 additions & 8 deletions content/en/docs/languages/java/libraries.md
Expand Up @@ -5,14 +5,13 @@ weight: 40
cSpell:ignore: getenv httpclient println
---

When you develop an app, you use third-party libraries and frameworks to
accelerate your work and avoid duplicated efforts. If you instrument your app
with OpenTelemetry, you don't want to spend additional time on manually adding
traces, logs, and metrics to those libraries and frameworks.

Use libraries that come with OpenTelemetry support natively or an
[Instrumentation Library](/docs/concepts/instrumentation/libraries/) to generate
telemetry data for a library or framework.
{{% docs/languages/libraries-intro "Java" %}}

## Use Instrumentation Libraries

If a library does not come with OpenTelemetry out of the box, you can use
[instrumentation libraries](/docs/specs/otel/glossary/#instrumentation-library)
in order to generate telemetry data for a library or framework.

The Java agent for automatic instrumentation includes instrumentation libraries
for many common Java frameworks. Most are turned on by default. If you need to
Expand Down
1 change: 1 addition & 0 deletions data/ecosystem/integrations.yaml
Expand Up @@ -18,6 +18,7 @@
url: https://www.elastic.co/guide/en/elasticsearch/client/java-api-client/current/index.html
docsUrl: https://www.elastic.co/guide/en/elasticsearch/client/java-api-client/current/opentelemetry.html
components: [Java]
native: true # Elasticsearch Java API Client provides a native integration of the OpenTelemetry API
oss: true
- name: Kubernetes
url: https://kubernetes.io/
Expand Down

0 comments on commit 8d7c40e

Please sign in to comment.