bitnami / charts

Bitnami Helm Charts
https://bitnami.com
Other
9.05k stars 9.22k forks source link

Pattern ingestor does not work (patternIngester, pattern_ingester) #30566

Open buckleyGI opened 3 days ago

buckleyGI commented 3 days ago

Name and Version

grafana-loki 4.6.23

What architecture are you using?

amd64

What steps will reproduce the bug?

As documented on here (the other 2 parameters are already set by the bitnami charts)

loki:
  overrideConfiguration:
    pattern_ingester:
      enabled: true

What is the expected behavior?

The patterns show the detected patterns image

What do you see instead?

The spinner keeps on spinning and the error in the log of grafana is

2024-11-21T14:06:41.919896931Z grafana logger=tsdb.loki endpoint=callResource pluginId=loki dsName="Loki AWX" dsUID=cduaz7n7k7jswb uname=admin t=2024-11-21T14:06:41.919394803Z level=error msg="Failed resource call from loki" err="empty ring" url="/loki/api/v1/patterns?query=%7Bservice_name%3D%60aws-cluster-autoscaler%60%7D&start=2024-11-21T13%3A51%3A41.832Z&end=2024-11-21T14%3A06%3A41.832Z"
2024-11-21T14:06:41.919918981Z grafana logger=context userId=1 orgId=1 uname=admin t=2024-11-21T14:06:41.919511455Z level=error msg=InternalError error="[plugin.downstreamError] client: failed to call resources: empty ring" remote_addr=127.0.0.1 traceID=
2024-11-21T14:06:41.920544742Z grafana logger=context userId=1 orgId=1 uname=admin t=2024-11-21T14:06:41.919724428Z level=error msg="Request Completed" method=GET path=/api/datasources/uid/cduaz7n7k7jswb/resources/patterns status=500 remote_addr=127.0.0.1 time_ms=37 duration=37.366169ms size=116 referer=https://x/ handler=/api/datasources/uid/:uid/resources/* status_source=downstream

Additional information

According to the grafana documentation setting pattern_ingester.enabled: true should be sufficient. and by this issue it should work in scalable mode (SSD) as of Loki 3.3.0 which this bitnami version uses. That issue also mentions that pods are being spun up but I don't see them. The official loki graph makes mentions of this here as well. patternIngester.replicas

Does this bitnami chart not yet support the necessary configuration to get this pattern feature working?