Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/barddoo/opentelemetry-azure-function
- Owner: barddoo
- License: mit
- Created: 2024-06-10T21:45:49.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-06-11T21:58:24.000Z (7 months ago)
- Last Synced: 2024-09-27T06:43:10.781Z (3 months ago)
- Topics: azure, azure-functions, distributed-tracing, observability, opentelemetry, telemetry, tracing
- Language: TypeScript
- Homepage:
- Size: 333 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.