ef6e28b955
K8s: Make v0alpha1 opt-in ( #107056 )
2025-06-20 16:37:17 -05:00
757be6365a
CI: Bump golangci-lint to 2.0.2 ( #103572 )
2025-04-10 14:42:23 +02:00
04fb9f534e
Dashboards: Only expose LibraryPanels and search on v0 (not v1+v2) ( #103335 )
2025-04-03 20:24:12 +03:00
0152f414f0
DS Apiservers: return 404 when receiving a datasource not found error ( #100025 )
...
* DS Apiservers should return a k8s 404 error
* Do not swallow status codes
* Updates from initial CR.
* Add test for ds apiserver to retunr 404 when a datasource is not found
* Didn't intend for a change here
2025-02-10 12:07:51 -05:00
9d5af95565
K8s/OpenAPI: Remove /watch/ from the openapi spec ( #99793 )
2025-01-30 12:51:55 +03:00
5f39d2eeb0
K8s: Make GetAPIRoutes an optional interface ( #97531 )
2024-12-07 03:08:18 +03:00
a45deafc96
query: add missing x-rule headers ( #95948 )
2024-11-07 16:03:54 +01:00
36c38b5310
APIServer: add prometheus.Registerer to every init request ( #94684 )
2024-10-15 07:46:08 +03:00
225600a08b
Expose queryconvert endpoint ( #93656 )
2024-09-25 15:10:19 +02:00
3221f493f9
K8s: Prevent registration of frontend datasources ( #93635 )
2024-09-24 06:39:11 -04:00
db97da3465
K8s: handle multiple versions of the same group in standalone mode ( #93199 )
2024-09-23 19:07:52 -07:00
f21a5987a2
Plugins: Expose datasources as apiservers feature toggle ( #93250 )
2024-09-19 11:28:27 +03:00
01a4e6b9af
Remove the need for plugins to implement AdmissionHandler for v0alpha1 ( #93272 )
2024-09-13 09:08:26 +02:00
cb484f9883
K8s: Move ResourceInfo from common to utils ( #92924 )
2024-09-04 14:53:14 +03:00
5dce149221
feat(querier): propagate all known alerting headers ( #92873 )
2024-09-03 18:01:27 +02:00
c0b2fafd5e
Ensure that datasource apiservers receive and forwards headers ( #92304 )
...
* Ensure that datasource apiservers receive and forwards headers for datasources:
- adds log line for prometheus to see when from alert header is received
- add logging to the datasource apiserver
- Updates the Connect func in sub query to forward expected headers to datasources and log unexpected ones.
2024-08-29 11:06:25 -04:00
df3d8915ba
Chore: Bump Go to 1.23.0 ( #92105 )
...
* chore: Bump Go to 1.23.0
Signed-off-by: Dave Henderson <dave.henderson@grafana.com>
* update swagger files
Signed-off-by: Dave Henderson <dave.henderson@grafana.com>
* chore: update .bingo/README.md formatting to satisfy prettier
Signed-off-by: Dave Henderson <dave.henderson@grafana.com>
* chore(lint): Fix new lint errors found by golangci-lint 1.60.1 and Go 1.23
Signed-off-by: Dave Henderson <dave.henderson@grafana.com>
* keep golden file
* update openapi
* add name to expected output
* chore(lint): rearrange imports to a sensible order
Signed-off-by: Dave Henderson <dave.henderson@grafana.com>
---------
Signed-off-by: Dave Henderson <dave.henderson@grafana.com>
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2024-08-21 11:40:42 -04:00
a223c46506
APIServer: Make TableConverter part of ResourceInfo ( #91520 )
2024-08-05 15:38:12 +03:00
d2bc4f3255
DualWrite: Cleanup and centralize the dual write creation ( #90013 )
2024-07-11 23:23:31 +03:00
f41ee615ba
Chore: Add basic admission handlers for registered API services ( #89824 )
2024-07-03 09:19:54 +02:00
9c6d3590a2
Chore: Fix apiserver circular dependencies ( #89918 )
2024-07-01 11:42:34 -04:00
3ac109e759
AWS: Update deprecated aws-sdk functions from env variable versions ( #89643 )
2024-06-26 11:56:39 -04:00
27e800768e
K8s: Improve identity mapping setup ( #89450 )
2024-06-20 17:53:07 +03:00
fd44f2ee4f
Init dualwriter metrics ( #89003 )
...
* Pass prometheus registerer to the dual writer
* Fix tests
* Remove unused var
* Fix tests
* Uncomment test
* Remove leading line
* Fix tests. Reuse registerer if there's already one
* Lint
* Improve double registering logic
* Rebase main
2024-06-14 11:01:49 +02:00
3ae95a6eb1
K8s: Update grafana resource metadata accessor ( #89074 )
2024-06-12 14:39:37 +03:00
2403665998
Chore: Remove legacydata package ( #88790 )
...
* Chore: Remove legacydata package
* remove unused dependency
* sdk v0.234.0
2024-06-05 22:31:06 +02:00
36f42853dd
Storage: Read desired mode from config instead of feature flags ( #88353 )
...
* Read desired mode from config
* Update playlist integration tests
* Add mode 1 playlist integration tests
* Add mode 0 dual writing to playlist integration tests
* Add documentation for the different dual writing modes
2024-05-31 19:29:59 +02:00
42b0f802de
QueryTypes: Add feature toggle to show query types in datasource apiservers ( #88213 )
...
* initial attempt
* show query types
* show query types
* with formatting
* with formatting
* more cleanup
* add feature toggle
* fix build
2024-05-23 18:46:28 +02:00
c9ab4e3a9e
DS apiserver: Fix resource path ( #85494 )
2024-04-02 20:09:18 +02:00
e6fa367d02
k8s/query+ds: catch query errors, fix datasourceProvider and expose prometheus ( #85071 )
2024-03-25 17:22:34 +03:00
a705ff7892
API Server: refactor plugin ID handling ( #84753 )
2024-03-20 13:49:19 +01:00
e978d0810e
DS apiserver: Minor fixes ( #84691 )
2024-03-19 09:02:52 +01:00
6204f1e847
Chore: Use SigV4 middleware from aws-sdk ( #84462 )
2024-03-18 09:33:22 +01:00
c061cc33cc
Chore: Use response limit middleware from SDK ( #83915 )
2024-03-13 10:14:16 +01:00
d82f3be6f7
QueryService: Use types from sdk ( #84029 )
2024-03-08 18:12:59 +02:00
d7bcd119c3
K8s: improve openapi generation ( #83796 )
2024-03-02 00:26:04 +02:00
fc8a9aad22
Datasource API: Add config to ctx ( #83386 )
2024-02-26 13:02:55 +01:00
e5a26a3f7c
K8s: Add apimachinery and apiserver packages ( #83190 )
2024-02-23 15:15:43 -05:00
91754bcda5
K8s: Refactor standalone apiserver initialization ( #81932 )
2024-02-06 08:40:35 -08:00
810d14d88f
K8s: use --runtime-config={group}/{version}=true to enabled APIs ( #81614 )
2024-02-01 22:06:28 -08:00
67b6be5515
K8s: Refactor config/options for aggregation ( #81739 )
2024-02-01 17:27:30 -05:00
e013cd427c
K8s: Add basic query service ( #80325 )
2024-01-31 20:36:51 +02:00
1fab107e79
FeatureFlags: Avoid using cfg.IsFeatureToggleEnabled ( #81407 )
2024-01-28 15:22:45 -08:00
722b78f3e0
RBAC: Add userLogin filter to the permission search endpoint ( #81137 )
...
* RBAC: Search add user login filter
* Switch to a userService resolving instead
* Remove unused error
* Fallback to use the cache
* account for userID filter
* Account for the error
* snake case
* Add test cases
* Add api tests
* Fix return on error
* Re-order imports
2024-01-26 09:43:16 +01:00
3b96eb854a
Chore: Replace config with datasource in names ( #81098 )
2024-01-24 16:44:40 +01:00
c7c594dba0
K8s/DataSource: Introduce PluginConfigProvider ( #80928 )
2024-01-22 11:32:25 -08:00
2a0f1900d5
Datasources: Add wireset for datasource.DataSourceAPIBuilder ( #80914 )
...
tidy up
2024-01-22 15:21:27 +01:00
3f30cbf91c
DataSources: Add datasource fetching + querying interface ( #80749 )
...
* first pass
* separate oss + enterprise
* tidy things up
* add ctx
* fix tests
* use standalone svcs
* mv plugin context provide
* fix wire
* fix import
2024-01-19 15:56:52 +01:00
0d1462cbbb
Add real instances to testdata standalone API server ( #80473 )
...
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
2024-01-17 09:22:51 +01:00
d76defe517
K8s: Move GrafanaMetaAccessor into grafana-apiserver and remove usage of kinds metadata ( #79602 )
...
* move GrafanaMetaAccessor into pkg/apis, add support for Spec.Title & Spec.Name
* K8s: Move GrafanaMetaAccessor (PR into another) (#79728 )
* access titles
* remove title
* remove title
* remove kinds metadata accessor
* remove kinds metadata accessor
* fixes
* error handling
* fix tests
---------
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2024-01-12 16:18:14 -05:00