Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wdalmut/opentelemetry-plugin-mongoose
https://github.com/wdalmut/opentelemetry-plugin-mongoose
Last synced: 2 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/wdalmut/opentelemetry-plugin-mongoose
- Owner: wdalmut
- License: mit
- Created: 2020-04-03T19:09:15.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T02:59:07.000Z (over 1 year ago)
- Last Synced: 2024-09-21T18:27:17.375Z (12 days ago)
- Language: TypeScript
- Size: 343 KB
- Stars: 4
- Watchers: 3
- Forks: 3
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OpenTelemetry Mongoose Plugin
[![Build Status](https://travis-ci.org/wdalmut/opentelemetry-plugin-mongoose.svg?branch=master)](https://travis-ci.org/wdalmut/opentelemetry-plugin-mongoose)
[![codecov](https://codecov.io/gh/wdalmut/opentelemetry-plugin-mongoose/branch/master/graph/badge.svg)](https://codecov.io/gh/wdalmut/opentelemetry-plugin-mongoose)
[![npm version](https://badge.fury.io/js/%40wdalmut%2Fopentelemetry-plugin-mongoose.svg)](https://badge.fury.io/js/%40wdalmut%2Fopentelemetry-plugin-mongoose)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)Just a mongoose plugin for opentelemetry
## Installation
```sh
npm install --save @wdalmut/opentelemetry-plugin-mongoose
```## Usage
```js
const provider = new NodeTracerProvider({
plugins: {
mongoose: {
enabled: true,
path: '@wdalmut/opentelemetry-plugin-mongoose',
},
}
});
```## Status
This project is in alpha state. Do not use in production if your are not sure
about what are you doing...