0.0.5 • Published 8 years ago

oneapm-sdk v0.0.5

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

oneapm-sdk

npm.io npm.io

NPM

SDK for oneapm.com written in Node.js

About

This is for development usage only. Please do not use it in production.

Authentication

Provide the credentials as environment variables

ONEAPM_USERNAME username/email

ONEAPM_PASSWORD password in plain text :see_no_evil:

Url

ONEAPM_LOGIN_URL default is https://user.oneapm.com/account/login.do

ONEAPM_BASE_URL default is https://cloud.oneapm.com/

You should protect your username and password.

Express.js Middleware Usage

var express = require('express');
var path = require('path');
var app = express();
var oneapmMiddleware = require('oneapm-sdk').middleware;
app.use(oneapmMiddleware);
app.listen(8080);

Todos

  • Error handling
  • Auto reconnect after session expires

LICENSE

MIT

Do not do evil things with it, or your account may get banned.

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago