Skip to content

Commit

Permalink
Strip /v1/traces postfix from documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
MaeIsBad committed Mar 11, 2024
1 parent d858cd5 commit 9c860d3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ fn main() -> std::io::Result<()> {
.with_env(Environment::Dev)
.with_version("1.0".to_string())
.with_telemetry(
"http://localhost:55681/v1/traces".to_string(),
"http://localhost:55681".to_string(),
"myapp".to_string(),
)
.build(),
Expand Down
2 changes: 1 addition & 1 deletion examples/datadog_json_logger.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ async fn main() {
.with_version("1.0".to_string())
// We need a tracer if we want trace and span IDs to be created and propagated, otherwise logs won't contain these correlation IDs
// You can also setup custom tracer and custom subscriber if you don't wanna use the `traces` feature
.with_telemetry("http://localhost:55681/v1/traces".to_string(), service_name)
.with_telemetry("http://localhost:55681".to_string(), service_name)
.build(),
);

Expand Down
2 changes: 1 addition & 1 deletion examples/ping.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ async fn main() -> std::io::Result<()> {
.with_country(Country::Common)
.with_version("1.0".to_string())
.with_telemetry(
"http://localhost:55681/v1/traces".to_string(),
"http://localhost:55681".to_string(),
"ping".to_string(),
)
.build(),
Expand Down
2 changes: 1 addition & 1 deletion examples/pong.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ async fn main() -> std::io::Result<()> {
.with_country(Country::Common)
.with_version("1.0".to_string())
.with_telemetry(
"http://localhost:55681/v1/traces".to_string(),
"http://localhost:55681".to_string(),
"pong".to_string(),
)
.build(),
Expand Down

0 comments on commit 9c860d3

Please sign in to comment.