| Name | Description | Default value |
|---|---|---|
| endpoint | Hostname:port of otel collector (gRPC). This endpoint is used both for logs and traces. If you want separate endpoints, then use "logs-endpoint" and "tracing-endpoint" members. Please note that "endpoint" is mutually exclusive with either "logs-endpoint" or "tracing-endpoint". Basically, you either have one endpoint for both, or you specify directly what goes where. | – |
| logs-endpoint | Hostname:port of otel collector (gRPC). This endpoint is used only for logs. | – |
| tracing-endpoint | Hostname:port of otel collector (gRPC). This endpoint is used only for traces. | – |
| client-factory-name | This component needs ugrpc::client::ClientFactoryComponent to work and we will look for it with name given in this parameter. You need to set that component propertly, e.g. disable middlwares (otherwise it will be an infinite loop of client producing logs that go into otlp logger and back to client and that causes even more logs). Although it is possible to omit this parameter and use default ClientFactoryComponent instance, it is not recommended and will cause severe problems in the long run. | – |
| log-level | Log level. | – |
| max-queue-size | Max async queue size. | 65535 |
| max-batch-delay | Max delay between send batches (e.g. 100ms or 1s). | 100ms |
| service-name | Service name. | unknown_service |
| sinks | Sinks to send logs/traces to. | – |
| sinks.logs | Logs sink, one of [otlp, default, both]. Possible values: otlp, default, both. | otlp |
| sinks.tracing | Tracing sink, one of [otlp, default, both]. Possible values: otlp, default, both. | otlp |
| attributes-mapping.* | Rename rules for OTLP attributes. Each of the elements: new attribute name. | – |
| extra-attributes.* | Extra OTLP attributes. Each of the elements: attribute value. | – |