Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tenant tag to receive multitsdb_tenant_series #5091

Closed
wants to merge 451 commits into from

Conversation

metonymic-smokey
Copy link
Contributor

fixes #5002

  • I added CHANGELOG entry for this change.
  • Change is not relevant to the end user.

Changes

Adding a tag with the tenant ID when tracing queries which use receive.

Verification

philipgough and others added 30 commits August 25, 2021 19:01
…#4532)

* fixed 'all' query in thanos mixin dashboards

Signed-off-by: Ethern Su <[email protected]>

* e2e retest

Signed-off-by: Ethern Su <[email protected]>
…s-io#4567)

* fix: dashboard overviewRows conditional

Signed-off-by: Thanatchaya Kromsaeng <[email protected]>

* fix: bucket_replicate use correct dashboard dimension reference

Signed-off-by: Thanatchaya Kromsaeng <[email protected]>
* Passes ContainerURL to getBlobURL for Azure

Signed-off-by: Wiard van Rij <[email protected]>

* e2e retest

Signed-off-by: Wiard van Rij <[email protected]>

* adds changelog

Signed-off-by: Wiard van Rij <[email protected]>
* Revert "store: fix marshaling with sync.Pool (thanos-io#4593)"

This reverts commit 8b4c3c9.

Signed-off-by: Giedrius Statkevičius <[email protected]>

* Revert "[v2] store: reuse buffers for serializing Series() responses (thanos-io#4535)"

This reverts commit 7a8d189.

Signed-off-by: Giedrius Statkevičius <[email protected]>
* Create endpoint flow

Signed-off-by: Hitanshu Mehta <[email protected]>

* add unit test for endpointSet

Signed-off-by: Hitanshu Mehta <[email protected]>

* lint fixes

Signed-off-by: Hitanshu Mehta <[email protected]>

* fix typo

Signed-off-by: Hitanshu Mehta <[email protected]>

* remove code smells

Signed-off-by: Hitanshu Mehta <[email protected]>

* start using endpointset instead of storeset

Signed-off-by: Hitanshu Mehta <[email protected]>

* remove storeset

Signed-off-by: Hitanshu Mehta <[email protected]>

* minor nits

Signed-off-by: Hitanshu Mehta <[email protected]>

* Fix failing e2e tests

Signed-off-by: Hitanshu Mehta <[email protected]>

* improve logging

Signed-off-by: Hitanshu Mehta <[email protected]>

* fix comment

Signed-off-by: Hitanshu Mehta <[email protected]>
* Improvement: add metrics to prom client

Add pkg/extprom/http/instrument_client.go with code to instrument an http
client.

thanos-io#4545

Signed-off-by: Kevin Hellemun <[email protected]>

* Add doc blocks.

Signed-off-by: Kevin Hellemun <[email protected]>

* Fix lint issues.

Signed-off-by: Kevin Hellemun <[email protected]>

* Use a standard metric name.

By using a standard metric name, this makes templating and dashboard generation
easier. A label has been added to indicate which client the http client metrics
are about.

thanos-io#4545

Signed-off-by: Kevin Hellemun <[email protected]>

* Add missing labels, help and parse annotation.

Signed-off-by: Kevin Hellemun <[email protected]>
* *: update Cortex (and Prometheus) dependency

Update Cortex dependency (and Prometheus together) to include
cortexproject/cortex@70dddb6.

storage.Querier finally has support for label.Matchers so now we can
fully pass them down.

Signed-off-by: Giedrius Statkevičius <[email protected]>

* *: fix tests by passing EnableExemplarStorage

Signed-off-by: Giedrius Statkevičius <[email protected]>

* CHANGELOG: update with note about LabelNames() pushdown

Signed-off-by: Giedrius Statkevičius <[email protected]>

* store: pass along matchers in proxy

Signed-off-by: Giedrius Statkevičius <[email protected]>

* store: fix e2e labelname tests

Signed-off-by: Giedrius Statkevičius <[email protected]>

* Fix according to Ben's comments

Signed-off-by: Giedrius Statkevičius <[email protected]>

* test/e2e: fix grammar issue in a comment

Signed-off-by: Giedrius Statkevičius <[email protected]>
* fix bug in ui/react-app : queries silently failing on second try

Signed-off-by: Nishidha Sri <[email protected]>

* Updated bindata.go

Signed-off-by: Nishidha Sri <[email protected]>
…4623)

* query-frontend: make HTTP downstream tripper configurable

