Azure / Azure/azure-functions-host
Flex Consumption: OTel semconv attribute cloud.resource_id is missing
- 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
Assessment
This issue has not been assessed yet.