grafana/pkg/services/provisioning
idafurjes 30aa24a183
Chore: Implement OpenTelemtry in Grafana (#42674)
* Separate Tracer interface to TracerService and Tracer

* Fix lint

* Fix:Make it possible to start spans for both opentracing and opentelemetry in ds proxy

* Add span methods, use span interface for rest of tracing

* Fix logs in tracing

* Fix tests that are related to tracing

* Fix resourcepermissions test

* Fix some tests

* Fix more tests

* Add TracingService to wire cli runner

* Remove GlobalTracer from bus

* Renaming test function

* Remove GlobalTracer from TSDB

* Replace GlobalTracer in api

* Adjust tests to the InitializeForTests func

* Remove GlobalTracer from services

* Remove GlobalTracer

* Remove bus.NewTest

* Remove Tracer interface

* Add InitializeForBus

* Simplify tests

* Clean up tests

* Rename TracerService to Tracer

* Update pkg/middleware/request_tracing.go

Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>

* Initialize tracer before passing it to SQLStore initialization in commands

* Remove tests for opentracing

* Set span attributes correctly, remove unnecessary trace initiliazation form test

* Add tracer instance to newSQLStore

* Fix changes due to rebase

* Add modified tracing middleware test

* Fix opentracing implementation tags

Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
2022-01-20 11:10:12 +01:00
..
dashboards Rename DispatchCtx to Dispatch (#43563) 2021-12-28 17:36:22 +01:00
datasources Rename DispatchCtx to Dispatch (#43563) 2021-12-28 17:36:22 +01:00
notifiers Rename DispatchCtx to Dispatch (#43563) 2021-12-28 17:36:22 +01:00
plugins Chore: Implement OpenTelemtry in Grafana (#42674) 2022-01-20 11:10:12 +01:00
utils Chore: Implement OpenTelemtry in Grafana (#42674) 2022-01-20 11:10:12 +01:00
values Chore: Refactor GoConvey in provisioning package (#40892) 2021-11-01 11:31:55 +01:00
provisioning_mock.go Chore: Remove Dispatch and AddHandler (#42603) 2021-12-02 18:08:59 +01:00
provisioning_test.go Chore: Add context to org (#40685) 2021-11-03 11:31:56 +01:00
provisioning.go log provisioning errors (#43041) 2021-12-13 16:50:02 +01:00