Skip to content

Commit 8d7c40e

Browse files
svrnmcartermp
andauthored
Update java libraries page to use intro shortcode (#4317)
Signed-off-by: svrnm <[email protected]> Co-authored-by: Phillip Carter <[email protected]>
1 parent b31db04 commit 8d7c40e

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

content/en/docs/languages/java/libraries.md

+7-8
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,13 @@ weight: 40
55
cSpell:ignore: getenv httpclient println
66
---
77

8-
When you develop an app, you use third-party libraries and frameworks to
9-
accelerate your work and avoid duplicated efforts. If you instrument your app
10-
with OpenTelemetry, you don't want to spend additional time on manually adding
11-
traces, logs, and metrics to those libraries and frameworks.
12-
13-
Use libraries that come with OpenTelemetry support natively or an
14-
[Instrumentation Library](/docs/concepts/instrumentation/libraries/) to generate
15-
telemetry data for a library or framework.
8+
{{% docs/languages/libraries-intro "Java" %}}
9+
10+
## Use Instrumentation Libraries
11+
12+
If a library does not come with OpenTelemetry out of the box, you can use
13+
[instrumentation libraries](/docs/specs/otel/glossary/#instrumentation-library)
14+
in order to generate telemetry data for a library or framework.
1615

1716
The Java agent for automatic instrumentation includes instrumentation libraries
1817
for many common Java frameworks. Most are turned on by default. If you need to

data/ecosystem/integrations.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
url: https://www.elastic.co/guide/en/elasticsearch/client/java-api-client/current/index.html
1919
docsUrl: https://www.elastic.co/guide/en/elasticsearch/client/java-api-client/current/opentelemetry.html
2020
components: [Java]
21+
native: true # Elasticsearch Java API Client provides a native integration of the OpenTelemetry API
2122
oss: true
2223
- name: Kubernetes
2324
url: https://kubernetes.io/

0 commit comments

Comments
 (0)