@dynatrace/opentelemetry-azure-functions
Version:
Dynatrace OpenTelemetry package for Azure Functions
20 lines • 699 B
TypeScript
import type { Context } from "@azure/functions-v3";
import { SemConvTrace } from "@dynatrace/opentelemetry-core";
/**
* Detect function trigger type.
*
* @note currently only HTTP trigger is supported
*
* @param context the azure function context
* @param args the arguments passed to the function
* @returns the trigger type
*/
export declare function getTriggerType(context: Context): SemConvTrace.FaasTriggerValues;
/**
* Returns the name of the HTTP out binding
*
* @param context the azure function context
* @returns name of the out binding or undefined
*/
export declare function getHttpOutBindingName(context: Context): string | undefined;
//# sourceMappingURL=Bindings.d.ts.map