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 a command line option to set the X-Scope-OrgID header in Prometheus requests #122

Merged
merged 3 commits into from
Feb 27, 2023

Conversation

HappyTetrahedron
Copy link
Contributor

This header is required when querying a Mimir instance. It can be set via command line or environment variable.

Currently only this specific header can be set by the user.

Relates to OCP-620

Checklist

  • Categorize the PR by setting a good title and adding one of the labels:
    bug, enhancement, documentation, change, breaking, dependency
    as they show up in the changelog
  • Update tests.
  • Link this PR to related issues.

…us requests

This header is required when querying a Mimir instance. It can be set
via command line or environment variable.

Currently only this specific header can be set by the user.
@HappyTetrahedron HappyTetrahedron added the enhancement New feature or request label Feb 24, 2023
pkg/thanos/thanos.go Outdated Show resolved Hide resolved
pkg/thanos/thanos.go Outdated Show resolved Hide resolved
HappyTetrahedron and others added 2 commits February 27, 2023 09:18
Co-authored-by: Sebastian Widmer <sebastian.widmer@vshn.net>
@HappyTetrahedron HappyTetrahedron merged commit 42599b2 into master Feb 27, 2023
@HappyTetrahedron HappyTetrahedron deleted the feat/org-id-header branch February 27, 2023 08:32
HappyTetrahedron pushed a commit to appuio/component-appuio-cloud-reporting that referenced this pull request Feb 27, 2023
Setting the variable sets the `X-Scope-OrgID` header in requests to
Prometheus, which is required when talking to a Mimir instance.

Implements OCP-620

Relates to appuio/appuio-cloud-reporting#122
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants