grafana/pkg/apiserver/rest
Leonor Oliveira 8d75dcec04
Add better logging to the dual writer (#85594)
* Make Legacy a public field

* Remove duplicated Create method

* Add logger to dualwriter

* Use klog

* Add comment about selecting the dual writer

* Update pkg/apiserver/rest/dualwriter_mode1.go

Co-authored-by: Arati R. <33031346+suntala@users.noreply.github.com>

* Update pkg/apiserver/rest/dualwriter_mode2.go

Co-authored-by: Arati R. <33031346+suntala@users.noreply.github.com>

* Update pkg/apiserver/rest/dualwriter_mode3.go

Co-authored-by: Arati R. <33031346+suntala@users.noreply.github.com>

* Update pkg/apiserver/rest/dualwriter_mode3.go

Co-authored-by: Arati R. <33031346+suntala@users.noreply.github.com>

* Update pkg/apiserver/rest/dualwriter_mode2.go

Co-authored-by: Arati R. <33031346+suntala@users.noreply.github.com>

* Create error var

* Lint

---------

Co-authored-by: Arati R. <33031346+suntala@users.noreply.github.com>
2024-04-09 10:54:09 +02:00
..
dualwriter_mode1.go Add better logging to the dual writer (#85594) 2024-04-09 10:54:09 +02:00
dualwriter_mode2.go Add better logging to the dual writer (#85594) 2024-04-09 10:54:09 +02:00
dualwriter_mode3.go Add better logging to the dual writer (#85594) 2024-04-09 10:54:09 +02:00
dualwriter_mode4.go Storage: Add mode-specific dual writers (#85551) 2024-04-04 14:02:51 +02:00
dualwriter.go Add better logging to the dual writer (#85594) 2024-04-09 10:54:09 +02:00
spy_client.go Add setup and spies for the dual writer (#85568) 2024-04-04 11:46:16 +02:00