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

gojek / darkroom / 304
91%

Build:
DEFAULT BRANCH: master
Ran 24 Sep 2020 11:17AM UTC
Jobs 1
Files 34
Run time 5s
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

24 Sep 2020 11:17AM UTC coverage: 90.783% (-1.3%) from 92.11%
304

push

travis-ci-com

GitHub
Prometheus support (#56)

* integrated prometheus service, exposed metrics, changed storage to local for testing and added gcc support  for Docker

* created MetricService, implements prometheus metrics to track durations in manipulator and errors in ImageHandler

* changed to custom prometheus registry to avoid duplicate metrics registration

* created mock_metric_service for usage in tests

* added integration test for prometheus metrics

* removed volumes, used for testing for darkroom service

* Initialized prometheus registry in runtime context and passed it to routes, so removed 'AddMetricsEndPoint()'

* removed runtime initialization of prometheus registry to avoid panic due to duplicate registration, moved it to dependencies

* updated prometheus golang client to v1.7.1

* added assertions on 'Count' methods of MetricService

* grouped all metrics into two, image_prcoess_duration and image_handler_errors with additional labels

* added grafana provisioning for metrics

* initialized runtime prometheus registry in root, changed ports in docker-compose

* implemented statsD from MetricService, changed grafana datasource

* changed runtime prometheus Pedantic registry to custom

* added a switch for MetricService based on env variables

* update README, changed query for grafana dashboard

* added NoOpMetricService as default when metric system is not specified

Co-authored-by: Chaitanya Reddy <chaitanya@chaitanya.reddy>

1182 of 1302 relevant lines covered (90.78%)

5007.72 hits per line

Jobs
ID Job ID Ran Files Coverage
1 304.1 (GO111MODULE=on) 24 Sep 2020 11:17AM UTC 0
90.78
Travis Job 304.1
Source Files on build 304
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #304
  • 6ea2f5b7 on github
  • Prev Build on master (#290)
  • Next Build on master (#305)
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