Skip to content

KnpLabs/K-pi

Actions
Compile, verify and publish metrics
v0.1.0
LatestPre-release
Star (0)

The goal of this project is to make it easy to track metrics.

Configuration

Just create a .k-pi.dist.yaml file following the following pattern:

---
reports:
  <report-name>:
    storage:
      <storage-type>: <storage-config>

Integration with CI

Github Actions

Some examples

For all examples, please refer to the configuration file .k-pi.dist.yaml.

Track test coverage

See example-coverage.yaml

Track Github dependabot security alerts

See example-github-security.yaml

The goal of this metric is to count the number of alerts from dependabot's Github API and project them onto a graph to track their evolution over time.

In the configuration file, you can see that the configured storage is github-discussion. It means that data will be stored in the discussion but also projected onto a graph.

Track PhpMetrics data

See example-phpmetrics.yaml

KnpLabs/K-pi is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Compile, verify and publish metrics
v0.1.0
LatestPre-release

KnpLabs/K-pi is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.