Skip to content

Commit

Permalink
Move blocks to the Blocks section
Browse files Browse the repository at this point in the history
  • Loading branch information
ptodev committed Aug 21, 2024
1 parent b1b562c commit d7b7593
Showing 1 changed file with 15 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,24 @@ otelcol.processor.groupbyattrs "LABEL" {

The following arguments are supported:

| Name | Type | Description | Default | Required |
|-----------------|-------------------|---------------------------------------------------------------------------------------|---------|----------|
| `keys` | `list(string)` | Keys that will be used to group the spans, log records or metric data points together. | | no |
| `output` | [output][] | Configures where to send received telemetry data. | yes | |
| `debug_metrics` | [debug_metrics][] | Configures the metrics that this component generates to monitor its state. | no | |
| Name | Type | Description | Default | Required |
|-----------------|-------------------|-----------------------------------------------------------------------------------------|---------|----------|
| `keys` | `list(string)` | Keys that will be used to group the spans, log records, or metric data points together. | `[]` | no |

[output]: #output-block
[debug_metrics]: #debug_metrics-block
`keys` is a string array that is used for grouping the data.
If it is empty, the processor performs compaction and reassociates all spans with matching Resource and InstrumentationLibrary.

## Blocks

`keys` is a string array that is used for grouping the data. If it is empty, the processor performs compaction and reassociates all spans with matching Resource and InstrumentationLibrary.
The following blocks are supported inside the definition of `otelcol.processor.groupbyattrs`:

Hierarchy | Block | Description | Required
--------- | ----------- | ------------------------------------------------- | --------
output | [output][] | Configures where to send received telemetry data. | yes
debug_metrics | [debug_metrics][] | Configures the metrics that this component generates to monitor its state. | no

[output]: #output-block
[debug_metrics]: #debug_metrics-block

### output block

Expand Down

0 comments on commit d7b7593

Please sign in to comment.