Socket
Socket
Sign inDemoInstall

gitlab-dist-metrics

Package Overview
Dependencies
12
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    gitlab-dist-metrics

A CLI for creating a gitlab metrics report based on files in dist folders


Version published
Weekly downloads
3
increased by200%
Maintainers
1
Install size
187 kB
Created
Weekly downloads
 

Readme

Source

gitlab-dist-metrics

A CLI for creating gitlab metrics reports based on generated js files in dist folders.

Usage

  • Install via npm i -g gitlab-dist-metrics
  • Goto base directory and call gitlab-dist-metrics. The CLI will create a metrics.txt file which will be in the openmetrics format, see https://openmetrics.io
  • Add the report as artifact

Gitlab Job Example

build:
  stage: build
  script:
    - npm i
    - npm run build
    - npm i -g gitlab-dist-metrics
    - gitlab-dist-metrics
  artifacts:
    reports:
      metrics: metrics.txt

For further information about Gitlab Metrics, see https://docs.gitlab.com/ee/ci/metrics_reports.html

Keywords

FAQs

Last updated on 25 Mar 2020

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc