Noisy Pneumatic Mnemonic

    gitlab-dist-metrics

    0.1.4 • Public • Published

    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

    Install

    npm i gitlab-dist-metrics

    DownloadsWeekly Downloads

    53

    Version

    0.1.4

    License

    MIT

    Unpacked Size

    3.03 kB

    Total Files

    4

    Last publish

    Collaborators

    • maxfriedmann