-
Notifications
You must be signed in to change notification settings - Fork 141
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
[Beta] Updating Azure Function Hook logic #1071
Conversation
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.
LGTM
@@ -13,19 +13,17 @@ export class AzureFunctionsHook { | |||
constructor() { | |||
try { | |||
this._functionsCoreModule = require("@azure/functions-core"); | |||
// Only v3 of Azure Functions library is supported right now. See matrix of versions here: | |||
// https://github.com/Azure/azure-functions-nodejs-library | |||
const funcProgModel = this._functionsCoreModule.getProgrammingModel(); |
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.
Can this return null?
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.
It shouldn't but if that happens the catch will take care of it. I don't believe we want to do anything if we cannot get the programming model.
Adding azure/funciton-core types
Removing auto generation of server spans and only support context propagation for now
Updating OpenTelemetry dependencies