grafana/pkg/services/live
Jeff Levin d076bedb5e
public dashboards: finalize db schema & v1 feature complete (#50467)
This PR completes public dashboards v1 functionality and simplifies public dashboard conventions. It exists as a large PR so that we are not making constant changes to the database schema.

models.PublicDashboardConfig model replaced with models.PublicDashboard directly
dashboard_public_config table renamed to dashboard_public
models.Dashboard.IsPublic removed from the dashboard and replaced with models.PublicDashboard.isEnabled
Routing now uses a uuid v4 as an access token for viewing a public dashboard anonymously, PublicDashboard.Uid only used as database identifier
Frontend utilizes uuid for auth'd operations and access token for anonymous access
Default to time range defined on dashboard when viewing public dashboard
Add audit fields to public dashboard

Co-authored-by: Owen Smallwood <owen.smallwood@grafana.com>, Ezequiel Victorero <ezequiel.victorero@grafana.com>, Jesse Weaver <jesse.weaver@grafana.com>
2022-06-22 13:58:52 -08:00
..
convert Live: avoid panic when type changes (#35394) 2021-06-09 11:15:42 -07:00
database Chore: Exclude integration tests from running on test-backend step (#50359) 2022-06-10 11:46:21 -04:00
features backend/services: Move GetDashboard from sqlstore to dashboard service (#48971) 2022-05-17 14:52:22 -04:00
livecontext live: add ws endpoint to push into pipeline (#41534) 2021-11-15 12:43:18 +03:00
liveplugin Chore: Remove Wrap (#50048) 2022-06-03 09:24:24 +02:00
managedstream Chore: Remove context.TODO (#43458) 2021-12-28 10:26:18 +01:00
orgchannel Live: using organisation IDs throughout stack (#33714) 2021-05-11 22:03:04 +03:00
pipeline Chore: Update grafana-plugin-sdk-go to v0.136.0 (#50127) 2022-06-03 08:25:52 -04:00
pushhttp Chore: Remove context.TODO (#43458) 2021-12-28 10:26:18 +01:00
pushurl Live: check schema equality between push messages (#34548) 2021-05-27 12:55:42 +03:00
pushws Chore: Remove context.TODO (#43458) 2021-12-28 10:26:18 +01:00
remotewrite Live: remote write sampling (#40079) 2021-10-07 11:42:57 +03:00
runstream Chore: Remove context.TODO() from services (#42555) 2021-12-20 17:05:33 +01:00
survey Live: display stream rate, fix duplicate channels in list response (#37365) 2021-07-30 21:05:39 +03:00
telemetry public dashboards: finalize db schema & v1 feature complete (#50467) 2022-06-22 13:58:52 -08:00
live_test.go Live: collect more usage stats – enabled, ha enabled, num nodes, channels, subs (#47378) 2022-04-13 12:27:03 -07:00
live.go rm debug log when publishing live message (#50774) 2022-06-14 15:15:57 +03:00