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

linkedin / kafka-tools / 223 / 3
99%
master: 99%

Build:
DEFAULT BRANCH: master
Ran 25 Aug 2017 12:03AM UTC
Files 104
Run time 8s
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 Aug 2017 11:59PM UTC coverage: 97.962% (-0.02%) from 97.984%
TOXENV=py35

push

travis-ci

toddpalino
Add prometheus sizer module (#66)

Prometheus sizer can be used with any Prometheus exporter running on each brokers that provides a metric with partition size. It was tested with jmx_exporter.
Required properties:
* -p size_metric_name=kafka_log_Size - size_metric_name provides the name of the metric that should be used, it needs to have labels with both topic name and partition number
* -p metrics_port=9090 - HTTP port on which Prometheus exporter listens on the broker
Optional properties:
* -p metrics_path=/path/to/metrics - URI path for the HTTP request send to each broker, defaults to /metrics
* -p topic_label=foo - name of the label containing topic name, defaults to 'topic'
* -p partition_label=bar - name of the label containing partition number, defaults to 'partition'

Example:

--sizer prometheus -p size_metric_name=kafka_log_size -p metrics_port=9091

will work with jmx_exporter exposing metrics:

kafka_log_size{topic=testTopic1, partition=0} 1234.0

2307 of 2355 relevant lines covered (97.96%)

0.98 hits per line

Source Files on job 223.3 (TOXENV=py35)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 223
  • Travis Job 223.3
  • 8f0c16a7 on github
  • Prev Job for TOXENV=py35 on master (#211.3)
  • Next Job for TOXENV=py35 on master (#230.3)
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