You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 3, 2023. It is now read-only.
[![Gitter chat][gitter-image]][gitter-url]![Node Version][node-img][![NPM Published Version][npm-img]][npm-url]![dependencies Status][dependencies-status]![devDependencies Status][devdependencies-status]![Apache License][license-image]
3
3
4
-
OpenCensus for Node.js is an implementation of OpenCensus, a toolkit for collecting application performance and behavior monitoring data.
4
+
OpenCensus for Node.js is an implementation of OpenCensus, a toolkit for collecting application performance and behavior monitoring data. It currently includes 3 apis: stats, tracing and tags.
5
5
6
6
The library is in alpha stage and the API is subject to change.
7
7
8
-
Please join [gitter](https://gitter.im/census-instrumentation/Lobby) for help or feedback on this project.
8
+
## Installation
9
+
10
+
Install the opencensus-core package with NPM:
11
+
```bash
12
+
npm install @opencensus/core
13
+
```
14
+
15
+
## Usage
16
+
17
+
#### Set up a new Stats manager instance.
18
+
19
+
To enable metrics, we’ll import a few items from OpenCensus Core package.
We now determine how our metrics will be organized by creating ```Views```. We will also create the variable needed to add extra text meta-data to our metrics – ```methodTagKey```, ```statusTagKey```, and ```errorTagKey```.
0 commit comments