You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, when the ApmMiddleware from Elastic.Apm.Azure.Functions is registered, traces will fail at APM server, if running the code using the Core Tools locally. This occurs because we expect to read various values used to populate the metadata from environment variables and these are not present in a developer environment.
A workaround is to include the following variables in the local.settings.json file to simulate those we require.
We should investigate introducing a fallback for simulating the metadata service runtime name when running locally. Ideally, we would find a heuristic to detect this scenario.
The text was updated successfully, but these errors were encountered:
Currently, when the
ApmMiddleware
fromElastic.Apm.Azure.Functions
is registered, traces will fail at APM server, if running the code using the Core Tools locally. This occurs because we expect to read various values used to populate the metadata from environment variables and these are not present in a developer environment.A workaround is to include the following variables in the
local.settings.json
file to simulate those we require.We should investigate introducing a fallback for simulating the metadata service runtime name when running locally. Ideally, we would find a heuristic to detect this scenario.
The text was updated successfully, but these errors were encountered: