grafana/pkg/util
Sven Grossmann a01f8c5b42
Loki: Add backend functionality to parse structured metadata from Loki (#77361)
* prepare backend for structured metadata

* add `lokiStructuredMetadata` feature toggle

* use `lokiStructuredMetadata` feature flag

* add field type check to `labelTypesField`

* remove fixme

* fix feature toggle

* add field in dataplane mode

* use `data.Labels` where possible

* adjust framing tests

* improve verbiage

* improve naming

* update tests to "attributes"
2023-11-16 17:06:14 +01:00
..
cmd Packaging: Added deprecation warnings when running grafana-cli or grafana-server; the grafana command should be used instead. (#66976) 2023-04-20 19:51:50 +02:00
cmputil Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
converter Loki: Add backend functionality to parse structured metadata from Loki (#77361) 2023-11-16 17:06:14 +01:00
errutil Instrumentation: Handle context.Canceled (#75867) 2023-10-10 12:28:39 +02:00
maputil Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
proxyutil Team LBAC: Move middleware to enterprise (#76969) 2023-10-24 14:06:18 +03:00
retryer Database: Don't sleep 10ms before every request (#64832) 2023-03-27 11:17:05 +02:00
ticker Alerting: Extract ticker into shared package (#55703) 2022-09-26 12:35:33 -05:00
xorm Chore: Use vendored xorm instead of a fork (#77388) 2023-11-06 16:09:49 +01:00
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: Replace go-multierror with errors package (#66432) 2023-06-19 12:29:45 +03:00
encoding_test.go Utils: Reimplement util.GetRandomString to avoid modulo bias (#64481) 2023-04-20 10:24:02 -04:00
encoding.go Utils: Reimplement util.GetRandomString to avoid modulo bias (#64481) 2023-04-20 10:24:02 -04: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 Plugins: Follow root level dist and siblings when walking file system (#78042) 2023-11-14 10:31:46 +01:00
ip_address_test.go Backend: fix IPv6 address parsing erroneous (#28585) 2020-11-25 07:55:22 +01:00
ip_address.go Chore: Remove Wrapf (#50128) 2022-06-06 22:30:31 +02:00
json.go Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
math.go Chore: Remove dead code (#28664) 2020-11-05 11:00:00 +01:00
md5_test.go Fix changed want md5 hash 2018-09-21 13:41:03 +02:00
md5.go pkg/util/*: Add missing function comments. 2019-01-28 22:09:40 +01:00
pointer.go Chore: Remove xorcare/pointer dependency (#63900) 2023-03-06 05:23:15 -05:00
reverse_test.go Nested Folders: Add tests for store methods (#57662) 2022-11-03 14:21:41 +01:00
reverse.go Nested Folders: Add tests for store methods (#57662) 2022-11-03 14:21:41 +01:00
shortid_generator_test.go Alerting: Update provisioning to validate user-defined UID on create (#73793) 2023-09-08 15:09:35 -04:00
shortid_generator.go Alerting: Update provisioning to validate user-defined UID on create (#73793) 2023-09-08 15:09:35 -04:00
split_email_test.go Test: Create unit test to SplitEmails (#27985) 2020-10-02 08:42:10 +02:00
split_email.go Emails: resurrect template notification (#18686) 2019-08-26 17:19:03 +02:00
strings_test.go Config: Support JSON list syntax (#61288) 2023-01-16 16:03:20 +03:00
strings.go Config: Support JSON list syntax (#61288) 2023-01-16 16:03:20 +03:00
tls_test.go HTTP: Add TLS version configurability for Grafana server (#67482) 2023-05-08 17:11:36 +02:00
tls.go HTTP: Add TLS version configurability for Grafana server (#67482) 2023-05-08 17:11:36 +02:00
url_test.go Tests: Change util GoConvey tests to use testify (#26724) 2020-08-13 11:10:48 +02:00
url.go AzureMonitor: Alerting for Azure Application Insights (#19381) 2019-10-07 14:18:14 +02:00
validation_test.go Tests: Change util GoConvey tests to use testify (#26724) 2020-08-13 11:10:48 +02:00
validation.go pkg/util/*: Add missing function comments. 2019-01-28 22:09:40 +01:00