Skip to content

tMetrik/MTKruto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MTKruto Adapter for tMetrik

Minimum required MTKruto version: 0.2.41

Usage

import { Tmetrik } from "jsr:@tmetrik/mtkruto";

client.use(new Tmetrik("https://tmetrik-endpoint"));

// or with parameters
const tmetrik = new Tmetrik("https://tmetrik-endpoint", {
  threshold: 30,
  timeout: 5_000,
  log: false,
});
client.use(tmetrik);

Parameters

  • threshold - The maximum number of updates to dispatch at once. Defaults to 10,000.
  • timeout - The maximum duration to wait (in milliseconds) before dispatching updates. Defaults to 10,000 (10 seconds). Use a smaller duration to for near real-time dispatching of updates.
  • log - Whether logging should be enabled. Defaults to true.

About

tMetrik for MTKruto

Topics

Resources

License

Stars

1 star

Watchers

1 watching

Forks

Packages

 
 
 

Contributors