0.0.5 • Published 1 year ago

hawkflow v0.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

HawkFLow.ai

HawkFlow.ai

Monitoring for anyone that writes code

  1. Install: npm install --save hawkflow
  2. Usage:
import { HawkFlow } from 'hawkflow';
import { setTimeout } from 'timers/promises';

// Authenticate with your API key
const hf = new HawkFlow({ 
    apiKey: 'YOUR_API_KEY',
});

// Start timing your code - pass through process (required) and meta (optional) parameters
console.log('Sending timing start data to hawkflow');
hf.start({
    process: 'your_process_name',
    meta: 'your_meta_data',
});

// Do some work
console.log('Sleeping for 5 seconds...');
await setTimeout(5000);

// End timing this piece of code - process (required) and meta (optional) parameters should match the start
console.log('Sending timing end data to hawkflow');
hf.end({
    process: 'your_process_name',
    meta: 'your_meta_data',
});

More examples: HawkFlow.ai JS examples

Read the docs: HawkFlow.ai documentation

What is HawkFlow.ai?

HawkFlow.ai is a new monitoring platform that makes it easier than ever to make monitoring part of your development process. Whether you are an Engineer, a Data Scientist, an Analyst, or anyone else that writes code, HawkFlow.ai helps you and your team take ownership of monitoring.

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago