Quick Start

Get MetricStreaming running in under a minute. Self-host with Docker or install the SDK.

1. Start with Docker Compose

# docker-compose.yml
version: '3.8'
services:
  metricstreaming:
    image: metricstreaming/metricstreaming:latest
    ports:
      - "8080:8080"
    environment:
      MS_STORAGE: influxdb
      INFLUX_URL: http://influxdb:8086

2. Install the SDK

npm install metricstreaming
import { init } from 'metricstreaming';

init({
  siteId: 'ms_9c3a1f',
  endpoint: 'https://cloud.metricstreaming.org'
});

3. See your first data point

$ msctl stream --site ms_9c3a1f
Connected. Waiting for metrics...

LCP  1240ms  /     Chrome 124
CLS  0.042   /     Chrome 124