Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion crates/ethereum/cli/src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ where
layers.with_span_layer(
"reth".to_string(),
output_type.clone(),
self.cli.traces.otlp_level.clone(),
self.cli.traces.otlp_filter.clone(),
)?;
}

Expand Down
8 changes: 4 additions & 4 deletions crates/node/core/src/args/trace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,22 +32,22 @@ pub struct TraceArgs {
/// of spans and events sent to the OTLP endpoint. It follows the same
/// syntax as the `RUST_LOG` environment variable.
///
/// Example: --tracing-otlp-level=info,reth=debug,hyper_util=off
/// Example: --tracing-otlp.filter=info,reth=debug,hyper_util=off
///
/// Defaults to TRACE if not specified.
#[arg(
long = "tracing-otlp-level",
long = "tracing-otlp.filter",
global = true,
value_name = "FILTER",
default_value = "TRACE",
help_heading = "Tracing"
)]
pub otlp_level: EnvFilter,
pub otlp_filter: EnvFilter,
}

impl Default for TraceArgs {
fn default() -> Self {
Self { otlp: None, otlp_level: EnvFilter::from_default_env() }
Self { otlp: None, otlp_filter: EnvFilter::from_default_env() }
}
}

Expand Down
2 changes: 1 addition & 1 deletion crates/optimism/cli/src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ where
layers.with_span_layer(
"reth".to_string(),
output_type.clone(),
self.cli.traces.otlp_level.clone(),
self.cli.traces.otlp_filter.clone(),
)?;
}

Expand Down
4 changes: 2 additions & 2 deletions docs/vocs/docs/pages/cli/reth.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,10 @@ Tracing:

[env: OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=]

--tracing-otlp-level <FILTER>
--tracing-otlp.filter <FILTER>
Set a filter directive for the OTLP tracer. This controls the verbosity of spans and events sent to the OTLP endpoint. It follows the same syntax as the `RUST_LOG` environment variable.

Example: --tracing-otlp-level=info,reth=debug,hyper_util=off
Example: --tracing-otlp.filter=info,reth=debug,hyper_util=off

Defaults to TRACE if not specified.

Expand Down
4 changes: 2 additions & 2 deletions docs/vocs/docs/pages/cli/reth/config.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,10 @@ Tracing:

[env: OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=]

--tracing-otlp-level <FILTER>
--tracing-otlp.filter <FILTER>
Set a filter directive for the OTLP tracer. This controls the verbosity of spans and events sent to the OTLP endpoint. It follows the same syntax as the `RUST_LOG` environment variable.

Example: --tracing-otlp-level=info,reth=debug,hyper_util=off
Example: --tracing-otlp.filter=info,reth=debug,hyper_util=off

Defaults to TRACE if not specified.

Expand Down
4 changes: 2 additions & 2 deletions docs/vocs/docs/pages/cli/reth/db.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -175,10 +175,10 @@ Tracing:

[env: OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=]

--tracing-otlp-level <FILTER>
--tracing-otlp.filter <FILTER>
Set a filter directive for the OTLP tracer. This controls the verbosity of spans and events sent to the OTLP endpoint. It follows the same syntax as the `RUST_LOG` environment variable.

Example: --tracing-otlp-level=info,reth=debug,hyper_util=off
Example: --tracing-otlp.filter=info,reth=debug,hyper_util=off

Defaults to TRACE if not specified.

Expand Down
4 changes: 2 additions & 2 deletions docs/vocs/docs/pages/cli/reth/db/checksum.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,10 @@ Tracing:

[env: OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=]

--tracing-otlp-level <FILTER>
--tracing-otlp.filter <FILTER>
Set a filter directive for the OTLP tracer. This controls the verbosity of spans and events sent to the OTLP endpoint. It follows the same syntax as the `RUST_LOG` environment variable.

Example: --tracing-otlp-level=info,reth=debug,hyper_util=off
Example: --tracing-otlp.filter=info,reth=debug,hyper_util=off

Defaults to TRACE if not specified.

Expand Down
4 changes: 2 additions & 2 deletions docs/vocs/docs/pages/cli/reth/db/clear.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,10 @@ Tracing:

[env: OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=]

--tracing-otlp-level <FILTER>
--tracing-otlp.filter <FILTER>
Set a filter directive for the OTLP tracer. This controls the verbosity of spans and events sent to the OTLP endpoint. It follows the same syntax as the `RUST_LOG` environment variable.

Example: --tracing-otlp-level=info,reth=debug,hyper_util=off
Example: --tracing-otlp.filter=info,reth=debug,hyper_util=off

Defaults to TRACE if not specified.

