Skip to content

[ACTION] Proposal 3 - Collect & Compute #147

Open
0 of 3 issues completed
Open
0 of 3 issues completed
@AntonioDiTuri

Description

@AntonioDiTuri

This issue details what needs to be done in the collect step.

You can reference the proposal 3 - Metrics section: https://github.com/cncf-tags/green-reviews-tooling/blob/main/docs/proposals/proposal-003-report.md#metrics.

There three substeps:

  1. collect the project metrics
  2. collect the metadata
  3. compute the sci

1. The metrics we will need to collect are

container_cpu_usage_seconds_total
container_memory_rss
container_memory_working_set_bytes

All the metrics should be available in prometheus, and we should be able to collect them with a PromQL query.

2. Collect the metadata

After collecting the metrics we need to collect the metadata: https://github.com/cncf-tags/green-reviews-tooling/blob/main/docs/proposals/proposal-003-report.md#metadata

3. Compute the sci

We can run the PromQL query which is already available using the Prometheus Go Client:

Sub-issues

Metadata

Metadata

Labels

Type

No type

Projects

Status

In progress

Relationships

None yet

Development

No branches or pull requests

Issue actions