Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@getlazy/engine-pipeline

Package Overview
Dependencies
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@getlazy/engine-pipeline

Runs tasks through lazy engine pipeline

  • 2.2.6
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
2
Created
Source

lazy-engine-pipeline-runner

Runs tasks through engine pipelines

Metrics

On each run pipeline objects may emit multiple metrics events. Each such event emits an array of metric objects.

Each metric object consists of:

PropertyTypeRequiredDescription
timestampnumberyesTimestamp of the moment the metric was measured.
categorystringyesThe category of the metric, for example file-analysis.
actionstringyesThe action of the metric, for example warning-ignored.
valuenumbernoValue of the metric. Unless specified it's assumed to be 1 as in single occurrence.

There can be any number of other properties and all of them will be included in the stored metric as they are. Notice however that lazy will overwrite them if their property names match built-in properties (see below)

lazy will add the following built-in properties to each metric before storing it:

PropertyTypeAlwaysDescription
engineIdstringyesName of the engine as specified in the lazy.yaml.
languagestringyesThe language for which the analysis was performed.
hostPathstringyesThe path on the host of the file which was analyzed.
clientstringyesThe client (e.g. atom) which requested the analysis.
hostnamestringyesThe name of the host from which the analysis was invoked.
repositorystringnoThe origin repository, if available, otherwise upstream, otherwise first remote repository.
branchstringnoThe current repository branch, if available.

Other properties may be added in the future but custom property name is reserved for exclusive engine use and will never be overwritten by lazy. In it you can thus store deeper structures that need to be tracked.

Keywords

FAQs

Package last updated on 31 Jul 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc