Code Monkey home page Code Monkey logo

rtcstats-server's Introduction

rtcstats-server

The rtcstats-server represents the server side component of the rtcstats ecosystem, the client side being https://github.com/jitsi/rtcstats which collects and sends WebRTC related statistics.

Requirements

  • node v12 or above
  • npm v6 or above

Architecture

Comming soon...

How to use

Run

$ npm install
$ npm run start

Configure

The server is configured using the node config module thus it will use one of the available config yaml files found under the ./config directory in accordance to the NODE_ENV (debug|production) environment variable.

Default values can be seen here default.

There are also some additional env variables that can be set in order do overwrite config options from the command line, these can be found here custom-env-var

Prometheus stats

  • rtcstats_websocket_connections

    • help: 'number of open websocket connections'
    • type: Gauge
  • rtcstats_websocket_connection_error

    • help: 'number of open websocket connections that failed with an error',
    • type: Counter
  • rtcstats_queued_dumps

    • help: 'Number of rtcstats dumps queued up for future processing'
    • type: Counter
  • rtcstats_queue_size

    • help: 'Number of dumps currently queued for processing'
    • type: Gauge
  • rtcstats_disk_queue_size

    • help: 'Size occupied on disk by queued dumps'
    • type: Gauge
  • rtcstats_files_processed

    • help: 'number of files processed',
    • type: Counter
  • rtcstats_files_errored

    • help: 'number of files with errors during processing'
    • type: Counter
  • rtcstats_processing_time

    • help: 'Processing time for a request',
    • maxAgeSeconds: 600,
    • ageBuckets: 5,
    • percentiles: [ 0.1, 0.25, 0.5, 0.75, 0.9 ],
    • type: Summary
  • rtcstats_dump_size

    • help: 'Size of processed rtcstats dumps',
    • maxAgeSeconds: 600,
    • ageBuckets: 5,
    • percentiles: [ 0.1, 0.25, 0.5, 0.75, 0.9 ],
    • type: Summary

Authors and acknowledgment

The project is a fork of https://github.com/fippo/rtcstats-server thus proper thanks are in order for the original contributors.

rtcstats-server's People

Contributors

fippo avatar nils-ohlmeier avatar andrei-gavrilescu avatar juandebravo avatar gpolitis avatar ggarber avatar gabiborlea avatar thepatrick avatar gimre avatar swisspol avatar saghul avatar vp8x8 avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.