grafana/pkg/util
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
..
cmputil Chore: Upgrade Go to 1.19.1 (#54902) 2022-09-12 12:03:49 +02:00
converter Chore: Upgrade Go to 1.19.1 (#54902) 2022-09-12 12:03:49 +02:00
errutil Chore: Change default log level for errutil.CoreStatus (#55199) 2022-09-15 14:08:59 +02:00
maputil Prometheus: Fix Azure authentication support (#44407) 2022-02-03 17:06:31 +01:00
proxyutil Logging: Introduce API for contextual logging (#55198) 2022-09-20 18:32:06 +02:00
retryer
contextutil_test.go Chore: Add context util that allow to provide cause of cancellation (#53918) 2022-08-24 10:24:41 -04:00
contextutil.go Chore: Add context util that allow to provide cause of cancellation (#53918) 2022-08-24 10:24:41 -04:00
encoding_test.go Auth Proxy: non-ASCII headers encoding tests (#47110) 2022-05-02 13:08:20 +02:00
encoding.go Auth Proxy: encoding of non-ASCII headers (#44797) 2022-03-04 04:58:27 -05:00
encryption_test.go Fix decrypting secrets in alerting migration (#41061) 2021-10-29 14:20:07 +03:00
encryption.go Encryption: Use secrets service (#40251) 2021-11-04 18:47:21 +02:00
filepath_test.go CodeQL: Try to fix uncontrolled data used in path expression (#43462) 2022-01-11 17:37:58 +01:00
filepath.go Remove ioutil.ReadDir from usage (#53550) 2022-08-11 07:21:12 -04:00
ip_address_test.go
ip_address.go Chore: Remove Wrapf (#50128) 2022-06-06 22:30:31 +02:00
json.go
math.go
md5_test.go
md5.go
shortid_generator_test.go LibraryElements: Enables creating library elements with specific UID (#39019) 2021-09-10 11:22:13 +02:00
shortid_generator.go LibraryElements: Enables creating library elements with specific UID (#39019) 2021-09-10 11:22:13 +02:00
split_email_test.go
split_email.go
strings_test.go Util: Improve performance of strings.SplitString (#49115) 2022-05-25 14:10:22 -07:00
strings.go Storage: Add basic file upload management (#50638) 2022-07-05 10:53:41 -07:00
url_test.go
url.go
validation_test.go
validation.go