grafana/pkg/plugins/backendplugin
Giuseppe Guerra cfcfbe4aaa
Plugins: Refactoring: Implement plugin instrumentation as a middleware (#76011)
* Plugins: Refactor instrumentation as plugin client middleware

* Simplify repeated code

* Fix compilation error

* Add comments

* Moved status and endpoint consts to utils.go

* Fix wrong endpoint name in CheckHealth InstrumentationMiddleware

* Add tests

* Fix wrong endpoint value in instrumentPluginRequestSize

* removed todo

* PR review feedback: use MustRegister

* PR review feedback: move tracing middleware before instrumentation middleware

* PR review feedback: removed decommissioned check

* PR review feedback: extract prometheus metrics into separate variables
2023-10-09 14:12:57 +02:00
..
coreplugin Tracing: Standardize on otel tracing (#75528) 2023-10-03 14:54:20 +02:00
grpcplugin Plugin: Accept backend plugin process command args (#76037) 2023-10-05 15:15:57 +02:00
pluginextensionv2 Chore: Replace entity GRN with infra/grn GRN (#74198) 2023-08-31 15:43:35 -04:00
provider Plugins: Introduce plugin package specific logger (#62204) 2023-02-28 16:10:27 +01:00
secretsmanagerplugin Chore: Replace entity GRN with infra/grn GRN (#74198) 2023-08-31 15:43:35 -04:00
backendplugin.go Licensing: Pass func to update env variables when starting plugin (#74620) 2023-09-11 09:33:10 -03:00
ifaces.go Plugins: Introduce plugin package specific logger (#62204) 2023-02-28 16:10:27 +01:00