grafana/pkg/infra
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
..
fs use absolute path when getting grafana path; add test for directory (#36001) 2021-07-06 11:28:02 -05:00
httpclient Chore: Implement OpenTelemtry in Grafana (#42674) 2022-01-20 11:10:12 +01:00
kvstore Alerting: fix ngalert alertmanager SQL Syntax Errors (#40827) 2021-10-25 11:53:41 +02:00
localcache Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00
log Use stack trace context in XORM trace logger (#43780) 2022-01-13 13:30:28 -05:00
metrics Chore: Report frontend metrics for JS/CSS load time (#42421) 2021-12-02 09:34:39 +01:00
network Backend: fix IPv6 address parsing erroneous (#28585) 2020-11-25 07:55:22 +01:00
process PluginsCatalog: adding error information about disabled plugins. (#39171) 2021-09-20 09:08:00 +02:00
remotecache Logger migration from log15 to gokit/log (#41636) 2022-01-06 22:28:05 +08:00
serverlock Chore: Fix flaky serverlock integration test (#42633) 2021-12-02 12:53:21 +01:00
tracing Chore: Implement OpenTelemtry in Grafana (#42674) 2022-01-20 11:10:12 +01:00
usagestats Add usage stats preview endpoint (#43899) 2022-01-14 10:16:07 +01:00