File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
stackable-telemetry/src/tracing Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -165,10 +165,8 @@ pub enum Command<Run: Args = ProductOperatorRun> {
165165/// ```rust
166166/// # use stackable_operator::cli::{Command, ProductOperatorRun, ProductConfigPath};
167167/// use clap::Parser;
168- /// use stackable_operator::{
169- /// cli::TelemetryArguments,
170- /// namespace::WatchNamespace,
171- /// };
168+ /// use stackable_operator::namespace::WatchNamespace;
169+ /// use stackable_telemetry::tracing::TelemetryOptions;
172170///
173171/// #[derive(clap::Parser, Debug, PartialEq, Eq)]
174172/// struct Run {
@@ -184,7 +182,7 @@ pub enum Command<Run: Args = ProductOperatorRun> {
184182/// common: ProductOperatorRun {
185183/// product_config: ProductConfigPath::from("bar".as_ref()),
186184/// watch_namespace: WatchNamespace::One("foobar".to_string()),
187- /// telemetry_arguments: TelemetryArguments ::default(),
185+ /// telemetry_arguments: TelemetryOptions ::default(),
188186/// cluster_info_opts: Default::default(),
189187/// },
190188/// }));
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ pub enum Error {
107107/// rolling_logs_period: None,
108108/// otlp_traces: true,
109109/// otlp_logs: true,
110- /// }
110+ /// };
111111///
112112/// let _tracing_guard = Tracing::pre_configured("test", options).init()?;
113113///
You can’t perform that action at this time.
0 commit comments