Make the HTTP downstream tripper configurable so that it would be
possible to set the number of maximum idle connections per host to more
than 2 so that HTTP keep-alive connections could be used on higher
loads.

Solves thanos-io#4571.

Signed-off-by: Giedrius Statkevičius <[email protected]>

* CHANGELOG: add entry

Signed-off-by: Giedrius Statkevičius <[email protected]>
…Added example. (thanos-io#4619)

* Added more metadata to Series tracing; Improved tracing docs, tests; Added example.

Signed-off-by: Bartlomiej Plotka <[email protected]>

* Update docs/tracing.md

Co-authored-by: Giedrius Statkevičius <[email protected]>

* Update docs/tracing.md

Co-authored-by: Prem Kumar <[email protected]>

Co-authored-by: Giedrius Statkevičius <[email protected]>
Co-authored-by: Prem Kumar <[email protected]>
* store: add handling code for older Prometheus versions

Handle older Prometheus versions that do not support `match[]`. Add
tests that cover new code. The new code is largely modeled after the
LabelValues() code.

Signed-off-by: Giedrius Statkevičius <[email protected]>

* store: delete test that is covered by another test

Signed-off-by: Giedrius Statkevičius <[email protected]>
* ic: Add Itau-Unibanco as an adopter

Signed-off-by: wabatista <[email protected]>

* ic: Add Itau-Unibanco as adopter

Signed-off-by: wabatista <[email protected]>

* ic: Add Itau-Unibanco as adopter

Signed-off-by: wabatista <[email protected]>

Co-authored-by: wabatista <[email protected]>
* fixed broken compaction link

Signed-off-by: metonymic-smokey <[email protected]>

* fixed message in example

Signed-off-by: metonymic-smokey <[email protected]>

* added README for interactive example

Signed-off-by: metonymic-smokey <[email protected]>

* refer to issue about MacOS support

Signed-off-by: metonymic-smokey <[email protected]>

* added reference in CONTRIBUTING.md

Signed-off-by: metonymic-smokey <[email protected]>
Fix formatting so that the CI would pass.

Signed-off-by: Giedrius Statkevičius <[email protected]>
Signed-off-by: Bartlomiej Plotka <[email protected]>
* added config struct with flag for tools

Signed-off-by: metonymic-smokey <[email protected]>

* added tools bucket config struct; moved some flags to struct

Signed-off-by: metonymic-smokey <[email protected]>

* moved tools bucket flags into config struct

Signed-off-by: metonymic-smokey <[email protected]>

* split into smaller structs

Signed-off-by: metonymic-smokey <[email protected]>

* changed var name

Signed-off-by: metonymic-smokey <[email protected]>
Fix objstore e2e test invalid test bucket name.
Fix setRange when off>0.

Signed-off-by: hanjm <[email protected]>
…hanos-io#4636)

* Azure: Support authentication using user-assigned managed identity

Adds support for [user-assigned managed identity](https://docs.microsoft.com/en-us/azure/active-directory/managed-identities-azure-resources/overview#managed-identity-types).

When using the `user_assigned_id` the change does not require setting `msi_resource` it defaults to `https://<storage account name>.<endpoint>` unless the config explicitly sets the `msi_resource`.

Tested against Azure.

Signed-off-by: Amr Hanafi (MAHDI)) <[email protected]>

* refactor service token fetch into own method

Signed-off-by: Amr Hanafi (MAHDI)) <[email protected]>

* do not use deprecated method

Signed-off-by: Amr Hanafi (MAHDI)) <[email protected]>
* testing: Add a bucket that adds a delay for ops

Create a bucket that simulates (a non jittering) network RTT to be used
for system like benchmarks.

Signed-off-by: Holger Hans Peter Freyther <[email protected]>

* compact: Add benchmark for GatherNoCompactionMarkFilter

Create a benchmark to show the benefit of adding concurrency
to the no compaction mark filter. Set-up an in-memory bucket
with a simulated (network) delay. In the future we can refactor
this a bit more to test more/all filters.

Fixes: thanos-io#4084
Signed-off-by: Holger Hans Peter Freyther <[email protected]>

* Update pkg/compact/compact_test.go

Co-authored-by: Giedrius Statkevičius <[email protected]>
Signed-off-by: Holger Hans Peter Freyther <[email protected]>

