-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: [es] Create docs/languages/js/_index.md #5327
base: main
Are you sure you want to change the base?
Changes from all commits
910c6e3
5219119
d732674
01b1b36
81b73a8
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,4 +13,4 @@ cascade: | |
weight: 18 | ||
--- | ||
|
||
{{% docs/languages/index-intro java /%}} | ||
{{% docs/languages/index-intro java en /%}} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
--- | ||
title: JavaScript | ||
description: >- | ||
<img width="35" class="img-initial" src="/img/logos/32x32/JS_SDK.svg" | ||
alt="JavaScript"> Una implementación específica de OpenTelemetry en el | ||
lenguaje de JavaScript (para Node.js y el navegador). | ||
aliases: [/js, /js/metrics, /js/tracing] | ||
cSpell:ignore: Roadmap | ||
weight: 20 | ||
default_lang_commit: 24dbe7a95c8db685e410947de05a3baf96c7c349 | ||
--- | ||
|
||
{{% docs/languages/index-intro js es /%}} | ||
|
||
{{% alert title="Warning" color="warning" %}} | ||
{{% _param notes.browser-instrumentation %}} {{% /alert %}} | ||
|
||
## Soporte de versiones | ||
|
||
OpenTelemetry en JavaScript es compatible con todas las versiones LTS activas o | ||
en mantenimiento de Node.js. Las versiones anteriores de Node.js pueden | ||
funcionar, pero OpenTelemetry no las ha probado. | ||
|
||
OpenTelemetry en JavaScript no tiene una lista oficial de navegadores | ||
compatibles. Está diseñado para funcionar en las versiones actualmente | ||
soportadas de los principales navegadores. | ||
|
||
Para más detalles sobre el soporte de tiempo de ejecución, consulta esta | ||
[introducción](https://github.com/open-telemetry/opentelemetry-js#supported-runtimes). | ||
|
||
## Repositorios | ||
|
||
OpenTelemetry en JavaScript consta de los siguientes repositorios: | ||
|
||
- [opentelemetry-js](https://github.com/open-telemetry/opentelemetry-js): | ||
repositorio principal que contiene la API y SDK de distribución básica. | ||
- [opentelemetry-js-contrib](https://github.com/open-telemetry/opentelemetry-js-contrib): | ||
contribuciones que no son parte de la distribución básica de la API y SDK. | ||
|
||
## Ayuda o Comentarios | ||
|
||
Si tienes preguntas sobre OpenTelemetry JavaScript, por favor comunícate a | ||
través de | ||
[Discusiones de GitHub](https://github.com/open-telemetry/opentelemetry-js/discussions) | ||
o el canal [#otel-js] en [Slack de la CNCF](https://slack.cncf.io/). | ||
|
||
Si deseas contribuir a OpenTelemetry en JavaScript, consulta las | ||
[instrucciones de contribución](https://github.com/open-telemetry/opentelemetry-js/blob/main/CONTRIBUTING.md) |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
introPage: | ||
description: | ||
'This is the OpenTelemetry {{ $name }} documentation. OpenTelemetry is an | ||
observability framework -- an API, SDK, and tools that are designed to aid | ||
in the generation and collection of application telemetry data such as | ||
metrics, logs, and traces. This documentation is designed to help you | ||
understand how to get started using OpenTelemetry {{ $name }}' | ||
releases: | ||
title: 'Status and Releases' | ||
description: | ||
'The current status of the major functional components for OpenTelemetry | ||
{{ $name }} is as follows:' | ||
traces: 'Traces' | ||
metrics: 'Metrics' | ||
logs: 'Logs' |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
introPage: | ||
description: | ||
'Esta es la documentación de OpenTelemetry con {{ $name }}. OpenTelemetry es | ||
un marco de observabilidad: una API, un SDK y herramientas diseñadas para | ||
facilitar la generación y recolección de datos de telemetría de | ||
aplicaciones, como métricas, logs y trazas. Esta documentación está diseñada | ||
para ayudarte a comprender cómo comenzar a usar OpenTelemetry con {{ $name | ||
}}.' | ||
releases: | ||
title: 'Estados y lanzamientos' | ||
description: | ||
'El estado actual de los principales componentes funcionales de | ||
OpenTelemetry {{ $name }} es el siguiente:' | ||
traces: 'Trazas' | ||
metrics: 'Métricas' | ||
logs: 'Registros' |
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -3,25 +3,26 @@ | |||||
<!-- prettier-ignore --> | ||||||
` -}} | ||||||
{{ $lang := .Get 0 -}} | ||||||
{{ $translation := .Get 1 -}} | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please accept the following change, and then revert all of the "en" argument additions to the
Suggested change
|
||||||
{{ $data := index $.Site.Data.instrumentation $lang }} | ||||||
{{ $name := $data.name -}} | ||||||
|
||||||
{{ $tracesStatus := partial "docs/get-signal-status.html" (dict "lang" $lang "signal" "traces") -}} | ||||||
{{ $metricsStatus := partial "docs/get-signal-status.html" (dict "lang" $lang "signal" "metrics") -}} | ||||||
{{ $logsStatus := partial "docs/get-signal-status.html" (dict "lang" $lang "signal" "logs") -}} | ||||||
|
||||||
This is the OpenTelemetry {{ $name }} documentation. OpenTelemetry is an | ||||||
observability framework -- an API, SDK, and tools that are designed to aid in | ||||||
the generation and collection of application telemetry data such as metrics, | ||||||
logs, and traces. This documentation is designed to help you understand how to | ||||||
get started using OpenTelemetry {{ $name }}. | ||||||
{{ $content := index $.Site.Data.languages $translation }} | ||||||
{{ replace $content.introPage.description "{{ $name }}" $name }} | ||||||
|
||||||
## Status and Releases | ||||||
## {{ $content.introPage.releases.title }} | ||||||
|
||||||
The current status of the major functional components for OpenTelemetry | ||||||
{{ $name }} is as follows: | ||||||
{{ $traces := $content.introPage.releases.traces }} | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
@oayras gracias por tu contribucion, seria un abordage mas simples, traduzir el texto, sin necesitad de agregar nuevos archivos en |
||||||
{{ $metrics := $content.introPage.releases.metrics }} | ||||||
{{ $logs := $content.introPage.releases.logs }} | ||||||
|
||||||
| Traces | Metrics | Logs | | ||||||
{{ replace $content.introPage.releases.description "{{ $name }}" $name }} | ||||||
|
||||||
| {{ $traces }} | {{ $metrics }} | {{ $logs }} | | ||||||
| ------------------- | -------------------- | ----------------- | | ||||||
| {{ $tracesStatus }} | {{ $metricsStatus }} | {{ $logsStatus }} | | ||||||
|
||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let me investigate if we can achieve the same result without introducing an extra parameter.