Comments (4)
âšī¸ I removed some of the complexity by allowing mimir to create the Minio instance as well. The issue still persists with the below configuration:
helm chart values:
ingester:
replicas: 1
zoneAwareReplication:
enabled: false
store_gateway:
zoneAwareReplication:
enabled: false
querier:
replicas: 1
extraArgs:
"log.level": "debug"
minio:
enabled: true
alertmanager:
enabled: false
ruler:
enabled: false
vaultAgent:
enabled: false
overrides_exporter:
enabled: false
query_scheduler:
enabled: false
and the helm chart:
resource "helm_release" "mimir" {
count = var.uses_mimir ? 1 : 0
depends_on = [kubernetes_namespace.o11y]
name = "mimir"
namespace = kubernetes_namespace.o11y.metadata[0].name
repository = "https://grafana.github.io/helm-charts"
chart = "mimir-distributed"
version = "5.2.3"
values = ["${local.grafana_mimir_template}"]
set {
name = "minio.rootUser"
value = kubernetes_secret.minio_creds.data["root-user"]
}
set {
name = "minio.rootPassword"
value = var.minio_root_password
}
No errors in other components that I can see, but constant erroring on the querier.
from mimir.
ts=2024-04-23T18:03:17.693470735Z caller=frontend_processor.go:91 level=error msg="error processing requests" address=100.64.3.196:9095 err="rpc error: code = Unavailable desc = upstream connect error or disconnect/reset before headers. reset reason: connection termination"
The upstream connect error or disconnect/reset before headers
doesn't look as something that comes from Mimir or any of the Mimir's own dependencies. In fact, after looking around, such an error looks very similar to the one mentioned in Envoy's source.
@SeanKilleen does your infrastructure happen to use something like Istio/Envoy or other service mesh tech? If yes, could istio/istio#50073 be the cause?
from mimir.
@narqo this is a really interesting theory. We do indeed use Istio (1.21.x too I think, need to cinfirm) and I don't think we happen to have other gRPC workloads in our cluster so that could be why we only saw it with this.
For expediency's sake we chose to move on from Mimir entirely; I just added another Prometheus instance that only accepts the metrics we care about via remote write and retains them for longer.
Is there any way to force this chart/setup to use http communication rather than gRPC? If so I can redeploy to confirm.
from mimir.
Great to know that stock Prometheus serves your use case for the moment đ
As for the particular issue, replacing Mimir's internal gRPC inter-service communication layer with something else is not what's supported. In theory, for an experiment, one could try deploying Mimir in the read-write mode, where querier and the query-frontend are deployed as one process. But this mode is still an experiment and isn't yet supported by the Helm chart.
I will close the issue for now, assuming it came, indeed, in the particular infrastructure. Let's revisit it later, should anyone bump into the same in the future.
from mimir.
Related Issues (20)
- store-gateway: add timeout to index-header loading
- Mimir returns HTTP status 422 in cases where 5xx makes more sense
- Docs: Update references to mmap in store-gateway architecture
- Query with aggregation return incorrect num of points HOT 1
- [mimir-distributed] Add additionalRuleLabels to PrometheusRule alerts HOT 1
- Request per Second Metric Does Not Sync with Total Request Count in Mimir Visualization
- mimirtool backfill: failed uploading block HOT 25
- Multi-Tenancy Support for Mimir Ruler HOT 3
- store-gateway: store sparse index headers in object store
- helm: Stateful components emptyDir inMemory option HOT 3
- Make the 'for' period configurable for MimirInconsistentRuntimeConfig alert HOT 1
- Receiving failed to enqueue request 500s HOT 1
- otlp: Mimir's OTLP endpoint to return marshalled proto bytes as response body HOT 2
- store-gateway: be able to restrict time range of blocks synced from the bucket HOT 1
- Mimir rejects samples when exemplar is non-compliant
- Shard `selector BINOP selector offset 5m`
- Add facultative forking mode or systemd-notify at mimir start HOT 3
- OTLP endpoint issues
- [ingester] Owned series support when replication factor != number of zones
- otlp: improve mimir error message for otlp endpoint, in order to give better instruction on collector config
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.