Skip to content

Commit

Permalink
Use new telemetry-batteries
Browse files Browse the repository at this point in the history
  • Loading branch information
Dzejkop committed Dec 7, 2023
1 parent 6afcde0 commit d07d83b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

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

3 changes: 2 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ async fn main() -> eyre::Result<()> {

if config.service.datadog_enabled {
let datadog_battery =
DatadogBattery::new(None, Level::DEBUG, "tx-sitter-monolith", None);
DatadogBattery::new(None, "tx-sitter-monolith", None)
.with_location();

datadog_battery.init()?;
} else {
Expand Down

0 comments on commit d07d83b

Please sign in to comment.