Skip to content

Releases: google/mtail

v3.0.7

17 Jul 14:34
v3.0.7
abe92eb
Compare
Choose a tag to compare

Changelog

  • b35d739 fix: Handle \r\n windows line endings.
  • ee521cd chore: Clean up lint errors
  • 97cf805 refactor: Move the staleTimer into the LineReader.
  • de8cc1e refactor: Migrate the FileStream to use the new LineReader.
  • c843c0b refactor: Migrate the DgramStream to use the new LineReader
  • d44be39 refactor: Migrate the SocketStream to use the new LineReader
  • e856661 refactor: Port the FifoStream to use the new LineReader.
  • 76b8221 test: Rename tests to match an earlier rename.
  • 02bae24 feat: Add new LineReader struct to extract common code.
  • a6a3ae4 build(deps): bump slsa-framework/slsa-verifier from 2.5.1 to 2.6.0

v3.0.5

05 Jul 07:36
v3.0.5
5196546
Compare
Choose a tag to compare

This release is made in honour of @junyer who sadly passed away this week. He was an influence in the early design and optimisations of the Google internal mtail version 2 series, and a generous and dear friend who I will miss very much. I hope he appreciates the irony that none of the changes in this release are related to regular automata, but do contain a fix for a silly performance issue.

Changelog

  • afd77e4 fix: Return to read immediately after a successful read.
  • f39cf7b refactor: Close the socketstream lines channel only once.
  • cf3931d refactor: Merge the oneshot and regular socket connection handlers.
  • bfe5fec refactor: Remove an unnecessary select.
  • d3c493e refactor: Remove obsolete IsComplete functions and state.
  • 4a3aed5 test: Fix up stream shutdown test code.
  • 9552a9b refactor: Remove the gcWaker from the Tailer.
  • f2d8c1c refactor: Remove IsComplete from the LogStream interface.
  • 7aebf03 feat: Remove LogStreams when the lines channels are closed.
  • 1830e87 refactor: Remove LastReadTime from the LogStream interface.
  • d4b0a50 refactor: Remove Stop from the LogStream interface.
  • 84c53b5 refactor: LogStreams manage their own staleness expiration.

v3.0.3

12 Jun 14:26
v3.0.3
d615d9a
Compare
Choose a tag to compare

Changelog

  • d85efba fix: Give a full path in Dockerfile ENTRYPOINT

v3.0.2

12 Jun 12:48
v3.0.2
bb5920e
Compare
Choose a tag to compare

Changelog

  • 3d4fdba chore: Fix a lint warning
  • c967ed5 chore: Pass contexts instead of storing them in the logstreams.
  • f35753e fix: Use context cancellation to shut down a filestream.
  • 35ce3f5 fix: Use context cancellation to shut down socketstream.
  • 3e8abbf fix: Use context cancellation to stop a dgramstream.
  • 38ab690 chore: Make log messages more readable in the logstreams.
  • 6ab8d9c fix: Handle oneShot mode in the dgramStream.
  • aa61830 fix: Exit a logstream at EOF when OneShotEnabled.
  • 3e813d5 chore: homogenise error messages
  • cf9ad9d chore: Lint fixes
  • 4abdaff test: Filestream tests should not be in one-shot mode.
  • 5de26a6 build(deps): bump golang.org/x/sys from 0.20.0 to 0.21.0
  • 95f1012 build(deps): bump goreleaser/goreleaser-action from 5 to 6
  • 8ff1629 build(deps): bump github.com/prometheus/common from 0.53.0 to 0.54.0

v3.0.1

29 May 20:57
v3.0.1
1bb3dd5
Compare
Choose a tag to compare

Changelog

  • e0ac80a build(deps): bump docker/login-action from 3.1.0 to 3.2.0
  • b03ed37 Increase all read buffer sizes to 128KiB.
  • 7b64160 refactor: Use IsStdinPattern in pipestream open for consistency.
  • e7d279d fix: Set a read buffer size on pipes to 128KiB.
  • e99f7e5 test: Fix a race condition waiting for the pattern waker attached to the directory.
  • 5e470ac chore: Fix linter warning.
  • 95a23a6 Remove context from struct.
  • 820798f chore: Lint fixes.
  • eb29578 Downgrade some log messages.
  • 6e3f971 Move the stream cleanup onto the GC poller.
  • 455da56 Cancel the mtail context at shutdown, to shut down child goroutines.
  • e06012d Use a cancelfunc instead of another channel to shut down the Tailer.
  • c172b6c Move the stale log gc off the subroutine waitgroup.
  • ff635f9 Extract pattern polling into a goroutine per pattern.
  • dd11ff8 test: Extract AwakenLogStreams from PollWatched and rename the latter.
  • ff649a5 test: Remove ExpireStaleLogStreams from test poll action.
  • 83bd57d refactor: Extract a separate routine for polling for completed logstreams.
  • 3fdefe4 test: Remove LoadAllPrograms from TestServer.PollWatched.
  • 4536f9d test: Improve debug log messages for the TestWaker.
  • 2ec6596 refactor: Rename fields in preparation for other wakers in test.
  • ae2de42 test: Rename log rotation integration tests for clarity
  • 7c233c4 refactor: Immediately tail sockets when discovered.
  • 01db877 chore: Make some log messages more useful for debugging.
  • 76abfd9 chore: Appease linter, name struct fields.
  • 926ef7b refactor: Store the log pattern poll waker in the Tailer struct.
  • 45d2de8 refactor: Extract doPatternGlob from PollLogPatterns.
  • 9188e91 fix: Don't add stdin to the glob patterns.
  • aa0b787 refactor: Extract a stdin-pattern predicate.
  • d33e6ba build(deps): bump benchmark-action/github-action-benchmark
  • e69e7f5 build(deps): bump github.com/prometheus/client_golang
  • 10766e5 build(deps): bump golangci/golangci-lint-action from 5 to 6
  • fc63af5 build(deps): bump actions/setup-go from 4 to 5
  • 3c6aacb build(deps): bump golang.org/x/sys from 0.19.0 to 0.20.0
  • 64c82f4 chore: Satisfy linter.
  • 6085c04 Explicitly stop the Exporter when main routines are done.
  • cdc20a9 test: Add v1 flag.
  • 86b5122 test: Kill the test program with SIGABRT to dump goroutine stacks.
  • 8005751 test: Log test output to stderr in the mtail exec test.
  • 3322507 refactor: Rename benchmark function for readability.

v3.0.0-rc63

26 Apr 05:38
v3.0.0-rc63
7a28fc3
Compare
Choose a tag to compare

Changelog

  • 6af838d build(deps): bump golangci/golangci-lint-action from 4 to 5

v3.0.0

26 Apr 08:35
v3.0.0
eb7043e
Compare
Choose a tag to compare

Changelog

  • 9a38264 doc: Fix a confusing regular expression in an example.

v3.0.0-rc56

23 Apr 15:11
v3.0.0-rc56
fc4094a
Compare
Choose a tag to compare

Changelog

  • c395207 ci: Verify SLSA3 provenance after release.

v3.0.0-rc55

23 Apr 12:14
d4761fe
Compare
Choose a tag to compare

