|
5 | 5 | // It enables every component to have access to telemetry level
|
6 | 6 | // to enable metrics only when necessary.
|
7 | 7 | //
|
| 8 | +// This document provides guidance on which telemetry level to adopt for Collector metrics. |
| 9 | +// When adopting a telemetry level, the developer is expected to rely on this guidance to |
| 10 | +// justify their choice of telemetry level. |
| 11 | +// |
8 | 12 | // 1. configtelemetry.None
|
9 | 13 | //
|
10 | 14 | // No telemetry data should be collected.
|
|
13 | 17 | //
|
14 | 18 | // Signals associated with this level cover the essential coverage of the component telemetry.
|
15 | 19 | //
|
16 |
| -// This is the default level recommended when running the collector. |
17 |
| -// |
18 |
| -// The signals associated with this level must have low cardinality. |
| 20 | +// This is the default level recommended when running the Collector. |
19 | 21 | //
|
20 |
| -// The signals associated with this level must represent a small data volume: |
21 |
| -// - No more than 5 metrics reported. |
22 |
| -// - At most 1 span actively recording simultaneously, covering the critical path. |
23 |
| -// - At most 5 log records produced every 30s. |
| 22 | +// Signals using this telemetry level can use this guidance: |
| 23 | +// * The signals associated with this level must show low cardinality, the number of combinations of dimension values. |
| 24 | +// * The signals associated with this level must represent a small data volume. Examples follow: |
| 25 | +// - A max cardinality (total possible combinations of dimension values) of 50. |
| 26 | +// - At most a span actively recording simultaneously, covering the critical path. |
24 | 27 | //
|
25 |
| -// Not all signals defined in the component telemetry are active. |
| 28 | +// * Not all signals defined in the component telemetry are active. |
26 | 29 | //
|
27 | 30 | // 3. configtelemetry.Normal
|
28 | 31 | //
|
29 | 32 | // Signals associated with this level cover the complete coverage of the component telemetry.
|
30 | 33 | //
|
31 |
| -// The signals associated with this level must control cardinality. |
32 |
| -// |
33 |
| -// The signals associated with this level must represent a controlled data volume: |
34 |
| -// - No more than 20 metrics reported. |
| 34 | +// Signals using this telemetry level can use this guidance: |
| 35 | +// - The signals associated with this level must control cardinality. |
| 36 | +// It is acceptable at this level for cardinality to scale linearly with the monitored resources. |
| 37 | +// - The signals associated with this level must represent a controlled data volume. Examples follow: |
| 38 | +// - A max cardinality (total possible combinations of dimension values) of 500. |
35 | 39 | // - At most 5 spans actively recording simultaneously.
|
36 |
| -// - At most 20 log records produced every 30s. |
37 | 40 | //
|
38 |
| -// All signals defined in the component telemetry are active. |
| 41 | +// * All signals defined in the component telemetry are active. |
39 | 42 | //
|
40 | 43 | // 4. configtelemetry.Detailed
|
41 | 44 | //
|
|
0 commit comments