docs: analytics.md traducido (#112)

* se agrego archivo en ingles para analytics

Fixes #96
This commit is contained in:
Antonio Cardenas 2020-10-01 22:53:32 -06:00 committed by GitHub
parent 3d084ac910
commit 4dc8aa2a27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 80 additions and 30 deletions

View File

@ -0,0 +1,53 @@
# Usage Metrics Gathering
You can help the Angular Team to prioritize features and improvements by permitting the Angular
team to send command-line command usage statistics to Google. The Angular Team does not collect
usage statistics unless you explicitly opt in during the Angular CLI installation or upgrade.
## What is collected?
Usage analytics include the commands and selected flags for each execution. Usage analytics may
include the following information:
- Your operating system (Mac, Linux distribution, Windows) and its version.
- Number of CPUs, amount of RAM.
- Node and Angular CLI version (local version only).
- How long each command took to initialize and execute.
- Command name that was run.
- For Schematics commands (add, generate, new and update), a list of selected flags.
- For build commands (build, serve), the number and size of bundles (initial and lazy),
compilation units, the time it took to build and rebuild, and basic Angular-specific
API usage.
- Error code of exceptions and crash data. No stack trace is collected.
Only Angular owned and developed schematics and builders are reported. Third-party schematics and
builders do not send data to the Angular Team.
## Opting in
When installing the Angular CLI or upgrading an existing version, you are prompted to allow global
collection of usage statistics. If you say no or skip the prompt, no data is collected.
Starting with version 8, we added the `analytics` command to the CLI. You can change your opt-in
decision at any time using this command.
### Disabling usage analytics
To disable analytics gathering, run the following command:
```bash
# Disable all usage analytics.
ng analytics off
```
### Enabling usage analytics
To enable usage analytics, run the following command:
```bash
# Enable all usage analytics.
ng analytics on
```
### Prompting
To prompt the user again about usage analytics, run the following command:
```bash
# Prompt for all usage analytics.
ng analytics prompt
```

View File

@ -1,51 +1,48 @@
# Usage Metrics Gathering # Recopilación de métricas de uso
You can help the Angular Team to prioritize features and improvements by permitting the Angular Puede ayudar al equipo de Angular a priorizar funciones y mejoras al permitir el equipo de Angular pueda enviar estadísticas de uso de comandos del cli más utilizados a Google. El equipo de Angular no recolecta
team to send command-line command usage statistics to Google. The Angular Team does not collect estadísticas de uso a menos que aceptes compartir esta información durante la instalación o actualización de Angular CLI.
usage statistics unless you explicitly opt in during the Angular CLI installation or upgrade.
## What is collected? ## ¿Qué se recolecta?
Usage analytics include the commands and selected flags for each execution. Usage analytics may El análisis de uso incluye los comandos y las banderas seleccionadas para cada ejecución. El análisis de uso puede
include the following information: incluye la siguiente información:
- Your operating system (Mac, Linux distribution, Windows) and its version. - Su sistema operativo (Mac, distribución de Linux, Windows) y su versión.
- Number of CPUs, amount of RAM. - Número de CPU, cantidad de RAM.
- Node and Angular CLI version (local version only). - Versión CLI de Node y Angular (solo versión local).
- How long each command took to initialize and execute. - Cuánto tiempo tardó cada comando en inicializarse y ejecutarse.
- Command name that was run. - Nombre del comando que se ejecutó.
- For Schematics commands (add, generate, new and update), a list of whitelisted flags. - Para los comandos de Schematics (add, generate, new y update), una lista de banderas en la lista blanca.
- For build commands (build, serve), the number and size of bundles (initial and lazy), - Para los comandos de compilación (build, serve), la cantidad y el tamaño de los paquetes (initial y lazy),
compilation units, the time it took to build and rebuild, and basic Angular-specific unidades de compilación, el tiempo que tomó compilar y reconstruir, y las unidades básicas específicas de Angular
API usage. Uso de API.
- Error code of exceptions and crash data. No stack trace is collected. - Código de error de excepciones y datos de fallos. No se recopila ningún rastro de pila.
Only Angular owned and developed schematics and builders are reported. Third-party schematics and Solo se informan los schematics y builders desarrollados y de propiedad de Angular. Schematics y Builders de terceros no envían datos al equipo de Angular.
builders do not send data to the Angular Team.
## Opting in ## Participar
When installing the Angular CLI or upgrading an existing version, you are prompted to allow global Al instalar Angular CLI o actualizar una versión existente, se le solicitara que permita la recopilación de estadísticas de uso de manera global. Si dice que no u omite la indicación, no se recopilan datos.
collection of usage statistics. If you say no or skip the prompt, no data is collected.
Starting with version 8, we added the `analytics` command to the CLI. You can change your opt-in Comenzando con la versión 8, agregamos el comando `analytics` a la CLI. Puede cambiar su suscripción
decision at any time using this command. decisión en cualquier momento utilizando este comando.
### Disabling usage analytics ### Desactivación de análisis de uso
To disable analytics gathering, run the following command: Para deshabilitar la recopilación de análisis, ejecute el siguiente comando:
```bash ```bash
# Disable all usage analytics. # Disable all usage analytics.
ng analytics off ng analytics off
``` ```
### Enabling usage analytics ### Habilitación de análisis de uso
To enable usage analytics, run the following command: Para habilitar el análisis de uso, ejecute el siguiente comando:
```bash ```bash
# Enable all usage analytics. # Enable all usage analytics.
ng analytics on ng analytics on
``` ```
### Prompting ### Volver a mostrar aviso de Analiticas
To prompt the user again about usage analytics, run the following command: Para volver a preguntar al usuario sobre el análisis de uso, ejecute el siguiente comando:
```bash ```bash
# Prompt for all usage analytics. # Prompt for all usage analytics.