@@ -20,7 +20,7 @@ fn default_max_recv_msg_size_mib() -> u64 {
2020
2121/// Receiver configuration for OTLP endpoints.
2222///
23- /// This follows the Agent's `otlp_config.receiver` structure.
23+ /// This follows the Datadog Agent `otlp_config.receiver` structure.
2424#[ derive( Deserialize , Debug , Default ) ]
2525pub struct Receiver {
2626 /// Protocol-specific receiver configuration.
@@ -125,7 +125,7 @@ pub struct OtlpConfig {
125125pub struct LogsConfig {
126126 /// Whether to enable OTLP logs support.
127127 ///
128- /// Defaults to true.
128+ /// Defaults to ` true` .
129129 #[ serde( default = "default_logs_enabled" ) ]
130130 pub enabled : bool ,
131131}
@@ -147,7 +147,7 @@ impl Default for LogsConfig {
147147pub struct MetricsConfig {
148148 /// Whether to enable OTLP metrics support.
149149 ///
150- /// Defaults to true.
150+ /// Defaults to ` true` .
151151 #[ serde( default = "default_metrics_enabled" ) ]
152152 pub enabled : bool ,
153153}
@@ -171,7 +171,7 @@ impl Default for MetricsConfig {
171171pub struct TracesConfig {
172172 /// Whether to enable OTLP traces support.
173173 ///
174- /// Defaults to true.
174+ /// Defaults to ` true` .
175175 #[ serde( default = "default_traces_enabled" ) ]
176176 pub enabled : bool ,
177177
@@ -182,7 +182,7 @@ pub struct TracesConfig {
182182 ///
183183 /// Corresponds to `otlp_config.traces.ignore_missing_datadog_fields` in the Agent.
184184 ///
185- /// Defaults to false.
185+ /// Defaults to ` false` .
186186 #[ serde( default ) ]
187187 pub ignore_missing_datadog_fields : bool ,
188188
@@ -191,7 +191,7 @@ pub struct TracesConfig {
191191 /// Corresponds to the `enable_otlp_compute_top_level_by_span_kind` feature flag
192192 /// in the Agent's `apm_config.features`.
193193 ///
194- /// Defaults to false.
194+ /// Defaults to ` false` .
195195 #[ serde( default = "default_enable_otlp_compute_top_level_by_span_kind" ) ]
196196 pub enable_otlp_compute_top_level_by_span_kind : bool ,
197197
0 commit comments