Skip to content

Commit 1fa7989

Browse files
committed
feat: use gcs metrics handler
1 parent 3193302 commit 1fa7989

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

src/storage/gcs.rs

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ use std::{
2323
time::{Duration, Instant},
2424
};
2525

26+
use crate::{
27+
handlers::http::users::USERS_ROOT_DIR,
28+
metrics::storage::{gcs::REQUEST_RESPONSE_TIME, StorageMetrics},
29+
parseable::LogStream,
30+
};
2631
use async_trait::async_trait;
2732
use bytes::Bytes;
2833
use datafusion::{
@@ -44,12 +49,6 @@ use relative_path::{RelativePath, RelativePathBuf};
4449
use tokio::{fs::OpenOptions, io::AsyncReadExt};
4550
use tracing::{error, info};
4651

47-
use crate::{
48-
handlers::http::users::USERS_ROOT_DIR,
49-
metrics::storage::{azureblob::REQUEST_RESPONSE_TIME, StorageMetrics},
50-
parseable::LogStream,
51-
};
52-
5352
use super::{
5453
metrics_layer::MetricLayer, object_storage::parseable_json_path, to_object_store_path,
5554
ObjectStorage, ObjectStorageError, ObjectStorageProvider, CONNECT_TIMEOUT_SECS,

0 commit comments

Comments
 (0)