Skip to content

Commit

Permalink
Merge branch 'main' into tm-host-metrics-instrumentation-scope-name
Browse files Browse the repository at this point in the history
  • Loading branch information
trentm authored Dec 6, 2023
2 parents 62e0c4c + 8f2a195 commit 9793602
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ class AzureFunctionsDetector implements DetectorSync {
detect(): IResource {
let attributes = {};
const functionName = process.env[WEBSITE_SITE_NAME];
if (functionName) {
const functionVersion = process.env[FUNCTIONS_VERSION];
const functionVersion = process.env[FUNCTIONS_VERSION];
if (functionName && functionVersion) {
const functionInstance = process.env[WEBSITE_INSTANCE_ID];
const functionMemLimit = process.env[FUNCTIONS_MEM_LIMIT];

Expand Down

0 comments on commit 9793602

Please sign in to comment.