41 Commits

Author SHA1 Message Date
renovate-sh-app[bot]
5393bf930d fix(deps): update module github.com/ibm/sarama to v1.47.0 (main) (#21029)
Signed-off-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com>
Co-authored-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com>
2026-03-02 13:39:35 -03:00
renovate-sh-app[bot]
fe47956fb4 fix(deps): update module github.com/klauspost/compress to v1.18.4 (main) (#20743)
Signed-off-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com>
Co-authored-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com>
2026-02-09 09:21:09 -05:00
Ivan Kalita
e4ec8441d3 feat(metastore): use arrow for scanning and blooms (#20234)
Changing metastore implementation to work with arrow.RecordBatch without intermediate materialization to structs.
metastore.Sections now uses new metastore.GetIndexes, metastore.IndexSectionsReader and metastore.CollectSections.

We'd like to run metastore queries in a distributed manner using engine v2. In order to achieve that we need to split the work that metastore.Sections does internally, schedule it on different workers, and collect the results. The engine achieves that via pipelines that produce arrow.RecordBatch-es. In this PR the metastore.Sections is updated such a way to make it easier to integrate metastore with the engine.
2025-12-18 13:30:15 +01:00
renovate-sh-app[bot]
f4f2b2a718 fix(deps): update module github.com/klauspost/compress to v1.18.2 (main) (#20108)
Signed-off-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com>
Co-authored-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com>
2025-12-04 09:54:13 -05:00
renovate-sh-app[bot]
d76b3bf495 fix(deps): update module github.com/apache/arrow-go/v18 to v18.4.1 (main) (#19750)
Signed-off-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com>
Co-authored-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com>
Co-authored-by: Paul Rogers <paul.rogers@grafana.com>
2025-11-09 11:53:00 -05:00
renovate-sh-app[bot]
c5e7293097 fix(deps): update module github.com/klauspost/compress to v1.18.1 (main) (#19761)
Signed-off-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com>
Co-authored-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com>
2025-11-08 11:27:07 -05:00
renovate-sh-app[bot]
ee2b42413b fix(deps): update module github.com/minio/minio-go/v7 to v7.0.97 (main) (#19762)
Signed-off-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com>
Co-authored-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com>
2025-11-08 11:25:56 -05:00
renovate[bot]
70c176cd99 fix(deps): update module github.com/minio/minio-go/v7 to v7.0.95 (main) (#18514)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-21 09:21:18 +00:00
renovate[bot]
bdb42842be fix(deps): update module github.com/minio/minio-go/v7 to v7.0.89 (main) (#16932)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-27 09:29:26 +00:00
renovate[bot]
6c0f67dc17 fix(deps): update module github.com/klauspost/compress to v1.18.0 (main) (#16458)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-25 21:36:23 -08:00
renovate[bot]
79f24d0414 fix(deps): update module github.com/fsouza/fake-gcs-server to v1.52.1 (#15589)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Paul Rogers <paul.rogers@grafana.com>
Co-authored-by: Paul Rogers <129207811+paul1r@users.noreply.github.com>
2025-01-15 09:44:09 -05:00
Karsten Jeschkies
d0c11a689e feat(api): Support Parquet as a query response format. (#15408)
**What this PR does / why we need it**:
This changes adds support for the header `Accept: application/vnd.apacher.parquet`. If this header is set the response for metric and stream queries will response with a Parquet file.

A metrics response has the columns `timestamp`, `labels` and `value`. A stream response has the columns `timestamp`, `labels` and `line`.

Co-authored-by: Christian Haudum <christian.haudum@gmail.com>
2024-12-18 16:29:09 +01:00
renovate[bot]
275c97cec7 fix(deps): update module github.com/fsouza/fake-gcs-server to v1.50.2 (#14313)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Paul Rogers <paul.rogers@grafana.com>
2024-10-22 15:48:43 -04:00
renovate[bot]
e23c5ed9fa fix(deps): update module github.com/klauspost/compress to v1.17.10 (#14352)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-02 11:34:20 -04:00
renovate[bot]
fdea7a1763 fix(deps): update module github.com/klauspost/pgzip to v1.2.6 (#13874)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-14 08:44:49 -04:00
Vladyslav Diachenko
bb257f54b3 feat(loki): add ability to disable AWS S3 dualstack endpoints usage (#13785)
Signed-off-by: Vladyslav Diachenko <vlad.diachenko@grafana.com>
2024-08-07 17:39:04 +03:00
Marco Pracucci
b88583da7d feat: upgrade prometheus (#13671)
Signed-off-by: Marco Pracucci <marco@pracucci.com>
Signed-off-by: Vladyslav Diachenko <vlad.diachenko@grafana.com>
Co-authored-by: Vladyslav Diachenko <vlad.diachenko@grafana.com>
2024-08-06 17:04:28 +03:00
Paulin Todev
d54e0871d4 chore(deps): Update Prometheus in Loki and Promtail (#12245)
This PR updates the Prometheus dependency in Loki and Promtail. The PR is required so that we can also update Grafana Agent to the latest Prometheus. Unfortunately, Promtail and Loki share the same go.mod file.
2024-03-21 11:47:19 +01:00
Paul Rogers
6c4699d8f7 Remove call to set default resolver (#11580)
**What this PR does / why we need it**:

**Which issue(s) this PR fixes**:
Fixes #<issue number>

**Special notes for your reviewer**:

**Checklist**
- [ ] Reviewed the
[`CONTRIBUTING.md`](https://github.com/grafana/loki/blob/main/CONTRIBUTING.md)
guide (**required**)
- [ ] Documentation added
- [ ] Tests updated
- [ ] `CHANGELOG.md` updated
- [ ] If the change is worth mentioning in the release notes, add
`add-to-release-notes` label
- [ ] Changes that require user attention or interaction to upgrade are
documented in `docs/sources/setup/upgrade/_index.md`
- [ ] For Helm chart changes bump the Helm chart version in
`production/helm/loki/Chart.yaml` and update
`production/helm/loki/CHANGELOG.md` and
`production/helm/loki/README.md`. [Example
PR](d10549e3ec)
- [ ] If the change is deprecating or removing a configuration option,
update the `deprecated-config.yaml` and `deleted-config.yaml` files
respectively in the `tools/deprecated-config-checker` directory.
[Example
PR](0d4416a4b0)
2024-01-04 20:05:29 -05:00
dependabot[bot]
5db96f2d78 Bump github.com/minio/minio-go/v7 from 7.0.52 to 7.0.61 (#10012)
Bumps [github.com/minio/minio-go/v7](https://github.com/minio/minio-go)
from 7.0.52 to 7.0.61.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/minio/minio-go/releases">github.com/minio/minio-go/v7's
releases</a>.</em></p>
<blockquote>
<h2>Bugfix Release</h2>
<h2>What's Changed</h2>
<ul>
<li>update go1.20.6 to vulncheck by <a
href="https://github.com/harshavardhana"><code>@​harshavardhana</code></a>
in <a
href="https://redirect.github.com/minio/minio-go/pull/1853">minio/minio-go#1853</a></li>
<li>run gofumpt -extra -w on all files by <a
href="https://github.com/harshavardhana"><code>@​harshavardhana</code></a>
in <a
href="https://redirect.github.com/minio/minio-go/pull/1854">minio/minio-go#1854</a></li>
<li>allow users to provide their custom httptrace.ClientTrace by <a
href="https://github.com/harshavardhana"><code>@​harshavardhana</code></a>
in <a
href="https://redirect.github.com/minio/minio-go/pull/1857">minio/minio-go#1857</a></li>
<li>upgrade all deps by <a
href="https://github.com/harshavardhana"><code>@​harshavardhana</code></a>
in <a
href="https://redirect.github.com/minio/minio-go/pull/1858">minio/minio-go#1858</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/minio/minio-go/compare/v7.0.60...v7.0.61">https://github.com/minio/minio-go/compare/v7.0.60...v7.0.61</a></p>
<h2>Bugfix release</h2>
<h2>What's Changed</h2>
<ul>
<li>add all the internal data type by <a
href="https://github.com/harshavardhana"><code>@​harshavardhana</code></a>
in <a
href="https://redirect.github.com/minio/minio-go/pull/1849">minio/minio-go#1849</a></li>
<li>return context error if the context was canceled mid-way by <a
href="https://github.com/harshavardhana"><code>@​harshavardhana</code></a>
in <a
href="https://redirect.github.com/minio/minio-go/pull/1852">minio/minio-go#1852</a></li>
<li>support new ExpiredObjectAllVersions feature by <a
href="https://github.com/harshavardhana"><code>@​harshavardhana</code></a>
in <a
href="https://redirect.github.com/minio/minio-go/pull/1851">minio/minio-go#1851</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/minio/minio-go/compare/v7.0.59...v7.0.60">https://github.com/minio/minio-go/compare/v7.0.59...v7.0.60</a></p>
<h2>Feature Release</h2>
<h2>What's Changed</h2>
<ul>
<li>replication: change metrics API by <a
href="https://github.com/poornas"><code>@​poornas</code></a> in <a
href="https://redirect.github.com/minio/minio-go/pull/1833">minio/minio-go#1833</a></li>
<li>replication: add validation API by <a
href="https://github.com/poornas"><code>@​poornas</code></a> in <a
href="https://redirect.github.com/minio/minio-go/pull/1844">minio/minio-go#1844</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/minio/minio-go/compare/v7.0.58...v7.0.59">https://github.com/minio/minio-go/compare/v7.0.58...v7.0.59</a></p>
<h2>Bugfix release</h2>
<h2>What's Changed</h2>
<ul>
<li>HealthCheck: Set initial state by <a
href="https://github.com/klauspost"><code>@​klauspost</code></a> in <a
href="https://redirect.github.com/minio/minio-go/pull/1841">minio/minio-go#1841</a></li>
<li>Added missing Buckets Events by <a
href="https://github.com/bexsoft"><code>@​bexsoft</code></a> in <a
href="https://redirect.github.com/minio/minio-go/pull/1843">minio/minio-go#1843</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/bexsoft"><code>@​bexsoft</code></a> made
their first contribution in <a
href="https://redirect.github.com/minio/minio-go/pull/1843">minio/minio-go#1843</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/minio/minio-go/compare/v7.0.57...v7.0.58">https://github.com/minio/minio-go/compare/v7.0.57...v7.0.58</a></p>
<h2>Bugfix release</h2>
<h2>What's Changed</h2>
<ul>
<li>fix: Send correct host header when an endpoint is IPv4 by <a
href="https://github.com/vadmeste"><code>@​vadmeste</code></a> in <a
href="https://redirect.github.com/minio/minio-go/pull/1835">minio/minio-go#1835</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/minio/minio-go/compare/v7.0.55...v7.0.56">https://github.com/minio/minio-go/compare/v7.0.55...v7.0.56</a></p>
<h2>Bugfix release</h2>
<h2>What's Changed</h2>
<ul>
<li>GetBucketLifecycleWithInfo tracks changes to ILM by <a
href="https://github.com/krisis"><code>@​krisis</code></a> in <a
href="https://redirect.github.com/minio/minio-go/pull/1831">minio/minio-go#1831</a></li>
<li>Add simpler checksum types by <a
href="https://github.com/klauspost"><code>@​klauspost</code></a> in <a
href="https://redirect.github.com/minio/minio-go/pull/1832">minio/minio-go#1832</a></li>
<li>Add PutObject CRC &amp; trailing checksum tests by <a
href="https://github.com/klauspost"><code>@​klauspost</code></a> in <a
href="https://redirect.github.com/minio/minio-go/pull/1817">minio/minio-go#1817</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="9f66976cc9"><code>9f66976</code></a>
upgrade all deps (<a
href="https://redirect.github.com/minio/minio-go/issues/1858">#1858</a>)</li>
<li><a
href="afb31a8a7f"><code>afb31a8</code></a>
allow users to provide their custom httptrace.ClientTrace (<a
href="https://redirect.github.com/minio/minio-go/issues/1857">#1857</a>)</li>
<li><a
href="b75cfd43c1"><code>b75cfd4</code></a>
remove outdated chinese translation docs</li>
<li><a
href="589ff8dc7d"><code>589ff8d</code></a>
run gofumpt -extra -w on all files (<a
href="https://redirect.github.com/minio/minio-go/issues/1854">#1854</a>)</li>
<li><a
href="b7aec2f654"><code>b7aec2f</code></a>
update go1.20.6 to vulncheck (<a
href="https://redirect.github.com/minio/minio-go/issues/1853">#1853</a>)</li>
<li><a
href="c8ab312aac"><code>c8ab312</code></a>
Update version to next release</li>
<li><a
href="aadf946238"><code>aadf946</code></a>
return count for number of tags and add a testcase</li>
<li><a
href="e9dd1e0076"><code>e9dd1e0</code></a>
support new ExpiredObjectAllVersions feature (<a
href="https://redirect.github.com/minio/minio-go/issues/1851">#1851</a>)</li>
<li><a
href="47e4bd92b8"><code>47e4bd9</code></a>
return context error if the context was canceled mid-way (<a
href="https://redirect.github.com/minio/minio-go/issues/1852">#1852</a>)</li>
<li><a
href="b27c007dd3"><code>b27c007</code></a>
add all the internal data type (<a
href="https://redirect.github.com/minio/minio-go/issues/1849">#1849</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/minio/minio-go/compare/v7.0.52...v7.0.61">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/minio/minio-go/v7&package-manager=go_modules&previous-version=7.0.52&new-version=7.0.61)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-24 10:14:12 +01:00
dependabot[bot]
bea5481a54 Bump github.com/klauspost/compress from 1.16.0 to 1.16.5 (#9281)
Bumps
[github.com/klauspost/compress](https://github.com/klauspost/compress)
from 1.16.0 to 1.16.5.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/klauspost/compress/releases">github.com/klauspost/compress's
releases</a>.</em></p>
<blockquote>
<h2>v1.16.5</h2>
<h2>What's Changed</h2>
<ul>
<li>zstd: readByte needs to use io.ReadFull by <a
href="https://github.com/jnoxon"><code>@​jnoxon</code></a> in <a
href="https://redirect.github.com/klauspost/compress/pull/802">klauspost/compress#802</a></li>
<li>gzip: Fix WriterTo after initial read by <a
href="https://github.com/klauspost"><code>@​klauspost</code></a> in <a
href="https://redirect.github.com/klauspost/compress/pull/804">klauspost/compress#804</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/jnoxon"><code>@​jnoxon</code></a> made
their first contribution in <a
href="https://redirect.github.com/klauspost/compress/pull/802">klauspost/compress#802</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/klauspost/compress/compare/v1.16.4...v1.16.5">https://github.com/klauspost/compress/compare/v1.16.4...v1.16.5</a></p>
<h2>v1.16.4</h2>
<h2>What's Changed</h2>
<ul>
<li>s2: Fix huge block overflow by <a
href="https://github.com/klauspost"><code>@​klauspost</code></a> in <a
href="https://redirect.github.com/klauspost/compress/pull/779">klauspost/compress#779</a></li>
<li>s2: Allow CustomEncoder fallback by <a
href="https://github.com/klauspost"><code>@​klauspost</code></a> in <a
href="https://redirect.github.com/klauspost/compress/pull/780">klauspost/compress#780</a></li>
<li>zstd: Fix amd64 not always detecting corrupt data by <a
href="https://github.com/klauspost"><code>@​klauspost</code></a> in <a
href="https://redirect.github.com/klauspost/compress/pull/785">klauspost/compress#785</a></li>
<li>zstd: Improve zstd best efficiency by <a
href="https://github.com/klauspost"><code>@​klauspost</code></a> and <a
href="https://github.com/greatroar"><code>@​greatroar</code></a> in <a
href="https://redirect.github.com/klauspost/compress/pull/784">klauspost/compress#784</a></li>
<li>zstd: Make load(32|64)32 safer and smaller by <a
href="https://github.com/greatroar"><code>@​greatroar</code></a> in <a
href="https://redirect.github.com/klauspost/compress/pull/788">klauspost/compress#788</a></li>
<li>zstd: Fix quick reject on long backmatches by <a
href="https://github.com/klauspost"><code>@​klauspost</code></a> in <a
href="https://redirect.github.com/klauspost/compress/pull/787">klauspost/compress#787</a></li>
<li>zstd: Revert table size change by <a
href="https://github.com/klauspost"><code>@​klauspost</code></a> in <a
href="https://redirect.github.com/klauspost/compress/pull/789">klauspost/compress#789</a></li>
<li>zstd: Respect WithAllLitEntropyCompression by <a
href="https://github.com/klauspost"><code>@​klauspost</code></a> in <a
href="https://redirect.github.com/klauspost/compress/pull/792">klauspost/compress#792</a></li>
<li>zstd: Fix back-referenced offset by <a
href="https://github.com/klauspost"><code>@​klauspost</code></a> in <a
href="https://redirect.github.com/klauspost/compress/pull/793">klauspost/compress#793</a></li>
<li>zstd: Load source value at start of loop by <a
href="https://github.com/greatroar"><code>@​greatroar</code></a> in <a
href="https://redirect.github.com/klauspost/compress/pull/794">klauspost/compress#794</a></li>
<li>zstd: Shorten checksum code by <a
href="https://github.com/greatroar"><code>@​greatroar</code></a> in <a
href="https://redirect.github.com/klauspost/compress/pull/795">klauspost/compress#795</a></li>
<li>zstd: Fix fallback on incompressible block by <a
href="https://github.com/klauspost"><code>@​klauspost</code></a> in <a
href="https://redirect.github.com/klauspost/compress/pull/798">klauspost/compress#798</a></li>
<li>gzhttp: Suppport ResponseWriter Unwrap() in gzhttp handler by <a
href="https://github.com/jgimenez"><code>@​jgimenez</code></a> in <a
href="https://redirect.github.com/klauspost/compress/pull/799">klauspost/compress#799</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/jgimenez"><code>@​jgimenez</code></a>
made their first contribution in <a
href="https://redirect.github.com/klauspost/compress/pull/799">klauspost/compress#799</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/klauspost/compress/compare/v1.16.3...v1.16.4">https://github.com/klauspost/compress/compare/v1.16.3...v1.16.4</a></p>
<h2>v1.16.3</h2>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/klauspost/compress/compare/v1.16.2...v1.16.3">https://github.com/klauspost/compress/compare/v1.16.2...v1.16.3</a></p>
<h2>v1.16.2</h2>
<h2>What's Changed</h2>
<ul>
<li>Fix Goreleaser permissions by <a
href="https://github.com/klauspost"><code>@​klauspost</code></a> in <a
href="https://redirect.github.com/klauspost/compress/pull/777">klauspost/compress#777</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/klauspost/compress/compare/v1.16.1...v1.16.2">https://github.com/klauspost/compress/compare/v1.16.1...v1.16.2</a></p>
<h2>v1.16.1</h2>
<h2>What's Changed</h2>
<ul>
<li>zstd: Speed up + improve best encoder by <a
href="https://github.com/greatroar"><code>@​greatroar</code></a> in <a
href="https://redirect.github.com/klauspost/compress/pull/776">klauspost/compress#776</a></li>
<li>s2: Add Intel LZ4s converter by <a
href="https://github.com/klauspost"><code>@​klauspost</code></a> in <a
href="https://redirect.github.com/klauspost/compress/pull/766">klauspost/compress#766</a></li>
<li>gzhttp: Add BREACH mitigation by <a
href="https://github.com/klauspost"><code>@​klauspost</code></a> in <a
href="https://redirect.github.com/klauspost/compress/pull/762">klauspost/compress#762</a></li>
<li>gzhttp: Remove a few unneeded allocs by <a
href="https://github.com/klauspost"><code>@​klauspost</code></a> in <a
href="https://redirect.github.com/klauspost/compress/pull/768">klauspost/compress#768</a></li>
<li>gzhttp: Fix crypto/rand.Read usage by <a
href="https://github.com/greatroar"><code>@​greatroar</code></a> in <a
href="https://redirect.github.com/klauspost/compress/pull/770">klauspost/compress#770</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="ed6feffc3b"><code>ed6feff</code></a>
gzip: Fix WriterTo after initial read (<a
href="https://redirect.github.com/klauspost/compress/issues/804">#804</a>)</li>
<li><a
href="62dad8110a"><code>62dad81</code></a>
readerWrapper: readByte needs to use io.ReadFull (<a
href="https://redirect.github.com/klauspost/compress/issues/802">#802</a>)</li>
<li><a
href="b0f7a9437e"><code>b0f7a94</code></a>
Update README.md</li>
<li><a
href="3c61d32490"><code>3c61d32</code></a>
Allow access to internal ResponseWriter in gzhttp handler (<a
href="https://redirect.github.com/klauspost/compress/issues/799">#799</a>)</li>
<li><a
href="9243a1faf0"><code>9243a1f</code></a>
Update README.md</li>
<li><a
href="47eb6d4224"><code>47eb6d4</code></a>
zstd: Fix fallback on incompressible block (<a
href="https://redirect.github.com/klauspost/compress/issues/798">#798</a>)</li>
<li><a
href="5753c12f5f"><code>5753c12</code></a>
zstd: Shorten checksum code (<a
href="https://redirect.github.com/klauspost/compress/issues/795">#795</a>)</li>
<li><a
href="6c7dd07ffa"><code>6c7dd07</code></a>
zstd: Load source value at start of loop (<a
href="https://redirect.github.com/klauspost/compress/issues/794">#794</a>)</li>
<li><a
href="2a02ad2836"><code>2a02ad2</code></a>
zstd: Fix back-referenced offset (<a
href="https://redirect.github.com/klauspost/compress/issues/793">#793</a>)</li>
<li><a
href="dc198c145e"><code>dc198c1</code></a>
zstd: Respect WithAllLitEntropyCompression (<a
href="https://redirect.github.com/klauspost/compress/issues/792">#792</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/klauspost/compress/compare/v1.16.0...v1.16.5">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/klauspost/compress&package-manager=go_modules&previous-version=1.16.0&new-version=1.16.5)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-25 13:58:29 +01:00
dependabot[bot]
c91bfdf6fd Bump github.com/minio/minio-go/v7 from 7.0.45 to 7.0.52 (#9208)
Bumps [github.com/minio/minio-go/v7](https://github.com/minio/minio-go)
from 7.0.45 to 7.0.52.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/minio/minio-go/releases">github.com/minio/minio-go/v7's
releases</a>.</em></p>
<blockquote>
<h2>Bugfix release</h2>
<h2>What's Changed</h2>
<ul>
<li>Revert &quot;Add missing aws-chunked transfer encoding (<a
href="https://redirect.github.com/minio/minio-go/issues/1803">#1803</a>)&quot;
by <a
href="https://github.com/harshavardhana"><code>@​harshavardhana</code></a>
in <a
href="https://redirect.github.com/minio/minio-go/pull/1804">minio/minio-go#1804</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/minio/minio-go/compare/v7.0.51...v7.0.52">https://github.com/minio/minio-go/compare/v7.0.51...v7.0.52</a></p>
<h2>Bugfix release</h2>
<h2>What's Changed</h2>
<ul>
<li>Fix listobjects with metadata by <a
href="https://github.com/klauspost"><code>@​klauspost</code></a> in <a
href="https://redirect.github.com/minio/minio-go/pull/1795">minio/minio-go#1795</a></li>
<li>Add missing aws-chunked transfer encoding by <a
href="https://github.com/klauspost"><code>@​klauspost</code></a> in <a
href="https://redirect.github.com/minio/minio-go/pull/1803">minio/minio-go#1803</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/minio/minio-go/compare/v7.0.50...v7.0.51">https://github.com/minio/minio-go/compare/v7.0.50...v7.0.51</a></p>
<h2>Bugfix release</h2>
<h2>What's Changed</h2>
<ul>
<li>Update minio.Core API by <a
href="https://github.com/donatello"><code>@​donatello</code></a> in <a
href="https://redirect.github.com/minio/minio-go/pull/1764">minio/minio-go#1764</a></li>
<li>remove sse-s3 header in completeMultipartUpload by <a
href="https://github.com/harshavardhana"><code>@​harshavardhana</code></a>
in <a
href="https://redirect.github.com/minio/minio-go/pull/1777">minio/minio-go#1777</a></li>
<li>upgrade all deps by <a
href="https://github.com/harshavardhana"><code>@​harshavardhana</code></a>
in <a
href="https://redirect.github.com/minio/minio-go/pull/1778">minio/minio-go#1778</a></li>
<li>allow setting region via custom function by <a
href="https://github.com/harshavardhana"><code>@​harshavardhana</code></a>
in <a
href="https://redirect.github.com/minio/minio-go/pull/1786">minio/minio-go#1786</a></li>
<li>allow virtual host style for GetBucketLocation API, if requested by
<a
href="https://github.com/harshavardhana"><code>@​harshavardhana</code></a>
in <a
href="https://redirect.github.com/minio/minio-go/pull/1785">minio/minio-go#1785</a></li>
<li>Add ap-south-2 to endpoints by <a
href="https://github.com/Prajithp"><code>@​Prajithp</code></a> in <a
href="https://redirect.github.com/minio/minio-go/pull/1781">minio/minio-go#1781</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/Prajithp"><code>@​Prajithp</code></a>
made their first contribution in <a
href="https://redirect.github.com/minio/minio-go/pull/1781">minio/minio-go#1781</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/minio/minio-go/compare/v7.0.49...v7.0.50">https://github.com/minio/minio-go/compare/v7.0.49...v7.0.50</a></p>
<h2>Bugfix Release</h2>
<h2>What's Changed</h2>
<ul>
<li>support If-Match/If-None-Match for PUT operations by <a
href="https://github.com/harshavardhana"><code>@​harshavardhana</code></a>
in <a
href="https://redirect.github.com/minio/minio-go/pull/1772">minio/minio-go#1772</a></li>
<li>upgrade minio-go deps by <a
href="https://github.com/harshavardhana"><code>@​harshavardhana</code></a>
in <a
href="https://redirect.github.com/minio/minio-go/pull/1774">minio/minio-go#1774</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/minio/minio-go/compare/v7.0.48...v7.0.49">https://github.com/minio/minio-go/compare/v7.0.48...v7.0.49</a></p>
<h2>Bugfix Release</h2>
<h2>What's Changed</h2>
<ul>
<li>Fix sharing of MD5 hasher by <a
href="https://github.com/klauspost"><code>@​klauspost</code></a> in <a
href="https://redirect.github.com/minio/minio-go/pull/1753">minio/minio-go#1753</a></li>
<li>feat(<a
href="https://redirect.github.com/minio/minio-go/issues/1755">#1755</a>):
GetObject supports overriding response header values by <a
href="https://github.com/reedchan7"><code>@​reedchan7</code></a> in <a
href="https://redirect.github.com/minio/minio-go/pull/1756">minio/minio-go#1756</a></li>
<li>Snowball: If Modtime unset, use current time by <a
href="https://github.com/klauspost"><code>@​klauspost</code></a> in <a
href="https://redirect.github.com/minio/minio-go/pull/1763">minio/minio-go#1763</a></li>
<li>Bump Go versions by <a
href="https://github.com/klauspost"><code>@​klauspost</code></a> in <a
href="https://redirect.github.com/minio/minio-go/pull/1768">minio/minio-go#1768</a></li>
<li>feat: add aws ap-southeast-4 region by <a
href="https://github.com/ianmuge"><code>@​ianmuge</code></a> in <a
href="https://redirect.github.com/minio/minio-go/pull/1767">minio/minio-go#1767</a></li>
<li>STSCertificateIdentity: Init request form by <a
href="https://github.com/klauspost"><code>@​klauspost</code></a> in <a
href="https://redirect.github.com/minio/minio-go/pull/1770">minio/minio-go#1770</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/reedchan7"><code>@​reedchan7</code></a>
made their first contribution in <a
href="https://redirect.github.com/minio/minio-go/pull/1756">minio/minio-go#1756</a></li>
<li><a href="https://github.com/ianmuge"><code>@​ianmuge</code></a> made
their first contribution in <a
href="https://redirect.github.com/minio/minio-go/pull/1767">minio/minio-go#1767</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="11eb82d85f"><code>11eb82d</code></a>
Revert &quot;Add missing aws-chunked transfer encoding (<a
href="https://redirect.github.com/minio/minio-go/issues/1803">#1803</a>)&quot;
(<a
href="https://redirect.github.com/minio/minio-go/issues/1804">#1804</a>)</li>
<li><a
href="7bf8079be6"><code>7bf8079</code></a>
Update version to next release</li>
<li><a
href="8175bf7bda"><code>8175bf7</code></a>
Add missing aws-chunked transfer encoding (<a
href="https://redirect.github.com/minio/minio-go/issues/1803">#1803</a>)</li>
<li><a
href="5b15988473"><code>5b15988</code></a>
Fix listobjects with metadata (<a
href="https://redirect.github.com/minio/minio-go/issues/1795">#1795</a>)</li>
<li><a
href="6fcbe6de97"><code>6fcbe6d</code></a>
Update version to next release</li>
<li><a
href="7c9b5ff1c0"><code>7c9b5ff</code></a>
fix: all the linter issues reported</li>
<li><a
href="5d09d8f78b"><code>5d09d8f</code></a>
Add ap-south-2 to endpoints (<a
href="https://redirect.github.com/minio/minio-go/issues/1781">#1781</a>)</li>
<li><a
href="24cdd7fc94"><code>24cdd7f</code></a>
allow virtual host style for GetBucketLocation API, if requested (<a
href="https://redirect.github.com/minio/minio-go/issues/1785">#1785</a>)</li>
<li><a
href="5384d69d15"><code>5384d69</code></a>
allow setting region via custom function (<a
href="https://redirect.github.com/minio/minio-go/issues/1786">#1786</a>)</li>
<li><a
href="9948a7b56c"><code>9948a7b</code></a>
upgrade all deps (<a
href="https://redirect.github.com/minio/minio-go/issues/1778">#1778</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/minio/minio-go/compare/v7.0.45...v7.0.52">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/minio/minio-go/v7&package-manager=go_modules&previous-version=7.0.45&new-version=7.0.52)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Michel Hollands <42814411+MichelHollands@users.noreply.github.com>
2023-04-21 10:56:22 -06:00
justcompile
ea55f285b6 S3 Storage Class Configuration (#8532) 2023-02-16 19:47:23 +02:00
Travis Patterson
fad028b4c3 Change tests to bump sarama dependency (#8249) 2023-01-23 15:13:11 -07:00
Owen Diehl
b59277b472 Revert "Revert "Update Thanos dependency to latest version"" (#7372)
Reverts grafana/loki#7371

PR re re-enable Thanos dependency bump.
2022-10-17 16:31:16 -03:00
Owen Diehl
8331785a23 Revert "Update Thanos dependency to latest version" (#7371)
Reverts grafana/loki#7348

I expect we'll merge this again in the future, but we'll need some more
time for downstream projects to be ready for this change.
2022-10-07 14:34:08 -04:00
Robert Fratto
c657857e95 Update Thanos dependency to latest version (#7348) 2022-10-06 09:26:03 +02:00
Bryan Boreham
5ee0d09389 chunks: update klauspost/compress package to v1.15.11 (#7263)
**What this PR does / why we need it**:

Bring in various improvements from upstream, particularly
https://github.com/klauspost/compress/pull/668

**Checklist**
- [x] Reviewed the `CONTRIBUTING.md` guide
- NA Documentation added
- NA Tests updated
- [x] `CHANGELOG.md` updated
- NA Changes that require user attention or interaction to upgrade are
documented in `docs/sources/upgrading/_index.md`

**Benchmarks**

(using changes from #7246, ignoring lines that didn't change much)

```
name                           old time/op      new time/op      delta
Write/ordered-flate-4              81.5ms ± 5%      78.7ms ± 2%    -3.39%  (p=0.016 n=5+5)
Read/none_66_kB-4                  4.16ms ± 6%      3.93ms ± 4%    -5.51%  (p=0.032 n=5+5)
Read/flate_66_kB-4                  168ms ± 4%       179ms ±11%    +6.50%  (p=0.032 n=5+5)
Read/zstd_66_kB-4                   334ms ±16%       152ms ± 3%   -54.57%  (p=0.008 n=5+5)
Read/none_262_kB-4                 3.93ms ± 1%      3.81ms ± 2%    -2.91%  (p=0.008 n=5+5)
Read/zstd_262_kB-4                  369ms ± 8%       131ms ± 1%   -64.62%  (p=0.008 n=5+5)
Read/zstd_524_kB-4                  466ms ±17%       146ms ± 2%   -68.68%  (p=0.008 n=5+5)
Read/sample_zstd_66_kB-4            420ms ±18%       224ms ± 1%   -46.69%  (p=0.016 n=5+4)
Read/sample_gzip_262_kB-4           214ms ± 1%       218ms ± 1%    +1.90%  (p=0.016 n=5+5)
Read/sample_zstd_262_kB-4           418ms ±21%       200ms ± 2%   -52.15%  (p=0.016 n=5+4)
Read/sample_zstd_524_kB-4           576ms ±35%       234ms ± 1%   -59.42%  (p=0.008 n=5+5)

name                           old speed        new speed        delta
Write/ordered-gzip-4              267MB/s ±10%     284MB/s ± 2%    +6.51%  (p=0.008 n=5+5)
Write/ordered-flate-4             274MB/s ± 4%     291MB/s ± 2%    +6.49%  (p=0.008 n=5+5)
Read/none_66_kB-4                1.82GB/s ± 6%    1.92GB/s ± 4%    +5.78%  (p=0.032 n=5+5)
Read/gzip_66_kB-4                 669MB/s ± 4%     698MB/s ± 1%    +4.30%  (p=0.008 n=5+5)
Read/zstd_66_kB-4                 425MB/s ±14%     930MB/s ± 3%  +119.12%  (p=0.008 n=5+5)
Read/none_262_kB-4               1.93GB/s ± 1%    1.99GB/s ± 2%    +3.00%  (p=0.008 n=5+5)
Read/gzip_262_kB-4                701MB/s ± 5%     721MB/s ± 2%    +2.96%  (p=0.032 n=5+5)
Read/zstd_262_kB-4                357MB/s ± 8%    1009MB/s ± 1%  +182.89%  (p=0.008 n=5+5)
Read/flate_524_kB-4               750MB/s ± 1%     763MB/s ± 1%    +1.74%  (p=0.008 n=5+5)
Read/zstd_524_kB-4                365MB/s ±18%    1149MB/s ± 2%  +215.34%  (p=0.008 n=5+5)
Read/sample_zstd_66_kB-4          341MB/s ±17%     616MB/s ± 9%   +80.67%  (p=0.008 n=5+5)
Read/sample_zstd_262_kB-4         318MB/s ±18%     658MB/s ± 2%  +107.08%  (p=0.016 n=5+4)
Read/sample_gzip_524_kB-4         521MB/s ± 1%     530MB/s ± 1%    +1.72%  (p=0.032 n=5+5)
Read/sample_zstd_524_kB-4         299MB/s ±28%     718MB/s ± 1%  +140.23%  (p=0.008 n=5+5)

name                           old %compressed  new %compressed  delta
Write/ordered-gzip-4                 6.89 ± 0%        6.73 ± 0%    -2.32%  (p=0.000 n=5+4)
Write/ordered-flate-4                6.89 ± 0%        6.69 ± 0%    -2.84%  (p=0.008 n=5+5)
Write/ordered-zstd-4                 6.17 ± 0%        6.16 ± 0%    -0.02%  (p=0.008 n=5+5)
Write/unordered-gzip-4               6.89 ± 0%        6.73 ± 0%    -2.32%  (p=0.008 n=5+5)
Write/unordered-flate-4              6.89 ± 0%        6.70 ± 0%    -2.81%  (p=0.000 n=4+5)
Write/unordered-zstd-4               6.17 ± 0%        6.16 ± 0%    -0.02%  (p=0.008 n=5+5)

name                           old alloc/op     new alloc/op     delta
Write/unordered-lz4-4              18.8MB ± 4%      17.8MB ± 1%    -5.28%  (p=0.008 n=5+5)
Read/gzip_66_kB-4                   713kB ± 0%       735kB ± 1%    +2.99%  (p=0.008 n=5+5)
Read/flate_66_kB-4                  715kB ± 0%       733kB ± 0%    +2.57%  (p=0.008 n=5+5)
Read/zstd_66_kB-4                   423MB ± 0%         1MB ± 0%   -99.65%  (p=0.016 n=5+4)
Read/gzip_262_kB-4                  198kB ± 0%       204kB ± 0%    +3.07%  (p=0.016 n=4+5)
Read/lz4-64k_262_kB-4               169kB ± 0%       169kB ± 0%    -0.07%  (p=0.000 n=5+4)
Read/flate_262_kB-4                 197kB ± 0%       205kB ± 0%    +3.77%  (p=0.008 n=5+5)
Read/zstd_262_kB-4                  553MB ± 0%         0MB ± 0%   -99.92%  (p=0.016 n=5+4)
Read/gzip_524_kB-4                 96.2kB ± 0%      98.8kB ± 0%    +2.71%  (p=0.016 n=4+5)
Read/flate_524_kB-4                95.4kB ± 0%      98.7kB ± 0%    +3.46%  (p=0.008 n=5+5)
Read/zstd_524_kB-4                  786MB ± 0%         1MB ± 6%   -99.93%  (p=0.008 n=5+5)
Read/sample_gzip_66_kB-4            686kB ± 0%       703kB ± 0%    +2.48%  (p=0.029 n=4+4)
Read/sample_flate_66_kB-4           688kB ± 0%       710kB ± 1%    +3.08%  (p=0.016 n=4+5)
Read/sample_zstd_66_kB-4            423MB ± 0%         2MB ± 0%   -99.59%  (p=0.016 n=5+4)
Read/sample_gzip_262_kB-4           194kB ± 0%       200kB ± 0%    +3.10%  (p=0.016 n=4+5)
Read/sample_flate_262_kB-4          194kB ± 0%       201kB ± 0%    +3.77%  (p=0.016 n=4+5)
Read/sample_zstd_262_kB-4           553MB ± 0%         0MB ± 0%   -99.91%  (p=0.016 n=5+4)
Read/sample_gzip_524_kB-4          95.4kB ± 0%      97.9kB ± 0%    +2.65%  (p=0.008 n=5+5)
Read/sample_flate_524_kB-4         95.2kB ± 0%      98.8kB ± 0%    +3.71%  (p=0.016 n=5+4)
Read/sample_zstd_524_kB-4           786MB ± 0%         1MB ± 0%   -99.90%  (p=0.008 n=5+5)

name                           old allocs/op    new allocs/op    delta
Write/ordered-gzip-4                  701 ± 0%         718 ± 1%    +2.40%  (p=0.008 n=5+5)
Write/ordered-lz4-256k-4              656 ± 0%         657 ± 0%    +0.21%  (p=0.048 n=5+5)
Write/ordered-flate-4                 626 ± 0%         634 ± 1%    +1.37%  (p=0.008 n=5+5)
Write/ordered-zstd-4                2.07k ± 0%       1.44k ± 0%   -30.49%  (p=0.008 n=5+5)
Write/unordered-gzip-4               418k ± 0%        428k ± 0%    +2.39%  (p=0.008 n=5+5)
Write/unordered-flate-4              418k ± 0%        430k ± 0%    +2.89%  (p=0.008 n=5+5)
Write/unordered-zstd-4               469k ± 0%        468k ± 0%    -0.12%  (p=0.008 n=5+5)
Read/gzip_66_kB-4                   13.2k ± 0%       13.5k ± 0%    +2.54%  (p=0.016 n=5+4)
Read/lz4-256k_66_kB-4               13.7k ± 0%       13.7k ± 0%    -0.01%  (p=0.029 n=4+4)
Read/flate_66_kB-4                  13.2k ± 0%       13.6k ± 0%    +2.72%  (p=0.008 n=5+5)
Read/zstd_66_kB-4                   18.0k ± 1%       10.8k ± 0%   -40.19%  (p=0.008 n=5+5)
Read/gzip_262_kB-4                  4.61k ± 0%       4.76k ± 0%    +3.17%  (p=0.016 n=4+5)
Read/flate_262_kB-4                 4.61k ± 0%       4.78k ± 0%    +3.62%  (p=0.008 n=5+5)
Read/zstd_262_kB-4                  7.10k ± 2%       2.54k ± 0%   -64.22%  (p=0.016 n=5+4)
Read/gzip_524_kB-4                  2.62k ± 0%       2.69k ± 0%    +2.36%  (p=0.016 n=4+5)
Read/flate_524_kB-4                 2.62k ± 0%       2.70k ± 0%    +3.09%  (p=0.008 n=5+5)
Read/zstd_524_kB-4                  6.13k ± 2%       1.63k ± 0%   -73.40%  (p=0.008 n=5+5)
Read/sample_gzip_66_kB-4            13.2k ± 0%       13.5k ± 0%    +2.54%  (p=0.029 n=4+4)
Read/sample_flate_66_kB-4           13.2k ± 0%       13.6k ± 0%    +2.88%  (p=0.016 n=4+5)
Read/sample_zstd_66_kB-4            18.0k ± 1%       10.8k ± 0%   -40.00%  (p=0.008 n=5+5)
Read/sample_gzip_262_kB-4           4.63k ± 0%       4.77k ± 0%    +3.16%  (p=0.016 n=4+5)
Read/sample_flate_262_kB-4          4.62k ± 0%       4.79k ± 0%    +3.61%  (p=0.016 n=4+5)
Read/sample_zstd_262_kB-4           7.12k ± 1%       2.54k ± 0%   -64.28%  (p=0.008 n=5+5)
Read/sample_gzip_524_kB-4           2.63k ± 0%       2.69k ± 0%    +2.36%  (p=0.008 n=5+5)
Read/sample_flate_524_kB-4          2.63k ± 0%       2.72k ± 0%    +3.31%  (p=0.016 n=5+4)
Read/sample_zstd_524_kB-4           6.11k ± 2%       1.64k ± 0%   -73.23%  (p=0.008 n=5+5)
```
2022-09-27 10:12:13 -04:00
dependabot[bot]
8a5877ccf1 Bump github.com/minio/minio-go/v7 from 7.0.10 to 7.0.24 (#6007)
Bumps [github.com/minio/minio-go/v7](https://github.com/minio/minio-go) from 7.0.10 to 7.0.24.
- [Release notes](https://github.com/minio/minio-go/releases)
- [Commits](https://github.com/minio/minio-go/compare/v7.0.10...v7.0.24)

---
updated-dependencies:
- dependency-name: github.com/minio/minio-go/v7
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-02 10:12:47 +02:00
dependabot[bot]
3654ade915 Bump github.com/klauspost/compress from 1.13.6 to 1.14.1 (#5134)
Bumps [github.com/klauspost/compress](https://github.com/klauspost/compress) from 1.13.6 to 1.14.1.
- [Release notes](https://github.com/klauspost/compress/releases)
- [Changelog](https://github.com/klauspost/compress/blob/master/.goreleaser.yml)
- [Commits](https://github.com/klauspost/compress/compare/v1.13.6...v1.14.1)

---
updated-dependencies:
- dependency-name: github.com/klauspost/compress
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-13 08:36:07 -05:00
Cyril Tovena
c8f3df33cf Promtail Kafka target (#4568)
* Adds a kafka target manager in promtail.

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>

* Add validations.

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>

* Working on tests.

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>

* Moar test for the fanout client.

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>

* Finishing off tests.

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>

* final  adjustement

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>

* Adding topics discovery.
Still needs to finish tests.

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>

* Finishing off testing it.

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>

* Wip

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>

* Revert config changes.

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>

* lint

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>

* Add group id as discovered label

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>

* linter

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>

* Add tools for running kafka and testing locally.

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>

* got linted shell

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>

* Update sarama to compile in ARM.

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>

* Add documentation for kafka target.

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>

* Improve code comment.

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>

* add a few s's

* Better cancellation support.

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>

* adds `__meta_kafka_` suffix to discovered labels.

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>

Co-authored-by: Edward Welch <edward.welch@grafana.com>
2021-11-04 12:17:22 +01:00
Callum Styan
6da518c728 Update to go 1.17; go mod vendor required (#4487)
Signed-off-by: Callum Styan <callumstyan@gmail.com>
2021-10-18 15:14:41 -04:00
Arve Knudsen
10c92a901e Chore: Upgrade to latest Cortex (#4188)
* Chore: Upgrade to latest Cortex

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Fix formatting

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-08-19 11:35:58 -04:00
Arve Knudsen
3e385464c6 Chore: Upgrade Prometheus and Cortex (#4017)
* Chore: Upgrade Prometheus

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Upgrade Cortex

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Upgrade Cortex

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Fix build errors

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Fix build errors

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Fix build errors

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Undo unnecessary changes

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-07-22 09:30:53 -04:00
Cyril Tovena
a454f7edb7 Use pgzip in the compactor. (#3672)
Since index file are expected to be large, this will help to compress/decompress in parallel.

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>
2021-05-03 03:48:19 -04:00
Cyril Tovena
f1c4ba2f59 Add zstd and flate compressions algorithms. (#3064)
* Add zstd and flate compressions algorithms.

zstd has the highest ratio of all while flate is very simalar to gzip. I'm adding those mainly for posterity and to keep them benchmarked.

This also update gzip and lz4 library which both have been improved.

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>

* Add missing vendor change.

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>

* update go.mod.

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>
2021-01-07 12:02:36 -05:00
Sandeep Sukhani
501f93fa92 revendor cortex to latest master (#2543) 2020-08-24 17:22:31 +05:30
Cyril Tovena
7654c27c12 Adds configurable compression algorithms for chunks (#1411)
* Adds L4Z encoding.

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>

* Adds encoding benchmarks

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>

* Adds snappy encoding.

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>

* Adds chunk size test

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>

* Adds snappy v2

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>

* Improve benchmarks

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>

* Remove chunkenc

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>

* Update lz4 to latest master version.

Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>

* Use temporary buffer in serialise method to avoid allocations when doing string -> byte conversion.
It also makes code little more readable. We pool those buffers for reuse.

Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>

* Added gzip -1 for comparison.

Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>

* Initialize reader and buffered reader lazily.

This helps with reader/buffered reader reuse.

Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>

* Don't keep entries, extracted generateData function

(mostly to get more understandable profile)

Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>

* Improve test and benchmark to cover all encodings.

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>

* Adds support for a new chunk format with encoding info.

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>

* Ingesters now support encoding config.

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>

* Add support for no compression.

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>

* Add docs

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>

* Remove default Gzip for ByteChunk.

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>

* Removes none, snappyv2 and gzip-1

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>

* Move log test lines to testdata and add supported encoding stringer

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>

* got linted

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>
2019-12-13 16:46:44 -05:00
Joe Elliott
9faa8bcf1d Go 1.13 (#1089)
Updated everything to 1.13

Signed-off-by: Joe Elliott <number101010@gmail.com>
2019-10-01 10:10:16 -04:00
Joe Elliott
fc6c5c063f dep => go mod (#1062)
* go mod files added.  dep removed

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Magically got prometheus version to stick

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Cortex updated and prometheus updated

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Updated prometheus dependency

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Added additional deps

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Added two replaces from Gopkg.toml.  Tests passing

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Added deps

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Updated build image to 1.12

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Updated golangci-lint to use vendored dependencies

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Added check-mod makefile step and referenced in drone and circle ci configs

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Updated loki-build-image to 1.12

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Fixed linting error.  Force go111module on for linting

Signed-off-by: Joe Elliott <number101010@gmail.com>

* go mod vendor

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Forced the inclusion of modtimevfs

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Pin client-go due to issue with v12 go.mod

Signed-off-by: Joe Elliott <number101010@gmail.com>

* go mod tidy

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Added check-mod to drone

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Re-readded correct golang client

Signed-off-by: Joe Elliott <number101010@gmail.com>

* go mod tidy

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Pinned golang/x/net to avoid proxy errors

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Removed check-mod from all.  Not necessary for tests

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Updated go.sum to match new pin

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Upgraded proto to match build image

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Force check-mod to wait til after test and lint are successful

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Added mod vendor to go builds to force usage of vendored dependencies

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Turn on gomodules on all builds

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Revert "Added mod vendor to go builds to force usage of vendored dependencies"

This reverts commit 65865a24c9a23133e0fa52942f2828ead7c22147.

* Moved builds out of the gopath to enforce vendor usage

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Revert "Turn on gomodules on all builds"

This reverts commit b5847f0158e928e935e0b3c1b1d4eaba840ca3dc.

* Explicitly choose build image for docker driver

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Updated golang.org/x/sys to match prometheus's version to fix promtail windows compilation

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Added fluentbit dependency

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Added dependency management clause

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Updated go version in contributing

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Added phony makefile targets

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Circle CI is increasingly failing linting

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Force vendored deps on builds

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Added logcli to gitignore

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Reduced concurrency to help CircleCI

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Moved drone builds out of GOPATH to force use of go module

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Added mod vendor to prevent go clean from redownloading all packages

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Added to test as well

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Added mod-vendor to final go commands

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Moved fluent-bit out of GO_PATH to force go modules

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Pass mod vendor to the last holdout:  go generate

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Updated ugorji/go to 1.17 to avoid version regression

Signed-off-by: Joe Elliott <number101010@gmail.com>

* go mod tidy and go mod vendor for ugorji/go

Signed-off-by: Joe Elliott <number101010@gmail.com>
2019-09-30 08:37:27 -04:00
Cyril Tovena
1dfee23b65 replace gzip golang package by github.com/klauspost/compress (#831)
* replace gzip golang package by github.com/klauspost/compress

* cleanup import

* revert grafana tag image
2019-08-01 15:16:58 -04:00