d4c446f42c
Chore: Update k8s.io to v0.33.1 ( #105307 )
2025-05-28 00:13:18 +03:00
fb763edc32
Google Cloud Montioring: Add Frame type to metric ts queries ( #103723 )
...
enables compatability with SQL expressions
2025-04-09 15:09:36 -04:00
e128c36127
Codegen: Cog and go fixes ( #101408 )
...
* Update to latest cog version and update workspaces
* Update generated go files
* Try to avoid concurrency issues
* Update workspaces
* Try to remove the sync...
* Remove grafana dependency from xorm go.mod file
2025-03-12 10:12:56 +01:00
4e740d8410
GCM: Time-range fix ( #98455 )
...
* Include timeRange on all query executors
* Ensure queries run against query specific time range
* Fix lint
* Improve safety of annotations queries
2025-01-23 14:57:00 +02:00
7151ea6abc
Codegen: Generate Golang code using cog ( #98812 )
...
* Use cog for Go types
* Delete old generation code
* Fix plugins generation
* workspaces update
* Update datasources with new generated code
* More fixes
* Update swagger and openapi specs
* Fixes
* More files...
* Update workspace
* More fixes...
* Remove unused functions
2025-01-14 15:58:38 +01:00
9f75a448d4
Azure/GCM: Improve error display ( #96921 )
...
Improve handling of errors
2024-12-06 18:16:23 +00:00
9a3f8c93dc
AzureMonitor and GCM: Replace deprecated experimental/errorsource ( #97360 )
...
* Update cloud monitoring
* Update azure monitor
* Update test
2024-12-06 16:38:09 +01:00
addbdb0545
GCM: Correctly mark errors as downstream ( #97196 )
...
* Correctly mark query type error as downstream
* Correctly mark Prom parsing failures as downstream errors
* Rename function for clarity
2024-12-05 15:41:52 +00:00
08e880a823
GCM: Fix error checking for GCE project getter ( #95613 )
...
Appropriately check error
2024-10-30 15:28:53 +00:00
a2868fdb14
Plugins: Replace references of plugin SDK backend.Logger
with Grafana logger ( #95235 )
...
replace references
2024-10-24 12:00:40 +01:00
7c79f8f7a5
GCM: Time field naming ( #94548 )
...
* Name time field correctly
* Update tests
* Lint
2024-10-11 11:31:37 +01:00
e18d029a24
GCM: Improve error handling ( #93474 )
...
* Improve error handling
* More manual errorsource
* Revert some changes from original PR
* Update test
2024-09-20 10:40:05 +01:00
00ace4678c
GCM: Add errorsource ( #92151 )
...
* Add errorsource
* Minor lint fixes
2024-09-10 19:34:20 +01:00
c8af659f02
Plugins: Enhanced plugin instrumentation ( #90199 )
...
* Plugins: Enhanced plugin instrumentation
* use backend.CallResourceResponseSenderFunc
* sdk v0.237.0
* support admission control
* cover all handlers in log and metrics middlewares
* fix after review
2024-07-09 15:03:46 +02:00
0ec8ccbf66
Google Cloud Monitor: Fix interface conversion for incorrect type in cloudMonitoringProm.run
( #85811 )
2024-04-11 11:59:34 +02:00
29d4f6a217
Datasource: Change query filtering ( #84656 )
...
* call filterQuery from queryrunner
* test query hide filtering
* fix more broken tests
* lint errrors
* remove redundant filterQuery call
* skip filter in variable queries
* fix broken cypress test
* change tooltip text
* fix translations
* fix comments
* do not execute query is targets are empty
* add more tests
* remove unsued import
* update translations
* revert id change
* change header text
* update comment for hide prop
* rename hide query prop
* change tooltip and introduce different toggle state text
* update tests
* update comment and regenerate types
* run extract again
* fix broken e2e test
* track event
* fix build issues
* revert changes in wire file
2024-03-21 13:39:39 +01:00
473898e47c
Core: Remove thema and kindsys dependencies ( #84499 )
...
* Move some thema code inside grafana
* Use new codegen instead of thema for core kinds
* Replace TS generator
* Use new generator for go types
* Remove thema from oapi generator
* Remove thema from generators
* Don't use kindsys/thema for core kinds
* Remove kindsys/thema from plugins
* Remove last thema related
* Remove most of cuectx and move utils_ts into codegen. It also deletes wire dependency
* Merge plugins generators
* Delete thema dependency 🎉
* Fix CODEOWNERS
* Fix package name
* Fix TS output names
* More path fixes
* Fix mod codeowners
* Use original plugin's name
* Remove kindsys dependency 🎉
* Modify oapi schema and create an apply function to fix elasticsearch errors
* cue.mod was deleted by mistake
* Fix TS panels
* sort imports
* Fixing elasticsearch output
* Downgrade oapi-codegen library
* Update output ts files
* More fixes
* Restore old elasticsearch generated file and skip its generation. Remove core imports into plugins
* More lint fixes
* Add codeowners
* restore embed.go file
* Fix embed.go
2024-03-21 11:11:29 +01:00
c2b94429e4
Google Cloud Monitor: Fix res
being accessed after it becomes nil
in promql_query.go
( #84223 )
...
Fix res being accessed after it becomes nil in promql_query.go
2024-03-12 10:38:16 +01:00
34fddfce10
Chore: Use jsoniter in cloud-monitoring from grafana-plugin-sdk-go ( #82358 )
...
use jsoniter from grafana-plugin-sdk-go
2024-02-13 12:23:37 +01:00
77111a0714
Cloud Monitoring: Fix naming and warnings ( #82271 )
2024-02-09 11:22:44 -07:00
b0dfeb1911
Chore: Clean up intervalv2 functions ( #82074 )
...
* clean up intervalv2 functions
* use roundInterval from grafana-plugin-sdk-go
* use from grafana-plugin-sdk-go
* have intervalv2 in publicdashboards and remove tsdb/intervalv2
* legacydata cleanup
* remove unused variables
* Update pkg/tsdb/legacydata/interval/interval.go
Co-authored-by: Arati R. <33031346+suntala@users.noreply.github.com>
---------
Co-authored-by: Arati R. <33031346+suntala@users.noreply.github.com>
2024-02-09 11:39:21 +01:00
be6efd9518
Cloud Monitoring: Add standalone files and modify plugin.json ( #81596 )
2024-01-30 15:52:44 -07:00
2d432d6ff3
Plugins: Externalize Cloud Monitoring data source ( #80181 )
2024-01-29 09:24:23 -07:00
9d92818cae
Plugins: Update PDC pattern from latest plugin SDK changes ( #76576 )
...
* update with sdk
* do sql
* fix core plugins
* fix proxy settings
* bump SDK version
* tidy
* enable pdc for test
* add codeowners
* bump dep
* go mod tidy
* bump SDK
2023-10-16 16:40:04 +02:00
91cf4f0c1c
Revert "Plugins: Update PDC pattern from latest plugin SDK changes" ( #76565 )
...
Revert "Plugins: Update PDC pattern from latest plugin SDK changes (#76036 )"
This reverts commit 151f6d6216e5e93edf56e4bbc6d3bfa5e0690b45.
2023-10-13 12:35:16 -04:00
151f6d6216
Plugins: Update PDC pattern from latest plugin SDK changes ( #76036 )
...
* update with sdk
* do sql
* fix core plugins
* fix proxy settings
* bump SDK version
* tidy
* enable pdc for test
* add codeowners
2023-10-13 14:42:15 +02:00
e4c1a7a141
Tracing: Standardize on otel tracing ( #75528 )
2023-10-03 14:54:20 +02:00
7fca1bde54
Plugins: Set grafana config, plugin version and user agent on plugin requests ( #75171 )
...
* first pass
* fixup
* remove test line
* fix tests
* use new fields
* fix imports + formatting
* fix tests
* rollback changes
* undo whitespace
* apply pr feedback
2023-09-21 11:33:31 +02:00
93cdc94a94
Chore: capitalise logs in other backend packages ( #74344 )
...
* capitalise logs in observability logs
* capitalise oss-bit-tent packages
* capitalise logs in aws-datasources
* capitalise logs for traces and profiling
* capitalise logs for partner datasources
* capitalise logs in plugins platform
* capitalise logs for observability metrics
2023-09-04 22:25:43 +02:00
025b2f3011
Chore: use any rather than interface{} ( #74066 )
2023-08-30 18:46:47 +03:00
6d8fc42cdd
Prometheus: (Chore) Remove experimental unshipped prometheusWideSerie… ( #73751 )
2023-08-24 17:47:19 +03:00
42f4306251
Google Cloud Monitor: Prom query editor ( #73503 )
...
* revert
* works but needs clean up and tests
* clean up
* remove any
* change confusing query var to expr
* oops
* add test
* lint
* cleanup
* update docs
* Update public/app/plugins/datasource/cloud-monitoring/components/PromQLEditor.tsx
Co-authored-by: Andreas Christou <andreas.christou@grafana.com>
* nit
* lint fix?
* remove comment from cue
* go linter
* removing parsing stuff parseresponse func
---------
Co-authored-by: Andreas Christou <andreas.christou@grafana.com>
2023-08-18 11:14:43 -05:00
adc3735122
Google Cloud Monitor: Use generated type from schema in backend ( #67879 )
2023-07-31 11:14:27 -06:00
c4d6509145
CloudMonitoring: Correctly set title and text fields for annotations ( #71888 )
...
Correctly set title and text fields
2023-07-21 20:42:42 +00:00
0316350d16
Codegen: Generate any
instead of interface{}
( #70201 )
...
* Chore: Update thema to latest
* Regenerate
2023-06-16 10:54:56 +02:00
9fc1de62d5
CloudMonitoring: Improve parsing of GCM labels ( #69800 )
...
Update parsing of GCM labels
- Include parsing of metadata labels
2023-06-08 17:30:22 +01:00
f7dd7c5ad8
CloudMonitoring: Remove excess logs ( #69576 )
...
Remove excess logs
2023-06-07 09:58:35 +01:00
bd622a5381
Chore: Unify references for dataquery ( #68963 )
...
* Unify references for dataquery
* Fix ResultFormat in azure types
* Update azure-log with new schema
* Fix cloudwatch query
* Update thema
* Fix test
* More fixes
* More fixes
* Fix lint
2023-05-26 10:16:01 +02:00
286b9e08e9
Plugins: Bump Plugin SDK version and address instance management breaking changes ( #68900 )
...
* bump sdk and propagate ctx
* fix tests
2023-05-24 10:19:34 +02:00
108acee08e
CloudMonitoring: Initial GCM Schema ( #67739 )
...
* Initial GCM schema work
- Split types for convenience
- Update conditionals where needed
- Update type references
* Add additional supporting types
* Add some more accessory and legacy types
* Add missing type
* Rename backend folder
* Add missing generated file
* Review
2023-05-22 17:19:54 +01:00