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

faustodavid / loki / 6022139788
80%

Build:
DEFAULT BRANCH: main
Ran 30 Aug 2023 08:03AM UTC
Jobs 1
Files 90
Run time 4s
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

30 Aug 2023 06:39AM UTC coverage: 80.273%. First build
6022139788

push

github

web-flow
bugfix/promtail.sh: Updated script to work better by default in k8s environment (#10390)

**What this PR does / why we need it**:

This PR fixes a bug in
[promtail.sh](https://github.com/grafana/loki/blob/94a5f94cf/tools/promtail.sh).

promtail.sh is a script to deploy promtail in kubernetes clusters as a
daemonset. The defaults should make sense in that environment.

Currently, The default log parser in pipeline stages is, `- docker: `.
Kubernetes uses CRI format so it makes more sense to default to CRI
parser and this PR does exactly that.


This PR does not affect any existing users of loki and it'll improve it
for people who decide to use this script with the default arguments in
the future because kubernetes uses cri format and grafana can't parse
JSON logs properly if they were fed to loki with docker parser instead
of the more appropriate cri parser.

6234 of 7766 relevant lines covered (80.27%)

0.86 hits per line

Jobs
ID Job ID Ran Files Coverage
1 6022139788.1 30 Aug 2023 08:03AM UTC 90
80.27
GitHub Action Run
Source Files on build 6022139788
  • Tree
  • List 90
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 749894b1 on github
  • Next Build on main (#6637281340)
  • Delete
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