This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

autometrics
TypeScript icon, indicating that this package has built-in type declarations

0.6.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i autometrics

Weekly Downloads

1

Version

0.6.0

License

MIT

Unpacked Size

2.61 kB

Total Files

8

Last publish

Collaborators

  • keturiosakys