The instrument options

interface InstrumentOptions {
    auth?: false | BasicAuthentication;
    mode: "development" | "production";
    namespaceName: string;
    readonly: boolean;
    serverId?: string;
    store: InMemoryStore | RedisStore;
}

Properties

auth?: false | BasicAuthentication

The authentication method

mode: "development" | "production"

Whether to send all events or only aggregated events to the UI, for performance purposes.

namespaceName: string

The name of the admin namespace

"/admin"
readonly: boolean

Whether updates are allowed

false
serverId?: string

The unique ID of the server

require("os").hostname()

store: InMemoryStore | RedisStore

The store