grafana/pkg/services
Marcus Efraimsson 862a6a2fa6
Logging: Introduce API for contextual logging (#55198)
Introduces a FromContext method on the log.Logger interface that 
allows contextual key/value pairs to be attached, e.g. per request, 
so that any logger using this API will automatically get the per request 
context attached. The proposal makes the traceID available for 
contextual logger , if available, and would allow logs originating from 
a certain HTTP request to be correlated with traceID.
In addition, when tracing not enabled, skip adding
traceID=00000000000000000000000000000000
to logs.
2022-09-20 18:32:06 +02:00
..
accesscontrol Auth: reduce allocs (#55410) 2022-09-20 12:03:08 +02:00
alerting Chore: SQL store split for annotations (#55089) 2022-09-19 10:54:37 +03:00
annotations Chore: SQL store split for annotations (#55089) 2022-09-19 10:54:37 +03:00
apikey Chore: move from xorm to sqlx apikey store (#53434) 2022-08-23 11:01:35 -04:00
auth Logging: Introduce API for contextual logging (#55198) 2022-09-20 18:32:06 +02:00
cleanup Chore: Split temporary user (invite) service (#55397) 2022-09-20 11:29:17 +02:00
comments Chore: SQL store split for annotations (#55089) 2022-09-19 10:54:37 +03:00
contexthandler JWT: Allow conventional bearer token in Authorization header (#54821) 2022-09-09 11:05:58 +02:00
correlations Correlations: Return 200 instead of 404 for empt correlation lists (#55242) 2022-09-20 11:13:33 +01:00
dashboard_thumbs Fix: return proper values in dashboard thumbs service (#55421) 2022-09-20 00:29:55 +02:00
dashboardimport Chore: Add user service method SetUsingOrg and GetSignedInUserWithCacheCtx (#53343) 2022-08-11 13:28:55 +02:00
dashboards RBAC: Fix background users to include permissions (#55147) 2022-09-14 11:26:05 +02:00
dashboardsnapshots Chore: Add user service method SetUsingOrg and GetSignedInUserWithCacheCtx (#53343) 2022-08-11 13:28:55 +02:00
dashboardversion Chore: replace xorm by sqlx in dashboardversion service (#53869) 2022-08-25 16:04:16 -05:00
datasourceproxy backend/datasources: move datasources models into the datasources service package (#51267) 2022-06-27 12:23:15 -04:00
datasources Fix nil logger in SqlStore (#54726) 2022-09-05 18:24:19 +01:00
encryption Encryption: Fall back to AES-CFB on empty algorithm metadata (#53266) 2022-08-04 09:37:53 +02:00
export Chore: Move SearchOrgs to org service (#55416) 2022-09-20 09:55:40 +02:00
featuremgmt Correlations: Hide Correlations Page behind a feature toggle (#55224) 2022-09-16 15:14:27 +02:00
guardian RBAC: Split up service into several components (#54002) 2022-08-24 13:29:17 +02:00
hooks Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00
kmsproviders Encryption: Refactor secrets.Service initialization (#51091) 2022-07-07 09:48:25 +02:00
ldap Handle ioutil deprecations (#53526) 2022-08-10 15:37:51 +02:00
libraryelements LibraryElements: Fix inability to delete library panels under MySQL (#54600) 2022-09-05 14:28:32 +01:00
librarypanels RBAC: Enable rbac when creating new settings (#53531) 2022-08-11 15:37:31 +02:00
licensing RBAC: Make RBAC action names more consistent (#49730) 2022-06-02 13:14:48 +01:00
live Live: Migrate to centrifuge-js v3 (new API and client protocol) (#51977) 2022-09-20 11:39:46 -04:00
login fix: min metric to hourly metric (#55228) 2022-09-15 14:17:34 +02:00
loginattempt Chore: Move login attempt methods to separate service (#54479) 2022-09-01 18:08:42 +02:00
multildap Split Create User (#50502) 2022-06-28 14:32:25 +02:00
ngalert Alerting: Extract default message embed into named constant (#55424) 2022-09-20 10:20:06 -05:00
notifications User management: Use HMAC-SHA256 to generate time limit codes (password reset tokens) (#42334) 2022-08-18 16:01:09 +02:00
oauthtoken Chore: Add user service method SetUsingOrg and GetSignedInUserWithCacheCtx (#53343) 2022-08-11 13:28:55 +02:00
org Org: Fix service initialization (#55460) 2022-09-20 08:28:47 -04:00
playlist Chore: Replace xorm with sqlx (#52575) 2022-08-16 13:17:14 -05:00
plugindashboards RBAC: Fix background users to include permissions (#55147) 2022-09-14 11:26:05 +02:00
pluginsettings Chore: Move plugin settings store code into a dedicated service (#53560) 2022-08-11 09:50:53 +02:00
preference Chore: remove xorm from preference (#53803) 2022-08-17 22:07:20 -04:00
provisioning Provisioning Contact points: Support disableResolveMessage via YAML too (#54122) 2022-09-15 12:19:34 -04:00
publicdashboards PublicDashboards: Sanitize metadata from public dashboard queries (#55269) 2022-09-19 12:44:29 -03:00
query Plugins: Use error plane for api/ds/query (#54750) 2022-09-14 18:19:57 +02:00
queryhistory Chore: Add user service method SetUsingOrg and GetSignedInUserWithCacheCtx (#53343) 2022-08-11 13:28:55 +02:00
quota Chore: Add user service method SetUsingOrg and GetSignedInUserWithCacheCtx (#53343) 2022-08-11 13:28:55 +02:00
rendering Chore: Upgrade Go to 1.19.1 (#54902) 2022-09-12 12:03:49 +02:00
screenshot Chore: Upgrade Go to 1.19.1 (#54902) 2022-09-12 12:03:49 +02:00
search Chore: Add user service method SetUsingOrg and GetSignedInUserWithCacheCtx (#53343) 2022-08-11 13:28:55 +02:00
searchusers Chore: Remove disable user, disable batch users and searchusers methods from store interface (#53717) 2022-08-16 14:24:57 +02:00
searchV2 SearchV2: add tracing to background jobs (#55250) 2022-09-20 16:49:44 +02:00
secrets Secrets: Improve error handling for secrets manager plugin (#54811) 2022-09-08 17:26:47 -03:00
serviceaccounts RBAC: Remove DeclareFixedRoles wrapper on Access control and inject service (#54153) 2022-08-26 09:59:34 +02:00
shorturls Chore: Add user service method SetUsingOrg and GetSignedInUserWithCacheCtx (#53343) 2022-08-11 13:28:55 +02:00
sqlstore Logging: Introduce API for contextual logging (#55198) 2022-09-20 18:32:06 +02:00
star add sqlx_store into star service (#53430) 2022-08-17 11:17:23 -05:00
store Storage: Content root storage (#54929) 2022-09-12 18:34:46 -04:00
team Chore: Create structure for team service (#55444) 2022-09-20 10:14:00 +00:00
teamguardian Chore: Add user service method SetUsingOrg and GetSignedInUserWithCacheCtx (#53343) 2022-08-11 13:28:55 +02:00
temp_user Chore: Split temporary user (invite) service (#55397) 2022-09-20 11:29:17 +02:00
thumbs Org: Fix service initialization (#55460) 2022-09-20 08:28:47 -04:00
updatechecker Handle ioutil deprecations (#53526) 2022-08-10 15:37:51 +02:00
user Chore: Upgrade Go to 1.19.1 (#54902) 2022-09-12 12:03:49 +02:00
userauth Chore: Split delete user method (#52216) 2022-07-19 16:01:05 +02:00
validations Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00