-
Notifications
You must be signed in to change notification settings - Fork 224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Azure Functions #3071
feat: Azure Functions #3071
Conversation
This first commit is just a start at working on require-in-the-middle (pulling it in locally for now to work on it, before upstreaming).
…c auto-instrumentation of Azure Functions working
This is a way to provide additional metadata that is merged into the metadata object created from the other individual config options. This is similar to `expectExtraMetadata: true` && `setExtraMetadata(...)`, but is a way to provide the metadata *synchronously*. Refs: elastic/apm-agent-nodejs#3071
… fields (I think)
This is a way to provide additional metadata that is merged into the metadata object created from the other individual config options. This is similar to `expectExtraMetadata: true` && `setExtraMetadata(...)`, but is a way to provide the metadata *synchronously*. Refs: elastic/apm-agent-nodejs#3071
Does this get GH 'npm install' further?
…lt/output based on status code
…rom what the Function does
… option A for transaction.name
… not sure that is the issue)
…ity with IPv6 ::1
…str mechanism for AFs
… AFs and Lambdas" per spec
…c running in real azure
I'm not bothering for now. An argument for this would be if one could add instrumentation to an Azure Function purely with config changes. However, given Azure Functions don't have an equivalent to Lambda "layers" to include the APM agent code itself, there will always be some non-config changes (to include the 'elastic-apm-node' dep). If that requirement is every dropped, then there would be value in supporting |
@bmorelli25 Are you able to review the docs I've added? The main added doc page is: https://apm-agent-nodejs_3071.docs-preview.app.elstc.co/guide/en/apm/agent/nodejs/master/azure-functions.html Thanks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The docs look great! Just a couple suggestions and one question.
Co-authored-by: Brandon Morelli <brandon.morelli@elastic.co>
Co-authored-by: Brandon Morelli <brandon.morelli@elastic.co>
… req not being set; remove some unnecessary test code in config.test.js
Support for tracing/monitoring Azure Functions. Supported triggers/bindings: HTTP (spec'd), Timer (not spec'd). Spec: elastic/apm#716 Closes: #3015 Co-authored-by: Brandon Morelli <brandon.morelli@elastic.co>
…re Functions From "timer". Neither value is in the APM agents shared spec, but "scheduled" is prior art from some Java instrumentations (e.g. for Quartz). Refs: #3071
Support for tracing/monitoring Azure Functions. Supported triggers/bindings: HTTP (spec'd), Timer (not spec'd). Spec: elastic/apm#716 Closes: elastic#3015 Co-authored-by: Brandon Morelli <brandon.morelli@elastic.co>
…re Functions (elastic#3101) From "timer". Neither value is in the APM agents shared spec, but "scheduled" is prior art from some Java instrumentations (e.g. for Quartz). Refs: elastic#3071
Spec: elastic/apm#716
Closes: #3015
Checklist