Expand Down
4 changes: 2 additions & 2 deletions docs/vocs/docs/pages/cli/reth/db/clear/mdbx.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,10 @@ Tracing:

[env: OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=]

--tracing-otlp-level <FILTER>
--tracing-otlp.filter <FILTER>
Set a filter directive for the OTLP tracer. This controls the verbosity of spans and events sent to the OTLP endpoint. It follows the same syntax as the `RUST_LOG` environment variable.

Example: --tracing-otlp-level=info,reth=debug,hyper_util=off
Example: --tracing-otlp.filter=info,reth=debug,hyper_util=off

Defaults to TRACE if not specified.

Expand Down
4 changes: 2 additions & 2 deletions docs/vocs/docs/pages/cli/reth/db/clear/static-file.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,10 @@ Tracing:

[env: OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=]

--tracing-otlp-level <FILTER>
--tracing-otlp.filter <FILTER>
Set a filter directive for the OTLP tracer. This controls the verbosity of spans and events sent to the OTLP endpoint. It follows the same syntax as the `RUST_LOG` environment variable.

Example: --tracing-otlp-level=info,reth=debug,hyper_util=off
Example: --tracing-otlp.filter=info,reth=debug,hyper_util=off

Defaults to TRACE if not specified.

Expand Down
4 changes: 2 additions & 2 deletions docs/vocs/docs/pages/cli/reth/db/diff.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,10 @@ Tracing:

[env: OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=]

--tracing-otlp-level <FILTER>
--tracing-otlp.filter <FILTER>
Set a filter directive for the OTLP tracer. This controls the verbosity of spans and events sent to the OTLP endpoint. It follows the same syntax as the `RUST_LOG` environment variable.

Example: --tracing-otlp-level=info,reth=debug,hyper_util=off
Example: --tracing-otlp.filter=info,reth=debug,hyper_util=off

Defaults to TRACE if not specified.

Expand Down
4 changes: 2 additions & 2 deletions docs/vocs/docs/pages/cli/reth/db/drop.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,10 @@ Tracing:

[env: OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=]

--tracing-otlp-level <FILTER>
--tracing-otlp.filter <FILTER>
Set a filter directive for the OTLP tracer. This controls the verbosity of spans and events sent to the OTLP endpoint. It follows the same syntax as the `RUST_LOG` environment variable.

Example: --tracing-otlp-level=info,reth=debug,hyper_util=off
Example: --tracing-otlp.filter=info,reth=debug,hyper_util=off

Defaults to TRACE if not specified.

Expand Down
4 changes: 2 additions & 2 deletions docs/vocs/docs/pages/cli/reth/db/get.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,10 @@ Tracing:

[env: OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=]

--tracing-otlp-level <FILTER>
--tracing-otlp.filter <FILTER>
Set a filter directive for the OTLP tracer. This controls the verbosity of spans and events sent to the OTLP endpoint. It follows the same syntax as the `RUST_LOG` environment variable.

Example: --tracing-otlp-level=info,reth=debug,hyper_util=off
Example: --tracing-otlp.filter=info,reth=debug,hyper_util=off

Defaults to TRACE if not specified.

Expand Down
4 changes: 2 additions & 2 deletions docs/vocs/docs/pages/cli/reth/db/get/mdbx.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,10 @@ Tracing:

[env: OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=]

--tracing-otlp-level <FILTER>
--tracing-otlp.filter <FILTER>
Set a filter directive for the OTLP tracer. This controls the verbosity of spans and events sent to the OTLP endpoint. It follows the same syntax as the `RUST_LOG` environment variable.

Example: --tracing-otlp-level=info,reth=debug,hyper_util=off
Example: --tracing-otlp.filter=info,reth=debug,hyper_util=off

Defaults to TRACE if not specified.

Expand Down
4 changes: 2 additions & 2 deletions docs/vocs/docs/pages/cli/reth/db/get/static-file.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,10 @@ Tracing:

[env: OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=]

--tracing-otlp-level <FILTER>
--tracing-otlp.filter <FILTER>
Set a filter directive for the OTLP tracer. This controls the verbosity of spans and events sent to the OTLP endpoint. It follows the same syntax as the `RUST_LOG` environment variable.

Example: --tracing-otlp-level=info,reth=debug,hyper_util=off
Example: --tracing-otlp.filter=info,reth=debug,hyper_util=off

Defaults to TRACE if not specified.

Expand Down
4 changes: 2 additions & 2 deletions docs/vocs/docs/pages/cli/reth/db/list.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -160,10 +160,10 @@ Tracing:

[env: OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=]

--tracing-otlp-level <FILTER>
--tracing-otlp.filter <FILTER>
Set a filter directive for the OTLP tracer. This controls the verbosity of spans and events sent to the OTLP endpoint. It follows the same syntax as the `RUST_LOG` environment variable.

Example: --tracing-otlp-level=info,reth=debug,hyper_util=off
Example: --tracing-otlp.filter=info,reth=debug,hyper_util=off

Defaults to TRACE if not specified.

Expand Down
4 changes: 2 additions & 2 deletions docs/vocs/docs/pages/cli/reth/db/path.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,10 @@ Tracing:

[env: OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=]

--tracing-otlp-level <FILTER>
--tracing-otlp.filter <FILTER>
Set a filter directive for the OTLP tracer. This controls the verbosity of spans and events sent to the OTLP endpoint. It follows the same syntax as the `RUST_LOG` environment variable.

Example: --tracing-otlp-level=info,reth=debug,hyper_util=off
Example: --tracing-otlp.filter=info,reth=debug,hyper_util=off

Defaults to TRACE if not specified.

Expand Down
4 changes: 2 additions & 2 deletions docs/vocs/docs/pages/cli/reth/db/repair-trie.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,10 @@ Tracing:

[env: OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=]

--tracing-otlp-level <FILTER>
--tracing-otlp.filter <FILTER>
Set a filter directive for the OTLP tracer. This controls the verbosity of spans and events sent to the OTLP endpoint. It follows the same syntax as the `RUST_LOG` environment variable.

Example: --tracing-otlp-level=info,reth=debug,hyper_util=off
Example: --tracing-otlp.filter=info,reth=debug,hyper_util=off

Defaults to TRACE if not specified.

Expand Down
4 changes: 2 additions & 2 deletions docs/vocs/docs/pages/cli/reth/db/stats.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,10 @@ Tracing:

[env: OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=]

--tracing-otlp-level <FILTER>
--tracing-otlp.filter <FILTER>
Set a filter directive for the OTLP tracer. This controls the verbosity of spans and events sent to the OTLP endpoint. It follows the same syntax as the `RUST_LOG` environment variable.

Example: --tracing-otlp-level=info,reth=debug,hyper_util=off
Example: --tracing-otlp.filter=info,reth=debug,hyper_util=off

Defaults to TRACE if not specified.

Expand Down
4 changes: 2 additions & 2 deletions docs/vocs/docs/pages/cli/reth/db/version.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,10 @@ Tracing:

[env: OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=]

--tracing-otlp-level <FILTER>
--tracing-otlp.filter <FILTER>
Set a filter directive for the OTLP tracer. This controls the verbosity of spans and events sent to the OTLP endpoint. It follows the same syntax as the `RUST_LOG` environment variable.

Example: --tracing-otlp-level=info,reth=debug,hyper_util=off
Example: --tracing-otlp.filter=info,reth=debug,hyper_util=off

Defaults to TRACE if not specified.

Expand Down
4 changes: 2 additions & 2 deletions docs/vocs/docs/pages/cli/reth/download.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -172,10 +172,10 @@ Tracing:

[env: OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=]

--tracing-otlp-level <FILTER>
--tracing-otlp.filter <FILTER>
Set a filter directive for the OTLP tracer. This controls the verbosity of spans and events sent to the OTLP endpoint. It follows the same syntax as the `RUST_LOG` environment variable.

Example: --tracing-otlp-level=info,reth=debug,hyper_util=off
Example: --tracing-otlp.filter=info,reth=debug,hyper_util=off

Defaults to TRACE if not specified.

Expand Down
4 changes: 2 additions & 2 deletions docs/vocs/docs/pages/cli/reth/dump-genesis.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,10 @@ Tracing:

[env: OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=]

--tracing-otlp-level <FILTER>
--tracing-otlp.filter <FILTER>
Set a filter directive for the OTLP tracer. This controls the verbosity of spans and events sent to the OTLP endpoint. It follows the same syntax as the `RUST_LOG` environment variable.

Example: --tracing-otlp-level=info,reth=debug,hyper_util=off
Example: --tracing-otlp.filter=info,reth=debug,hyper_util=off

Defaults to TRACE if not specified.

Expand Down
4 changes: 2 additions & 2 deletions docs/vocs/docs/pages/cli/reth/export-era.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -178,10 +178,10 @@ Tracing:

[env: OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=]

--tracing-otlp-level <FILTER>
--tracing-otlp.filter <FILTER>
Set a filter directive for the OTLP tracer. This controls the verbosity of spans and events sent to the OTLP endpoint. It follows the same syntax as the `RUST_LOG` environment variable.

