Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/barddoo/opentelemetry-azure-function


https://github.com/barddoo/opentelemetry-azure-function

azure azure-functions distributed-tracing observability opentelemetry telemetry tracing

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

# opentelemetry-azure-function

## Installation

```bash
npm install opentelemetry-azure-function
```

## Usage

```typescript
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.