Skip to content

Commit

Permalink
Add debug information to release profile
Browse files Browse the repository at this point in the history
resolves #180

Enable debug information so that flame graphs contain names of stack traces rather than just addresses.
  • Loading branch information
bryn committed Sep 20, 2021
1 parent 37a1f3c commit 5ac69ef
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Cargo.toml
Expand Up @@ -5,3 +5,6 @@ members = ["crates/apollo-router", "crates/apollo-router-core", "xtask"]
[patch.crates-io]
opentelemetry = { git = "https://github.com/open-telemetry/opentelemetry-rust.git", rev = "414b3f459" }
opentelemetry-otlp = { git = "https://github.com/open-telemetry/opentelemetry-rust.git", rev = "414b3f459" }

[profile.release]
debug = true

0 comments on commit 5ac69ef

Please sign in to comment.