You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat docs: use schemas for documentation in more cases
Tests: протестировано в CI, проверено локально что все поля отображаются и форматируются приятно для глаза (или хотя бы как было раньше)
commit_hash:5a68f90bd573c96780e6b25ab25348dd7d5722ed
Copy file name to clipboardExpand all lines: otlp/include/userver/otlp/logs/component.hpp
+5-18Lines changed: 5 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -17,33 +17,20 @@ namespace otlp {
17
17
18
18
classLogger;
19
19
20
-
// clang-format off
21
-
22
20
/// @ingroup userver_components
23
21
///
24
22
/// @brief Component to configure logging via OTLP collector.
25
23
///
26
-
/// ## Static options:
27
-
/// Name | Description | Default value
28
-
/// ---- | ----------- | -------------
29
-
/// endpoint | URI of otel collector (e.g. 127.0.0.1:4317). This endpoint is used both for logs and traces. If you want separate endpoints, then use below options. | -
30
-
/// logs-endpoint | URI of otel collector (gRPC). This endpoint is used only for logs. | -
31
-
/// tracing-endpoint | URI of otel collector (gRPC). This endpoint is used only for traces. | -
32
-
/// client-factory-name | Name of the grpc client factory | -
33
-
/// max-queue-size | Maximum async queue size | 65535
34
-
/// max-batch-delay | Maximum batch delay | 100ms
35
-
/// service-name | Service name | unknown_service
36
-
/// attributes | Extra attributes for OTLP, object of key/value strings | -
37
-
/// sinks | List of sinks | -
38
-
/// sinks.logs | sink for logs (default|otlp|both) | otlp
39
-
/// sinks.tracing | sink for tracing (default|otlp|both) | otlp
24
+
/// ## Static options of @ref otlp::LoggerComponent :
0 commit comments