Remote_cache for Grafana sessions

  • What Grafana version and what operating system are you using?
    I am using Grafana 8.0.0

  • What are you trying to achieve?
    I am trying to set-up Grafana Operator High availability with 3 replicas of Grafana in AKS with postgres db as it’s backend and set-up cache for it’s sessions

  • How are you trying to achieve it?

  • What happened?
    I am trying to connect memcache with Grafana, while trying that i can’t see any key stored in memcache by grafana for it’s sessions

  • What did you expect to happen?

  • Can you copy/paste the configuration(s) that you are having problems with?

remote_cache:
      type: memcached
      connstr: 10.78.236.77:11211
  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
    None
  • Did you follow any online instructions? If so, what is the URL?

I believe user sessions are stored in the DB only - User Session without external databases · Issue #19940 · grafana/grafana · GitHub You can explore source code to prove that your expectation (user sessions in the remote cache) is incorrect.

Thanks.
We can’t offload user sessions from postgresdb to any caching solution?

Where are you putting together this configuration? Can you provide documentation that this is possible?