Comments (6)
Thanks, that answers my question!!
from mimir.
- Can we use different s3 buckets for different tenants? Is this feature available only available in enterprise edition?
Hello, neither Mimir or Grafana Enterprise Metrics have such feature currently.
- If not, how to can we set different retention period for different tenant's data. We need to have only one mimir instance but the tenants can be from non-prod/prod environment. For prod we need to set different retention period and for non-prod different. Is it possible?
Yes, this is possible. You can set block retention per tenant by using compactor_blocks_retention_period
per-tenant override.
You can find more details here: https://grafana.com/docs/mimir/latest/configure/configure-metrics-storage-retention/
from mimir.
Thanks for your immediate response.
Referring to https://grafana.com/docs/mimir/latest/configure/configure-metrics-storage-retention/
So tenant name is same that we specify in headers (X-Scope-OrgID) under remoteWrite, correct?
remoteWrite:
headers:
X-Scope-OrgID: <<tenantname>>
from mimir.
Thanks for your immediate response.
Referring to https://grafana.com/docs/mimir/latest/configure/configure-metrics-storage-retention/ So tenant name is same that we specify in headers (X-Scope-OrgID) under remoteWrite, correct?
Yes, that is correct.
Make sure to keep multitenancy in Mimir enabled (which is the default value, but can be disabled by setting -auth.multitenancy-enabled
CLI option to false
), otherwise this X-Scope-OrgID
header is ignored and Mimir will use anonymous
tenant instead. (https://grafana.com/docs/mimir/latest/manage/secure/authentication-and-authorization/)
Once you start writing to the Mimir and Mimir starts uploading blocks to the bucket, tenant name is also used as top-level prefix inside the bucket.
from mimir.
Yes, Multitenancy is enabled in our environment. I will set the retention per tenant and test it out. Many Thanks!!
In line to similar topic if we want to add two headers while adding datastource in Grafana we need to enable tenant_federation: correct?
from mimir.
In line to similar topic if we want to add two headers while adding datastource in Grafana we need to enable tenant_federation: correct?
Do you want to query both tenants? In that case yes, you will need to enable tenant federation, and then you need to specify both tenants in one X-Scope-OrgID
header, and separate them with |
(pipe) character. For example X-Scope-OrgID: tenant-1|tenant-2
.
from mimir.
Related Issues (20)
- Cannot get Grafana to recognize Mimir monolitic instance, bare metal HOT 1
- Flaky TestIngester_Starting HOT 5
- Race condition around TestQuerySharding_Correctness HOT 2
- Vendor custom bucket native histograms (nhcb) from Prometheus
- Non-ingesters fail to validate config with spread-minimizing token generation strategy HOT 3
- Docs feedback: /docs/sources/mimir/get-started/play-with-grafana-mimir/index.md HOT 6
- Native Kubernetes HPA in mimir-distributed HOT 2
- Mismatch between ingester limiter and owned series when new ingesters are PENDING with no tokens HOT 1
- Flaky test: TestIngester_PreparePartitionDownscaleHandler HOT 3
- Failed pushing to ingester: context deadline exceeded error observed in 2.11.0 HOT 2
- Add an ability to specify dnsConfig for alertmanager via Helm chart
- mimir-querier tries to connect to unknown pod IP HOT 1
- Flaky test `Test_shardActiveSeriesMiddleware_mergeResponse_contextCancellation/useZeroAllocationDecoder`
- mimir compactor: index contains 205 postings with out of order labels" HOT 1
- Chart 5.3.0: Mimir push API doesn't allow X-Scope-OrgID with special characters HOT 4
- target_info metric HOT 5
- Flaky TestSchedulerProcessor_processQueriesOnSingleStream
- Docs: where to find/download HOT 1
- Querier: panics in QueryResultRequest marshaling HOT 6
- Ingester segfault marshaling a LabelValuesResponse HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mimir.