0.6.0 • Published 2 years ago

autometrics v0.6.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

autometrics

This is the basic convenience package that bundles the wrapper library and OpenTelemetry dependencies.

Documentation

Full documentation for autometrics library can be found here.

Installation

# npm
npm install autometrics

# yarn
yarn add autometrics

# pnpm
pnpm add autometrics

Usage

  1. Anywhere in your source code:
import { autometrics } from "autometrics";

async function createUserRaw(payload: User) {
  // ...
}

const createUser = autometrics(createUserRaw);
    // ^ instrumented function
0.7.0-beta2

2 years ago

0.6.0

2 years ago

0.5.0

2 years ago

0.4.0

2 years ago

0.3.0

2 years ago

0.2.0

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago