Skip to content

Commit 0fb2b47

Browse files
svrnmxrmx
andauthored
[IA] Move python automatic page to zero-code (#4717)
Signed-off-by: svrnm <[email protected]> Co-authored-by: Riccardo Magliocchetti <[email protected]>
1 parent 8a97719 commit 0fb2b47

File tree

12 files changed

+20
-13
lines changed

12 files changed

+20
-13
lines changed

.github/CODEOWNERS

+1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ content/en/docs/zero-code/go @open-telemetry/docs-approvers @open-te
4545
content/en/docs/zero-code/java/ @open-telemetry/docs-approvers @open-telemetry/java-approvers @open-telemetry/java-instrumentation-approvers
4646
content/en/docs/zero-code/js/ @open-telemetry/docs-approvers @open-telemetry/javascript-approvers
4747
content/en/docs/zero-code/net/ @open-telemetry/docs-approvers @open-telemetry/dotnet-approvers @open-telemetry/dotnet-instrumentation-approvers
48+
content/en/docs/zero-code/python/ @open-telemetry/docs-approvers @open-telemetry/python-approvers
4849
content/en/docs/zero-code/php/ @open-telemetry/docs-approvers @open-telemetry/php-approvers
4950
content/en/ecosystem/demo/ @open-telemetry/demo-approvers @open-telemetry/demo-approvers
5051
content/zh/ @open-telemetry/docs-maintainers @open-telemetry/docs-zh-approvers

content/en/blog/2022/debug-otel-with-otel/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -261,4 +261,4 @@ COPY opentelemetry_module.conf /etc/nginx/conf.d
261261
https://github.com/open-telemetry/opentelemetry-cpp-contrib/releases/tag/webserver%2Fv1.0.1
262262
[java]:
263263
/docs/zero-code/java/agent/configuration/#capturing-http-request-and-response-headers
264-
[python]: /docs/languages/python/automatic/
264+
[python]: /docs/zero-code/python/

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ agent to the host metrics receiver for infrastructure monitoring.
190190
maturing in OTel; for example, the Java JAR agent takes care of instrumenting
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
193-
[Python](/docs/languages/python/automatic/), [.NET](/docs/zero-code/net/), and
193+
[Python](/docs/zero-code/python/), [.NET](/docs/zero-code/net/), and
194194
[Node.js](/docs/zero-code/js/).
195195
- If you’re using Kubernetes, they can use the
196196
[OTel operator](https://github.com/open-telemetry/opentelemetry-operator),

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,4 @@ Automatic instrumentation is available for the following languages:
4949
- [Java](/docs/zero-code/java/)
5050
- [JavaScript](/docs/zero-code/js/)
5151
- [PHP](/docs/zero-code/php/)
52-
- [Python](/docs/languages/python/automatic/)
52+
- [Python](/docs/zero-code/python/)

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ spec:
404404

405405
#### Learn more {#python-learn-more}
406406

407-
[See the Python agent Configuration docs for more details.](/docs/languages/python/automatic/configuration/#disabling-specific-instrumentations)
407+
[See the Python agent Configuration docs for more details.](/docs/zero-code/python/configuration/#disabling-specific-instrumentations)
408408

409409
### Go
410410

content/en/docs/languages/python/getting-started.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,9 @@ flask run -p 8080
8383

8484
## Instrumentation
8585

86-
Automatic instrumentation will generate telemetry data on your behalf. There are
86+
Zero-code instrumentation will generate telemetry data on your behalf. There are
8787
several options you can take, covered in more detail in
88-
[Automatic Instrumentation](../automatic/). Here we'll use the
88+
[Zero-code Instrumentation](/docs/zero-code/python/). Here we'll use the
8989
`opentelemetry-instrument` agent.
9090

9191
Install the `opentelemetry-distro` package, which contains the OpenTelemetry
@@ -814,8 +814,8 @@ Value: 1
814814
## Next steps
815815

816816
There are several options available for automatic instrumentation and Python.
817-
See [Automatic Instrumentation](../automatic/) to learn about them and how to
818-
configure them.
817+
See [Zero-code Instrumentation](/docs/zero-code/python/) to learn about them and
818+
how to configure them.
819819

820820
There's a lot more to manual instrumentation than just creating a child span. To
821821
learn details about initializing manual instrumentation and many more parts of

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ You might also want to configure an appropriate exporter to
104104
telemetry backends.
105105

106106
You can also check the
107-
[automatic instrumentation for Python](/docs/languages/python/automatic).
107+
[Zero-code instrumentation for Python](/docs/zero-code/python/).
108108

109109
[opentelemetry-python-contrib]:
110110
https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/instrumentation#readme

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

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
---
2-
title: Automatic Instrumentation
3-
linkTitle: Automatic
2+
title: Python zero-code instrumentation
3+
linkTitle: Python
44
weight: 30
5+
aliases: [/docs/languages/python/automatic]
56
# prettier-ignore
67
cSpell:ignore: devel distro mkdir myapp pyproject uninstrumented virtualenv Werkzeug
78
---

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

+4-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
title: Agent Configuration
33
linkTitle: Configuration
44
weight: 10
5-
aliases: [agent-config]
5+
aliases:
6+
- /docs/languages/python/automatic/configuration
7+
- /docs/languages/python/automatic/agent-config
68
# prettier-ignore
79
cSpell:ignore: distro healthcheck mkdir myapp Starlette uninstrumented urllib virtualenv
810
---
@@ -119,7 +121,7 @@ outputted.
119121
warning)
120122
- `OTEL_PYTHON_LOGGING_AUTO_INSTRUMENTATION_ENABLED`: to enable
121123
auto-instrumentation of logs. Attaches OTLP handler to Python root logger. See
122-
example [here](/docs/languages/python/automatic/logs-example)
124+
example [here](/docs/zero-code/python/logs-example)
123125

124126
Examples:
125127

content/en/docs/languages/python/automatic/example.md content/en/docs/zero-code/python/example.md

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
title: Auto-Instrumentation Example
33
linkTitle: Example
44
weight: 20
5+
aliases: [/docs/languages/python/automatic/example]
56
# prettier-ignore
67
cSpell:ignore: distro instrumentor mkdir MSIE Referer Starlette uninstrumented venv werkzeug
78
---

content/en/docs/languages/python/automatic/logs-example.md content/en/docs/zero-code/python/logs-example.md

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
title: Logs Auto-Instrumentation Example
33
linkTitle: Logs Example
44
weight: 20
5+
aliases: [/docs/languages/python/automatic/logs-example]
56
# prettier-ignore
67
cSpell:ignore: distro instrumentor mkdir MSIE Referer Starlette uninstrumented virtualenv
78
---

content/en/docs/languages/python/automatic/operator.md content/en/docs/zero-code/python/operator.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: Using the OpenTelemetry Operator to Inject Auto-Instrumentation
33
linkTitle: Operator
4+
aliases: [/docs/languages/python/automatic/operator]
45
weight: 30
56
cSpell:ignore: distro mkdir uninstrumented virtualenv
67
---

0 commit comments

Comments
 (0)