Skip to content

Commit

Permalink
Add key for version tag.
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephen Cirner committed Oct 12, 2021
1 parent 7bc7b55 commit 22acd21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ impl Config {
})
.collect();
span_tags.extend(BASE_SPAN_TAGS.iter().map(|(k, v)| (k.to_string(), v.to_string())));
span_tags.push(("".to_owned(), version));
span_tags.push(("version".to_owned(), version));

Some(DatadogConfig { agent_host, agent_port, service_name, span_tags })
} else {
Expand Down

0 comments on commit 22acd21

Please sign in to comment.