beejeebus
4518add556
Use a different metric name for new config CRUD APIs
...
Also, make sure to register the metrics with the same prometheus registerer
as the http server, so that metrics will show up.
2026-01-07 14:28:31 -05:00
beejeebus
9a4e13800d
Guard config CRUD metrics so it's safe for grafana-enterprise
...
Previous attempt to land this required this PR and a grafana-enterprise
PR to land at the ~same time.
This PR guards the use of `dsConfigHandlerRequestsDuration` with a nil
check, and doesn't change any existing APIs, so we can land it without
any timing issues with grafana-enterprise.
Once this has landed, we'll make a follow-up PR for grafana-enterprise.
2025-12-12 07:21:29 -05:00
beejeebus
2a65e0cdcb
Revert "Wire up data source config metrics correctly"
...
This reverts commit e433cfa02d .
2025-12-10 17:38:00 -05:00
beejeebus
e433cfa02d
Wire up data source config metrics correctly
...
Fix metrics for data source configuration CRUD.
Make sure to only create one histogram and only register it with prometheus once.
2025-12-10 16:16:22 -05:00
beejeebus
ca8cad68c8
Add a metric to track usage of datasource configuration CRUD
...
This PR adds `ds_config_handler_requests_duration_seconds` metric to help us
track the release of the new datasource configuration CRUD api.
Fixes https://github.com/grafana/grafana-enterprise/issues/10309
2025-11-26 10:49:11 -05:00
beejeebus
c3f34efb41
Revert "Revert: DataSource: Support config CRUD from apiservers ( #106996 ) ( #110342 )"
...
This reverts commit 72eeefabd7 .
2025-10-07 14:31:07 -04:00
Nathan Vērzemnieks
72eeefabd7
Revert: DataSource: Support config CRUD from apiservers ( #106996 ) ( #110342 )
...
Revert "DataSource: Support config CRUD from apiservers (#106996 )"
This reverts commit eda94a6434 .
2025-08-29 14:49:57 +02:00
Ryan McKinley
eda94a6434
DataSource: Support config CRUD from apiservers ( #106996 )
2025-08-28 22:28:26 +03:00