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

linkedin / kafka-tools / 223
99%

Build:
DEFAULT BRANCH: master
Ran 25 Aug 2017 12:01AM UTC
Jobs 3
Files 104
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

pending completion
223

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

2313 of 2355 relevant lines covered (98.22%)

2.94 hits per line

Jobs
ID Job ID Ran Files Coverage
1 223.1 (TOXENV=py27) 25 Aug 2017 12:01AM UTC 0
98.05
Travis Job 223.1
2 223.2 (TOXENV=py34) 25 Aug 2017 12:03AM UTC 0
97.96
Travis Job 223.2
3 223.3 (TOXENV=py35) 25 Aug 2017 12:03AM UTC 0
97.96
Travis Job 223.3
Source Files on build 223
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #223
  • 8f0c16a7 on github
  • Prev Build on master (#211)
  • Next Build on master (#230)
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