Getting started

Quickstart

Get UptimeClarity running in your Meteor or Node.js app in 30 seconds.

UptimeClarity instruments your application in two steps: install the SDK, set your project token. Telemetry streams over HTTPS — there's nothing else to operate.

Install

meteor add uptimeclarity:agent
server/main.js
import { Meteor } from 'meteor/meteor';
import { UptimeClarity } from 'meteor/uptimeclarity:agent';
 
Meteor.startup(() => {
  UptimeClarity.start({
    apiKey: process.env.UPTIMECLARITY_API_KEY,
    appName: 'my-app',
  });
});

Create an API key in the dashboard (Settings → Apps) and expose it to the server as UPTIMECLARITY_API_KEY.

On Meteor 3.6+, also run meteor add instrumentation to get subscription lifetimes, hung methods and live DDP connection data.

Verify

Once your app boots, methods, publications, and outbound HTTP calls will start appearing in the dashboard within seconds. You should see:

  1. 1

    The first method call shows up in Methods with timing, request size, and the originating user.

  2. 2

    A green uplink stable indicator appears in your project's header.

  3. 3

    The host running your app appears under Infrastructure → Hosts with live event-loop and memory metrics.

What gets captured

Out of the box UptimeClarity captures:

  • Methods — name, duration, error, user, args (sampled).
  • Publications — name, duration, observer count, driver (change_stream / oplog / polling).
  • MongoDB — query timing, index used (or COLLSCAN), affected docs.
  • Outbound HTTP — URL, status, duration.
  • App logs — anything written via console.* or your logger.
  • Background jobs — duration, success rate, queued counts.
  • Custom metrics — anything you push via the SDK.

Next steps