grafana/pkg/services/ngalert/state
Alexander Weaver bf54f2672e
Alerting: Switch to snappy-compressed-protobuf for outgoing push requests to Loki (#65077)
* Encode with snappy, always

* JSON encoder type

* Headers

* Copy labels formatter from promtail

* Implement snappy-proto encoding

* Create encoder interface, test both encoders, choose snappy-proto by default

* Make encoder configurable at the LokiCfg level

* Export both encoders

* Touch up comment and tests

* Drop unnecessary conversions after move to plain strings to appease linter
2023-03-21 13:38:42 -05:00
..
historian Alerting: Switch to snappy-compressed-protobuf for outgoing push requests to Loki (#65077) 2023-03-21 13:38:42 -05:00
template Alerting: Return errors when expanding templates (#63662) 2023-03-08 12:25:02 +00:00
cache_test.go Phlare: Use enum config to send deduplicated func and filenames (#64435) 2023-03-13 11:06:04 +01:00
cache.go Alerting: Return errors when expanding templates (#63662) 2023-03-08 12:25:02 +00:00
image_mock.go Chore: Fix goimports grouping in alerting (#62424) 2023-01-30 09:55:35 +01:00
manager_bench_test.go Alerting: Expose Prometheus metrics for persisting state history (#63157) 2023-03-06 10:40:37 -06:00
manager_private_test.go Alerting: Do not persist noop transition from Normal state. (#61201) 2023-01-13 18:29:29 -05:00
manager_test.go Alerting: Expose Prometheus metrics for persisting state history (#63157) 2023-03-06 10:40:37 -06:00
manager.go Alerting: Create new state history "fanout" backend that dispatches to multiple other backends at once (#64774) 2023-03-17 12:41:18 -05:00
persist.go Alerting: Create new state history "fanout" backend that dispatches to multiple other backends at once (#64774) 2023-03-17 12:41:18 -05:00
state_test.go Chore: Remove xorcare/pointer dependency (#63900) 2023-03-06 05:23:15 -05:00
state.go Alerting: Do not persist noop transition from Normal state. (#61201) 2023-01-13 18:29:29 -05:00
testing.go Alerting: Create new state history "fanout" backend that dispatches to multiple other backends at once (#64774) 2023-03-17 12:41:18 -05:00