8000 feat: add Prometheus metrics by kimdre · Pull Request #481 · kimdre/doco-cd · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat: add Prometheus metrics #481

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

Merged
merged 6 commits into from
Jul 6, 2025
Merged

feat: add Prometheus metrics #481

merged 6 commits into from
Jul 6, 2025

Conversation

kimdre
Copy link
Owner
@kimdre kimdre commented Jul 6, 2025

Add a prometheus metrics endpoint (default :9090/metrics)

@kimdre kimdre added this to the v1 milestone Jul 6, 2025
@kimdre kimdre self-assigned this Jul 6, 2025
@kimdre kimdre added the feature New feature label Jul 6, 2025
Copy link
codecov bot commented Jul 6, 2025

Codecov Report

Attention: Patch coverage is 44.23077% with 29 lines in your changes missing coverage. Please review.

Project coverage is 45.12%. Comparing base (0f50b83) to head (f189ea6).
Report is 7 commits behind head on main.

Files with missing lines Patch % Lines
internal/prometheus/metrics.go 35.00% 13 Missing ⚠️
cmd/doco-cd/main.go 0.00% 10 Missing ⚠️
cmd/doco-cd/poll_handler.go 55.55% 4 Missing ⚠️
internal/docker/compose.go 71.42% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #481      +/-   ##
==========================================
- Coverage   45.20%   45.12%   -0.09%     
==========================================
  Files          22       23       +1     
  Lines        2075     2121      +46     
==========================================
+ Hits          938      957      +19     
- Misses        990     1017      +27     
  Partials      147      147              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@kimdre kimdre enabled auto-merge July 6, 2025 23:03
@kimdre kimdre merged commit cde9d11 into main Jul 6, 2025
7 of 8 checks passed
@kimdre kimdre deleted the feat/prometheus branch July 6, 2025 23:03
@kimdre kimdre changed the title feat: add Prometheus metrics for deployments and webhooks feat: add Prometheus metrics Jul 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0