-
What Grafana version and what operating system are you using?
v9.3.6 -
What are you trying to achieve?
connect to loki data source from grafana -
How are you trying to achieve it?
installed components through helm chart -
What happened?
installed helm, grafana, promtail through helm charts and all are running successfully but I was unable to connect to loki data source from grafana -
What did you expect to happen?
get the logs in grafana dashboard -
Can you copy/paste the configuration(s) that you are having problems with?
-
Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
-
Did you follow any online instructions? If so, what is the URL?
I checked all pods are up and running, loki is publishing metrics on
http://loki-backend:3100/metrics
but when I try to add the loki in grafana like this way http://loki-backend:3100 it is not connecting
here is my loki configmap value
----
auth_enabled: false
common:
path_prefix: /var/loki
replication_factor: 3
storage:
s3:
access_key_id: enterprise-logs
bucketnames: chunks
endpoint: loki-minio.oal-loki-poc.svc:9000
insecure: true
s3forcepathstyle: true
secret_access_key: supersecret
limits_config:
enforce_metric_name: false
max_cache_freshness_per_query: 10m
reject_old_samples: true
reject_old_samples_max_age: 168h
split_queries_by_interval: 15m
memberlist:
join_members:
- loki-memberlist
query_range:
align_queries_with_step: true
ruler:
storage:
s3:
bucketnames: ruler
type: s3
runtime_config:
file: /etc/loki/runtime-config/runtime-config.yaml
schema_config:
configs:
- from: "2022-01-11"
index:
period: 24h
prefix: loki_index_
object_store: s3
schema: v12
store: boltdb-shipper
server:
grpc_listen_port: 9095
http_listen_port: 3100
storage_config:
hedging:
at: 250ms
max_per_second: 20
up_to: 3
table_manager:
retention_deletes_enabled: false
retention_period: 0