Skip to main content

All Questions

0 votes
0 answers
22 views

Multi-tenant Loki Ruler not sending alerts to Mimir AlertManager

I have an AlertRule set up in my Loki-Distributed instance via the Loki ruler as below: ruler: directories: fake: rules.txt: | groups: - name: mimir_loki_test ...
Golide's user avatar
  • 961
0 votes
0 answers
226 views

Unable to fetch alert rules. Is the Prometheus data source properly configured?

Failed to load the data source configuration for Prometheus. Unable to fetch alert rules. Is the Prometheus data source properly configured? Prometheus data source is working fine. I am use AWS ...
Eranda Peiris's user avatar
0 votes
2 answers
2k views

How to connect Grafana with Loki over HTTPS?

I am trying connecting Grafana with Loki over HTTPS. I have the certificates for both Grafana and Loki. They are signed by my organization, and they have provided me with the CA.cer and file.pfx(...
Mahirq8's user avatar
  • 50
1 vote
2 answers
828 views

Loki not sending alerts to alertmanager

Trying to setup a Promtail-Loki-Alertmanager log pipeline but Loki is not sending any alerts to AM. Each of those services are running in Docker containers. Versions: Promtail: 2.8.2 Loki: 2.8.2 ...
NIGHTSCROLLER's user avatar
1 vote
0 answers
1k views

Grafana Loki, AlertManager - unable to read rule dir, open /tmp/loki/rules/fake: no such file or directory

I've deployed promtail, Grafana, Loki and AlertManager using Helm charts on k3d cluster on my local machine. I would like to have some rules in Loki such that if something will happen, AlertManager ...
Brian Brown's user avatar
  • 4,171
2 votes
1 answer
380 views

Loki groups rules get content log

I want to notify when a log type error occurs and send its log content, will it be possible to add it in the labels or annotations of the loki rules and send it to alertmanager? This would be my test ...
MiguEl's user avatar
  • 21
4 votes
0 answers
775 views

Configure Loki log-based alerts with kubernetes CRD

I like the idea of Prometheus Operator where alerting configurations are deployable kubernetes objects defined with CRDs. apiVersion: monitoring.coreos.com/v1 kind: PrometheusRule metadata: labels: ...
pizycki's user avatar
  • 1,330
3 votes
0 answers
420 views

How to get the full log error message from Grafana into Alertmanager for alerting?

I can get the labels from the log messages on Grafana for which I am alerting through alertmanager. However, I want to get the full log message into the alert message that gets sent to slack or email. ...
John's user avatar
  • 31
5 votes
2 answers
5k views

Loki not alerting Alertmanager

I am new with Loki and have made an alert in Loki but I don't see any notification in the Alertmanager. Loki is working fine (collecting logs), Alertmanager also (getting alerts from other sources), ...
OmarLittle's user avatar
1 vote
1 answer
3k views

Grafana Loki does not trigger or push alert on alertmanager

I have configured PLG (Promtail, Grafana & Loki) on an AWS EC2 instance for log management. The Loki uses BoltDB shipper & AWS store. Grafana - 7.4.5, Loki - 2.2, Prommtail - 2.2, AlertManager ...
Nirmal Pathak's user avatar
15 votes
4 answers
13k views

How to send alert for every error in my logs using Promtail / Loki - AlertManager?

I'm using Promtail + Loki to collect my logs and I can't figure how can I alert for every error in my log files. I'm also using Prometheus, Alertmanager and Grafana. I've seen some people have managed ...
EnTm's user avatar
  • 173