0.6.3 • Published 2 years ago

brettermetrics v0.6.3

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

@autometrics/autometrics 📈✨

Documentation

Full documentation for @autometrics/autometrics library can be found here.

Installation: autometrics and peer dependencies

# npm
npm install @autometrics/autometrics @opentelemetry/sdk-metrics
@opentelemetry/exporter-prometheus

# yarn
yarn add @autometrics/autometrics @opentelemetry/sdk-metrics
@opentelemetry/exporter-prometheus

# pnpm
pnpm add @autometrics/autometrics @opentelemetry/sdk-metrics
@opentelemetry/exporter-prometheus

Basic example

import { autometrics } from "@autometrics/autometrics";

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

const user = autometrics(createUser);
    // ^ instrumented function
0.6.3

2 years ago

0.6.2

2 years ago

0.6.1

2 years ago

0.6.0

2 years ago