[CI] Merge dup cSpell entries in front matter, run word normalization in other locales (#5765)
This commit is contained in:
parent
f46fc536d9
commit
6a865f53d8
|
|
@ -2,9 +2,9 @@
|
||||||
title: Distributed tracing in Knative
|
title: Distributed tracing in Knative
|
||||||
linkTitle: Tracing in Knative
|
linkTitle: Tracing in Knative
|
||||||
date: 2022-04-12
|
date: 2022-04-12
|
||||||
|
author: '[Pavol Loffay](https://github.com/pavolloffay)'
|
||||||
# prettier-ignore
|
# prettier-ignore
|
||||||
cSpell:ignore: apng Cloudevents datacontenttype httpbody khtml knativearrivaltime pavolloffay spanid specversion traceid webp
|
cSpell:ignore: apng Cloudevents datacontenttype httpbody khtml knativearrivaltime pavolloffay spanid specversion traceid webp
|
||||||
author: '[Pavol Loffay](https://github.com/pavolloffay)'
|
|
||||||
---
|
---
|
||||||
|
|
||||||
In this article, you will learn how distributed tracing works in Knative and we
|
In this article, you will learn how distributed tracing works in Knative and we
|
||||||
|
|
|
||||||
|
|
@ -4,8 +4,8 @@ title:
|
||||||
Convention Convergence
|
Convention Convergence
|
||||||
linkTitle: ECS and OTel SemConv Convergence
|
linkTitle: ECS and OTel SemConv Convergence
|
||||||
date: 2023-04-17
|
date: 2023-04-17
|
||||||
cSpell:ignore: ECS Reiley SemConv Yang
|
|
||||||
author: '[Reiley Yang](https://github.com/reyang)'
|
author: '[Reiley Yang](https://github.com/reyang)'
|
||||||
|
cSpell:ignore: ECS Reiley SemConv Yang
|
||||||
---
|
---
|
||||||
|
|
||||||
Today, we're very excited to make a joint announcement with
|
Today, we're very excited to make a joint announcement with
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,8 @@
|
||||||
title: Exponential Histograms
|
title: Exponential Histograms
|
||||||
date: 2023-05-22
|
date: 2023-05-22
|
||||||
author: '[Daniel Dyla](https://github.com/dyladan)'
|
author: '[Daniel Dyla](https://github.com/dyladan)'
|
||||||
cSpell:ignore: Ganesh Ruslan subsetting Vernekar Vovalov
|
|
||||||
canonical_url: https://dyladan.me/histograms/2023/05/04/exponential-histograms/
|
canonical_url: https://dyladan.me/histograms/2023/05/04/exponential-histograms/
|
||||||
|
cSpell:ignore: Ganesh Ruslan subsetting Vernekar Vovalov
|
||||||
---
|
---
|
||||||
|
|
||||||
Previously, in [Why Histograms?][] and [Histograms vs Summaries][], I went over
|
Previously, in [Why Histograms?][] and [Histograms vs Summaries][], I went over
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,8 @@
|
||||||
title: Histograms vs Summaries
|
title: Histograms vs Summaries
|
||||||
date: 2023-05-15
|
date: 2023-05-15
|
||||||
author: '[Daniel Dyla](https://github.com/dyladan)'
|
author: '[Daniel Dyla](https://github.com/dyladan)'
|
||||||
cSpell:ignore: aggregatable Björn Ganesh Kovalov Rabenstein Ruslan Vernekar
|
|
||||||
canonical_url: https://dyladan.me/histograms/2023/05/03/histograms-vs-summaries/
|
canonical_url: https://dyladan.me/histograms/2023/05/03/histograms-vs-summaries/
|
||||||
|
cSpell:ignore: aggregatable Björn Ganesh Kovalov Rabenstein Ruslan Vernekar
|
||||||
---
|
---
|
||||||
|
|
||||||
In many ways, histograms and summaries appear quite similar. They both roll up
|
In many ways, histograms and summaries appear quite similar. They both roll up
|
||||||
|
|
|
||||||
|
|
@ -2,9 +2,9 @@
|
||||||
title: Join us for OpenTelemetry Talks and Activities at KubeCon EU 2023
|
title: Join us for OpenTelemetry Talks and Activities at KubeCon EU 2023
|
||||||
linkTitle: KubeCon EU '23
|
linkTitle: KubeCon EU '23
|
||||||
date: 2023-04-03
|
date: 2023-04-03
|
||||||
|
author: '[Severin Neumann](https://github.com/svrnm)'
|
||||||
# prettier-ignore
|
# prettier-ignore
|
||||||
cSpell:ignore: Aiven Benedikt Bongartz Jaglowski Kowall observ Oliveira Pathak Vider Xiaochun
|
cSpell:ignore: Aiven Benedikt Bongartz Jaglowski Kowall observ Oliveira Pathak Vider Xiaochun
|
||||||
author: '[Severin Neumann](https://github.com/svrnm)'
|
|
||||||
---
|
---
|
||||||
|
|
||||||
The OpenTelemetry project maintainers, members of the governance committee, and
|
The OpenTelemetry project maintainers, members of the governance committee, and
|
||||||
|
|
|
||||||
|
|
@ -2,9 +2,9 @@
|
||||||
title: Join us for OpenTelemetry Talks and Activities at KubeCon NA 2023
|
title: Join us for OpenTelemetry Talks and Activities at KubeCon NA 2023
|
||||||
linkTitle: KubeCon NA '23
|
linkTitle: KubeCon NA '23
|
||||||
date: 2023-10-02
|
date: 2023-10-02
|
||||||
|
author: '[Severin Neumann](https://github.com/svrnm) (Cisco)'
|
||||||
# prettier-ignore
|
# prettier-ignore
|
||||||
cSpell:ignore: Anusha Aronoff Benedikt Bongartz Broadbridge Contribfest Coralogix Danielson Endo Flamegraphs Hrabovcak Itiel Itoh Jaglowski Kanal Komodor Kota Masanori Matej Mirabella Narapureddy observ Ohly Pivotto Purvi Reddy Sharone Shishi Shivanshu Shrivastava Shwartz Zitzman
|
cSpell:ignore: Anusha Aronoff Benedikt Bongartz Broadbridge Contribfest Coralogix Danielson Endo Flamegraphs Hrabovcak Itiel Itoh Jaglowski Kanal Komodor Kota Masanori Matej Mirabella Narapureddy observ Ohly Pivotto Purvi Reddy Sharone Shishi Shivanshu Shrivastava Shwartz Zitzman
|
||||||
author: '[Severin Neumann](https://github.com/svrnm) (Cisco)'
|
|
||||||
---
|
---
|
||||||
|
|
||||||
The OpenTelemetry project maintainers, members of the governance committee, and
|
The OpenTelemetry project maintainers, members of the governance committee, and
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,8 @@
|
||||||
title: Why Histograms?
|
title: Why Histograms?
|
||||||
date: 2023-05-08
|
date: 2023-05-08
|
||||||
author: '[Daniel Dyla](https://github.com/dyladan)'
|
author: '[Daniel Dyla](https://github.com/dyladan)'
|
||||||
cSpell:ignore: reimplementation
|
|
||||||
canonical_url: https://dyladan.me/histograms/2023/05/02/why-histograms/
|
canonical_url: https://dyladan.me/histograms/2023/05/02/why-histograms/
|
||||||
|
cSpell:ignore: reimplementation
|
||||||
---
|
---
|
||||||
|
|
||||||
A histogram is a multi-value counter that summarizes the distribution of data
|
A histogram is a multi-value counter that summarizes the distribution of data
|
||||||
|
|
|
||||||
|
|
@ -2,9 +2,9 @@
|
||||||
title: The roadmap to v1 for the OpenTelemetry Collector
|
title: The roadmap to v1 for the OpenTelemetry Collector
|
||||||
linkTitle: Collector Roadmap
|
linkTitle: Collector Roadmap
|
||||||
date: 2024-05-06
|
date: 2024-05-06
|
||||||
|
author: '[Alex Boten](https://github.com/codeboten) (Honeycomb)'
|
||||||
# prettier-ignore
|
# prettier-ignore
|
||||||
cSpell:ignore: Antipatterns Boten Broadbridge Helmuth Hrabovcak Ishan Jaglowski OTTL Pantuza pushback Shishi Vijay
|
cSpell:ignore: Antipatterns Boten Broadbridge Helmuth Hrabovcak Ishan Jaglowski OTTL Pantuza pushback Shishi Vijay
|
||||||
author: '[Alex Boten](https://github.com/codeboten) (Honeycomb)'
|
|
||||||
---
|
---
|
||||||
|
|
||||||
The [OpenTelemetry Collector](/docs/collector/) is a very popular component in
|
The [OpenTelemetry Collector](/docs/collector/) is a very popular component in
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,6 @@
|
||||||
title: Elastic Contributes its Continuous Profiling Agent to OpenTelemetry
|
title: Elastic Contributes its Continuous Profiling Agent to OpenTelemetry
|
||||||
linkTitle: Elastic Contributes Profiling Agent
|
linkTitle: Elastic Contributes Profiling Agent
|
||||||
date: 2024-06-07
|
date: 2024-06-07
|
||||||
# prettier-ignore
|
|
||||||
cSpell:ignore: Bahubali Christos Dmitry Filimonov Geisendörfer Halliday Kalkanis Shetti
|
|
||||||
author: >
|
author: >
|
||||||
[Bahubali Shetti](https://github.com/bshetti) (Elastic), [Alexander
|
[Bahubali Shetti](https://github.com/bshetti) (Elastic), [Alexander
|
||||||
Wert](https://github.com/AlexanderWert) (Elastic), [Morgan
|
Wert](https://github.com/AlexanderWert) (Elastic), [Morgan
|
||||||
|
|
@ -11,6 +9,8 @@ author: >
|
||||||
Perry](https://github.com/Rperry2174) (Grafana)
|
Perry](https://github.com/Rperry2174) (Grafana)
|
||||||
issue: https://github.com/open-telemetry/community/issues/1918
|
issue: https://github.com/open-telemetry/community/issues/1918
|
||||||
sig: Profiling SIG
|
sig: Profiling SIG
|
||||||
|
# prettier-ignore
|
||||||
|
cSpell:ignore: Bahubali Christos Dmitry Filimonov Geisendörfer Halliday Kalkanis Shetti
|
||||||
---
|
---
|
||||||
|
|
||||||
Following significant collaboration between
|
Following significant collaboration between
|
||||||
|
|
|
||||||
|
|
@ -3,10 +3,10 @@ title: 'Hardening the Collector Episode 1: A new default bind address'
|
||||||
linkTitle: A new default bind address for the Collector
|
linkTitle: A new default bind address for the Collector
|
||||||
date: 2024-07-02
|
date: 2024-07-02
|
||||||
author: '[Pablo Baeyens](https://github.com/mx-psi) (OpenTelemetry, Datadog)'
|
author: '[Pablo Baeyens](https://github.com/mx-psi) (OpenTelemetry, Datadog)'
|
||||||
# prettier-ignore
|
|
||||||
cSpell:ignore: awsfirehose awsproxy awsxray Baeyens jaegerremotesampling loki remotetap sapm signalfx skywalking splunk
|
|
||||||
issue: 4760
|
issue: 4760
|
||||||
sig: Collector SIG
|
sig: Collector SIG
|
||||||
|
# prettier-ignore
|
||||||
|
cSpell:ignore: awsfirehose awsproxy awsxray Baeyens jaegerremotesampling loki remotetap sapm signalfx skywalking splunk
|
||||||
---
|
---
|
||||||
|
|
||||||
The OpenTelemetry Collector recently went through a security audit sponsored by
|
The OpenTelemetry Collector recently went through a security audit sponsored by
|
||||||
|
|
|
||||||
|
|
@ -2,10 +2,10 @@
|
||||||
title: OpenTelemetry Talks at KubeCon China 2024
|
title: OpenTelemetry Talks at KubeCon China 2024
|
||||||
linkTitle: KubeCon China 2024
|
linkTitle: KubeCon China 2024
|
||||||
date: 2024-07-10
|
date: 2024-07-10
|
||||||
# prettier-ignore
|
|
||||||
cSpell:ignore: Alhamdani Censhare EBPF Hrabusa Husni Huxing Jiahang Krom Sianturi Wanqi Zhang Zihao Ziyi
|
|
||||||
author: '[Tiffany Hrabusa](https://github.com/tiffany76)'
|
author: '[Tiffany Hrabusa](https://github.com/tiffany76)'
|
||||||
sig: Communications SIG
|
sig: Communications SIG
|
||||||
|
# prettier-ignore
|
||||||
|
cSpell:ignore: Alhamdani Censhare EBPF Hrabusa Husni Huxing Jiahang Krom Sianturi Wanqi Zhang Zihao Ziyi
|
||||||
---
|
---
|
||||||
|
|
||||||
Join members of the OpenTelemetry community at
|
Join members of the OpenTelemetry community at
|
||||||
|
|
|
||||||
|
|
@ -4,9 +4,9 @@ title:
|
||||||
Europe 2024
|
Europe 2024
|
||||||
linkTitle: KubeCon EU '24
|
linkTitle: KubeCon EU '24
|
||||||
date: 2024-02-28
|
date: 2024-02-28
|
||||||
|
author: '[Severin Neumann](https://github.com/svrnm) (Cisco)'
|
||||||
# prettier-ignore
|
# prettier-ignore
|
||||||
cSpell:ignore: Aiven Alexandre Anusha Arbiv Beemer Benedikt Blanco Bongartz Chekuri Coralogix Cosmonic Dyrmishi Jiekun Joonas Kanal Kolachala Kowall Machado Magno Marcin Matej Mirabella Narapureddy Nenashev Oleg Oluwalolope Outshift Pismo Purvi Quwan Reddy Ridwan Rollouts Ryanair Skyscanner Sodkiewicz Soluções Srikanth Tecnológicas Yosef
|
cSpell:ignore: Aiven Alexandre Anusha Arbiv Beemer Benedikt Blanco Bongartz Chekuri Coralogix Cosmonic Dyrmishi Jiekun Joonas Kanal Kolachala Kowall Machado Magno Marcin Matej Mirabella Narapureddy Nenashev Oleg Oluwalolope Outshift Pismo Purvi Quwan Reddy Ridwan Rollouts Ryanair Skyscanner Sodkiewicz Soluções Srikanth Tecnológicas Yosef
|
||||||
author: '[Severin Neumann](https://github.com/svrnm) (Cisco)'
|
|
||||||
---
|
---
|
||||||
|
|
||||||
The OpenTelemetry project maintainers, members of the governance committee, and
|
The OpenTelemetry project maintainers, members of the governance committee, and
|
||||||
|
|
|
||||||
|
|
@ -2,9 +2,9 @@
|
||||||
title: Join us for OpenTelemetry Talks and Activities at KubeCon NA 2024
|
title: Join us for OpenTelemetry Talks and Activities at KubeCon NA 2024
|
||||||
linkTitle: KubeCon NA '24
|
linkTitle: KubeCon NA '24
|
||||||
date: 2024-11-05
|
date: 2024-11-05
|
||||||
|
author: '[Severin Neumann](https://github.com/svrnm) (Cisco)'
|
||||||
# prettier-ignore
|
# prettier-ignore
|
||||||
cSpell:ignore: Arnell Ashok Chandrasekar Clario Contribfest Ekansh Grabner Haeussler Helmuth Jernigan Kalkanis Kats Kowall Kruthika Liudmila Mclean Molkova Novatec OTTL Prasanna Shivanshu Shrivastava simha Woerner
|
cSpell:ignore: Arnell Ashok Chandrasekar Clario Contribfest Ekansh Grabner Haeussler Helmuth Jernigan Kalkanis Kats Kowall Kruthika Liudmila Mclean Molkova Novatec OTTL Prasanna Shivanshu Shrivastava simha Woerner
|
||||||
author: '[Severin Neumann](https://github.com/svrnm) (Cisco)'
|
|
||||||
---
|
---
|
||||||
|
|
||||||
The OpenTelemetry project maintainers, members of the governance committee, and
|
The OpenTelemetry project maintainers, members of the governance committee, and
|
||||||
|
|
|
||||||
|
|
@ -5,9 +5,9 @@ date: 2024-09-25
|
||||||
author: >-
|
author: >-
|
||||||
[Joshua MacDonald](https://github.com/jmacd) (ServiceNow), [Laurent
|
[Joshua MacDonald](https://github.com/jmacd) (ServiceNow), [Laurent
|
||||||
Querel](https://github.com/lquerel) (F5)
|
Querel](https://github.com/lquerel) (F5)
|
||||||
cSpell:ignore: Querel Zstd
|
|
||||||
issue: 5193
|
issue: 5193
|
||||||
sig: OpenTelemetry Arrow
|
sig: OpenTelemetry Arrow
|
||||||
|
cSpell:ignore: Querel Zstd
|
||||||
---
|
---
|
||||||
|
|
||||||
The OpenTelemetry Protocol with Apache Arrow (OTel-Arrow) project's
|
The OpenTelemetry Protocol with Apache Arrow (OTel-Arrow) project's
|
||||||
|
|
|
||||||
|
|
@ -5,8 +5,8 @@ date: 2024-04-19
|
||||||
author: >-
|
author: >-
|
||||||
[Reese Lee](https://github.com/reese-lee) (New Relic), [Adriana
|
[Reese Lee](https://github.com/reese-lee) (New Relic), [Adriana
|
||||||
Villela](https://github.com/avillela) (ServiceNow)
|
Villela](https://github.com/avillela) (ServiceNow)
|
||||||
cSpell:ignore: Dalle
|
|
||||||
canonical_url: https://newrelic.com/blog/how-to-relic/dude-wheres-my-error
|
canonical_url: https://newrelic.com/blog/how-to-relic/dude-wheres-my-error
|
||||||
|
cSpell:ignore: Dalle
|
||||||
---
|
---
|
||||||
|
|
||||||

|

|
||||||
|
|
|
||||||
|
|
@ -5,8 +5,8 @@ date: 2024-09-04
|
||||||
author: >-
|
author: >-
|
||||||
[Reese Lee](https://github.com/reese-lee) (New Relic), [Adriana
|
[Reese Lee](https://github.com/reese-lee) (New Relic), [Adriana
|
||||||
Villela](https://github.com/avillela) (ServiceNow)
|
Villela](https://github.com/avillela) (ServiceNow)
|
||||||
cSpell:ignore: hashmod kubelet sharded targetallocator
|
|
||||||
canonical_url: https://newrelic.com/blog/how-to-relic/prometheus-and-opentelemetry-better-together
|
canonical_url: https://newrelic.com/blog/how-to-relic/prometheus-and-opentelemetry-better-together
|
||||||
|
cSpell:ignore: hashmod kubelet sharded targetallocator
|
||||||
---
|
---
|
||||||
|
|
||||||

|

|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,6 @@
|
||||||
title: The State of Profiling
|
title: The State of Profiling
|
||||||
linkTitle: Profiling state
|
linkTitle: Profiling state
|
||||||
date: 2024-10-25
|
date: 2024-10-25
|
||||||
cSpell:ignore: Baeyens Florian Geisendörfer Kalkanis Lehner Mathieu Rühsen
|
|
||||||
author: >-
|
author: >-
|
||||||
[Damien Mathieu](https://github.com/dmathieu) (Elastic), [Pablo
|
[Damien Mathieu](https://github.com/dmathieu) (Elastic), [Pablo
|
||||||
Baeyens](https://github.com/mx-psi) (Datadog), [Felix
|
Baeyens](https://github.com/mx-psi) (Datadog), [Felix
|
||||||
|
|
@ -13,6 +12,7 @@ author: >-
|
||||||
Rühsen](https://github.com/rockdaboot) (Elastic)
|
Rühsen](https://github.com/rockdaboot) (Elastic)
|
||||||
issue: https://github.com/open-telemetry/opentelemetry.io/issues/5477
|
issue: https://github.com/open-telemetry/opentelemetry.io/issues/5477
|
||||||
sig: Profiling SIG
|
sig: Profiling SIG
|
||||||
|
cSpell:ignore: Baeyens Florian Geisendörfer Kalkanis Lehner Mathieu Rühsen
|
||||||
---
|
---
|
||||||
|
|
||||||
A little over six months ago, OpenTelemetry announced
|
A little over six months ago, OpenTelemetry announced
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
---
|
---
|
||||||
title: OpenTelemetry Marketing Guidelines for Contributing Organizations
|
title: OpenTelemetry Marketing Guidelines for Contributing Organizations
|
||||||
linkTitle: Marketing Guidelines
|
linkTitle: Marketing Guidelines
|
||||||
cSpell:ignore: devstats
|
|
||||||
weight: 999
|
weight: 999
|
||||||
|
cSpell:ignore: devstats
|
||||||
---
|
---
|
||||||
|
|
||||||
OpenTelemetry (aka OTel) is a collaboration among end-users, adjacent OSS
|
OpenTelemetry (aka OTel) is a collaboration among end-users, adjacent OSS
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
---
|
---
|
||||||
title: Install the Collector
|
title: Install the Collector
|
||||||
|
weight: 2
|
||||||
# prettier-ignore
|
# prettier-ignore
|
||||||
cSpell:ignore: darwin dpkg GOARCH journalctl kubectl otelcorecol pprof tlsv zpages
|
cSpell:ignore: darwin dpkg GOARCH journalctl kubectl otelcorecol pprof tlsv zpages
|
||||||
weight: 2
|
|
||||||
---
|
---
|
||||||
|
|
||||||
You can deploy the OpenTelemetry Collector on a wide variety of operating
|
You can deploy the OpenTelemetry Collector on a wide variety of operating
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,9 @@
|
||||||
---
|
---
|
||||||
title: Quick start
|
title: Quick start
|
||||||
cSpell:ignore: docker dokey dpkg okey telemetrygen
|
|
||||||
description: Setup and collect telemetry in minutes!
|
description: Setup and collect telemetry in minutes!
|
||||||
aliases: [getting-started]
|
aliases: [getting-started]
|
||||||
weight: 1
|
weight: 1
|
||||||
cSpell:ignore: gobin
|
cSpell:ignore: docker dokey dpkg gobin okey telemetrygen
|
||||||
---
|
---
|
||||||
|
|
||||||
<!-- markdownlint-disable ol-prefix blanks-around-fences -->
|
<!-- markdownlint-disable ol-prefix blanks-around-fences -->
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
---
|
---
|
||||||
title: Traces
|
title: Traces
|
||||||
weight: 1
|
weight: 1
|
||||||
cSpell:ignore: Guten
|
|
||||||
description: The path of a request through your application.
|
description: The path of a request through your application.
|
||||||
|
cSpell:ignore: Guten
|
||||||
---
|
---
|
||||||
|
|
||||||
**Traces** give us the big picture of what happens when a request is made to an
|
**Traces** give us the big picture of what happens when a request is made to an
|
||||||
|
|
|
||||||
|
|
@ -4,9 +4,9 @@ description:
|
||||||
How to fix an existing issue, or report a bug, security risk, or potential
|
How to fix an existing issue, or report a bug, security risk, or potential
|
||||||
improvement.
|
improvement.
|
||||||
weight: 10
|
weight: 10
|
||||||
cSpell:ignore: prepopulated
|
|
||||||
_issues: https://github.com/open-telemetry/opentelemetry.io/issues
|
_issues: https://github.com/open-telemetry/opentelemetry.io/issues
|
||||||
_issue: https://github.com/open-telemetry/opentelemetry.io/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3A
|
_issue: https://github.com/open-telemetry/opentelemetry.io/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3A
|
||||||
|
cSpell:ignore: prepopulated
|
||||||
---
|
---
|
||||||
|
|
||||||
## Fixing an existing issue
|
## Fixing an existing issue
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
---
|
---
|
||||||
title: Getting Started
|
title: Getting Started
|
||||||
description: Get telemetry for your app in less than 5 minutes!
|
description: Get telemetry for your app in less than 5 minutes!
|
||||||
cSpell:ignore: oatpp rolldice
|
|
||||||
weight: 10
|
weight: 10
|
||||||
|
cSpell:ignore: oatpp rolldice
|
||||||
---
|
---
|
||||||
|
|
||||||
This page will show you how to get started with OpenTelemetry in C++.
|
This page will show you how to get started with OpenTelemetry in C++.
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,6 @@ description: >
|
||||||
<img width="35" class="img-initial" src="/img/logos/32x32/Erlang_SDK.svg"
|
<img width="35" class="img-initial" src="/img/logos/32x32/Erlang_SDK.svg"
|
||||||
alt="Erlang/Elixir"> A language-specific implementation of OpenTelemetry in
|
alt="Erlang/Elixir"> A language-specific implementation of OpenTelemetry in
|
||||||
Erlang/Elixir.
|
Erlang/Elixir.
|
||||||
cSpell:ignore: ecto
|
|
||||||
cascade:
|
cascade:
|
||||||
versions:
|
versions:
|
||||||
otelSdk: 1.3
|
otelSdk: 1.3
|
||||||
|
|
@ -14,6 +13,7 @@ cascade:
|
||||||
otelPhoenix: 1.1
|
otelPhoenix: 1.1
|
||||||
otelCowboy: 0.2
|
otelCowboy: 0.2
|
||||||
otelEcto: 1.2
|
otelEcto: 1.2
|
||||||
|
cSpell:ignore: ecto
|
||||||
---
|
---
|
||||||
|
|
||||||
{{% docs/languages/index-intro erlang %}}
|
{{% docs/languages/index-intro erlang %}}
|
||||||
|
|
|
||||||
|
|
@ -5,8 +5,8 @@ description: >-
|
||||||
alt="JavaScript"> A language-specific implementation of OpenTelemetry in
|
alt="JavaScript"> A language-specific implementation of OpenTelemetry in
|
||||||
JavaScript (for Node.js & the browser).
|
JavaScript (for Node.js & the browser).
|
||||||
aliases: [/js, /js/metrics, /js/tracing]
|
aliases: [/js, /js/metrics, /js/tracing]
|
||||||
cSpell:ignore: Roadmap
|
|
||||||
weight: 20
|
weight: 20
|
||||||
|
cSpell:ignore: Roadmap
|
||||||
---
|
---
|
||||||
|
|
||||||
{{% docs/languages/index-intro js /%}}
|
{{% docs/languages/index-intro js /%}}
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,8 @@
|
||||||
title: Node.js
|
title: Node.js
|
||||||
description: Get telemetry for your app in less than 5 minutes!
|
description: Get telemetry for your app in less than 5 minutes!
|
||||||
aliases: [/docs/js/getting_started/nodejs]
|
aliases: [/docs/js/getting_started/nodejs]
|
||||||
cSpell:ignore: autoinstrumentations KHTML rolldice
|
|
||||||
weight: 10
|
weight: 10
|
||||||
|
cSpell:ignore: autoinstrumentations KHTML rolldice
|
||||||
---
|
---
|
||||||
|
|
||||||
This page will show you how to get started with OpenTelemetry in Node.js.
|
This page will show you how to get started with OpenTelemetry in Node.js.
|
||||||
|
|
|
||||||
|
|
@ -4,8 +4,8 @@ aliases:
|
||||||
- /docs/languages/js/api/tracing
|
- /docs/languages/js/api/tracing
|
||||||
- manual
|
- manual
|
||||||
weight: 30
|
weight: 30
|
||||||
cSpell:ignore: dicelib Millis rolldice
|
|
||||||
description: Instrumentation for OpenTelemetry JavaScript
|
description: Instrumentation for OpenTelemetry JavaScript
|
||||||
|
cSpell:ignore: dicelib Millis rolldice
|
||||||
---
|
---
|
||||||
|
|
||||||
{{% docs/languages/instrumentation-intro %}}
|
{{% docs/languages/instrumentation-intro %}}
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
---
|
---
|
||||||
title: Resources
|
title: Resources
|
||||||
weight: 70
|
weight: 70
|
||||||
cSpell:ignore: myhost SIGINT uuidgen WORKDIR
|
|
||||||
description: Add details about your applications' environment to your telemetry
|
description: Add details about your applications' environment to your telemetry
|
||||||
|
cSpell:ignore: myhost SIGINT uuidgen WORKDIR
|
||||||
---
|
---
|
||||||
|
|
||||||
{{% docs/languages/resources-intro %}}
|
{{% docs/languages/resources-intro %}}
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
---
|
---
|
||||||
title: Getting Started
|
title: Getting Started
|
||||||
description: Get telemetry for your app in less than 5 minutes!
|
description: Get telemetry for your app in less than 5 minutes!
|
||||||
cSpell:ignore: ASPNETCORE rolldice
|
|
||||||
weight: 10
|
weight: 10
|
||||||
|
cSpell:ignore: ASPNETCORE rolldice
|
||||||
---
|
---
|
||||||
|
|
||||||
This page will show you how to get started with OpenTelemetry in .NET.
|
This page will show you how to get started with OpenTelemetry in .NET.
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
---
|
---
|
||||||
title: Context
|
title: Context
|
||||||
weight: 55
|
weight: 55
|
||||||
cSpell:ignore: Swoole
|
|
||||||
description: Learn how the context API works in instrumented applications.
|
description: Learn how the context API works in instrumented applications.
|
||||||
|
cSpell:ignore: Swoole
|
||||||
---
|
---
|
||||||
|
|
||||||
OpenTelemetry works by storing and propagating telemetry data. For example, when
|
OpenTelemetry works by storing and propagating telemetry data. For example, when
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
---
|
---
|
||||||
title: Getting Started
|
title: Getting Started
|
||||||
description: Get telemetry for your app in less than 5 minutes!
|
description: Get telemetry for your app in less than 5 minutes!
|
||||||
|
weight: 10
|
||||||
# prettier-ignore
|
# prettier-ignore
|
||||||
cSpell:ignore: debugexporter diceroller distro loglevel maxlen randint rolldice rollspan venv werkzeug
|
cSpell:ignore: debugexporter diceroller distro loglevel maxlen randint rolldice rollspan venv werkzeug
|
||||||
weight: 10
|
|
||||||
---
|
---
|
||||||
|
|
||||||
This page will show you how to get started with OpenTelemetry in Python.
|
This page will show you how to get started with OpenTelemetry in Python.
|
||||||
|
|
|
||||||
|
|
@ -2,9 +2,9 @@
|
||||||
title: Getting Started
|
title: Getting Started
|
||||||
description: Get telemetry from your app in less than 5 minutes!
|
description: Get telemetry from your app in less than 5 minutes!
|
||||||
aliases: [getting_started]
|
aliases: [getting_started]
|
||||||
|
weight: 10
|
||||||
# prettier-ignore
|
# prettier-ignore
|
||||||
cSpell:ignore: darwin rolldice sinatra struct Tracestate tracestate truffleruby
|
cSpell:ignore: darwin rolldice sinatra struct Tracestate tracestate truffleruby
|
||||||
weight: 10
|
|
||||||
---
|
---
|
||||||
|
|
||||||
This page will show you how to get started with OpenTelemetry in Ruby.
|
This page will show you how to get started with OpenTelemetry in Ruby.
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,8 @@
|
||||||
title: Using instrumentation libraries
|
title: Using instrumentation libraries
|
||||||
linkTitle: Libraries
|
linkTitle: Libraries
|
||||||
aliases: [configuring_automatic_instrumentation, automatic]
|
aliases: [configuring_automatic_instrumentation, automatic]
|
||||||
cSpell:ignore: faraday metapackage sinatra
|
|
||||||
weight: 30
|
weight: 30
|
||||||
|
cSpell:ignore: faraday metapackage sinatra
|
||||||
---
|
---
|
||||||
|
|
||||||
{{% docs/languages/libraries-intro ruby %}}
|
{{% docs/languages/libraries-intro ruby %}}
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: Getting Started
|
title: Getting Started
|
||||||
cSpell:ignore: eprintln println rolldice tokio
|
|
||||||
weight: 10
|
weight: 10
|
||||||
|
cSpell:ignore: eprintln println rolldice tokio
|
||||||
---
|
---
|
||||||
|
|
||||||
This page will show you how to get started with OpenTelemetry in Rust.
|
This page will show you how to get started with OpenTelemetry in Rust.
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
---
|
---
|
||||||
title: Getting Started
|
title: Getting Started
|
||||||
description: Get telemetry for your app in less than 5 minutes!
|
description: Get telemetry for your app in less than 5 minutes!
|
||||||
cSpell:ignore: rolldice
|
|
||||||
weight: 10
|
weight: 10
|
||||||
|
cSpell:ignore: rolldice
|
||||||
---
|
---
|
||||||
|
|
||||||
This page will show you how to get started with OpenTelemetry in Swift.
|
This page will show you how to get started with OpenTelemetry in Swift.
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,6 @@ title: Migrating from OpenCensus
|
||||||
linkTitle: OpenCensus
|
linkTitle: OpenCensus
|
||||||
redirect: /blog/2023/sunsetting-opencensus/#how-to-migrate-to-opentelemetry
|
redirect: /blog/2023/sunsetting-opencensus/#how-to-migrate-to-opentelemetry
|
||||||
_build: { render: link }
|
_build: { render: link }
|
||||||
cSpell:ignore: sunsetting
|
|
||||||
weight: 3
|
weight: 3
|
||||||
|
cSpell:ignore: sunsetting
|
||||||
---
|
---
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
---
|
---
|
||||||
title: Migrating from OpenTracing
|
title: Migrating from OpenTracing
|
||||||
linkTitle: OpenTracing
|
linkTitle: OpenTracing
|
||||||
cSpell:ignore: codebases
|
|
||||||
weight: 2
|
weight: 2
|
||||||
|
cSpell:ignore: codebases
|
||||||
---
|
---
|
||||||
|
|
||||||
Backward compatibility with [OpenTracing][] has been a priority for the
|
Backward compatibility with [OpenTracing][] has been a priority for the
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: Other Spring autoconfiguration
|
title: Other Spring autoconfiguration
|
||||||
cSpell:ignore: autoconfigurations
|
|
||||||
weight: 70
|
weight: 70
|
||||||
|
cSpell:ignore: autoconfigurations
|
||||||
---
|
---
|
||||||
|
|
||||||
<!-- markdownlint-disable blanks-around-fences -->
|
<!-- markdownlint-disable blanks-around-fences -->
|
||||||
|
|
|
||||||
|
|
@ -2,9 +2,9 @@
|
||||||
title: .NET zero-code instrumentation
|
title: .NET zero-code instrumentation
|
||||||
description: Send traces and metrics from .NET applications and services.
|
description: Send traces and metrics from .NET applications and services.
|
||||||
linkTitle: .NET
|
linkTitle: .NET
|
||||||
cSpell:ignore: coreutils HKLM iisreset myapp
|
|
||||||
weight: 30
|
weight: 30
|
||||||
redirects: [{ from: /docs/languages/net/automatic/*, to: ':splat' }]
|
redirects: [{ from: /docs/languages/net/automatic/*, to: ':splat' }]
|
||||||
|
cSpell:ignore: coreutils HKLM iisreset myapp
|
||||||
---
|
---
|
||||||
|
|
||||||
Use the OpenTelemetry .NET Automatic Instrumentation to send traces and metrics
|
Use the OpenTelemetry .NET Automatic Instrumentation to send traces and metrics
|
||||||
|
|
|
||||||
|
|
@ -2,9 +2,9 @@
|
||||||
title: Configuration and settings
|
title: Configuration and settings
|
||||||
linkTitle: Configuration
|
linkTitle: Configuration
|
||||||
aliases: [/docs/languages/net/automatic/config]
|
aliases: [/docs/languages/net/automatic/config]
|
||||||
|
weight: 20
|
||||||
# prettier-ignore
|
# prettier-ignore
|
||||||
cSpell:ignore: AZUREAPPSERVICE Bitness CLSID CORECLR dylib NETFX OPERATINGSYSTEM PROCESSRUNTIME UNHANDLEDEXCEPTION
|
cSpell:ignore: AZUREAPPSERVICE Bitness CLSID CORECLR dylib NETFX OPERATINGSYSTEM PROCESSRUNTIME UNHANDLEDEXCEPTION
|
||||||
weight: 20
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Configuration methods
|
## Configuration methods
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,8 @@
|
||||||
title: Create custom traces and metrics
|
title: Create custom traces and metrics
|
||||||
linkTitle: Custom instrumentation
|
linkTitle: Custom instrumentation
|
||||||
description: Custom traces and metrics using .NET automatic instrumentation.
|
description: Custom traces and metrics using .NET automatic instrumentation.
|
||||||
cSpell:ignore: meterprovider tracerprovider
|
|
||||||
weight: 30
|
weight: 30
|
||||||
|
cSpell:ignore: meterprovider tracerprovider
|
||||||
---
|
---
|
||||||
|
|
||||||
The automatic instrumentation configures a `TracerProvider` and a
|
The automatic instrumentation configures a `TracerProvider` and a
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
---
|
---
|
||||||
title: Getting Started
|
title: Getting Started
|
||||||
description: Get telemetry for your app in less than 5 minutes!
|
description: Get telemetry for your app in less than 5 minutes!
|
||||||
cSpell:ignore: ASPNETCORE rolldice
|
|
||||||
weight: 5
|
weight: 5
|
||||||
|
cSpell:ignore: ASPNETCORE rolldice
|
||||||
---
|
---
|
||||||
|
|
||||||
This page will show you how to get started with OpenTelemetry .NET Automatic
|
This page will show you how to get started with OpenTelemetry .NET Automatic
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
---
|
---
|
||||||
title: Adopters
|
title: Adopters
|
||||||
description: Organizations that use OpenTelemetry
|
description: Organizations that use OpenTelemetry
|
||||||
|
# All spelling entries must be on a single line
|
||||||
# prettier-ignore
|
# prettier-ignore
|
||||||
cSpell:ignore: Dapr Datenrettungsdienste Farfetch Globale Logicmonitor Logz Uplight Wandera Zocdoc
|
cSpell:ignore: Dapr Datenrettungsdienste Farfetch Globale Logicmonitor Logz Uplight Wandera Zocdoc
|
||||||
# All spelling entries must be on a single line
|
|
||||||
---
|
---
|
||||||
|
|
||||||
OpenTelemetry's mission is to enable effective observability for all its
|
OpenTelemetry's mission is to enable effective observability for all its
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,8 @@
|
||||||
title: Introducción a la Observabilidad
|
title: Introducción a la Observabilidad
|
||||||
description: Conceptos básicos de observabilidad.
|
description: Conceptos básicos de observabilidad.
|
||||||
weight: 9
|
weight: 9
|
||||||
cSpell:ignore: webshop
|
|
||||||
default_lang_commit: e58a252c44875b04247b53e2394b4634f5a0a84e
|
default_lang_commit: e58a252c44875b04247b53e2394b4634f5a0a84e
|
||||||
|
cSpell:ignore: webshop
|
||||||
---
|
---
|
||||||
|
|
||||||
## ¿Qué es la observabilidad? {#what-is-observability}
|
## ¿Qué es la observabilidad? {#what-is-observability}
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ description:
|
||||||
editor de código.
|
editor de código.
|
||||||
weight: 2
|
weight: 2
|
||||||
default_lang_commit: f724c15be360e5059fb89e696d9a5cc8d00496f6
|
default_lang_commit: f724c15be360e5059fb89e696d9a5cc8d00496f6
|
||||||
cSpell:ignore: aplícala vincúlalos solucionándolas
|
cSpell:ignore: aplícala solucionándolas vincúlalos
|
||||||
---
|
---
|
||||||
|
|
||||||
Para contribuir con nuevas páginas de contenido o mejorar las páginas de
|
Para contribuir con nuevas páginas de contenido o mejorar las páginas de
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ cascade:
|
||||||
repo: https://github.com/open-telemetry/opentelemetry-demo
|
repo: https://github.com/open-telemetry/opentelemetry-demo
|
||||||
weight: 180
|
weight: 180
|
||||||
default_lang_commit: 9b5e318036fb92e4a1896259cc3bbdad2843e1de
|
default_lang_commit: 9b5e318036fb92e4a1896259cc3bbdad2843e1de
|
||||||
cSpell:ignore: OLJCESPC preconfigurados diagnostícala
|
cSpell:ignore: diagnostícala OLJCESPC preconfigurados
|
||||||
---
|
---
|
||||||
|
|
||||||
Aquí tienes la documentación de la [Demo de OpenTelemetry](/ecosystem/demo/),
|
Aquí tienes la documentación de la [Demo de OpenTelemetry](/ecosystem/demo/),
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
---
|
---
|
||||||
title: Componentes clave para Kubernetes
|
title: Componentes clave para Kubernetes
|
||||||
linkTitle: Componentes
|
linkTitle: Componentes
|
||||||
# prettier-ignore
|
|
||||||
cSpell:ignore: alertmanagers containerd crio filelog gotime horizontalpodautoscalers hostfs hostmetrics iostream k8sattributes kubelet kubeletstats logtag replicasets replicationcontrollers resourcequotas statefulsets varlibdockercontainers varlogpods asignador paginación
|
|
||||||
default_lang_commit: 3815d1481fe753df10ea3dc26cbe64dba0230579
|
default_lang_commit: 3815d1481fe753df10ea3dc26cbe64dba0230579
|
||||||
|
# prettier-ignore
|
||||||
|
cSpell:ignore: alertmanagers asignador containerd crio filelog gotime horizontalpodautoscalers hostfs hostmetrics iostream k8sattributes kubelet kubeletstats logtag paginación replicasets replicationcontrollers resourcequotas statefulsets varlibdockercontainers varlogpods
|
||||||
---
|
---
|
||||||
|
|
||||||
El [OpenTelemetry Collector](/docs/collector/) admite numerosos receptores y
|
El [OpenTelemetry Collector](/docs/collector/) admite numerosos receptores y
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,8 @@ title: Instrumentación
|
||||||
aliases: [manual]
|
aliases: [manual]
|
||||||
weight: 20
|
weight: 20
|
||||||
description: Instrumentación manual para OpenTelemetry Python
|
description: Instrumentación manual para OpenTelemetry Python
|
||||||
cSpell:ignore: millis ottrace textmap
|
|
||||||
default_lang_commit: 9b53527853049b249f60f12a000c0d85b9e5f5dc
|
default_lang_commit: 9b53527853049b249f60f12a000c0d85b9e5f5dc
|
||||||
|
cSpell:ignore: millis ottrace textmap
|
||||||
---
|
---
|
||||||
|
|
||||||
<!-- markdownlint-disable no-duplicate-heading -->
|
<!-- markdownlint-disable no-duplicate-heading -->
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ title: ¿Qué es OpenTelemetry?
|
||||||
description: Qué es y qué no es OpenTelemetry, una breve explicación
|
description: Qué es y qué no es OpenTelemetry, una breve explicación
|
||||||
weight: 150
|
weight: 150
|
||||||
default_lang_commit: 13c2d415e935fac3014344e67c6c61556779fd6f
|
default_lang_commit: 13c2d415e935fac3014344e67c6c61556779fd6f
|
||||||
cSpell:ignore: microservicios extensibilidad
|
cSpell:ignore: extensibilidad microservicios
|
||||||
---
|
---
|
||||||
|
|
||||||
OpenTelemetry es:
|
OpenTelemetry es:
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,8 @@
|
||||||
title: Introdução à Observabilidade
|
title: Introdução à Observabilidade
|
||||||
description: Conceitos essenciais de Observabilidade
|
description: Conceitos essenciais de Observabilidade
|
||||||
weight: 9
|
weight: 9
|
||||||
cSpell:ignore: webshop
|
|
||||||
default_lang_commit: 6e3124135e38e749cdda15271d891813d6bc43db
|
default_lang_commit: 6e3124135e38e749cdda15271d891813d6bc43db
|
||||||
|
cSpell:ignore: webshop
|
||||||
---
|
---
|
||||||
|
|
||||||
## O que é Observabilidade? {#what-is-observability}
|
## O que é Observabilidade? {#what-is-observability}
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
---
|
---
|
||||||
title: Recursos
|
title: Recursos
|
||||||
weight: 70
|
weight: 70
|
||||||
cSpell:ignore: sdktrace thirdparty
|
|
||||||
default_lang_commit: 12f31f62fcc466532513f6ebccb060c9ea5b9fe4
|
default_lang_commit: 12f31f62fcc466532513f6ebccb060c9ea5b9fe4
|
||||||
|
cSpell:ignore: sdktrace thirdparty
|
||||||
---
|
---
|
||||||
|
|
||||||
{{% docs/languages/resources-intro %}}
|
{{% docs/languages/resources-intro %}}
|
||||||
|
|
|
||||||
|
|
@ -62,7 +62,7 @@
|
||||||
"diff:check": "npm run _diff:check || (echo; echo 'WARNING: the files above have not been committed'; echo)",
|
"diff:check": "npm run _diff:check || (echo; echo 'WARNING: the files above have not been committed'; echo)",
|
||||||
"diff:fail": "npm run _diff:check || (echo; echo 'ERROR: the files above have changed. Locally rerun `npm run test-and-fix` and commit changes'; echo; exit 1)",
|
"diff:fail": "npm run _diff:check || (echo; echo 'ERROR: the files above have changed. Locally rerun `npm run test-and-fix` and commit changes'; echo; exit 1)",
|
||||||
"fix:all": "npm run all -- $(npm -s run _list:fix:*)",
|
"fix:all": "npm run all -- $(npm -s run _list:fix:*)",
|
||||||
"fix:dict": "find content/en layouts -name \"*.md\" -print0 | xargs -0 scripts/normalize-cspell-front-matter.pl",
|
"fix:dict": "find content/{en,es,fr,pt} layouts -name \"*.md\" -print0 | xargs -0 scripts/normalize-cspell-front-matter.pl",
|
||||||
"fix:filenames": "npm run _rename-to-kebab-case",
|
"fix:filenames": "npm run _rename-to-kebab-case",
|
||||||
"fix:format": "npm run format",
|
"fix:format": "npm run format",
|
||||||
"fix:htmltest-config": "scripts/htmltest-config.sh",
|
"fix:htmltest-config": "scripts/htmltest-config.sh",
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
#!/usr/bin/perl -w -i
|
#!/usr/bin/perl -w -i
|
||||||
|
#
|
||||||
|
# cSpell:ignore textlintrc
|
||||||
|
|
||||||
use strict;
|
use strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
|
|
@ -6,19 +8,46 @@ use FileHandle;
|
||||||
|
|
||||||
my @words;
|
my @words;
|
||||||
my $lineLenLimit = 79;
|
my $lineLenLimit = 79;
|
||||||
my $last_file = '';
|
my $current_file = '';
|
||||||
my $last_line = '';
|
my $has_front_matter = 0;
|
||||||
|
my $in_front_matter = 0;
|
||||||
|
my $last_line_contained_dict_words = 0;
|
||||||
my %dictionary = getSiteWideDictWords('.cspell/en-words.txt', '.textlintrc.yml');
|
my %dictionary = getSiteWideDictWords('.cspell/en-words.txt', '.textlintrc.yml');
|
||||||
|
|
||||||
while (<>) {
|
while (<>) {
|
||||||
if (/^\s*(spelling: |-\s*)?cSpell:ignore:?\s*(.*)$/
|
# Starting a new file?
|
||||||
|| (/^(\s+)(\S.*)$/ && @words)
|
if ($current_file ne $ARGV) {
|
||||||
) {
|
$current_file = $ARGV;
|
||||||
push @words, split /[,\s]+/, $2;
|
if(/^---$/) {
|
||||||
next;
|
$has_front_matter = 1;
|
||||||
|
$in_front_matter = 1;
|
||||||
|
print;
|
||||||
|
next;
|
||||||
|
} else {
|
||||||
|
$has_front_matter = 0;
|
||||||
|
$in_front_matter = 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (@words && ($ARGV ne $last_file || eof)) {
|
if ($has_front_matter && !$in_front_matter) {
|
||||||
|
print; next;
|
||||||
|
}
|
||||||
|
|
||||||
|
$in_front_matter = 0 if $has_front_matter && $in_front_matter && /^---$/;
|
||||||
|
|
||||||
|
# Process cSpell words
|
||||||
|
|
||||||
|
if (/^\s*(spelling: |-\s*)?cSpell:ignore:?\s*(.*)$/
|
||||||
|
|| (/^(\s+)(\S.*)$/ && $last_line_contained_dict_words)
|
||||||
|
) {
|
||||||
|
push @words, split /[,\s]+/, $2;
|
||||||
|
$last_line_contained_dict_words = 1;
|
||||||
|
next;
|
||||||
|
} else {
|
||||||
|
$last_line_contained_dict_words = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (@words && (!$has_front_matter || !$in_front_matter)) {
|
||||||
@words = grep { !/^\s*(cSpell:ignore|spelling):?\s*$/ && !$dictionary{$_} } @words;
|
@words = grep { !/^\s*(cSpell:ignore|spelling):?\s*$/ && !$dictionary{$_} } @words;
|
||||||
# Ensure all words are unique.
|
# Ensure all words are unique.
|
||||||
my %duplicates;
|
my %duplicates;
|
||||||
|
|
@ -29,29 +58,27 @@ while (<>) {
|
||||||
# Only add `# prettier-ignore` if line is too long
|
# Only add `# prettier-ignore` if line is too long
|
||||||
print "# prettier-ignore\n" if length($line) > $lineLenLimit;
|
print "# prettier-ignore\n" if length($line) > $lineLenLimit;
|
||||||
print $line;
|
print $line;
|
||||||
|
# print STDOUT "> printing line: $line";
|
||||||
@words = ();
|
@words = ();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
print unless /^# prettier-ignore$/ || /^spelling:\s*[|>-]*$/;
|
print unless /^# prettier-ignore$/ || /^spelling:\s*[|>-]*$/;
|
||||||
|
|
||||||
$last_line = $_;
|
|
||||||
$last_file = $ARGV if eof;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sub getSiteWideDictWords {
|
sub getSiteWideDictWords {
|
||||||
my $dictionary_file = shift;
|
my $dictionary_file = shift;
|
||||||
my $textlintrc_file = shift;
|
my $textlintrc_file = shift;
|
||||||
|
|
||||||
my %dictionary = readYmOrPlainlListOfWords('', $dictionary_file);
|
my %dictionary = readYmlOrPlainListOfWords('', $dictionary_file);
|
||||||
my %textlintDictionary = readYmOrPlainlListOfWords('terms', $textlintrc_file);
|
my %textlintDictionary = readYmlOrPlainListOfWords('terms', $textlintrc_file);
|
||||||
# Merge dictionaries
|
# Merge dictionaries
|
||||||
@dictionary{keys %textlintDictionary} = values %textlintDictionary;
|
@dictionary{keys %textlintDictionary} = values %textlintDictionary;
|
||||||
|
|
||||||
return %dictionary;
|
return %dictionary;
|
||||||
}
|
}
|
||||||
|
|
||||||
sub readYmOrPlainlListOfWords {
|
sub readYmlOrPlainListOfWords {
|
||||||
# Read plain list of words if $wordsFieldName is empty
|
# Read plain list of words if $wordsFieldName is empty
|
||||||
my $wordsFieldName = shift;
|
my $wordsFieldName = shift;
|
||||||
my $file_path = shift;
|
my $file_path = shift;
|
||||||
|
|
@ -76,7 +103,7 @@ sub readYmOrPlainlListOfWords {
|
||||||
$dictionary{$term} = 1 if $term;
|
$dictionary{$term} = 1 if $term;
|
||||||
} elsif ($wordsFieldName && $line !~ /^ / && $in_terms) {
|
} elsif ($wordsFieldName && $line !~ /^ / && $in_terms) {
|
||||||
$in_terms = 0;
|
$in_terms = 0;
|
||||||
# print "FINISHE word list\n" if $in_terms;
|
# print "FINISH word list\n" if $in_terms;
|
||||||
} else {
|
} else {
|
||||||
# print "OOPS LINE DID NOT MATCH\n" if $in_terms;
|
# print "OOPS LINE DID NOT MATCH\n" if $in_terms;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue