Skip to content

Commit

Permalink
fix: metric name
Browse files Browse the repository at this point in the history
  • Loading branch information
killme2008 committed Jul 9, 2024
1 parent 84f357f commit 2d5844b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/meta/src/metrics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ lazy_static! {
)
.unwrap();
pub static ref METRIC_META_PROCEDURE_DROP_VIEW: HistogramVec = register_histogram_vec!(
"greptime_meta_procedure_drop_VIEW",
"greptime_meta_procedure_drop_view",
"meta procedure drop view",
&["step"]
)
Expand Down
2 changes: 2 additions & 0 deletions src/operator/src/statement/ddl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -645,6 +645,7 @@ impl StatementExecutor {
.context(error::ExecuteDdlSnafu)
}

/// Drop a view
#[tracing::instrument(skip_all)]
pub(crate) async fn drop_view(
&self,
Expand Down Expand Up @@ -695,6 +696,7 @@ impl StatementExecutor {
Ok(Output::new_with_affected_rows(0))
}

/// Submit [DropViewTask] to procedure executor.
async fn drop_view_procedure(
&self,
expr: DropViewTask,
Expand Down

0 comments on commit 2d5844b

Please sign in to comment.