opentelemetry-azure-function
v0.1.4
Published
OpenTelemetry Tracing for Azure Function
Downloads
25
Maintainers
Readme
opentelemetry-azure-function
Installation
npm install opentelemetry-azure-function
Usage
import { initOpenTelemetryAzureFunctionsHooks } from 'opentelemetry-azure-function';
initOpenTelemetryAzureFunctionsHooks();
// your code
// or
import {
registerTraceStartHook,
registerTraceEndHook,
} from 'opentelemetry-azure-function';
registerTraceStartHook();
// your code
registerTraceEndHook();
License
This project is licensed under the MIT License.
Acknowledgements
This project uses Prettier, ESLint, AVA, NYC, Husky, Lint-staged, TypeDoc.