The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
grafana/pkg/services/sqlstore
Karl Persson a5e4a533fa
Access control: use uid for dashboard and folder scopes (#46807)
3 years ago
..
db Add fakes for db interface (#46885) 3 years ago
migrations Access control: use uid for dashboard and folder scopes (#46807) 3 years ago
migrator Search: sort results correctly when using postgres (#46466) 3 years ago
mockstore Chore: Remove bus from dashboard service (#46829) 3 years ago
permissions Access control: use uid for dashboard and folder scopes (#46807) 3 years ago
searchstore Search Service to support search for folders available for alerting (#46483) 3 years ago
sqlutil Chore: Add CloudWatch HTTP API tests (#29691) 4 years ago
alert.go Chore: Remove bus from dashboard service (#46829) 3 years ago
alert_notification.go Chore: Remove x from health, alert notification, dashboard, stats, user (#45265) 3 years ago
alert_notification_test.go Refactor: Change sqlstore.inTransaction to .WithTransactionalDBSession (#43245) 3 years ago
alert_test.go Chore: Remove bus from dashboard service (#46829) 3 years ago
annotation.go Chore: Remove global database engine variable from annotation (#46940) 3 years ago
annotation_cleanup.go Annotations: Prevent orphaned annotation tags cleanup when no annotations were cleaned (#33957) 4 years ago
annotation_cleanup_test.go Instrumentation: Start tracing database requests (#34572) 4 years ago
annotation_test.go Chore: Remove x from annotation test (#46935) 3 years ago
apikey.go Service accounts: Split user and service account database (#46442) 3 years ago
apikey_test.go Separate API key store from SA token store (#45862) 3 years ago
dashboard.go Chore: Remove bus from dashboard service (#46829) 3 years ago
dashboard_acl.go Dashboards: Refactor service to make it injectable by wire (#44588) 3 years ago
dashboard_provisioning.go Chore: Remove bus.Dispatch from provisioning services (#44989) 3 years ago
dashboard_snapshot.go Refactor: Change sqlstore.inTransaction to SQLStore.WithTransactional… (#43772) 3 years ago
dashboard_snapshot_test.go Refactor: Change sqlstore.inTransaction to SQLStore.WithTransactional… (#43772) 3 years ago
dashboard_thumbs.go Previews: capability check (#44601) 3 years ago
dashboard_thumbs_test.go Previews: capability check (#44601) 3 years ago
dashboard_version.go Rename AddHandlerCtx to AddHandler (#43557) 3 years ago
dashboard_version_test.go Dashboards: Refactor service to make it injectable by wire (#44588) 3 years ago
database_wrapper.go Chore: Implement OpenTelemtry in Grafana (#42674) 3 years ago
datasource.go Chore: fix comment (#45593) 3 years ago
datasource_test.go AccessControl: Remove permissions on data source delete (#45504) 3 years ago
health.go Chore: Remove x from health, alert notification, dashboard, stats, user (#45265) 3 years ago
health_test.go Chore: Remove bus from health api (#44897) 3 years ago
logger.go Chore: Update the xorm dependency (#22376) 5 years ago
login_attempt.go Chore: Remove x from login attempt (#46853) 3 years ago
login_attempt_test.go Chore: Remove x from login attempt (#46853) 3 years ago
org.go Chore: Remove x from org (#46851) 3 years ago
org_test.go Remove global variable from user (#46696) 3 years ago
org_users.go Chore: Remove x from org users (#46848) 3 years ago
org_users_test.go Access Control: Add test flag to enable access control (#46780) 3 years ago
playlist.go Rename AddHandlerCtx to AddHandler (#43557) 3 years ago
playlist_test.go Chore: Add context to playlist (#41337) 4 years ago
plugin_setting.go Plugins: Fix problematic query (#46777) 3 years ago
plugin_setting_test.go Chore: Add tests for plugin settings sqlstore (#46792) 3 years ago
preferences.go Navigation: Introduce a preferences table to store Navbar preferences (#44914) 3 years ago
preferences_test.go Navigation: Introduce a preferences table to store Navbar preferences (#44914) 3 years ago
quota.go Rename AddHandlerCtx to AddHandler (#43557) 3 years ago
quota_test.go Chore: Add context to org (#40685) 4 years ago
session.go Reuse opened session in the context (#44939) 3 years ago
sqlbuilder.go Remove unnecesary joins from queries (#43626) 3 years ago
sqlbuilder_test.go Dashboards: Refactor service to make it injectable by wire (#44588) 3 years ago
sqlstore.go Access Control: Add test flag to enable access control (#46780) 3 years ago
sqlstore.goconvey feat(invite): small progress 10 years ago
sqlstore_test.go Chore: update all +build statements (#38782) 4 years ago
star.go Rename AddHandlerCtx to AddHandler (#43557) 3 years ago
stars_test.go Chore: Add context to star and stats (#39591) 4 years ago
stats.go Service Accounts: Implement basic usage stats (#46619) 3 years ago
stats_integration_test.go Chore: Remove bus from admin (#44920) 3 years ago
stats_test.go Chore: Remove bus.Dispatch from provisioning services (#44989) 3 years ago
store.go Chore: Remove bus from dashboard service (#46829) 3 years ago
tables.go Began work on real sql schema definitions, and migration engine 10 years ago
tags.go Chore: Enable Go linter gocritic (#26224) 5 years ago
tags_test.go Chore: Remove GoConvey from sqlstore package (#40753) 4 years ago
team.go Access Control: Support other attributes than id for resource permissions (#46727) 3 years ago
team_test.go Access Control: Add test flag to enable access control (#46780) 3 years ago
temp_user.go Rename AddHandlerCtx to AddHandler (#43557) 3 years ago
temp_user_test.go Chore: Add context to temp user (#41284) 4 years ago
tls_mysql.go Chore: Fix staticcheck issues (#28854) 5 years ago
transactions.go Reuse opened session in the context (#44939) 3 years ago
transactions_test.go Reuse opened session in the context (#44939) 3 years ago
user.go Remove global variable from user (#46696) 3 years ago
user_test.go Remove global variable from user (#46696) 3 years ago