# oneapm-ci-sdk

> Sdk for OneAPM Ci.

Latest version **0.0.1** (published 2016-01-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install oneapm-ci-sdk
pnpm add oneapm-ci-sdk
yarn add oneapm-ci-sdk
bun add oneapm-ci-sdk
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2016-01-27 |
| First published | 2016-01-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | oneapm.com |
| Maintainers | oneapm.com |
| Keywords | oneapm, cloud, agent, sdk |

## Links

- npm: https://www.npmjs.com/package/oneapm-ci-sdk
- npm.io page: https://npm.io/package/oneapm-ci-sdk

## Recent versions

- 0.0.1 (latest) — 2016-01-27

## README

oneapm-ci-sdk
================

SDK for oneapm ci.

Installation
------------
``` sh
  npm install oneapm-ci-sdk
```  


Quick Start Guide
-----------------

``` javascript
// Require the module
var StatsD = require( 'oneapm-ci-sdk' ).StatsD;

// Instantiate the StatsD, with host, port and global tags specified.
// The default host & port is 'localhost:8251'
var statsd = new StatsD( '127.0.0.1', 8251, [ 'machineName:awsBeijing1', 'timezone:GMT8' ] );

// Increment a counter.
statsd.increment('page.views')

// Increment a counter with value.
statsd.incrementBy('page.views', 100)


// Record a gauge with custom tags and sample rate(50% of the time).
statsd.gauge('users.online', 128, [ 'mytag:myvalue' ], 0.5)
```

---
_Source: https://npm.io/package/oneapm-ci-sdk · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
