grafana/pkg/infra/tracing
Giuseppe Guerra 09078b14e1
Plugins: Support for distributed tracing in backend plugins SDK (#63714)
* Tracing: Pass OTLP address and propagation format to plugins

* Fix unit tests

* Fix indentation

* Fix plugin manager integration tests

* Goimports

* Pass plugin version to plugins

* Do not add GF_PLUGIN_VERSION if plugin version is not set, add tests

* Allow disabling plugins distributed tracing on a per-plugin basis

* Moved disabled plugins to tracing.opentelemetry config section

* Pre-allocate DisabledPlugins map to the correct size

* Moved disable tracing setting flags in plugin settings

* Renamed plugin env vars for tracing endpoint and propagation

* Fix plugin initializer tests

* Refactoring: Moved OpentelemetryCfg from pkg/infra to pkg/plugins

* Changed GetSection to Section in parseSettingsOpentelemetry

* Add tests for NewOpentelemetryCfg

* Fix test case names in TestNewOpentelemetryCfg

* OpenTelemetry: Remove redundant error checks
2023-03-30 23:31:14 +02:00
..
opentelemetry_tracing.go Plugins: Support for distributed tracing in backend plugins SDK (#63714) 2023-03-30 23:31:14 +02:00
optentelemetry_tracing_test.go Plugins: Support for distributed tracing in backend plugins SDK (#63714) 2023-03-30 23:31:14 +02:00
test_helper.go Plugins: Support for distributed tracing in backend plugins SDK (#63714) 2023-03-30 23:31:14 +02:00
tracing_test.go Chore: Fix goimports grouping in pkg/infra (#62421) 2023-01-30 08:32:25 +00:00
tracing.go Plugins: Support for distributed tracing in backend plugins SDK (#63714) 2023-03-30 23:31:14 +02:00