Skip to content

Commit f7162ba

Browse files
Results from /fix:all
1 parent 9011b56 commit f7162ba

File tree

1 file changed

+16
-14
lines changed
  • content/en/docs/collector/deployment/gateway

1 file changed

+16
-14
lines changed

content/en/docs/collector/deployment/gateway/index.md

+16-14
Original file line numberDiff line numberDiff line change
@@ -254,30 +254,30 @@ Cons:
254254

255255
## Multiple collectors and the single-writer principle
256256

257-
All metric data streams within
258-
OTLP must have a [single writer](/docs/specs/otel/metrics/data-model/#single-writer).
259-
When deploying multiple collectors in a gateway configuration, it's important to
257+
All metric data streams within OTLP must have a
258+
[single writer](/docs/specs/otel/metrics/data-model/#single-writer). When
259+
deploying multiple collectors in a gateway configuration, it's important to
260260
ensure that all metric data streams have a single writer and a globally unique
261261
identity.
262262

263263
### Potential problems
264264

265-
Concurrent access from multiple applications that modify or report on
266-
the same data can lead to data loss or degraded data
267-
quality. For example, you might see inconsistent data from multiple sources
268-
on the same resource, where the different sources can overwrite each other because
269-
the resource is not uniquely identified.
265+
Concurrent access from multiple applications that modify or report on the same
266+
data can lead to data loss or degraded data quality. For example, you might see
267+
inconsistent data from multiple sources on the same resource, where the
268+
different sources can overwrite each other because the resource is not uniquely
269+
identified.
270270

271271
There are patterns in the data that may provide some insight into whether this
272272
is happening or not. For example, upon visual inspection, a series with
273273
unexplained gaps or jumps in the same series may be a clue that multiple
274-
collectors are sending the same samples.
275-
You might also see errors in your backend. For example, with a Prometheus backend:
274+
collectors are sending the same samples. You might also see errors in your
275+
backend. For example, with a Prometheus backend:
276276

277277
`Error on ingesting out-of-order samples`
278278

279-
This error could indicate that identical targets exist in two jobs, and the order of
280-
the timestamps is incorrect. For example:
279+
This error could indicate that identical targets exist in two jobs, and the
280+
order of the timestamps is incorrect. For example:
281281

282282
- Metric `M1` received at `T1` with a timestamp 13:56:04 with value `100`
283283
- Metric `M1` received at `T2` with a timestamp 13:56:24 with value `120`
@@ -287,7 +287,9 @@ the timestamps is incorrect. For example:
287287

288288
### Best practices
289289

290-
- Use the [Kubernetes attributes processor](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/processor/k8sattributesprocessor)
290+
- Use the
291+
[Kubernetes attributes processor](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/processor/k8sattributesprocessor)
291292
to add labels to different Kubernetes resources.
292-
- Use the [resource detector processor](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/processor/resourcedetectionprocessor/README.md)
293+
- Use the
294+
[resource detector processor](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/processor/resourcedetectionprocessor/README.md)
293295
to detect resource information from the host and collect resource metadata.

0 commit comments

Comments
 (0)