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

twitter / zktraffic / 105
93%

Build:
DEFAULT BRANCH: master
Ran 24 Jan 2015 10:33PM UTC
Jobs 1
Files 42
Run time 18s
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
105

Pull #16

travis-ci

rgs1
Add support for excluding/including IPs in zk-dump

Sometimes you only care about sniffing traffic to a given cluster. This
commit adds an option for that:

$ sudo zk-dump --iface lo --include-host some-cluster.domain.tld

When using the --include-host flag, only requests to and from the A and AAAA
records backing some-cluster.domain.tld will be captured.

Similarly, you could be interested in capturing all ZK traffic on a box
_except_ for what's going to a given cluster:

$ sudo zk-dump --iface lo --exclude-host some-cluster.domain.tld

Both flags can be used multiple times to include or exclude more than one
host. Though you can't mix include and exclude flags.

Signed-off-by: Raul Gutierrez S <rgs@twitter.com>
Pull Request #16: Add support for excluding/including IPs in zk-dump

34 of 34 new or added lines in 2 files covered. (100.0%)

1135 of 1851 relevant lines covered (61.32%)

0.61 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
100.0
zktraffic/base/sniffer.py
26
100.0
zktraffic/cli/zk.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
zktraffic/cli/zk.py
Jobs
ID Job ID Ran Files Coverage
1 105.1 24 Jan 2015 10:33PM UTC 0
61.32
Travis Job 105.1
Source Files on build 105
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #105
  • Pull Request #16
  • PR Base - master (#104)
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