Skip to content

Commit

Permalink
feat(otelcol): add user facing documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
steve-hb committed Jan 16, 2025
1 parent 2ceb795 commit f550881
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,10 @@ otelcol.connector.spanlogs "LABEL" {
| `spans` | `bool` | Log one line per span. | `false` | no |
| `roots` | `bool` | Log one line for every root span of a trace. | `false` | no |
| `processes` | `bool` | Log one line for every process. | `false` | no |
| `events` | `bool` | Log one line for every span event. | `false` | no |
| `span_attributes` | `list(string)` | Additional span attributes to log. | `[]` | no |
| `process_attributes` | `list(string)` | Additional process attributes to log. | `[]` | no |
| `event_attributes` | `list(string)` | Additional event attributes to log. | `[]` | no |
| `labels` | `list(string)` | A list of keys that will be logged as labels. | `[]` | no |

The values listed in `labels` should be the values of either span or process attributes.
Expand Down

0 comments on commit f550881

Please sign in to comment.