Changelog

  • 11752bb ci: Update deprecated flag
  • 21b1bd3 ci: Add SLSA3 provenance support.
  • 1a2dd04 Fix path parsing for globbed paths.
  • 6a7aac4 ci: Update version of publish-unit-test-action.
  • 6b2417b doc: Add comment explaining requirement for caller.
  • 2a89d86 chore: Ignore invalid gosec finding.
  • 2830c95 refactor: Create a specific type for oneshot parameter.
  • 057a622 refactor: Extract a method of handling pipe opening.
  • c21673e refactor: Create testutil.OverrideStdin test helper method.
  • 5df1309 doc: Document support for stdin.
  • d03bf0d Support reading - as a stdin pipe in Tailer.
  • 814bc17 Support the filename - when it's a pipe input in logstream.
  • fa4b289 Support reading a pipe named - as standard input.
  • 1ebce3a chore: Make log message more informative.
  • d0e422b refactor: Return a single test object from makeTestTail.
  • a01b512 chore: go fix fixed build tags
  • aecb00b chore: Fix lint error about unkeyed fields.
  • ac799d9 build(deps): bump github.com/prometheus/common from 0.52.3 to 0.53.0
  • eebe174 build(deps): bump github.com/prometheus/common from 0.52.2 to 0.52.3
  • d0b85e2 build(deps): bump golang.org/x/sys from 0.18.0 to 0.19.0
  • 3884da2 build(deps): bump github.com/golang/glog from 1.2.0 to 1.2.1
  • 31c8b3e build(deps): bump github.com/prometheus/common from 0.51.1 to 0.52.2
  • dd73858 build(deps): bump lewagon/wait-on-check-action from 1.3.3 to 1.3.4
  • 6cdda96 chore: Bump golangci-lint v1.57
  • d9dc57d chore: Remove excessive TAB
  • 8b2a182 build(deps): bump github.com/prometheus/common from 0.51.0 to 0.51.1
  • 841220d build(deps): bump github.com/prometheus/common from 0.50.0 to 0.51.0
  • 1b79571 build(deps): bump docker/build-push-action from 5.2.0 to 5.3.0
  • 11235f6 build(deps): bump docker/login-action from 3.0.0 to 3.1.0
  • 04cd2b7 build(deps): bump github.com/prometheus/common from 0.49.0 to 0.50.0
  • 82fc1f9 build(deps): bump google.golang.org/protobuf from 1.32.0 to 1.33.0
  • 96fddde chore: Change the callsite of the version collector.
  • 9278c96 build(deps): bump docker/build-push-action from 5.1.0 to 5.2.0
  • dd0f4da Add systemd service unit file
  • 7833032 build(deps): bump golang.org/x/sys from 0.17.0 to 0.18.0
  • d9a9c67 build(deps): bump github.com/prometheus/common from 0.48.0 to 0.49.0
  • ad126f4 Remove benchmark workflow.
  • 68114f1 build: Bump go version to 1.21.
  • f4266d7 Bump prometheus library versions.
  • f5b1a59 build(deps): bump github.com/prometheus/common from 0.46.0 to 0.47.0
  • b191500 build(deps): bump golangci/golangci-lint-action from 3 to 4
  • 1394b46 build(deps): bump golang.org/x/sys from 0.16.0 to 0.17.0
  • e3197e9 build(deps): bump docker/metadata-action from 5.4.0 to 5.5.1

v3.0.0-rc54

07 Feb 10:19
v3.0.0-rc54
9e6ba92
Compare
Choose a tag to compare

Changelog

  • 2a4c624 Add docker to release workflow
  • fb562a5 build(deps): bump hmarr/auto-approve-action from 3.2.1 to 4.0.0
  • 9acb5da Simplify historgam bucket initialization
  • 22c9de6 Fix histogram for values below first bucket
  • a1b57f2 build(deps): bump codecov/codecov-action from 3 to 4
  • be22af0 build(deps): bump actions/cache from 3 to 4
  • 5e669fa build(deps): bump github.com/prometheus/common from 0.45.0 to 0.46.0
  • 5571ca0 Make sure pathname errors return an error.
  • 92c03d0 Don't fatal if we can't find mtail.
  • ecc0d88 Test the New functions fail correctly.
  • e168178 Fix path discovery to work on Windows.
  • 27f50b1 refactor: Change all Needs Waitgroup errors into static errors.
  • 490acbc Add basic exec test for one_shot mode.
  • 110919b Make all News return error if no WaitGroup is supplied.
  • 5a6a321 Do not pass a nil WaitGroup to the exporter in one_shot mode.
  • 656c25b doc: Fix grammatical error.
  • 4164317 doc: Update URL for container documentation.
  • fc0487b doc: Remove cirrus-ci build badge.