You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: content/en/docs/collector/deployment/gateway/index.md
+16-14
Original file line number
Diff line number
Diff line change
@@ -254,30 +254,30 @@ Cons:
254
254
255
255
## Multiple collectors and the single-writer principle
256
256
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
260
260
ensure that all metric data streams have a single writer and a globally unique
261
261
identity.
262
262
263
263
### Potential problems
264
264
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.
270
270
271
271
There are patterns in the data that may provide some insight into whether this
272
272
is happening or not. For example, upon visual inspection, a series with
273
273
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:
276
276
277
277
`Error on ingesting out-of-order samples`
278
278
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:
281
281
282
282
- Metric `M1` received at `T1` with a timestamp 13:56:04 with value `100`
283
283
- Metric `M1` received at `T2` with a timestamp 13:56:24 with value `120`
@@ -287,7 +287,9 @@ the timestamps is incorrect. For example:
287
287
288
288
### Best practices
289
289
290
-
- Use the [Kubernetes attributes processor](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/processor/k8sattributesprocessor)
- Use the [resource detector processor](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/processor/resourcedetectionprocessor/README.md)
0 commit comments