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
bergquist 0a9bfc5529 delete provisioning meta data when deleting folder 7 years ago
..
migrations removes d in disableResolvedMessage 7 years ago
migrator sqlstore: add support for checking if error is constraint validation error 7 years ago
sqlutil move database-specific code into dialects (#11884) 7 years ago
alert.go use alert state changes counter as secondary version 7 years ago
alert_notification.go removes d in disableResolvedMessage 7 years ago
alert_notification_test.go removes d in disableResolvedMessage 7 years ago
alert_test.go alert: add missing test after refactor 7 years ago
annotation.go Merge pull request #10163 from grafana/9587_annotation_tags_wih_temp_var 7 years ago
annotation_test.go renames PartialMatch to MatchAny 7 years ago
apikey.go sql: adds tests for InTransaction 7 years ago
apikey_test.go Added expire option to dashboard snapshots, #1623 10 years ago
dashboard.go delete provisioning meta data when deleting folder 7 years ago
dashboard_acl.go return inherited property for permissions 7 years ago
dashboard_acl_test.go pkg/services: fix ineffassign issues 7 years ago
dashboard_folder_test.go new property for current user indicating if edit permissions in folders 7 years ago
dashboard_provisioning.go provisioning: simplify db query 7 years ago
dashboard_provisioning_test.go delete provisioning meta data when deleting folder 7 years ago
dashboard_service_integration_test.go Fix megacheck issue unused code. 7 years ago
dashboard_snapshot.go Simplify comparison to bool constant (gosimple) 7 years ago
dashboard_snapshot_test.go Sqlstore refactor (#11908) 7 years ago
dashboard_test.go fix failing test due to time diff issues 7 years ago
dashboard_version.go dashboard version cleanup: more tests and refactor 7 years ago
dashboard_version_test.go dashboard version cleanup: more tests and refactor 7 years ago
datasource.go wip: data source permissions hooks 7 years ago
datasource_test.go Shouldn't be able to overwrite a dashboard if you don't have permissions (#10900) 7 years ago
health.go feat: added api health endpoint that does not require auth and never creates sessions, returns db status as well. #3302 8 years ago
logger.go dasboard_history: security fix, added orgId filter to dashboard version lookup 8 years ago
login_attempt.go login: uses epochs for login throtting. 7 years ago
login_attempt_test.go WIP: Protect against brute force (frequent) login attempts (#10031) 7 years ago
org.go pkg/services/sqlstore: Fix sess.Id is deprecated: use ID instead. (megacheck) 7 years ago
org_test.go changed property name to UserWasDeleted and added an assert for it 7 years ago
org_users.go changed property name to UserWasDeleted and added an assert for it 7 years ago
playlist.go move database-specific code into dialects (#11884) 7 years ago
playlist_test.go chore(playlist): remove commented code 9 years ago
plugin_setting.go pkg/services/sqlstore: Fix sess.Id is deprecated: use ID instead. (megacheck) 7 years ago
preferences.go pkg/services/sqlstore: Fix sess.Id is deprecated: use ID instead. (megacheck) 7 years ago
quota.go pkg/services/sqlstore: Fix sess.Id is deprecated: use ID instead. (megacheck) 7 years ago
quota_test.go Sqlstore refactor (#11908) 7 years ago
search_builder.go move database-specific code into dialects (#11884) 7 years ago
search_builder_test.go move database-specific code into dialects (#11884) 7 years ago
session.go expose functions to use sessions 7 years ago
sql_test_data.go refactor: sqlstore inTransaction consolidated to one version, fixes #8376 8 years ago
sqlbuilder.go refactoring: alert rule query refactoring (#10941) 7 years ago
sqlstore.go Merge branch 'master' into data-source-instance-to-react 7 years ago
sqlstore.goconvey feat(invite): small progress 10 years ago
star.go refactor: sqlstore inTransaction consolidated to one version, fixes #8376 8 years ago
stars_test.go Fixed gofmt formating, updated precommit hook 10 years ago
stats.go adds usage stats for alert notifiers (#13173) 7 years ago
stats_test.go adds usage stats for alert notifiers (#13173) 7 years ago
tables.go Began work on real sql schema definitions, and migration engine 11 years ago
team.go Merge pull request #13295 from mjtrangoni/fix-some-megacheck-issues 7 years ago
team_test.go new column for team_member table 7 years ago
temp_user.go pkg/services/sqlstore: Fix x.Sql is deprecated: use SQL instead. (megacheck) 7 years ago
temp_user_test.go signup: fix email sent logic for tempuser 8 years ago
tls_mysql.go generalized database connection cert support and added to postgres 9 years ago
transactions.go string formating fixes 7 years ago
transactions_test.go Fix megacheck issue unused code. 7 years ago
user.go Remove user form org now completely removes the user from the system if the user is orphaned 7 years ago
user_auth.go refactor authproxy & ldap integration, address comments 7 years ago
user_auth_test.go pkg/services/sqlstore/user_auth_test.go: comment unused users slice 7 years ago
user_test.go sql: added code migration type 7 years ago