-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
COS integration improvements #170
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
license-eye has totally checked 135 files.
Valid | Invalid | Ignored | Fixed |
---|---|---|---|
0 | 58 | 77 | 0 |
Click to see the invalid file list
- actions.yaml
- charmcraft.yaml
- config.yaml
- generate-src-docs.sh
- lib/charms/grafana_agent/v0/cos_agent.py
- metadata.yaml
- pyproject.toml
- scripts/build-image.sh
- scripts/pre-integration-test.sh
- src/charm.py
- src/charm_state.py
- src/errors.py
- src/event_timer.py
- src/firewall.py
- src/github_client.py
- src/github_metrics.py
- src/github_type.py
- src/lxd.py
- src/lxd_type.py
- src/metrics.py
- src/metrics_type.py
- src/repo_policy_compliance_client.py
- src/runner.py
- src/runner_logs.py
- src/runner_manager.py
- src/runner_manager_type.py
- src/runner_metrics.py
- src/runner_type.py
- src/shared_fs.py
- src/utilities.py
- templates/repo_policy_compliance_service.py
- tests/init.py
- tests/conftest.py
- tests/integration/conftest.py
- tests/integration/helpers.py
- tests/integration/test_charm_fork_repo.py
- tests/integration/test_charm_metrics.py
- tests/integration/test_charm_no_runner.py
- tests/integration/test_charm_one_runner.py
- tests/integration/test_charm_scheduled_events.py
- tests/integration/test_charm_with_proxy.py
- tests/integration/test_self_hosted_runner.py
- tests/status_name.py
- tests/unit/init.py
- tests/unit/conftest.py
- tests/unit/mock.py
- tests/unit/test_charm.py
- tests/unit/test_charm_state.py
- tests/unit/test_github_client.py
- tests/unit/test_github_metrics.py
- tests/unit/test_metrics.py
- tests/unit/test_runner.py
- tests/unit/test_runner_logs.py
- tests/unit/test_runner_manager.py
- tests/unit/test_runner_metrics.py
- tests/unit/test_shared_fs.py
- tests/unit/test_utilities.py
- tox.ini
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
license-eye has totally checked 135 files.
Valid | Invalid | Ignored | Fixed |
---|---|---|---|
0 | 58 | 77 | 0 |
Click to see the invalid file list
- actions.yaml
- charmcraft.yaml
- config.yaml
- generate-src-docs.sh
- lib/charms/grafana_agent/v0/cos_agent.py
- metadata.yaml
- pyproject.toml
- scripts/build-image.sh
- scripts/pre-integration-test.sh
- src/charm.py
- src/charm_state.py
- src/errors.py
- src/event_timer.py
- src/firewall.py
- src/github_client.py
- src/github_metrics.py
- src/github_type.py
- src/lxd.py
- src/lxd_type.py
- src/metrics.py
- src/metrics_type.py
- src/repo_policy_compliance_client.py
- src/runner.py
- src/runner_logs.py
- src/runner_manager.py
- src/runner_manager_type.py
- src/runner_metrics.py
- src/runner_type.py
- src/shared_fs.py
- src/utilities.py
- templates/repo_policy_compliance_service.py
- tests/init.py
- tests/conftest.py
- tests/integration/conftest.py
- tests/integration/helpers.py
- tests/integration/test_charm_fork_repo.py
- tests/integration/test_charm_metrics.py
- tests/integration/test_charm_no_runner.py
- tests/integration/test_charm_one_runner.py
- tests/integration/test_charm_scheduled_events.py
- tests/integration/test_charm_with_proxy.py
- tests/integration/test_self_hosted_runner.py
- tests/status_name.py
- tests/unit/init.py
- tests/unit/conftest.py
- tests/unit/mock.py
- tests/unit/test_charm.py
- tests/unit/test_charm_state.py
- tests/unit/test_github_client.py
- tests/unit/test_github_metrics.py
- tests/unit/test_metrics.py
- tests/unit/test_runner.py
- tests/unit/test_runner_logs.py
- tests/unit/test_runner_manager.py
- tests/unit/test_runner_metrics.py
- tests/unit/test_shared_fs.py
- tests/unit/test_utilities.py
- tox.ini
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
license-eye has totally checked 135 files.
Valid | Invalid | Ignored | Fixed |
---|---|---|---|
0 | 58 | 77 | 0 |
Click to see the invalid file list
- actions.yaml
- charmcraft.yaml
- config.yaml
- generate-src-docs.sh
- lib/charms/grafana_agent/v0/cos_agent.py
- metadata.yaml
- pyproject.toml
- scripts/build-image.sh
- scripts/pre-integration-test.sh
- src/charm.py
- src/charm_state.py
- src/errors.py
- src/event_timer.py
- src/firewall.py
- src/github_client.py
- src/github_metrics.py
- src/github_type.py
- src/lxd.py
- src/lxd_type.py
- src/metrics.py
- src/metrics_type.py
- src/repo_policy_compliance_client.py
- src/runner.py
- src/runner_logs.py
- src/runner_manager.py
- src/runner_manager_type.py
- src/runner_metrics.py
- src/runner_type.py
- src/shared_fs.py
- src/utilities.py
- templates/repo_policy_compliance_service.py
- tests/init.py
- tests/conftest.py
- tests/integration/conftest.py
- tests/integration/helpers.py
- tests/integration/test_charm_fork_repo.py
- tests/integration/test_charm_metrics.py
- tests/integration/test_charm_no_runner.py
- tests/integration/test_charm_one_runner.py
- tests/integration/test_charm_scheduled_events.py
- tests/integration/test_charm_with_proxy.py
- tests/integration/test_self_hosted_runner.py
- tests/status_name.py
- tests/unit/init.py
- tests/unit/conftest.py
- tests/unit/mock.py
- tests/unit/test_charm.py
- tests/unit/test_charm_state.py
- tests/unit/test_github_client.py
- tests/unit/test_github_metrics.py
- tests/unit/test_metrics.py
- tests/unit/test_runner.py
- tests/unit/test_runner_logs.py
- tests/unit/test_runner_manager.py
- tests/unit/test_runner_metrics.py
- tests/unit/test_shared_fs.py
- tests/unit/test_utilities.py
- tox.ini
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
license-eye has totally checked 135 files.
Valid | Invalid | Ignored | Fixed |
---|---|---|---|
57 | 1 | 77 | 0 |
Click to see the invalid file list
- src/metrics_type.py
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Is it possible to see a breakdown of # of jobs by repo? So that we can get a high level overview of which repo is using it? I couldn't see it in the screenshot |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine, just the question regarding the repository. I couldn't spot where that info was being collected either?
Test coverage for 64fcb09
Static code analysis report
|
Added a visualisation. Unfortunately the repo values are not sorted by count, this should be possible with Loki
The repos to be filtered can be defined in the mask for the variable "repository". (see first screenshot). Unfortunately, the list of all possible repos cannot be pre-calculated and just selected like the other variables ( |
Applicable spec: n/a
Overview
Rationale
More metrics are being collected and visualised to improve long-term monitoring and alerting.
Module Changes
github_client
,github_metrics
,github_type
,metrics_type
,metrics
,runner_manager
,runner_metrics
: Retrieve and include job conclusionpre-job
script has been adapted to include repo policy http codeChecklist
src-docs
urgent
,trivial
,complex
)