Skip to content

Commit d65eb5a

Browse files
svrnmcartermp
andauthored
[IA] Relocate JavaScript Automatic pages to new Zero-code section + CODEOWNERS (#4527)
Signed-off-by: svrnm <[email protected]> Co-authored-by: Phillip Carter <[email protected]>
1 parent a08b8e5 commit d65eb5a

File tree

7 files changed

+24
-21
lines changed

7 files changed

+24
-21
lines changed

.github/CODEOWNERS

+3-1
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,6 @@ content/en/docs/specs/ @open-telemetry/docs-approvers @open-te
4242
content/en/docs/security/ @open-telemetry/docs-approvers @open-telemetry/sig-security-maintainers
4343
content/en/ecosystem/demo/ @open-telemetry/demo-approvers @open-telemetry/demo-approvers
4444
content/en/docs/contributing/ @open-telemetry/docs-approvers @open-telemetry/docs-maintainers
45-
content/zh/ @open-telemetry/docs-zh-approvers
45+
content/zh/ @open-telemetry/docs-zh-approvers
46+
content/en/docs/zero-code/java/ @open-telemetry/docs-approvers @open-telemetry/java-approvers @open-telemetry/java-instrumentation-approvers
47+
content/en/docs/zero-code/js/ @open-telemetry/docs-approvers @open-telemetry/javascript-approvers

content/en/blog/2023/end-user-discussions-03.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,7 @@ agent to the host metrics receiver for infrastructure monitoring.
191191
[most libraries](https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/docs/supported-libraries.md#libraries--frameworks)
192192
that are used by applications. Auto-instrumentation is also available for
193193
[Python](/docs/languages/python/automatic/),
194-
[.NET](/docs/languages/net/automatic/), and
195-
[Node.js](/docs/languages/js/automatic).
194+
[.NET](/docs/languages/net/automatic/), and [Node.js](/docs/zero-code/js/).
196195
- If you’re using Kubernetes, they can use the
197196
[OTel operator](https://github.com/open-telemetry/opentelemetry-operator),
198197
which takes care of instrumentations for applications deployed on K8s. The

content/en/docs/concepts/instrumentation/zero-code.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Other configuration options are available, including:
4545
Automatic instrumentation is available for the following languages:
4646

4747
- [.NET](/docs/languages/net/automatic/)
48-
- [Java](/docs/languages/java/automatic/)
49-
- [JavaScript](/docs/languages/js/automatic/)
48+
- [Java](/docs/zero-code/java/)
49+
- [JavaScript](/docs/zero-code/js/)
5050
- [PHP](/docs/languages/php/automatic/)
5151
- [Python](/docs/languages/python/automatic/)

content/en/docs/kubernetes/operator/automatic.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -280,14 +280,14 @@ must be able to receive OTLP over `grpc`. Therefore, the example uses
280280
`http://demo-collector:4317`, which connects to the `grpc` port of the
281281
`otlpreceiver` of the Collector created in the previous step.
282282

283-
#### Excluding auto-instrumentation {#js-excluding-auto-instrumentation}
283+
#### Excluding instrumentation libraries {#js-excluding-instrumentation-libraries}
284284

285-
By default, the Node.js auto-instrumentation has all the instrumentation
285+
By default, the Node.js zero-code instrumentation has all the instrumentation
286286
libraries enabled.
287287

288-
To enable only specific instrumentations you can use the
288+
To enable only specific instrumentation libraries you can use the
289289
`OTEL_NODE_ENABLED_INSTRUMENTATIONS` environment variable as documented in the
290-
[Node.js auto-instrumentation documentation](/docs/languages/js/automatic/configuration/#excluding-auto-instrumentation).
290+
[Node.js zero-code instrumentation documentation](/docs/zero-code/js/configuration/#excluding-instrumentation-libraries).
291291

292292
```yaml
293293
apiVersion: opentelemetry.io/v1alpha1

content/en/docs/languages/js/instrumentation.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ description: Instrumentation for OpenTelemetry JavaScript
1414

1515
On this page you will learn how you can add traces, metrics and logs to your
1616
code _manually_. But, you are not limited to only use one kind of
17-
instrumentation: use [automatic instrumentation](/docs/languages/js/automatic/)
18-
to get started and then enrich your code with manual instrumentation as needed.
17+
instrumentation: use [automatic instrumentation](/docs/zero-code/js/) to get
18+
started and then enrich your code with manual instrumentation as needed.
1919

2020
Also, for libraries your code depends on, you don't have to write
2121
instrumentation code yourself, since they might come with OpenTelemetry built-in

content/en/docs/languages/js/automatic/_index.md content/en/docs/zero-code/js/_index.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
---
2-
title: Automatic Instrumentation
3-
linkTitle: Automatic
2+
title: JavaScript zero-code instrumentation
3+
linkTitle: JavaScript
44
description:
55
Capture telemetry from your application with zero source code modifications
6-
weight: 30
6+
aliases: [/docs/languages/js/automatic]
77
---
88

9-
Automatic instrumentation provides a way to instrument any Node.js application
10-
and capture telemetry data from many popular libraries and frameworks without
11-
any code changes.
9+
Zero-code instrumentation for JavaScript provides a way to instrument any
10+
Node.js application and capture telemetry data from many popular libraries and
11+
frameworks without any code changes.
1212

1313
## Setup
1414

content/en/docs/languages/js/automatic/configuration.md content/en/docs/zero-code/js/configuration.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
---
2-
title: Automatic Instrumentation Configuration
2+
title: Zero-Code Instrumentation Configuration
33
linkTitle: Configuration
4-
description: Learn how to configure Automatic Instrumentation for Node.js
5-
aliases: [module-config]
4+
description: Learn how to configure Zero-Code Instrumentation for Node.js
5+
aliases:
6+
- /docs/languages/js/automatic/configuration
7+
- /docs/languages/js/automatic/module-config]
68
weight: 10
79
cSpell:ignore: serviceinstance
810
---
@@ -43,7 +45,7 @@ For example, to only enable the `env` and `host` detectors, you can set:
4345
OTEL_NODE_RESOURCE_DETECTORS=env,host
4446
```
4547

46-
### Excluding auto-instrumentation
48+
### Excluding instrumentation libraries
4749

4850
By default, all
4951
[supported instrumentation libraries](https://github.com/open-telemetry/opentelemetry-js-contrib/blob/main/metapackages/auto-instrumentations-node/README.md#supported-instrumentations)

0 commit comments

Comments
 (0)