We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b63ec0c commit 46f5a0aCopy full SHA for 46f5a0a
src/profiler.rs
@@ -587,9 +587,9 @@ async fn profiler_tick<E: ProfilerEngine>(
587
// the constructor. See the struct comments for why this is.
588
// This code runs at most once.
589
if agent_metadata.is_none() {
590
- #[cfg(feature = "aws-metadata")]
+ #[cfg(feature = "aws-metadata-no-defaults")]
591
let md = crate::metadata::aws::load_agent_metadata().await?;
592
- #[cfg(not(feature = "aws-metadata"))]
+ #[cfg(not(feature = "aws-metadata-no-defaults"))]
593
let md = crate::metadata::AgentMetadata::Other;
594
tracing::debug!("loaded metadata");
595
agent_metadata.replace(md);
0 commit comments