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

oliver006 / redis_exporter / 45329322811
87%

Build:
DEFAULT BRANCH: master
Ran 24 Nov 2026 04:56AM UTC
Jobs 1
Files 27
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

24 Nov 2026 04:51AM UTC coverage: 86.884% (+0.2%) from 86.702%
45329322811

push

github

web-flow
fix: don't put the Redis address in the scrape error when it can't be parsed (#1223)

If --redis.addr (or REDIS_ADDR) is not a valid URL, redis.DialURL returns
the *url.Error from url.Parse. Its text contains the whole address, password
included, and Collect() copies it into the err label of
redis_exporter_last_scrape_error, so the password was served on /metrics.
The log line for the same failure was already redacted.

connectToRedis() now replaces that error with "invalid redis address:
<kind>", where kind is one of invalid URL escape, invalid port, invalid
character in host name or malformed URL. The reasons url.Parse gives can
quote part of the input as well (invalid port ":abc" after host quotes the
text after the last colon of the authority, which is the start of the
password when it contains an unescaped "/"), so only the kind is kept. The
full error is still logged at debug level.

Fixes #1222

13 of 13 new or added lines in 1 file covered. (100.0%)

3140 of 3614 relevant lines covered (86.88%)

12727.16 hits per line

Jobs
ID Job ID Ran Files Coverage
1 45329322811.1 24 Nov 2026 04:56AM UTC 27
86.88
GitHub Action Run
Source Files on build 45329322811
  • Tree
  • List 27
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #45329322811
  • be1ea15b on github
  • Prev Build on master (#44852335088)
  • Next Build on master (#46162745522)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc