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

trivago / gollum / 2001
71%

Build:
DEFAULT BRANCH: master
Ran 14 Jul 2019 08:35PM UTC
Jobs 4
Files 78
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

07 Jun 2019 10:43AM UTC coverage: 71.584% (+0.05%) from 71.531%
2001

cron

travis-ci

web-flow
Refactor formatters to use metadata as intermediate (#249)

* convert grokToJSON to grok to metadata
* remove collectd to influx formatter.
Resons:
- This formatter is too specific.
- A collectd consumer and an influxdb producer should handle this instead.
- There is other software doing this kind of work better than gollum (e.g. telegraph).

* remove extractToJSON.
Reason: This kind of functionality will be handled by formatters converting metadata to a specific output format like JSON.

* remove jsonToInflux. Same reason as collectdToInflux.
* convert jsonToArray to ToArray to match the new metadata concept.
* remove serialize formatter as spooling does not need it anymore.
* add a formater that can convert metadata to json
* remove filter.json go as it will be replaced by filter.metadata.
* rename 'ApplyTo' to 'Target'.
- includes renaming format.MetadataCopy to format.Copy.
- includes adding format.Move

As we now put more emphasis on metadata, 'target' becomes a much clearer identifier.
Along with this, the names for Set and Get functions have been simplified.
This should make formatter configurations more readable and easier to understand.

* use a better example for format.double
* add an option to keep the last separator
* finish format.ToJSON
* remove format.TextToJSON.

- Nobody understood the syntax anyways.
- format.Grok can handle most of its usecases.
- A high maintenance burden for a too small usecase.

* rename format.Clear to format.Delete
* remove unittest for texttojson
* rename format.Trim to format.Bounds.
There will be a new format.Trim that uses strings.Trim.

* add format.Trim
* rename format.Bounds to format.TrimToBounds
* introduce Source parameter to all SimpleFormatter.
- Also includes targeting a specific metadata key for parser formatter.

* add a metadata access function for parsers
* switch aggregate from Target to Source
* fix metadata being properly cloned on msg.Clone
* ad... (continued)

541 of 541 new or added lines in 35 files covered. (100.0%)

2703 of 3776 relevant lines covered (71.58%)

2343.76 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2001.1 (ACCEPT_TARGET=pipeline-accept) 14 Jul 2019 08:36PM UTC 0
71.53
Travis Job 2001.1
2 2001.2 (ACCEPT_TARGET=pipeline-accept GOMOD=off) 14 Jul 2019 08:36PM UTC 0
71.58
Travis Job 2001.2
3 2001.3 (ACCEPT_TARGET=pipeline-accept) 14 Jul 2019 08:35PM UTC 0
71.53
Travis Job 2001.3
4 2001.4 (ACCEPT_TARGET=test) 14 Jul 2019 08:35PM UTC 0
71.49
Travis Job 2001.4
Source Files on build 2001
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2001
  • edc8a43b on github
  • Prev Build on master (#2000)
  • Next Build on master (#2002)
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

© 2025 Coveralls, Inc