Skip to content
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

Promehetus and loki integration #52

Open
wants to merge 84 commits into
base: main
Choose a base branch
from
Open

Conversation

arturo-seijas
Copy link
Collaborator

@arturo-seijas arturo-seijas commented Dec 3, 2024

Applicable spec:

Overview

Integration with prometheus and loki charms

Rationale

Juju Events Changes

Module Changes

Library Changes

Checklist

weiiwang01
weiiwang01 previously approved these changes Dec 3, 2024
rockcraft.yaml Outdated Show resolved Hide resolved
src/charm.py Outdated Show resolved Hide resolved
src/observability.py Show resolved Hide resolved
src/charm.py Outdated Show resolved Hide resolved
src/observability.py Outdated Show resolved Hide resolved
rockcraft.yaml Outdated Show resolved Hide resolved
Thanhphan1147
Thanhphan1147 previously approved these changes Dec 3, 2024
Copy link

@Thanhphan1147 Thanhphan1147 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, a few minor comments

rockcraft.yaml Outdated Show resolved Hide resolved
weiiwang01
weiiwang01 previously approved these changes Dec 5, 2024
Copy link

github-actions bot commented Dec 5, 2024

Test coverage for 9d761a5

Name                            Stmts   Miss Branch BrPart  Cover   Missing
---------------------------------------------------------------------------
src/certificates_observer.py       59      0      0      0   100%
src/charm.py                      104     27     28      7    68%   64-71, 109, 143-157, 168, 170, 172, 174, 236-244
src/observability.py               13      0      0      0   100%
src/opensearch_observer.py         12      0      0      0   100%
src/state.py                      128     17     14      2    87%   100-101, 146-147, 174-175, 195-196, 199, 218, 220-222, 347-352
src/traefik_route_observer.py      39      0      6      0   100%
src/wazuh.py                      177     63     22      2    65%   103, 199-200, 213-219, 264->exit, 286-309, 320-332, 384-400, 417-440, 448-449, 466-500
---------------------------------------------------------------------------
TOTAL                             532    107     70     11    78%

Static code analysis report

Run started:2024-12-05 15:35:47.611308

Test results:
  No issues identified.

Code scanned:
  Total lines of code: 2601
  Total lines skipped (#nosec): 15
  Total potential issues skipped due to specifically being disabled (e.g., #nosec BXXX): 0

Run metrics:
  Total issues (by severity):
  	Undefined: 0
  	Low: 0
  	Medium: 0
  	High: 0
  Total issues (by confidence):
  	Undefined: 0
  	Low: 0
  	Medium: 0
  	High: 0
Files skipped (0):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants