Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/wdalmut/opentelemetry-plugin-mongoose


https://github.com/wdalmut/opentelemetry-plugin-mongoose

Last synced: 2 days ago
JSON representation

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