Skip to content

Commit

Permalink
chore: update dependence
Browse files Browse the repository at this point in the history
  • Loading branch information
Taylor-lagrange committed Nov 16, 2023
1 parent c0e6083 commit 98f5052
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ derive_builder = "0.12"
etcd-client = "0.12"
futures = "0.3"
futures-util = "0.3"
greptime-proto = { path = "/Users/wujingdi/data/greptime-proto" }
greptime-proto = { git = "https://github.com/GreptimeTeam/greptime-proto.git", rev = "25429306d0379ad29211a062a81da2554a0208ab" }
humantime-serde = "1.1"
itertools = "0.10"
lazy_static = "1.4"
Expand Down
4 changes: 2 additions & 2 deletions src/common/telemetry/src/logging.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ use tracing_subscriber::{filter, EnvFilter, Registry};

pub use crate::{debug, error, info, trace, warn};

const DEAFULT_OTLP_ENDPOINT: &str = "http://localhost:4317";
const DEFAULT_OTLP_ENDPOINT: &str = "http://localhost:4317";

#[derive(Clone, Debug, PartialEq, Eq, Serialize, Deserialize)]
#[serde(default)]
Expand Down Expand Up @@ -195,7 +195,7 @@ pub fn init_global_logging(
opts.otlp_endpoint
.as_ref()
.map(|e| format!("http://{}", e))
.unwrap_or(DEAFULT_OTLP_ENDPOINT.to_string()),
.unwrap_or(DEFAULT_OTLP_ENDPOINT.to_string()),
),
)
.with_trace_config(opentelemetry_sdk::trace::config().with_resource(
Expand Down
6 changes: 3 additions & 3 deletions tests-integration/tests/http.rs
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@ enable = true
enable = true
[frontend.logging]
enable_jaeger_tracing = false
enable_otlp_tracing = false
[frontend.datanode.client]
timeout = "10s"
Expand Down Expand Up @@ -750,10 +750,10 @@ sst_write_buffer_size = "8MiB"
[datanode.region_engine.file]
[datanode.logging]
enable_jaeger_tracing = false
enable_otlp_tracing = false
[logging]
enable_jaeger_tracing = false"#,
enable_otlp_tracing = false"#,
store_type,
num_cpus::get() / 2
);
Expand Down

0 comments on commit 98f5052

Please sign in to comment.