|
15 | 15 | //
|
16 | 16 | // 2. configtelemetry.Basic
|
17 | 17 | //
|
18 |
| -// Telemetry associated with this level provides essential coverage of the collector telemetry. |
19 |
| -// It should only be used for internal collector telemetry generated by the collector core API. Components outside of |
20 |
| -// the core API MUST NOT record additional telemetry at this level. |
| 18 | +// Telemetry associated with this level provides essential coverage of the Collector telemetry. |
| 19 | +// It should only be used for telemetry generated by the core Collector API. |
| 20 | +// Components outside of the core API MUST NOT record telemetry at this level. |
21 | 21 | //
|
22 | 22 | // 3. configtelemetry.Normal
|
23 | 23 | //
|
24 |
| -// Telemetry associated with this level provides complete coverage of the collector telemetry. |
| 24 | +// Telemetry associated with this level provides intermediate coverage of the Collector telemetry. |
25 | 25 | // It should be the default for component authors.
|
26 | 26 | //
|
27 |
| -// Component authors using this telemetry level can use this guidance: |
28 |
| -// |
29 |
| -// - The signals associated with this level must control cardinality. |
30 |
| -// It is acceptable at this level for cardinality to scale linearly with the monitored resources. |
31 |
| -// |
32 |
| -// - The signals associated with this level must represent a controlled data volume. Examples follow: |
| 27 | +// Normal-level telemetry should have limited cardinality and data volume, though it is acceptable |
| 28 | +// for them to scale linearly with the monitored resources. |
| 29 | +// For example, there may be a limit of 5 attribute sets or 5 spans generated per request. |
33 | 30 | //
|
34 |
| -// a. A max cardinality (total possible combinations of dimension values) for a given metric of at most 100. |
35 |
| -// |
36 |
| -// b. At most 5 spans actively recording simultaneously per active request. |
| 31 | +// Normal-level telemetry should also have a low computational cost: it should not contain values |
| 32 | +// requiring significant additional computation compared to the normal flow of processing. |
37 | 33 | //
|
38 | 34 | // This is the default level recommended when running the Collector.
|
39 | 35 | //
|
40 | 36 | // 4. configtelemetry.Detailed
|
41 | 37 | //
|
42 | 38 | // Telemetry associated with this level provides complete coverage of the collector telemetry.
|
43 | 39 | //
|
44 |
| -// The signals associated with this level may exhibit high cardinality and/or high dimensionality. |
45 |
| -// |
46 |
| -// There is no limit on data volume. |
| 40 | +// The signals associated with this level may exhibit high cardinality, high data volume, or high |
| 41 | +// computational cost. |
47 | 42 | package configtelemetry // import "go.opentelemetry.io/collector/config/configtelemetry"
|
0 commit comments