Example: --tracing-otlp-level=info,reth=debug,hyper_util=off
Example: --tracing-otlp.filter=info,reth=debug,hyper_util=off

Defaults to TRACE if not specified.

Expand Down
4 changes: 2 additions & 2 deletions docs/vocs/docs/pages/cli/reth/import-era.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -173,10 +173,10 @@ Tracing:

[env: OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=]

--tracing-otlp-level <FILTER>
--tracing-otlp.filter <FILTER>
Set a filter directive for the OTLP tracer. This controls the verbosity of spans and events sent to the OTLP endpoint. It follows the same syntax as the `RUST_LOG` environment variable.

Example: --tracing-otlp-level=info,reth=debug,hyper_util=off
Example: --tracing-otlp.filter=info,reth=debug,hyper_util=off

Defaults to TRACE if not specified.

Expand Down
4 changes: 2 additions & 2 deletions docs/vocs/docs/pages/cli/reth/import.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -174,10 +174,10 @@ Tracing:

[env: OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=]

--tracing-otlp-level <FILTER>
--tracing-otlp.filter <FILTER>
Set a filter directive for the OTLP tracer. This controls the verbosity of spans and events sent to the OTLP endpoint. It follows the same syntax as the `RUST_LOG` environment variable.

Example: --tracing-otlp-level=info,reth=debug,hyper_util=off
Example: --tracing-otlp.filter=info,reth=debug,hyper_util=off

Defaults to TRACE if not specified.

Expand Down
4 changes: 2 additions & 2 deletions docs/vocs/docs/pages/cli/reth/init-state.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -197,10 +197,10 @@ Tracing:

[env: OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=]

--tracing-otlp-level <FILTER>
--tracing-otlp.filter <FILTER>
Set a filter directive for the OTLP tracer. This controls the verbosity of spans and events sent to the OTLP endpoint. It follows the same syntax as the `RUST_LOG` environment variable.

Example: --tracing-otlp-level=info,reth=debug,hyper_util=off
Example: --tracing-otlp.filter=info,reth=debug,hyper_util=off

Defaults to TRACE if not specified.

Expand Down
4 changes: 2 additions & 2 deletions docs/vocs/docs/pages/cli/reth/init.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -162,10 +162,10 @@ Tracing:

[env: OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=]

--tracing-otlp-level <FILTER>
--tracing-otlp.filter <FILTER>
Set a filter directive for the OTLP tracer. This controls the verbosity of spans and events sent to the OTLP endpoint. It follows the same syntax as the `RUST_LOG` environment variable.

Example: --tracing-otlp-level=info,reth=debug,hyper_util=off
Example: --tracing-otlp.filter=info,reth=debug,hyper_util=off

Defaults to TRACE if not specified.

Expand Down
4 changes: 2 additions & 2 deletions docs/vocs/docs/pages/cli/reth/node.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -999,10 +999,10 @@ Tracing:

[env: OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=]

--tracing-otlp-level <FILTER>
--tracing-otlp.filter <FILTER>
Set a filter directive for the OTLP tracer. This controls the verbosity of spans and events sent to the OTLP endpoint. It follows the same syntax as the `RUST_LOG` environment variable.

Example: --tracing-otlp-level=info,reth=debug,hyper_util=off
Example: --tracing-otlp.filter=info,reth=debug,hyper_util=off

Defaults to TRACE if not specified.

Expand Down
4 changes: 2 additions & 2 deletions docs/vocs/docs/pages/cli/reth/p2p.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,10 @@ Tracing:

[env: OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=]

--tracing-otlp-level <FILTER>
--tracing-otlp.filter <FILTER>
Set a filter directive for the OTLP tracer. This controls the verbosity of spans and events sent to the OTLP endpoint. It follows the same syntax as the `RUST_LOG` environment variable.

Example: --tracing-otlp-level=info,reth=debug,hyper_util=off
Example: --tracing-otlp.filter=info,reth=debug,hyper_util=off

Defaults to TRACE if not specified.

Expand Down
4 changes: 2 additions & 2 deletions docs/vocs/docs/pages/cli/reth/p2p/body.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -331,10 +331,10 @@ Tracing:

[env: OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=]

--tracing-otlp-level <FILTER>
--tracing-otlp.filter <FILTER>
Set a filter directive for the OTLP tracer. This controls the verbosity of spans and events sent to the OTLP endpoint. It follows the same syntax as the `RUST_LOG` environment variable.

Example: --tracing-otlp-level=info,reth=debug,hyper_util=off
Example: --tracing-otlp.filter=info,reth=debug,hyper_util=off

Defaults to TRACE if not specified.

Expand Down
Loading
Loading