Co-authored-by: Giedrius Statkevičius <[email protected]>
…tes config type (thanos-io#4657)

* Sidecar: Fix process external label when promethues v2.28+ use units.Bytes config type (thanos-io#4656)

Signed-off-by: hanjm <[email protected]>

* E2E: Upgrade prometheus image version

Signed-off-by: hanjm <[email protected]>
* upgrade Prometheus dependency version to v2.30.0

Signed-off-by: Ben Ye <[email protected]>

* fix unit test

Signed-off-by: Ben Ye <[email protected]>
matej-g and others added 13 commits February 4, 2022 17:56
Signed-off-by: Matej Gera <[email protected]>
* Fix typo in step2.md_2-lts_katacoda-tutorial

Signed-off-by: harshita <[email protected]>

* Signed-off-by: harshita <[email protected]>

Fix the link error in step 2 that returns 404

Signed-off-by: harshita <[email protected]>
* Add a pure aws-sdk-go auth

Signed-off-by: Sylvain Rabot <[email protected]>

* Upgrade github.com/aws/aws-sdk-go-v2

Signed-off-by: Sylvain Rabot <[email protected]>

* Update CHANGELOG.md

Signed-off-by: Giedrius Statkevičius <[email protected]>

* Move s3 conf test in validate()

Signed-off-by: Sylvain Rabot <[email protected]>

Co-authored-by: Giedrius Statkevičius <[email protected]>
thanos-io#5117)

* feat bucket replicate: added flag to ignore blocks marked for deletion

Signed-off-by: Martin Chodur <[email protected]>

* cr: fix docs and test

Signed-off-by: Martin Chodur <[email protected]>

* cr: add debug log on failed deletion mark read

Signed-off-by: Martin Chodur <[email protected]>

* cr: return error instead of logging issues with reading deletion marks

Signed-off-by: Martin Chodur <[email protected]>
Check that SelfURL also doesn't end with a slash since the galaxycache's
code checks whether the strings are equivalent when picking peers, and
peers cannot have slashes at the end so we need the same, exact format
of the URLs.

Fix quickstart script so that it wouldn't have slashes at the end.

Idea for the future: let's add smoke tests for `scripts/quickstart.sh`
to ensure smooth developer experience?

Signed-off-by: Giedrius Statkevičius <[email protected]>
* docs: Add instructions for configuring request logging

Signed-off-by: Philip Gough <[email protected]>

* docs: Update link to logging config and make docs

Signed-off-by: Philip Gough <[email protected]>
* add generic component for infinite scroll and search bar

Signed-off-by: Augustin Husson <[email protected]>

* rework service discovery page

Signed-off-by: Augustin Husson <[email protected]>

* rework alert page

Signed-off-by: Augustin Husson <[email protected]>

* rework target page

Signed-off-by: Augustin Husson <[email protected]>

* add entry in the changelog

Signed-off-by: Augustin Husson <[email protected]>

* fix test

Signed-off-by: Augustin Husson <[email protected]>

* fix linter issue

Signed-off-by: Augustin Husson <[email protected]>

* add infinite scroll on target

Signed-off-by: Augustin Husson <[email protected]>

* modify the assets

Signed-off-by: Augustin Husson <[email protected]>

* fix Changelog

Signed-off-by: Augustin Husson <[email protected]>

* persis the search event

Signed-off-by: Augustin Husson <[email protected]>

* add missing bindata

Signed-off-by: Augustin Husson <[email protected]>
* test: add repro for thanos-io#5069

Add repro for thanos-io#5069 by querying sidecar with --min-time enabled and then
checking the result equivalence.

Signed-off-by: Giedrius Statkevičius <[email protected]>

* store: add fix for --min-time with pushdown

Signed-off-by: Giedrius Statkevičius <[email protected]>

* store: add clarification comment

Signed-off-by: Giedrius Statkevičius <[email protected]>
* improve graph color

Signed-off-by: Augustin Husson <[email protected]>

* apply linter

Signed-off-by: Augustin Husson <[email protected]>

* add assets

Signed-off-by: Augustin Husson <[email protected]>

* add changelog

Signed-off-by: Augustin Husson <[email protected]>
… not include rule groups (thanos-io#5105)

Signed-off-by: Prashant Balachandran <[email protected]>
Signed-off-by: metonymic-smokey <[email protected]>
Signed-off-by: metonymic-smokey <[email protected]>
Signed-off-by: metonymic-smokey <[email protected]>
Signed-off-by: metonymic-smokey <[email protected]>
Signed-off-by: metonymic-smokey <[email protected]>
Signed-off-by: metonymic-smokey <[email protected]>
Signed-off-by: metonymic-smokey <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.