Docs: Backport 32916 to v7.5x (#33008)
* fixing things * Update add-authentication-for-data-source-plugins.md * Docs: Sync release branch with latest docs (#32986) * Docs: Sync release branch with latest docs * Fixed what branch to update * Elasticsearch: Force re-rendering of each editor row type change (#32993) (#32996) (cherry picked from commit136460d369) Co-authored-by: Giordano Ricci <me@giordanoricci.com> * ReleaseNotes: Updated changelog and release notes for 7.5.4 (#32973) (#32998) * ReleaseNotes: Updated changelog and release notes for 7.5.4 (#32973) * ReleaseNotes: Updated changelog and release notes for 7.5.4 * Update index link * Fix boldness * Update CHANGELOG.md Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com> * Update CHANGELOG.md Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com> * Update codespell words * Update docs/sources/release-notes/release-notes-7-5-4.md * Update CHANGELOG.md Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com> * Update docs/sources/release-notes/release-notes-7-5-4.md * Change bold markers * Fix escaping * Update drone yaml Co-authored-by: Andrej Ocenas <mr.ocenas@gmail.com> Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com> Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com> (cherry picked from commita516ff00db) * Add old release notes Co-authored-by: Grot (@grafanabot) <43478413+grafanabot@users.noreply.github.com> * fixing things * Merge branch 'v7.5.x' of https://github.com/grafana/grafana into backport-32916-to-v7.5.x * Update add-authentication-for-data-source-plugins.md * Update license-restrictions.md Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com> Co-authored-by: Grot (@grafanabot) <43478413+grafanabot@users.noreply.github.com> Co-authored-by: Giordano Ricci <me@giordanoricci.com> Co-authored-by: Andrej Ocenas <mr.ocenas@gmail.com>
This commit is contained in:
co-authored by
Grot
Diana Payton
Giordano Ricci
Andrej Ocenas
parent
f6268bc37a
commit
8011ff4f79
@@ -168,7 +168,7 @@ Override log path using the command line argument `cfg:default.paths.logs`:
|
||||
|
||||
### plugins
|
||||
|
||||
Directory where Grafana automatically scans and looks for plugins. Manually or automatically install any [plugins](https://grafana.com/docs/grafana/latest/plugins/installation/) here.
|
||||
Directory where Grafana automatically scans and looks for plugins. For information about manually or automatically installing plugins, refer to [Install Grafana plugins]({{< relref "../plugins/installation.md" >}}).
|
||||
|
||||
**macOS:** By default, the Mac plugin location is: `/usr/local/var/lib/grafana/plugins`.
|
||||
|
||||
|
||||
@@ -22,12 +22,12 @@ Grafana will now persist all long term data in the database. How to configure th
|
||||
|
||||
## Alerting
|
||||
|
||||
Currently alerting supports a limited form of high availability. Since v4.2.0, [alert notifications](https://grafana.com/docs/grafana/latest/alerting/notifications/) are deduped when running multiple servers. This means all alerts are executed on every server but alert notifications are only sent once per alert. Grafana does not support load distribution between servers.
|
||||
Currently alerting supports a limited form of high availability. [Alert notifications]({{< relref "../alerting/notifications.md" >}}) are deduplicated when running multiple servers. This means all alerts are executed on every server but alert notifications are only sent once per alert. Grafana does not support load distribution between servers.
|
||||
|
||||
## User sessions
|
||||
|
||||
> After Grafana 6.2 you don't need to configure session storage since the database will be used by default.
|
||||
> If you want to offload the login session data from the database you can configure [remote_cache]({{< relref "../administration/configuration.md" >}}#remote-cache)
|
||||
> **Note:** You don't need to configure session storage, because the database will be used by default.
|
||||
> If you want to offload the login session data from the database, then you can configure [remote_cache]({{< relref "../administration/configuration.md" >}}#remote-cache).
|
||||
|
||||
The second thing to consider is how to deal with user sessions and how to configure your load balancer in front of Grafana.
|
||||
Grafana supports two ways of storing session data: locally on disk or in a database/cache-server.
|
||||
@@ -35,13 +35,13 @@ If you want to store sessions on disk you can use `sticky sessions` in your load
|
||||
you can use any stateless routing strategy in your load balancer (ex round robin or least connections).
|
||||
|
||||
### Sticky sessions
|
||||
|
||||
Using sticky sessions, all traffic for one user will always be sent to the same server. Which means that session related data can be
|
||||
stored on disk rather than on a shared database. This is the default behavior for Grafana and if you only want multiple servers for fail over this is a good solution since it requires the least amount of work.
|
||||
|
||||
### Stateless sessions
|
||||
|
||||
You can also choose to store session data in a Redis/Memcache/Postgres/MySQL which means that the load balancer can send a user to any Grafana server without having to log in on each server. This requires a little bit more work from the operator but enables you to remove/add grafana servers without impacting the user experience.
|
||||
If you use MySQL/Postgres for session storage, you first need a table to store the session data in. More details about that in [[sessions]]({{< relref "../administration/configuration.md" >}}#session)
|
||||
|
||||
For Grafana itself it doesn't really matter if you store the session data on disk or database/redis/memcache. But we recommend using a database/redis/memcache since it makes it easier to manage the grafana servers.
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user