• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Alan-Jowett / CoPilot-For-Consensus / 20150697587
82%

Build:
DEFAULT BRANCH: main
Ran 11 Dec 2025 11:24PM UTC
Jobs 1
Files 5
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

11 Dec 2025 11:24PM UTC coverage: 56.831% (+3.2%) from 53.605%
20150697587

push

github

web-flow
Switch ingestion metrics to Pushgateway (#96)

* Switch ingestion metrics to pushgateway

* Apply suggestions from code review

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Add tests for PrometheusPushGatewayMetricsCollector and fix skip condition

* PR feedback

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>

* Update ingestion/test_integration.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Fix metrics tests and add can_push attribute

- Add can_push = True class attribute to PrometheusPushGatewayMetricsCollector for proper feature detection in callers
- Fix skipif condition and enhance docstring for test_requires_prometheus_client (skipped when prometheus_client is installed, runs only when missing)
- Use management_ok result in test_integration.py prerequisite checks to avoid unused variable warning

---------

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
Co-authored-by: Alan Jowett <alan.jowett@microsoft.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

20 of 37 new or added lines in 3 files covered. (54.05%)

104 of 183 relevant lines covered (56.83%)

0.57 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
77.78
adapters/copilot_metrics/copilot_metrics/__init__.py
2
81.48
adapters/copilot_metrics/copilot_metrics/metrics.py
13
51.85
adapters/copilot_metrics/copilot_metrics/pushgateway_metrics.py
Jobs
ID Job ID Ran Files Coverage
1 python-3.11 - 20150697587.1 11 Dec 2025 11:24PM UTC 5
56.83
GitHub Action Run
Source Files on build 20150697587
  • Tree
  • List 5
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20150697587
  • c921a3bb on github
  • Prev Build on main (#20150647833)
  • Next Build on main (#20150984097)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc