Azure / Azure/azure-functions-host

Flex Consumption: OTel semconv attribute cloud.resource_id is missing

Open
#11,838 0 comments 0 reactions 1 assignee Claimed by @RohitRanjanMS View on GitHub
area: flex-consumption area: otel Needs: Triage (Functions)
Dominant language
C#
Stars
2k
Forks
482
Avg merge
2d 10h
Merged PRs (30d)
36

Description

#### Is your question related to a specific version? If so, please specify:
No, seeing this with various Function runtimes hosted on the Flex Consumption plan.

#### What language does your question apply to? (e.g. C#, JavaScript, Java, All)
All

#### Question
While the OTel semconv attribute `cloud.resource_id` is set for Functions on Dedicated and Elastic Premium hosting plans, it is missing for Functions on the Flex Consumption hosting plan. As far as I can tell this is due to not having the `WEBSITE_RESOURCE_GROUP` environment variable in this scenario.

Is this a known issue, and if so, any plans to address it? Thanks!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.