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

Ingesting metrics into Mimir #2266

Closed
Tracked by #1817
TheoBrigitte opened this issue Apr 4, 2023 · 6 comments
Closed
Tracked by #1817

Ingesting metrics into Mimir #2266

TheoBrigitte opened this issue Apr 4, 2023 · 6 comments
Assignees

Comments

@TheoBrigitte
Copy link
Member

TheoBrigitte commented Apr 4, 2023

Configure our current Prometheus servers to send metrics to Mimir.

This can be achieved via our RemoteWrite CR, see https://docs.giantswarm.io/getting-started/observability/monitoring/prometheus/remotewrite/

@hervenicol
Copy link

I created this mimir-remotewrite.yaml:

apiVersion: monitoring.giantswarm.io/v1alpha1
kind: RemoteWrite
metadata:
  labels:
    application.giantswarm.io/team: atlas
  name: mimir
  namespace: mimir
spec:
  clusterSelector: {}
  remoteWrite:
    name: mimir
    queueConfig:
      capacity: 10000
      maxSamplesPerSend: 1000
      minShards: 10
    tlsConfig:
      insecureSkipVerify: false
    url: http://mimir-gateway.mimir.svc/api/v1/push

It sends all metrics from all prometheis to the local Mimir.

It's currently rate-limited by Mimir, but that's a matter of Mimir tuning now.

@QuantumEnigmaa
Copy link

Should we add the remotewrite in the chart templates ?

@hervenicol
Copy link

Should we add the remotewrite in the chart templates ?

I don't think so, because it's quite specific to how we use it. Customers don't really care about that.
Just like the current remotewrite to grafana cloud, it should be managed separately.
Maybe in the prometheus-remotewrite app, like the grafana-cloud one.

@QuantumEnigmaa
Copy link

Sure. Makes sense

@QuantumEnigmaa
Copy link

So whar's left to be done here ?

@hervenicol
Copy link

I think that's good for now as it's documented in the mimir-app repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants